andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 127 forks source link

door being opened on its own #67

Open docsparks opened 6 years ago

docsparks commented 6 years ago

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.

clarkmerrick commented 6 years ago

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

crockernr commented 6 years ago

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

pyaniz commented 5 years ago

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.