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
820d8c4be8
Initial implementation of RTCMEM storage ( #1420 )
- store system crash counter and reset reason in rtcmem instead of eeprom
- store relay state mask in rtc in addition to the eeprom
- store relay state in eeprom only when boot mode requires it
- simplify relay state mask calculation / reading using std::bitset
- light state save and restore
- energy total save and restore
5 years ago
Max Prokhorov
193cebdbab
RF/RFBRIDGE Update ( #1693 )
- remove optional RFRAW_SUPPORT
- enable module when RF_SUPPORT=1, optionally enable RCSwitch
- reorder ifdef checks to treat RFB_DIRECT and old RF_SUPPORT the same
- rename RF_PIN to RFB_RX_PIN
- depend on RF_SUPPORT instead of ITEAD_SONOFF_RFBRIDGE
- runtime TX & RX PIN setting
5 years ago
Max Prokhorov
3f37556cdd
Safer loop delay default ( #1574 , #1631 , #1699 )
* Call delay() after callbacks
* Use safer loop delay value
5 years ago
Dmitry Blinov
af07494f00
Add thermostat module
5 years ago
Malachi Soord
c8231860ac
[copyright-update] Update for 2019
5 years ago
Max Prokhorov
34f37a96dd
Setup settings before using them in system module
5 years ago
Xose Pérez
27e7b9ae89
Move terminal methods to own module
5 years ago
Andrey F. Kupreychik
7a29ff9f74
LightFox commands
5 years ago
Niek van der Maas
d299773913
Merge RF and RFBridge code ( #1435 )
* Merge RF and RFBridge code
* Keep rfbridge.ino filename
* Corrected #if checks
* Make RF_DEBOUNCE and RF_LEARN_TIMEOUT configurable
* Fix compile warnings with platform_latest
5 years ago
Xose Pérez
88e2ecccce
Improve memory info
6 years ago
Xose Pérez
ea1207195c
Initial -untested- support for Xiaomi Smart Desk Lamp ( #884 ) and rotary encoders
6 years ago
Xose Pérez
7d09f59952
Handle configure callbacks outside the ws module
6 years ago
Xose Pérez
4f61d3aa7e
Option to remove API_SUPPORT at build time
6 years ago
Xose Pérez
152bf22fdd
Option to disable button support
6 years ago
Xose Pérez
210cd8df71
Option to disable LED support
6 years ago
Xose Pérez
3cd58e7f7c
Initial support for RFM69GW board
6 years ago
Xose Pérez
bc30b9e2f6
Specific EEPROM module
6 years ago
Xose Pérez
91e25ea8ae
Decouple Serial object from SerialInjector ( #787 )
6 years ago
Maxim Prokhorov
922096e9da
Build-time default value for hostname
6 years ago
Xose Pérez
5f2b22d063
Fix web debug layout. Added command execution from web UI
6 years ago
Xose Pérez
353b739d90
Fix UART_MQTT_SUPPORT guards
6 years ago
Xose Pérez
4657c614ea
Clean up UART-MQTT code
6 years ago
AlbertWeterings
8983041b9b
Changed from hardware to feature
6 years ago
AlbertWeterings
bc4c44a759
Added UARTtoMQTT
6 years ago
AlbertWeterings
94365753c9
Update espurna.ino
6 years ago
AlbertWeterings
f9a478f885
added UARTtoMQTT
6 years ago
Xose Pérez
0a6271a80a
Moved settings setup debug messages to info
6 years ago
Xose Pérez
b082d14c59
Loop hooks
6 years ago
Xose Pérez
b605cd43cd
Move hardware code in main file to its own module
6 years ago
Xose Pérez
6497238f4b
Option to disable heartbeat. Added 3rd party hooks
6 years ago
Xose Pérez
6af8f78253
Moved welcome method to utils.ino, renamed as info
6 years ago
Xose Pérez
1269d33a7d
Add message to info output when in SAFE MODE
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
6 years ago
Xose Pérez
16f2226805
Resolve mDNS (.local) names in MQTT, InfluxDB and NoFUSS modules
6 years ago
Xose Pérez
7204c46d26
More cleaning up
6 years ago
Xose Pérez
d64f2916cb
Some code fixes and movinig stuff around
6 years ago
Xose Pérez
29b3ae7041
Support to build a core version of the firmware (<290Kb) keeping track of the board type for future reference
6 years ago
Xose Pérez
c4bdb03024
Check ThingSpeak update frequency limit (15s)
6 years ago
Xose Pérez
9d6a5727a5
Non SSL version of Thingspeak module
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
18c69f0a1e
Several fixes related to dependencies between modules
6 years ago
Stefano Cotterli
b7ed0ec686
a simple scheduler for relays
6 years ago
Xose Pérez
4888196b5e
Clean debug messages
6 years ago
Xose Pérez
e1baf48b9b
Option to disable completely new sensors module
6 years ago
Xose Pérez
0e6559440e
Config version tracking and migration
6 years ago
Xose Pérez
760a8ab39f
Added preliminary SSDP support. Untested
6 years ago
Xose Pérez
f3c494d5da
Support for ECH1560 energy monitor in new sensors, untested
7 years ago
Xose Pérez
e5bf17d019
Ported V9261F power sensor to new sensors
7 years ago
Xose Pérez
b70a5aaf8c
Some clean-up
7 years ago