Closed svalcken closed 5 months ago
What do you see on the console if you restart the broker? What broker are you using? Please provide a screenshot of Info --> MQTT
I have that on OpenDTU v23.12.24, too, after restarting Home Assistant. I am using the standard MQTT server in Home Assistant (core-mosquitto). Everything back to normal after restart of OpenDTU.
What is the mqtt status (info --> mqtt) if you restart the broker and the client does not work proberly?
Whoa, OpenDTU is connected, MQTT Explorer also shows the MQTT packets coming in. The problem seems to be on the Home Assistant side!
I better report that there.
Thank you for your quick reply. OpenDTU is a great project! 👍 👍 👍
I just had the same issue. Info -> MQTT showed Status: Enabled, but Connection Status: Disconnected. Info -> Console only showed inverter communication, nothing about MQTT. Simply saving the MQTT settings again without changing anything made it connect to mosquitto again. So it appears connection retry is broken under some circumstances. I'm on 24.1.26.
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.
What happened?
mqtt server was rebootet. After them, opendtu does not reconnect and send data.
To Reproduce Bug
Restart mqtt server and than data will not sendto mqtt.
Expected Behavior
automatical reconnect to mqtt and send of data to mqtt.
Install Method
Pre-Compiled binary from GitHub
What git-hash/version of OpenDTU?
v23.12.28
Relevant log/trace output
No response
Anything else?
No response