M5-T04: add Modbus poll service and APScheduler polling job
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user