Commit graph

335 commits

Author SHA1 Message Date
Ray Jones 2084c7d60c added BootInit flag to RTC store - used for persistent vars init after OTA updates 2019-07-25 21:27:57 +10:00
Ray Jones c621f7078c Moved src/libraries to /lib - '.a' files now get generated by PIO for each library. 2019-07-25 17:40:23 +10:00
Ray Jones 04de63b07e Added empty Afterburner.ino file - well a file full of comments 2019-07-23 22:44:47 +10:00
Ray Jones 8ebf6dbf3e Refactored directory hierarchy to regain some linker command line space in PIO 2019-07-23 22:32:36 +10:00
Ray Jones dca26680b4 cancel cyclic mode upon error fail 2019-07-22 20:58:36 +10:00
Ray Jones 06e69acc77 Added Low Volt Cutout, Temperature probe offset
Tarted up fuel mixture adjust screen
2019-07-21 21:17:54 +10:00
Ray Jones 04ae988d2d . 2019-07-20 06:53:12 +10:00
Ray Jones a543ba0748 Tidied browser update by adding new browserupload class.
Adding RTC register storage for frequent NV updates (fuel gauge, desired temp etc)
2019-07-18 22:28:40 +10:00
Ray Jones 77ac324d64 Added SPIFFS upload error detection and feedback to browser
Added Time/Date responses
2019-07-17 19:35:34 +10:00
Ray Jones 16ee16f97f Added support for .gz compressed SPIFFS files.
Using wrapper for millis() via library --wrap option, returns xTaskGetTicksCount() instead of the very dubious int64_t/1000 of default millis(), especially when it gets BIG.
2019-07-15 19:56:36 +10:00
Ray Jones 1f28bb7d5d Added JSON IP query parameters 2019-07-11 22:03:27 +10:00
Ray Jones b6b0c7afbd stylish /update & /formatspiffs 2019-07-11 18:55:31 +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 657bec98e7 Merged owa and ds18b20 libraries - weird include issues under Linux? 2019-07-02 20:18:44 +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 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 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
Ray Jones a6540eb997 Added factory default via version menu.
WiFi credentials for SoftAP and web update now stored in NV storage.
NV Storage structures now handle load and save for their members
2019-05-16 21:12:29 +10:00
Ray Jones 60d84e3681 Merge branch 'JIM_mqttSettingsPage' into MQTTstore 2019-05-15 20:36:57 +10:00
Ray Jones 58f4631f72 Web update progress on OLED bug fix of runstate in index.html 2019-05-15 20:24:43 +10:00
James 9f0a046f0a Adding missing placeholders 2019-05-15 20:10:12 +10:00
Ray Jones c1bcc83e8b Proper std::string moderator, using mapped value for JSON output. Secure web upload with user/pass 2019-05-14 21:29:35 +10:00