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 opens on reboot/power up? #40

Closed vulcanjedi closed 4 years ago

vulcanjedi commented 4 years ago

I had two issues: The wall button woudl stop working and the door opens on reboot/bootup invert_relay = true seemed to fix that. I wired to NO on the 2 ch relay, and they lights for each relay used to be lit red. Now they dont light at all? But both HA / wall button open / close the door? Is that expected?

This did not fix the door open on boot issue? I've seen the closed thread. I completely erased my MQTT container and its data.
I turned retain off and commented it out in HA Dont see how this is a MQTT/Mosquitto issue. I turned off HA and booted the Garage RPi and the door still opened independent of HA Does persist need to be off in MQTT as well?

Configuration can be changed to:

persist data to /mosquitto/data log to /mosquitto/log/mosquitto.log i.e. add the following to mosquitto.conf:

persistence true persistence_location /mosquitto/data/ log_dest file /mosquitto/log/mosquitto.log

vulcanjedi commented 4 years ago

https://www.raspberrypi.org/forums/viewtopic.php?t=237261