Commit graph

53 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
ef04489fa6 Allowed web update of beta version to release of same base version 2020-06-19 16:49:40 +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
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
4eddcd0f1e STA only mode
Fixed MQTT topic prefix
2020-04-08 07:51:52 +10: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
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
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
d8e71eebc1 Added Frost Mode setup screen, sub-classed NVstore confirm behaviour 2019-11-10 15:44:54 +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
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
aabe6a54b3 Stabilised BME280 with DS18B20 coexistence 2019-10-18 12:55:16 +11:00
Ray Jones
573ebf3e3b Added auto save of single DS18B20 serial number 2019-09-22 14:46:39 +10:00
Ray Jones
de9417ff73 Tidied JSON/MQTT topic command decode into UtilClasses.cpp 2019-09-21 09:58:51 +10:00
Ray Jones
6e86571a19 Merged branch 'VerboseMQTTout'
Resolved Conflicts:
	src/Afterburner.cpp
	src/Utility/BTC_JSON.cpp
2019-09-21 08:11:36 +10:00
Ray Jones
bf537d1ac5 MQTT can now accept any cmd topic that matches the JSON names 2019-09-20 23:00:27 +10:00
Ray Jones
3a70970356 Added menu mode selection menu 2019-09-17 08:30:49 +10:00
Ray Jones
d30536e939 V3.1.3 - Bug fix not disabling WiFi correctly 2019-09-12 06:32:21 +10:00
Ray Jones
ac5fdc5dfd V3.1.2 -
AM/PM selection in clock setup menu.
Extra MQTT JSON IDs added.

Filtered No Heater JSON.
2019-09-08 10:14:36 +10:00
Ray Jones
583a4881cd Added AM/PM annunciators to clock for 12hr mode
Added last will to MQTT connection
Condensed no heater timeouts with default screen
2019-09-07 23:48:46 +10:00
Ray Jones
77dada9d6b BUG FIX: Fuel gauge reset via web page
NEW FEATURE: MQTT status screen
2019-09-04 20:59:01 +10:00
Ray Jones
13fb3f715a Un commented the code that restores an STA connection 2019-09-02 08:22:33 +10:00
Ray Jones
3e4ce429c7 BUG FIX: bad clientID due to bad MQTT library - causes disconnects with multiple AB's on one broker!
IMPROVEMENT: MQTT reconnect implemented.
2019-09-01 14:43:00 +10:00
Ray Jones
61e246f6f1 telnet menu to setup MQTT. JSON now pushed over MQTT - typ. topic name: Afterburner/JSONout 2019-08-31 17:34:56 +10:00
Ray Jones
253bc3f728 Added MQTT topic for controller to NV store.
Found PubSubClient is blocking, causing WD reboots
2019-08-30 20:08:54 +10:00
Ray Jones
f6f721bd8a Got basic MQTT session working to test.mosquito.org :-) 2019-08-27 23:09:07 +10:00
Ray Jones
27b988c895 Fixed referral to test FOTA page 2019-08-03 20:47:19 +10:00
Ray Jones
08d0307fc8 BUG FIX: Web update was broken due to watchdog timeout - added onProgress to FOTA - all good now
Returned to compact timer icon, press centre button to see start/stop times in base menus
Version info screen refactored to show available version number
New splash screen now presented upon display for a short time after upload or rename to /splash.bmp
2019-08-03 12:42:49 +10:00
Ray Jones
ac091fa6d8 Added ability to upload custom splash ScreenFlowV3.dia.
Added 4th board type - GPIO disabled on V2.0 PCB - install 0R in C6, leave other bits out.
2019-08-01 22:57:18 +10:00
Ray Jones
945d9c88b7 Revised CRCengine to include all bytes uploaded - CRC of everything should be 0! 2019-07-31 06:27:04 +10:00
Ray Jones
a52143479f Fix of residual screen content following browser updates of SPIFFS files. 2019-07-28 20:59:26 +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