I have been running mqtt with the pentair screen logic addon without issue for many months. My mqtt switches stopped working. When i toggle them off or on , they go back to the original position within seconds.
The message is getting published correctly to the command topic., when i publish the same message via mqtt.fx it has no effect either. I have not changed anything on my network. I am running HASSIO with a virtual box vm on my mac. I even downgraded my virtual box software thinking that may have been the cause. I have this issue for about a month, and I really need help.
I saw this before but with tasmota switches. And the problem was that the new version of tasmota changed the topic “power” to “power1”. So the state topic on HA was pointing to a topic that no longer existed. Check the state topic and change it if necessary.
Ok, one bit to remember with the retain flag is that turning it off on the device doesn’t clear the last retained message on the broker. If you use MQTT-Explorer, then there is a function to clear retained messages.
Are you seeing messages being received by the broker in the broker logs? ie: 1599878787: New client connected from 192.168.21.79 as DVES_740D46 (p2, c1, k30, u'device').
There are no messages being retained and using mqtt explorer , i am able to see what appears to be the correct messages being published. So it appears to be between the queue and the screenlogic adapater?
Which in my mind would point to a network issue or the topics changed, but there has been no change either to the screenlogic firmware or my network that i know of…
Any help would be greatly appreciated, I am not sure where to go from here.