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
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
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
200b928af6
Tidied animation for wifi activity and mode indications when no traffic
2019-06-02 19:19:08 +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
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
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
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
58f4631f72
Web update progress on OLED bug fix of runstate in index.html
2019-05-15 20:24:43 +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
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
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
rljonesau
30220e3e58
Added unmounting of SPIFFS when using OTA. Added /formatspiffs URL
2019-02-11 19:34:11 +11:00
rljonesau
e4773a081b
Added thermo/fixed toggle to detailed menu. Fixed reversed direction in timer menu. HTML fixes.
2019-01-24 06:03:29 +11:00
rljonesau
0a1226a03c
Added SPIFFS directory dump in setup, using "not found" to deliver pages other than special ones.
2019-01-21 06:56:42 +11:00
rljonesau
4b1d941b7f
Web server now using SPIFFS - must use Partition: Minimal SPIFFS
2019-01-20 21:14:45 +11:00
rljonesau
716827b399
All WifiManager reconfigs now conclude via wifiEnterConfigPortal which manages NV flag and OLED reboot alert
2019-01-16 20:22:17 +11:00
rljonesau
abbd0fa5ae
tidied commenting in BTCWifi.cpp
2019-01-15 07:03:35 +11:00
rljonesau
4d780ed3a1
Have portal working from boot, reboot after setting up WiFiManager to connect to new network
2019-01-14 06:59:32 +11:00
rljonesau
bbb225e3b7
Can finally get WifiManager configportal up using the pushbutton, but only if no credentials
2019-01-13 08:32:13 +11:00
James
86f1c2df4c
Added /wmconfig and /resetwifi uri's
2019-01-11 21:37:59 +11:00
rljonesau
e8a110a308
Fixed wm access from BTCWebServer.cpp for James
2019-01-11 19:50:27 +11:00
James
8005636f30
Added /reset and /wmconfig pages to reset wifi settings and start config portal on request
2019-01-11 19:28:22 +11:00
rljonesau
dbde3c9065
Refactor JSON moderation to a single moderator for all possible clients, BT or WiFi.
...
Any change in client connection status will force a refresh to all possible clients.
2018-12-19 23:07:51 +11:00
rljonesau
403c182724
Comprehensive stuff up - editing a test branch - incorporated changes back into proper repo
2018-12-19 19:39:07 +11:00
rljonesau
529ac5d8e0
Pushed and shoved and edited and finally there - structured file directories
2018-12-16 18:34:39 +11:00