OpenGarage Forums OpenGarage Firmware MQTT unwantingly opens garage door on wifi reconnect!! Reply To: MQTT unwantingly opens garage door on wifi reconnect!!

#1319

emann
Participant

Whatever you are using to send the button command is sending the message with the retain flag set. This causes the mqtt server to save the last known good message and send it to any client that connects and subscribes to the button topic. The receiving client (opengarage) has no control over this.

Whatever mqtt client you are using to send the button command should have the ability to publish the message with the retain flag set or cleared.

See for more info on mqtt protocol:

https://www.hivemq.com/blog/mqtt-essentials-part-4-mqtt-pub