Commit graph

361 commits

Author SHA1 Message Date
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
Ray Jones
39aba4819f commented out missing ABMqtt header.
Fixed Index.html foibles of MQTT send.
64 byte limit in BT fixed.
2019-05-12 22:14:32 +10:00
Ray Jones
7bc681e848 Javascript fixups for James 2019-05-12 21:32:55 +10:00
Ray Jones
cfa5ac857d Merge branch 'JIM_mqttSettingsPage' into MQTTstore 2019-05-12 20:20:56 +10:00
Ray Jones
04fab40742 Refactored string in JSON moderator - const char* are BAD AND EVIL in a std::map
MQTT parameter exchange via JSON and NV storage
2019-05-12 20:15:18 +10:00
James
a36ef97af2 Settings for MQTT will now dissapear if not enabled in the web interface.
retrieve/save details should work once Ray creates nvRam hooks for the code:D
2019-05-12 19:14:03 +10:00
James
9072c6bb7a Added fields and javascript for MQTT settings (Web Page Only) 2019-05-12 11:47:46 +10:00
Ray Jones
38711533cd Updated .AIA file for BT Android app 2019-05-12 09:03:19 +10:00
Ray Jones
e8f6b88aeb Quick fix: -20C -ve threshold for cyclic mode 2019-05-12 09:01:22 +10:00
Ray Jones
9861297744 Suite of minor bug fixes and annoyances - now Afterburner for AP and BT server names :-)
OTA was not rebooting after AP only update
2019-05-11 12:18:06 +10:00
Ray Jones
b47a4606dd Changed DS18B20 read to a use device address - faster
Seeing 10 second WiFi timeout if BT & WiFI client active, reversed order so Websocket now sends before BT
  - very much more stable now
  - smacks of a UART ISR causing issues with socket kernel code...
2019-05-09 06:30:26 +10:00
Ray Jones
e900cb84a7 BT icon always on fixed, NVstorage name length limit 2019-05-08 05:38:14 +10:00
Ray Jones
ead2c9b189 Added firmware version info to splash screen 2019-04-28 20:23:11 +10:00
Ray Jones
7e4fff9d61 AP name now Afterburner. Splash screen now Afterburner Controller. 2019-04-28 09:56:45 +10:00
Ray Jones
de6226ad12 User settings loop now uses graphic symbology.
Added adjustable -ve threshold for Jess mode (cyclic shutdown if over temp).
Added user selectable display blank, dim or do nothing option on keypad inactivity.
Added user selectable menu timeout on keypad inactivity.
2019-04-27 20:41:47 +10:00
rljonesau
21be30a3f6 Set V2.2: 20 Apr 2019 2019-04-20 19:18:32 +10:00
rljonesau
505015139c Implemented screen switching upon timeout, start and stop in ScreenManager 2019-04-20 19:13:24 +10:00
rljonesau
480bd1b15c Adding OnStart, OnStop and OnTimeout home screen actions 2019-04-20 09:49:22 +10:00
rljonesau
c1b1036ece New features:
Version information screen
Adjustable frame rate
User selectable default menu
Extra large fonts for clock and basic menu
2019-04-19 21:38:39 +10:00
rljonesau
9a36df14ec BUG FIXES:
Repeating timers were being cancelled!
Set time always advanced by one day upon entry.
Desired temperature was incorrect when using enhanced thermostat modes in Detailed menu
2019-04-18 21:02:39 +10:00
rljonesau
1819a244f9 Added generic Debounce class for use by keypad and GPIO inputs 2019-04-13 19:05:53 +10:00