Add NFC enable/disable support; update devices, Sonoff, and Tuya

This commit is contained in:
2026-04-13 21:35:17 +03:00
parent 86bfecca26
commit 5340f88ffe
15 changed files with 843 additions and 175 deletions

View File

@@ -15,7 +15,7 @@ class Config:
)
SQLALCHEMY_TRACK_MODIFICATIONS = False
# How often (seconds) the fast poller updates ONLINE boards
BOARD_POLL_INTERVAL = int(os.environ.get("BOARD_POLL_INTERVAL", 10))
BOARD_POLL_INTERVAL = int(os.environ.get("BOARD_POLL_INTERVAL", 60))
# How often (seconds) offline boards are rechecked to see if they came back
OFFLINE_RECHECK_INTERVAL = int(os.environ.get("OFFLINE_RECHECK_INTERVAL", 60))
# Base URL this server is reachable at (boards will POST webhooks here)