Files
solar-relay/config.example.toml
T
franzz 89621bc7c3
Deploy Solar Relay / deploy (push) Successful in 1m2s
Simplify status interface
2026-11-02 23:14:13 +01:00

39 lines
1.3 KiB
TOML

[collector]
source_id = "home-gen24"
archive = "data/archive" # Parquet directory, relative to this configuration file.
timezone = "Europe/Zurich" # Used for date-only export/replay arguments.
poll_interval_seconds = 300
retention_days = 30 # Full local days after acknowledgement; pending days never expire.
[inverter]
base_url = "http://fronius.local"
meter_id = "0" # Primary meter, as reported by Solar API.
boiler_pin = "pin1"
request_timeout_seconds = 5
min_request_interval_seconds = 4
[upload]
url = "" # Set to https://your-solar-host/index.php?a=relay to enable uploads.
token = "" # Shared bearer token; enter the real value only in private config.toml.
batch_size = 100
request_timeout_seconds = 10
retry_initial_seconds = 5
retry_max_seconds = 300
[http]
enabled = true
bind = "127.0.0.1"
port = 8765
base_path = "/solar-relay"
history_days = 14
[history]
enabled = false
pv_system_id = "" # Your Solar.web PV system UUID; required when enabled.
username = "" # Account email; enter real credentials only in private config.toml.
password = ""
# Recover from local midnight collector.retention_days ago, including empty days.
lag_seconds = 7200 # Allow the inverter to upload its hourly historical data.
check_interval_seconds = 3600
request_timeout_seconds = 45