Commit graph

386 commits

Author SHA1 Message Date
Ray Jones 1f28bb7d5d Added JSON IP query parameters 2019-07-11 22:03:27 +10:00
Ray Jones de1eb48f78 Added CRC generation code 2019-07-11 18:59:40 +10:00
Ray Jones b6b0c7afbd stylish /update & /formatspiffs 2019-07-11 18:55:31 +10:00
Ray Jones 8dd5dc662e Added extra CRC checking to OTA 2019-07-09 22:19:21 +10:00
Ray Jones 278d40af33 big dependency tidy up 2019-07-07 17:18:38 +10:00
Ray Jones 66f10445a4 Update .gitignore 2019-07-06 23:51:20 +10:00
Ray Jones 2f38a33984 Omitted DataFilter.cpp &DataFilter.h 2019-07-06 23:48:38 +10:00
Ray Jones 1b4b6699c5 Added exponential mean to heater data.
Replaced char with int8_t - damn thing was unsigned!
Likewise uint8_t for unsigned char
Rework of webserver inbuilt management functions cross linked, work well
2019-07-06 23:46:20 +10:00
Ray Jones c20b309184 Added CyclicOn, CyclicOff, CyclicTemp JSON Removed UserSettings subset setters/getters
BOUNDS checking on JSON inputs
2019-07-03 23:01:36 +10:00
Ray Jones 6d7af0e010 Bug fix of feedback over JSON of TempDesired when in Fixed Hz mode.
Introduced when demandDegC/demandPump split was added to fix Cyclic shutdown on low Hz demands.
2019-07-03 20:28:00 +10:00
Ray Jones 40c0a72c77 Added shell script to create symbolic links for Linux Arduino builds 2019-07-02 22:08:49 +10:00
Ray Jones 4330d2eac5 batch file for symbolic links fixed 2019-07-02 21:31:40 +10:00
Ray Jones fcd15ddb34 Removed symbolic links in Arduino build path.
These should be built after initially pulling the repo, then life is good.
2019-07-02 21:21:41 +10:00
Ray Jones 6b814e70d9 NVstorage.h fix up 2019-07-02 20:22:14 +10:00
Ray Jones 657bec98e7 Merged owa and ds18b20 libraries - weird include issues under Linux? 2019-07-02 20:18:44 +10:00
Ray Jones 0378e733ef font rename 2019-07-02 19:17:24 +10:00
Ray Jones 592ace0f0a and more freertos 2019-07-02 19:02:28 +10:00
Ray Jones 4491da1f2f more freertos vs FreeRTOS 2019-07-02 19:00:07 +10:00
Ray Jones d247d14945 fixups of FreeRTOS dir to freertos 2019-07-02 18:49:40 +10:00
Ray Jones 471a423a19 An intensive include directory clean up (case / system paths) hopefully 99% there for Linux... 2019-07-02 18:27:20 +10:00
Ray Jones e6b8365f09 Moved all libraries inside repository - this ensures all builds use the same libraries. 2019-07-01 20:46:08 +10:00
Ray Jones 8d143c03a5 Added Windows symbolic links so an Arduino project can parasite off the superior PlatformIO paths :-)
Adjusted JSON ThermostatOvertemp to be 0,2,3,4 etc.
2019-06-30 22:39:40 +10:00
Ray Jones a435aed47d gitignore additions 2019-06-30 16:49:18 +10:00
Ray Jones 129631c82a Converted to Platform IO friendly project, still works with Arduino provided you rename Afterburner.cpp to Afterburner.ino 2019-06-30 16:44:50 +10:00
Ray Jones f718611bd6 HTML'd up the inbuilt helper web pages /formatspiffs and 404 handling, adds next steps required etc
Added inbuilt /spiffs webpage to show WTF is stored in there, and usage.
Added HTML file test before attempting to send. This would hang when SPIFFS gets corrupted causing WD reboot.
2019-06-30 10:37:24 +10:00
Ray Jones 924a079fb2 Using new fantastic RMT based library for DS18B20, banished issues with dodgy readings from sensor.
Persistent variables now used for temperature, pump and cyclic mode enabled settings (not NV)
NV save is now staged, so it can be performed at an appropriate time, after reading DS18B20!
JSONpack, instead of lame JSONloose to allow single line JSON output
2019-06-29 18:08:37 +10:00
Ray Jones eef4365a83 First build under Platformio. SEEMS to have improved the 10 second timeout in websocket.
Most significant change was moving BlueWireSerialPort variable in TxManage.h .....
Secondary was a few operator= were not returning *this ....
2019-06-27 06:04:24 +10:00
Ray Jones 52ecbcedae report SPIFFS usage upon boot 2019-06-25 17:49:07 +10:00
Ray Jones 7210302e5e Bug Fix - did not show timers unless when an update was available!
Bug Fix - Timer repeat icon had X.Y dimensions reversed.
Bug Fix: Fixed factory default was ineffective!
Introduced a hold off to avoid E-07 unless persistent.
2019-06-16 20:37:25 +10:00
Ray Jones 7081b957f1 Bug Fix - E-07 due to a delayed heater response would stop heater if cyclic mode was enabled 2019-06-16 18:13:16 +10:00
Ray Jones 19b17af925 Less cluttered cyclic mode brackets on detailed GUI 2019-06-16 09:47:38 +10:00
Ray Jones ce8299609b Split PumpDemand and Temperature demands so Fixed Hz mode works cleanly, especially with Linear Hz thermostat and Cyclic mode.
Cyclic mode, if enabled, is now shown on detailed screen, bracketing its range
Shifted helpers.h into src/Utility - made far more logical sense!

