42 lines
1.3 KiB
TOML
42 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 # Days AFTER acknowledgement; pending records 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_env = "SOLAR_RELAY_TOKEN"
|
|
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]
|
|
# Optional, authenticated Solar.web Query API. No public guest link is used.
|
|
# GEN24's local Solar API has no historical-data endpoint.
|
|
enabled = false
|
|
pv_system_id = "" # Your Solar.web PV system UUID; required when enabled.
|
|
access_key_id_env = "SOLARWEB_ACCESS_KEY_ID"
|
|
access_key_value_env = "SOLARWEB_ACCESS_KEY_VALUE"
|
|
lookback_days = 7
|
|
lag_seconds = 7200 # Allow the inverter to upload its hourly historical data.
|
|
check_interval_seconds = 3600
|
|
request_timeout_seconds = 10
|
|
|