Commit graph

409 commits

Author SHA1 Message Date
Ray Jones
f86ae7cffb tidied Hourmeter class, staged NV changes to write in correct time slot 2019-07-26 06:39:56 +10:00
Ray Jones
1dbfa67163 Storing actual runtimes to NV store at heater off, resetting intermediates at same time.
Improved restart behaviour of persistent variable handling
2019-07-25 22:31:31 +10:00
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
9c338fa74c Main skeleton of Hourmeter in place 2019-07-25 06:06:47 +10:00
Ray Jones
92283a3e0d Added module files for fuelgauge, RTCStore, HourMeter 2019-07-24 19:25:07 +10:00
Ray Jones
204007401b tweaked reboot message timeouts for /update & /reboot 2019-07-23 22:56:04 +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
cb79fd5dd0 BUG FIX - E-01 fired upon reboots with premature low volt detection
Improvement - /update and /reboot now have a post event status sequence during reboot.
2019-07-23 21:11:29 +10:00
Ray Jones
db3343d362 Bug Fix: bounds checks for LVC did not allow 0 2019-07-23 06:15:18 +10:00
Ray Jones
672645c59a Merge branch 'FuelGauge' 2019-07-22 21:10:15 +10:00
Ray Jones
cf41285052 added new icons/MiniThermo.bmp 2019-07-22 21:07:10 +10:00
Ray Jones
dca26680b4 cancel cyclic mode upon error fail 2019-07-22 20:58:36 +10:00
Ray Jones
d6bba90c84 LVC JSON now proper floating point.
Tidied screen dribbles in priming menu
2019-07-22 06:30:08 +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
dd5e62c8cb Rework priming menu, can now reset fuel gauge. JSON added for fuel usage & cal. 2019-07-20 16:08:43 +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
e50d93bb8c Using RTC registers to store fuel gauge.
Added BrowserUpload class
2019-07-18 22:25:28 +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
4d6ab5b280 Single shot SQuery (stops JSON Time & UpTime constantly being sent).
Working on SPIFFS upload abort if out of space....
2019-07-16 06:29:23 +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
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