Commit graph

526 commits

Author SHA1 Message Date
Ray Jones
d0a5da308d IDF PATCH TO SOLVE RMT CRASH WEHN SAVING TO FLASH 2020-06-30 05:46:31 +10:00
Ray Jones
a9e0a1e60d Made release version V3.2.1 2020-06-22 12:15:57 +10:00
Ray Jones
ef04489fa6 Allowed web update of beta version to release of same base version 2020-06-19 16:49:40 +10:00
Ray Jones
f18cfbf2e5 Manual selective Merge from bleeding edge, pulling in 433MHz, new HC05 and NV storage semaphore fix. 2020-06-19 11:24:44 +10:00
Ray Jones
2548191173 V3.2.0 release 2020-05-21 07:42:15 +10:00
Ray Jones
21e17d1a2b Fix for incoming MQTT status 1
Use pull up resistor for new HC-05 BT modules rx data
2020-05-21 07:27:06 +10:00
Ray Jones
775f235ba8 Added Stop/Start thermostat mode
FuelUsage & FuelRate added as basic MQTT status topics
2020-05-13 10:37:31 +10:00
Ray Jones
24d8a4a7f1 Added timer retry according to temperature being denied in the past 2020-05-09 19:17:21 +10:00
Ray Jones
7b36aa27f5 Tidy up after check pull 2020-05-07 11:51:15 +10:00
Ray Jones
4b3951b465 BUG FIX: signed 16 bit issue reporting altitude over JSON 2020-05-07 10:12:20 +10:00
Ray Jones
97f3433158 BIG FIXES: External thermostat start denied if internal thermostat too high
Pump priming from web page only worked once - was because prime command was never released from heater.
2020-05-06 10:41:26 +10:00
Ray Jones
3129a88cb9 Pretty stable with https library BUT #ifdef'd out actual https usage is is very temperamental ATM. 2020-05-03 21:59:56 +10:00
Ray Jones
c74f0a76eb Merge branch 'WebAuth' into SSLtrials
Conflicts resolved:
	src/Afterburner.cpp
	src/WiFi/BTCWebServer.cpp
	src/WiFi/BrowserUpload.cpp
	src/cfg/BTCConfig.h
2020-04-26 19:52:00 +10:00
Ray Jones
b75254220c Allow entry of no password 2020-04-26 19:28:31 +10:00
Ray Jones
9ff2d9410b Split websocket handling into a task
Read all added to BME-280 (MariusZ)
New security menu in debug/telnet
2020-04-26 16:15:08 +10:00
Ray Jones
5cdc5c95a5 Moved Blue Wire Comms to a separate task 2020-04-25 09:23:16 +10:00
Ray Jones
28bfb28ff6 Adding web authorisation 2020-04-22 16:42:24 +10:00
Ray Jones
baf8678e99 Added some FreeRTOS tasks to avoid blocking issues - still very unreliable 2020-04-22 16:21:24 +10:00
Ray Jones
b58ed90432 Found websocket write was blocking, returning 0, leading to WD reboot. Need to think of proper fix 2020-04-20 13:39:39 +10:00
Ray Jones
67998747d7 Added DemandManager, removing TimerManager from direct temperature demand control aspects
Likewise moved demand adjustments into DemandManager.
2020-04-11 18:49:52 +10:00
Ray Jones
9839571893 Added support for injecting Fixed Hz demands if a timer start has a defined temperature.
Uses normal range for fixed Hz.
2020-04-11 07:51:25 +10:00
Ray Jones
4625f98cf3 Core panic in TxManage, concluding gate in timer callback - using digitalwrite is BAD @ ISRL!!!
Now use FreeRTOS queue to pass the actual event down.
2020-04-09 06:57:26 +10:00
Ray Jones
0ed7ba7e59 Fixed NULL dereference in asyncHTTPrequest - causes core panics if STA but no internet/server unreachable 2020-04-08 20:17:40 +10:00
Ray Jones
4eddcd0f1e STA only mode
Fixed MQTT topic prefix
2020-04-08 07:51:52 +10:00
Ray Jones
3e3ef7d2f2 AsyncTCP touch 2020-03-31 19:48:03 +11:00
Ray Jones
9c100f1954 Added Fuel Reset GPIO input option 2020-03-31 19:46:25 +11:00
Ray Jones
8ec438e02a Added excess fuel usage shutdown feature 2020-03-30 16:17:54 +11:00
Ray Jones
8b8aaf0024 Timer Temperature support added
Desired temperature requests are now managed via TimerManager to allow timer override of desired temperature.
Bug fix: crash checking for new firmware if no STA connection
Suppression of GPIO JSON if no or limited GPIO capability is installed.
2020-03-29 13:59:13 +11:00
Ray Jones
87b1704335 Added OLED and JSON Web Content Update functionality 2020-03-25 20:28:12 +11:00
Ray Jones
1d80e34c4b Added web content download feature.
Need to incorporate into OLED menus etc.
2020-03-24 21:14:41 +11:00
Ray Jones
4986a4d741 Assortment of tweaks and fixes
New Features:
GPIO "Run" status output (not standby)
RSSI of STA connection
STA gatewayIP
Only run as "active" controller when changes to fuel mixture etc for a short while.
Timed moderation added for frequently changing JSON vars
Altitude & Humidity via JSON
JSON reboot (mainly for MQTT clients)

