Max Prokhorov
334b499024
Safer settings reload and MQTT change detection ( #1701 )
* MQTT: config change detection
* Reload settings when config json is uploaded
* Apply only new settings
* Finish config early when not enabled
* Reuse existing buffers from getSetting String using std::move
5 years ago
Max Prokhorov
8a5a0fb309
Send status right after boot ( #1700 )
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Max Prokhorov
cd1bfa6b34
check if ws client exists, check WEB_SUPPORT
5 years ago
Xose Pérez
f6b8baf37d
Adding description field to web UI, reporting it via MQTT ( #1523 )
5 years ago
Max Prokhorov
b2ad29a660
Revert timestamp prepending, separate debug destinations
* Simply print timestamp for supported destinations
* Update ws destination to support 'prefix' sub-key
* Avoid void casting in telnet module
5 years ago
Max Prokhorov
3f2160ae19
avoid copying callback std::function
5 years ago
Max Prokhorov
868d153fa4
Compact WS data
* send all ws config at once on start
* reduce ws json overhead by creating message buffer manually
* use k:[values] instead of k1:value1, k2:value2 etc. for lists
5 years ago
Martins Ierags
465b5230ff
Configure Heartbeat & option HEARTBEAT_REPEAT_STATUS:
- Heartbeat mode and interval configuration added to WebUI ADMIN page
- New option HEARTBEAT_REPEAT_STATUS: on device startup full heartbeat information and after HEARTBEAT_INTERVAL only STATUS report.
- Enhanced first heartbeat message - on device startup it will send heartbeat after ntpSynced will be true to get device time.
P.S. Code is tested. Web part is not compiled, and not tested. I hope it will work :)
6 years ago
Max Prokhorov
d82d8ae20a
Disconnect websocket when auth fails
6 years ago
Xose Pérez
88e2ecccce
Improve memory info
6 years ago
Xose Pérez
8c8a268e5c
Added password check to telnet
6 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Maxim Prokhorov
3ca1692827
Free jsonBuffer after printing
6 years ago
Xose Pérez
5db395cffd
Enable CORS
6 years ago
Xose Pérez
dff81d6795
Revert WS to ticket-based authentication
6 years ago
Xose Pérez
3518d1013e
RELOAD terminal command forces modules to reload settings from config ( #816 )
6 years ago
Xose Pérez
42b2974790
Some fixings after configuration refactor
6 years ago
Xose Pérez
4d9899bd26
Hide web command inputbox if no terminal support
6 years ago
Xose Pérez
5ab2fd2afc
Hide web command inputbox if no terminal support
6 years ago
Xose Pérez
fa20c47f29
Check which keys should be saved and which ones shouldn't ( #730 )
6 years ago
Xose Pérez
6c18f96483
Add revision to web UI, populated by automated build script
6 years ago
Xose Pérez
24d0bdd0e8
Add SDK and Core version to web UI
6 years ago
Xose Pérez
2a439c570c
Homogeneizing naming and I2C method wrappers
6 years ago
Xose Pérez
5f2b22d063
Fix web debug layout. Added command execution from web UI
6 years ago
Lazar Obradovic
e1802de827
Add debug console to Status page.
6 years ago
Xose Pérez
ea240f7498
Limit humidity between 0 and 100, show humidity correction only if there is a humidity magnitude
6 years ago
Lazar Obradovic
d2cd087321
Calculate and display load average.
6 years ago
ManuelW
b27893feb2
Update ws.ino
Add support for humidity correction
6 years ago
Xose Pérez
d9cd999db9
Option to enable/disable web auth from web UI
6 years ago
Xose Pérez
2e3664f76f
Remove wifi distance calculation
6 years ago
Xose Pérez
a8f588551b
Clean code
6 years ago
Xose Pérez
da3f7b7055
Option to report energy data in kWh ( #523 )
6 years ago
Teo Pavel
66eabc46f4
changed to LF
6 years ago
Teo Pavel
c3454ad217
Added Reset to factory settings in admin page of web UI
6 years ago
Xose Pérez
95968a97c3
Improved NTP support
7 years ago
Xose Pérez
a5df00b569
Option to disable network scanning ( #392 , #399 ). Scan networks from web UI
7 years ago
Xose Pérez
a716633c1b
Refactor MQTT module
7 years ago
Xose Pérez
ce9e2a6482
Refactor settings module, added settingsCommandRegister
7 years ago
Xose Pérez
f3421a6a4a
Added BSSID, channel, RSSI and distance to status tab
7 years ago
Xose Pérez
af805ab045
Update copyright notices
7 years ago
Xose Pérez
ff9ca1c779
Build option to disable password check (USE_PASSWORD). Password check is enabled by default. Use at your own risk ( #373 )
7 years ago
Xose Pérez
b3336871bf
Boot mode and pulse mode per relay
7 years ago
Xose Pérez
e11dc5558f
Restore settings & reset via HTTP
7 years ago
Xose Pérez
44da6178f4
Refactor websocket sending
7 years ago
Xose Pérez
1ac4a61206
Migrate HLW8012 sensor to new sensor module, remove old code
7 years ago
Xose Pérez
d404d4804a
Fix chipid
7 years ago
Xose Pérez
d91d5eedb1
New sensors tab in web UI for all sensors
7 years ago
Xose Pérez
c4fc428f37
Split initial WS message into submessages
7 years ago
Xose Pérez
2299ce9bfd
Basic sensor scafolding, DHT 90% migrated
7 years ago