Pi Garage Relay Lock-up

After initial release with the Home Assistant mobile app performing the opening and closing it was observed that quick button presses (from my daughter pressing the button rapidly🤣) that this could cause a lock up of the hardware in a weird way.

You could see the lights on the relay change to show that the control signal to change the relay state was working however you could not hear the “click” of the relay. Other relays worked as expected, it was as though the relays themselves or something got “latched” in the changed state.

Only rebooting the Pi Garage docker container (or by using a broom to cycle the power switch) recovered Pi Garage.

A delay was introduced after each relay action to fix this as per the documentation however it was not enough and the delay was increased to 1 second. This has fixed the lockup however it means that if you need to apply an input to say stop the garage door there is one second where it will not respond.


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *