Dynamic solar export management with CSIP-AUS support for Home Assistant. This repository contains a Home Assistant add-on for Open Dynamic Export.
(This has been developed for MQTT, but should also work for other configurations supported by ODE)
-
Add this repository to Home Assistant:
- Go to Settings → Add-ons → Add-on Store
- Click the three dots (⋮) in the top right
- Click "Repositories"
- Add this URL:
[https://github.com/Stuart0411/Open-Dynamic-Export-Home-Assistant-Addon] - Click "Add"
-
Install the add-on:
- Find "Open Dynamic Export" in the add-on store
- Click on it and press "Install"
-
Configure the add-on:
- Go to the Configuration tab
- Edit the
config_filewith your settings - Update MQTT credentials to match your Mosquitto setup
- Save the configuration
- Mosquitto MQTT broker add-on installed
- MQTT user configured in Mosquitto
- Home Assistant automations to publish meter/inverter data to MQTT
The default open dynamic exports UI can be accessed locally from your home assistant IP address or homeassistant.local:3000 eg. 192.168.1.5:3000
For CSIP-AUS dynamic export control:
Get your certificates from your DNSP Place them in: /addon_configs/2b62df8a_open-dynamic-export/certs/
sep2-cert.pem sep2-key.pem
Update config with your CSIP credentials Restart the add-on
influxdb_host (default "" → disabled) influxdb_port (default "8086") influxdb_username, influxdb_password (InfluxDB v1) influxdb_admin_token, influxdb_org, influxdb_bucket (InfluxDB v2) influxdb_password and influxdb_admin_token use the password? schema type so the HA UI masks them.
{
"setpoints": {
"csipAus": {
"enabled": true,
"controlMode": "opModExpLimW",
"siteId": "YOUR_SITE_ID",
"auth": {
"clientId": "YOUR_CLIENT_ID",
"clientSecret": "YOUR_CLIENT_SECRET"
}
}
},
"inverters": [
{
"type": "mqtt",
"host": "mqtt://core-mosquitto",
"username": "user",
"password": "password",
"topic": "inverters/1"
}
],
"inverterControl": {
"enabled": true
},
"meter": {
"type": "mqtt",
"host": "mqtt://core-mosquitto",
"username": "user",
"password": "password",
"topic": "site"
},
"publish": {
"mqtt": {
"host": "mqtt://core-mosquitto",
"username": "user",
"password": "password",
"topic": "ode/limits"
}
}
}For issues with Open Dynamic Export itself, see: https://github.com/longzheng/open-dynamic-export
For add-on specific issues, please open an issue in this repository.