Closed LuckyLuzz closed 2 years ago
This is the raw structure of the mqtt topics... This has nothing todo with the Home Assistant Auto Discovery Feature... Did you enable Home Assistant Auto Discovery in the MQTT Configuration?
I did enable the Option in OpenDTU settings. Firmware 0.1.18.
The inverter is in another network conected via Fritzbox to Fritzbox VPN function.
First of all, your firmware version is very old.
I don't know anything about a Fritzbox VPN Function. But if you enable HASS Auto Discovery you should also see a topic called homeassistant/
where several dtu sensor appear.
Auto Discovery works in a way that each device just publishes it's sensors into the homeassistant/#
topic and HASS reads this topic.
the topic homeassistant/# is visible but OpenDTU does not publishes its data there.
The Firmware has been Updates to the latest bin.
Fritzbox is a DSL router. You can connect them via a integrated VPN.
Can you make a screenshot of your mqtt settings? Especially the Home Assistant section?
And btw... HASS will not publish any inverter data to the homeassistant
/ topic... It will just place some json config there which describe where HASS can find the data itself.
alright I got it. The base topic setting withhin OpenDTU was set to solar/. I changed it to homeassistant/ and now HASS is recognising the device.
Thanks!
Ah I remember that the HASS Auto Discovery Topic was wrong in early releases. The default was solar/
instead of homeassistant/
.
Your setup should be similar to this screenshot: https://github.com/tbnobody/OpenDTU/blob/master/docs/screenshots/04_MqttAdmin.png
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.
Hi, first of all THANKS :) This is a great project!
My OpenDTU Divice is running since two months without issues. Last week I tried to set ip up with Home Assistant but it did not work out of the Box. I had to add line to the YAML configuration file withhin HA. Following this Post https://community.home-assistant.io/t/hoymiles-dtu-microinverters-pv/253674/21
After I got it working with the updated YAML script I had a look over the MQTT Broker via MQTT Explorer (screenshot attached).
I don't really know why auto discovery does not work but if you comepare the OpenDTU Topic with the Tasmoto Topics you see that they are totaly different. The structure might be it.
Thanks again for this great project :)