Latest Updates done, before integrating

This commit is contained in:
2026-04-12 10:13:53 +02:00
parent db46fcf0c6
commit 5354e34055
19 changed files with 820 additions and 41 deletions

View File

@@ -112,8 +112,12 @@ forecast:
# EMS operational settings
ems:
poll_interval: "2m"
listen_addr: ":9099" # Prometheus metrics endpoint
listen_addr: ":9099" # web UI (login-protected; put behind Synology HTTPS proxy for internet access)
metrics_addr: ":9101" # Prometheus /metrics (no auth — keep internal, do not expose to internet)
# Note: :9100 is typically taken by prometheus-node-exporter
log_level: "info"
http_username: "ems" # login username (empty = no auth required)
http_password: "changeme" # login password — change this; config must be chmod 600
state_file: "/run/ems/heartbeat" # written each cycle for state recovery
recovery_timeout: "1h" # ignore Shelly state if EMS was down longer
override_timeout: "1h" # default lockout when EMS detects external Shelly change