jerrod-lankford / GarageQTPi

An MQTT server for a raspberry pi garage door opener. Most commonly used as a HomeAssistant cover component.
MIT License
75 stars 36 forks source link

Door Opening by Itself #16

Closed rsmith0906 closed 6 years ago

rsmith0906 commented 6 years ago

Has anyone seen an issue with the Garage door opening by itself? Its only happened a couple times but is concerning. My guess is electrical interference could be triggering the GPIO but that's just a guess.

jerrod-lankford commented 6 years ago

Its probably not electrical. See threads like these https://github.com/Jerrkawz/GarageQTPi/issues/13

My guess would be that home assistant or whatever you have set up is publishing the OPEN/CLOSE command with a retain=true flag. So if the mqtt service restarts for whatever reason it will recieve the last command

rsmith0906 commented 6 years ago

Ok I'll turn off the retain flag. It has happened so sporadically that I won't know its fixed until time has passed where it hasn't happened. Thank you for your timely response!