As people are asking, here is what I did.
Assumption:
- openDTU up and working and connected to your Wifi
- MQTT broker up and running in your Wifi
- HOme Assistant up and running (talking about 2022.10.x - might work with older versions)
-
Setup MQTT broker in HA
Add new MQTT integration -
Configure openDTU
– Open webpage from open DTU
– Goto inverter settings, enter serial number of your converter and give it a name (is used in the sensor name in HA)
– Goto MQTT settings, enable MQTT, enter your MQTT broker IP address and port (1883?), enter credentials if required
– check settings again
– Goto MQTT settings, enable HA auto-discovery -
Configure HA dashboards
– Check MQTT integration under settings - open entities and check if new entities appeared (should). New sensor entities are named “sensor.INVERTERNAME_ATTRIBUTE”
– Add sensors to your dashboards through any visualization card you want to -
If sensor data disappears/expires
– Goto MQTT settings page
– disable “Enable expiration” (please note, that this means, the last sensor value stays. You need to monitor reachability of the converter via the according sensor)
I hope this helps…