Skip to content

Config Zonneplan

Jeroen Simonetti edited this page May 29, 2026 · 1 revision

zonneplan_prices — Configuration Reference

Auto-generated from zonneplan_prices/config.py. See Zonneplan for the guide.

ZonneplanApiConfig

Zonneplan-specific fetch and pricing parameters.

Field Type Default Description
email `str None` None
token_file str 'zonneplan_token.json' Path to the JSON file where OAuth tokens are persisted between restarts. Must be on a Docker volume to survive container restarts.
import_formula str _DEFAULT_IMPORT_FORMULA Python expression for the all-in import price in EUR/kWh. Available variables: price (all-in incl. tax, EUR/kWh), price_excl_tax (excl. tax, EUR/kWh), ts (datetime, UTC).
export_formula str _DEFAULT_EXPORT_FORMULA Python expression for the net export price in EUR/kWh. Same variables available as import_formula. Defaults to price_excl_tax.

ZonneplanPricesConfig

Root configuration for the zonneplan_prices daemon.

Mirrors NordpoolConfig in structure so that HelperDaemon's autodiscovery and stats machinery works without any changes to the base class.

Field Type Default Description
mqtt MqttConfig (required) MQTT broker connection settings.
mimir_topic_prefix str 'mimir' mimirheim mqtt.topic_prefix. Used to derive default output and trigger topics.
trigger_topic str (required) MQTT topic that triggers a fetch cycle.
output_topic `str None` None
zonneplan ZonneplanApiConfig (required) Zonneplan API and pricing formula parameters.
ha_discovery `HomeAssistantConfig None` None
stats_topic `str None` None
signal_mimir bool False Publish to mimir_trigger_topic after publishing prices.
mimir_trigger_topic `str None` None

Clone this wiki locally