garage-door-controller icon indicating copy to clipboard operation
garage-door-controller copied to clipboard

door being opened on its own

Open docsparks opened this issue 7 years ago • 3 comments

so i've used this the past year, great work. however over the past few months we've had our door open for us a handful of times. ive enabled the password prompt, disabled ssh, use key authentication to make changes to the pi. i used to see endless attempts via fail2ban, have changed our port for access to some insane number. i can't figure it out, why this keeps happening. would the lack of the 10k resistors be any culprit to this? anyone have any suggestions? this is becoming a huge problem for me. any direction is appreciated thanks.

docsparks avatar Oct 15 '17 11:10 docsparks

Does yours open on a power cycle? Perhaps your Pi is power-cycling and when it does it activates the relays.

clarkmerrick avatar Jan 21 '18 19:01 clarkmerrick

I have just had this issue but we just had a powercut. When power was restored the garage door opened..

crockernr avatar Jan 30 '18 06:01 crockernr

Don't know if anyone is still looking at this or not but the reason is likely that the relay (in my case at least) is "activated" by default. Hence if you have it connected to Normal Open "NO" it will be force to Closed whenever the pi power-cycles. I inverted the values of the relay in the controller.py and it worked.

pyaniz avatar Apr 28 '19 00:04 pyaniz