[SYS][BREAKING] Add gateway states, Offline mode and refactor sleep (#2020)

Gaterway states to improve LED management
Make the sleep function accessible outside BT
BREAKING remove sleep for ESP8266
BREAKING lowpowermode API changed to powermode and new mode definition

Co-authored-by: Florian <1technophile@users.noreply.github.com>
This commit is contained in:
FlorianandFlorian authored and GitHub committed 2024-08-23 16:55:04 -05:00
1 parent 068c2e457a
commit f9a5c6961a
16 files changed
+367 -443

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ build_flags =
'-DMQTT_USER="lolin-esp32"'
'-DMQTT_PASS="abcdefghi"'
'-DMQTT_SERVER="192.168.1.17"'
'-DDEFAULT_LOW_POWER_MODE=2'
'-DDEFAULT_LOW_POWER_MODE=INTERVAL'
;hacked Sonoff RF-Bridge
[env:sonoff-rfbridge-hacked]