Commit graph

515 commits

Author SHA1 Message Date
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
Ray Jones
96b3cecdb0 Updated AsyncTCP library - had bad DNS handling if name not resolvable (null pointer dereference) 2019-10-28 17:32:16 +11:00
Ray Jones
b1cee63ec3 Added ABTelnetSpy derived class modules 2019-10-27 16:37:12 +11:00
Ray Jones
4138d0b2f5 Blocked debug messages whilst getting other strings. STA only retries if a SSID is defined 2019-10-27 15:24:54 +11:00
Ray Jones
5efce879ce Quietened down debug reporting when MQTT or Bluetooth debug menus active.
Single debug report of one wire searches (init only typ.)
2019-10-27 14:25:40 +11:00
Ray Jones
f330d812e6 Added JTAG use defines for ESP PROG debug 2019-10-27 11:02:49 +11:00
Ray Jones
8893abb575 tidy up 2019-10-20 20:19:27 +11:00
Ray Jones
2e25ad3da4 Fixed role ordering in NV for DS18B20 probe offsets
Replaced ` with clean degree symbol in standard font & arial 8
Removed temp offset from fuel cal screen
GUI alignment tweaks to avoid cutoffs
Better handling of single DS18B20 with BME280
Added bounds limits to Exponential Mean
Sorted inheritance from CSensor properly
2019-10-19 09:58:19 +11:00
Ray Jones
aabe6a54b3 Stabilised BME280 with DS18B20 coexistence 2019-10-18 12:55:16 +11:00
Ray Jones
7c43523d51 V3.1.5 bootloader update 2019-09-26 06:34:30 +10:00
Ray Jones
ab246244c9 Merge branch 'Branch_V3BoardDetect' 2019-09-25 19:39:02 +10:00
Ray Jones
af34331401 Dig Only V3 PCB, Fixed Hz setting reporting bug fix 2019-09-25 19:38:19 +10:00