Bug Fixes:
Cyclic not enabled when frost start
LVC holdoff added for "starting car" situation
Better handling of string and float NV Storage defaults
FrostRise limits  1-30 now 0-30
Handle spaces in SPIFFS file uploads
2020-03-23 16:54:15 +11:00
Ray Jones
3ca3e633ae Added getch the to our TelnetSpy overload. This adds the logic to add a LF if only CR is sent by a terminal package 2020-01-15 17:52:43 +11:00
Ray Jones
06d78860ca Bug fix: Factory default would not save 2020-01-15 07:55:57 +11:00
Ray Jones
41d43813b7 V3.1.8 2020-01-13 19:58:55 +11:00
Ray Jones
7e1a4940ac Added BME280 humidity and altitude information
Can start heater if high humidity
Altitude reported to heater per BMP180 in OEM controllers.
lowered min Hz limit to 500
2020-01-13 19:48:32 +11:00
Ray Jones
083fb63764 BUG FIX: always showing offset against DS18B20 in temp sensor role screen 2020-01-09 12:50:54 +11:00
Ray Jones
88cf18bfcf BUG FIX: insufficient wait time after OEM controller data packet, bad calc of start time :-( 2020-01-07 12:30:13 +11:00
Ray Jones
af1ab021a4 Renamed to ABMQTT.cpp/.h 2020-01-06 06:11:22 +11:00
Ray Jones
194cc08ac9 Case Sensitive issue "ABmqtt"/"ABMqtt" -> "ABMQTT.h" 2020-01-05 08:46:46 +11:00
Ray Jones
f5d72e2ac8 Using asyncHTTPrequest for version update check, synchronous method for actual update.
Released and tagged as V3.1.7.4 BETA
2020-01-04 18:13:40 +11:00
Ray Jones
69155f8e45 Stabilise using AsyncTCP to scrape FOTA JSON file.
Need to establish WTF "closed_slots" in AsyncTCP are all about, especially the bad indexes that fly about leading to LWIP crashes.
2019-12-15 17:58:11 +11:00
Ray Jones
c76490481d Bug fixes:
Telnet spy would not work in AP only mode
LVC would not allow start when in warning mode, and LVC warning always started at 12/24V
Added "No GPIO" option for new boards with C6 fitted as a 0R
2019-12-06 21:12:56 +11:00
Ray Jones
c9298656fa Tx gate now terminated via a HW timer callback. Using max priority task for SW watchdog. 2019-11-22 21:30:45 +11:00
Ray Jones
c649517805 BUG FIX: Introduced an E-07 issue if an OEM controller was plugged in
- was due to vTaskDelay at end of loop() - now only delays if OEM is NOT detected.
2019-11-21 20:32:54 +11:00
Ray Jones
6fb7b9d608 Added UIEditScreen class to standardise the save&confirm behaviour.
Bug fix in body temperature sensor < 0
2019-11-21 19:25:14 +11:00
Ray Jones
eb2e2d4305 bug fix of rowsel in ds18b20 screen 2019-11-11 18:59:49 +11:00
Ray Jones
d8e71eebc1 Added Frost Mode setup screen, sub-classed NVstore confirm behaviour 2019-11-10 15:44:54 +11:00
Ray Jones
53430d3fa0 frost icon 2019-11-01 09:25:58 +11:00
Ray Jones
7081391f63 Added core frost functionality 2019-11-01 09:24:58 +11:00
Ray Jones
f2af9c3fda Added under/over temperature threshold for GPIO outputs 2019-10-30 21:48:25 +11:00