siku2 / hass-dingz

Home Assistant support for dingz wall switches
MIT License
14 stars 5 forks source link

MQTT-Anmeldung funktioniert nicht ... #42

Closed Luedem25 closed 2 months ago

Luedem25 commented 10 months ago

Salü Alle

Als erstes, ein herzliches Dankeschön für das tolle Dingz-Plugin. Und, bin Neuling mit HASS. Suche eine Alternative zu Jarvis (ioBroker). Das GUI von HASS gefällt mir sehr gut.

Technisches Umfeld:

Irgendwie funktioniert die Verbindung (mqtt://dingz:dingz@192.168.1.23:1883) zwischen Dingz und HASS nicht. Ich glaube, dass ich alles nach Drehbuch eingerichtet habe. Die Verbindung ist mit dem "MQTT-Explorer" erfolgreich getestet.

Hat jemand eine Idee, wo der Fehler liegt?

Vielen Dank für die Unterstützung.

LG jean

altery commented 8 months ago

Same problem, I do see that Dingz connects to the MQTT broker and I also see data in the topics. But it looks like HA respectively this integration doesn't interpret the messages correctly. Also, the debug MQTT sensor shows 'disconnected'.

Edit: After reloading the integration (Settings->Devices->Dingz->[Device] Reload) it now reports 'connected', though there is a crash when a timestamp sensor is added. But this is probably not related and rather caused by this change: https://github.com/home-assistant/core/issues/103192

siku2 commented 8 months ago

I guess I really need to add a note somewhere that the integration needs to be reloaded to connect to the broker.

The other point with the timestamp sensor is actually a bug that I hadn't noticed yet. I will take care of that asap

siku2 commented 2 months ago

The timestamp issue has been fixed in 0.5.0