M5-T04: add Modbus poll service and APScheduler polling job

This commit is contained in:
2026-06-22 13:24:11 +02:00
parent c89cea4953
commit 49d15d8ffe
5 changed files with 671 additions and 1 deletions
+3
View File
@@ -41,6 +41,9 @@ class Settings(BaseSettings):
auth_trust_forwarded_for: bool = False
auth_totp_issuer: str = "" # defaults to app_name when empty
# Modbus polling — global kill-switch; T08 will wire this into CONFIG_FIELDS/UI.
modbus_polling_enabled: bool = True
model_config = SettingsConfigDict(
env_file=".env",
env_file_encoding="utf-8",