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
Xose Pérez
13fb5fa929
Using espurna.io as CORS domain
5 years ago
Niek van der Maas
a072ada7ae
Add option to disable relay reporting to MQTT
5 years ago
Dmitry Blinov
ec39ac5c88
Fix conflicts:
1. Add thermostat to the espurna_modules in progmem.h
2. Add thermostat to webui, gulp, html, js.
3. in general.h MQTT_USE_JSON returned to 0 by default and 1 if thermostat enabled.
5 years ago
Dmitry Blinov
af07494f00
Add thermostat module
5 years ago
Xose Pérez
31195ba3b6
Removing loop delay if WIFI is not set to sleep, reducing it to 1ms otherwise ( #1541 )
5 years ago
Max Prokhorov
75ab7a844a
Fix HEARTBEAT_REPORT_DESCRIPTION typo
5 years ago
Xose Pérez
f6b8baf37d
Adding description field to web UI, reporting it via MQTT ( #1523 )
5 years ago
Martins Ierags
951cc77dfb
Fixes regarding @xoseperez comments
6 years ago
Xose Pérez
cc4ba52b4d
Delay light comms (mqtt, ws, broker) to avooid jamming
6 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
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
6 years ago
Max Prokhorov
59685150b4
Runtime heartbeat configuration ( #1406 )
6 years ago
Niek van der Maas
db9a76d5f8
Add OTA support over MQTT
6 years ago
Xose Pérez
fcf59d04cd
Change light transition time via MQTT or API ( #1412 )
6 years ago
Xose Pérez
7ab5b04fff
Option to report time even if no NTP sync ( #1310 )
6 years ago
Xose Pérez
606ef345bf
Option to not clearing cache after sending data to Thingspeak.com ( #1369 )
6 years ago
Max Prokhorov
de7ff7722c
Telnet password setting ( #1382 )
* Telnet auth depends on setting
* use same define suffix as WS_
* add to web
* no initial passwd for core
6 years ago
Peter Hoeg
02379de39e
Allow override of HOMEASSISTANT_ and WEB_REMOTE_DOMAIN ( #1337 )
* allow override of WEB_REMOTE_DOMAIN
* allow override of HOMEASSISTANT_ENABLED and _PREFIX
6 years ago
Eugene Schava
9156cd4784
Added missing ifndef
fix 30285b3
6 years ago
Xose Pérez
88a7076ad3
Report SSID with heartbeat messages
6 years ago
Xose Pérez
84af178c3f
Command to save settings when SETTINGS_AUTOSAVE is off
6 years ago
Xose Pérez
915082162d
Limit the max number of nodes supported in RFM69 module
6 years ago
ValCob
30285b3a72
we should send only buttons events that have actions assigned to them or set BUTTON_MQTT_SEND_ALL_EVENTS to 1 to send everything
6 years ago
Xose Pérez
ba4d4be810
Remove duplicate call to EEPROMr.begin ( #1214 )
6 years ago
Xose Pérez
2b9a7341c3
Replace HEARTBEAT_ENABLED by HEARTBEAT_MDE allowing disable, single heartbeat on MQTT connect or repeat (default) ( #1196 )
6 years ago
Xose Pérez
5488bfaf7f
API is not restful (issue a PUT to change a relay status). It can be disabled from web UI ( #1192 )
6 years ago
Xose Pérez
04b48881a9
Try to send up to 3 times a POST to Thingspeak if the result is not >0 ( #1213 )
6 years ago
Xose Pérez
a0105ce00f
Changed default values for RFM69GW board
6 years ago
Yonsm
3e1031ab7c
define HOMEASSISTANT_PAYLOAD_AVAILABLE and HOMEASSISTANT_PAYLOAD_NOT_AVAILABLE
6 years ago
Xose Pérez
261748e5e8
Option to disable password in telnet connections, default is enabled
6 years ago
Xose Pérez
7e22a8878e
Configure AP fallback at build time
6 years ago
Maxim Prokhorov
e326fbe09f
hostname/password length requirements
* fix webui regexp and input length limits
* explain requirements in webui and headers
6 years ago
Xose Pérez
29d8dd734f
Support for IR transmit and MQTT-IR bridge, also in RAW mode ( #556 , #907 )
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
4f61d3aa7e
Option to remove API_SUPPORT at build time
6 years ago
Xose Pérez
f827f91c43
Update version to 1.13.2b
6 years ago
Xose Pérez
13b0279ecc
Option to change default payload for HA ( #1085 )
6 years ago
Xose Pérez
a8a0e11d24
Clean IR reception, IR to MQTT
6 years ago
Xose Pérez
0c65bfe36b
Option to cofigure ON/OFF payload at build time ( #1085 )
6 years ago
Maxim Prokhorov
8a0b3bca42
Fix compiler warnings
Add button definitions to the travis02 and travis03
IR_BUTTON should be uint32_t to properly work with new macro
eepromRotate return value is not used
6 years ago
Xose Pérez
9078ff3404
Fix comment in PWM config
6 years ago
Xose Pérez
b44258ac41
Preliminary support for Itead Sonoff IFAN02
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
Maxim Prokhorov
f4de7c061b
MQTT dynamic pulse timer for relays
6 years ago
Xose Pérez
5db395cffd
Enable CORS
6 years ago