Fancy pants slash screen :-D
2019-06-16 09:09:29 +10:00
Ray Jones a53d6eabd0 removed most helper functions from NVstore, now pass in/out cal structures. Fixed some bad NV stores 2019-06-06 11:32:43 +10:00
Ray Jones cfdedc0d7c Now capture transient events on GPIO inputs for JSON output 2019-06-05 06:36:29 +10:00
Ray Jones dafd7ba856 Fixed NV storage issue.
Adding GPIO JSON
2019-06-05 06:15:12 +10:00
Ray Jones 811c15093c Moved FOTA to local library to deal with 2 bugs, OTA reported on OLED according to source. 2019-06-03 06:34:45 +10:00
Ray Jones f4a3ce45bb Condensed NV GPIO params into a struct. Improved GPIO info screen, showing disabled modes 2019-06-02 22:47:35 +10:00
Ray Jones 200b928af6 Tidied animation for wifi activity and mode indications when no traffic 2019-06-02 19:19:08 +10:00
Ray Jones 0a6171ae8b Bug Fix: was not calling into ESP32 non volatile load /save etc - lack of virtual functions! 2019-06-01 18:03:38 +10:00
Ray Jones 4f9a77486a Refactored bitmap definitions so they are now held in const BITMAP_INFO structures 2019-06-01 10:18:31 +10:00
Ray Jones 18927d758a Implemented TQuery to greatly reduce JSON traffic upon new client connections. 2019-05-30 20:31:34 +10:00
Ray Jones 7817b7f2e0 Direct access between GPIO setup and test screens, version info from priming screen 2019-05-29 18:01:51 +10:00
Ray Jones c83a0cc9c5 pushing upload file size via web socket so we can use an upload progress percent on OLED.
Tidied wifi traffic icons
2019-05-23 06:35:09 +10:00
Ray Jones 760aa2fc6f Improved end of file upload handling, added www icon to firmware update. 2019-05-22 21:08:38 +10:00
Ray Jones 21cf587798 Can push SPIFFS files now via the firmware upload browser form.
However only works as a flat file system for now...
2019-05-21 22:01:42 +10:00
Ray Jones 0572acaeca Animated update available on Version Info screen 2019-05-21 18:29:16 +10:00
Ray Jones 2ccd948001 Web update via OTA now under user control. Icon shows on header when an update is available.
Update can be commanded via the Version Information menu by pressing UP, CENTRE, UP. Prompt driven of course!
Removed Wifi Trigger pin - does not play nice with automatic COM port uploads!
Reverted to DS18B20 read from index 0 - allows plugging sensor in and re-discovery!
2019-05-20 22:09:59 +10:00
Ray Jones fc8eef73a6 Using websocket to get proper firmware upload byte count 2019-05-18 18:49:22 +10:00
Ray Jones da33a02844 Added SW watchdog 2019-05-17 16:08:35 +10:00
Ray Jones 843c382325 Omitted new NVCore.cpp/.h 2019-05-16 21:15:16 +10:00