andrewshilliday / garage-door-controller

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

Door opener wall button not working when RSPi is on. #58

Closed veloom closed 7 years ago

veloom commented 7 years ago

Got it all setup and working well with one garage door on a raspberry pie zero w. Works great except when the raspberry pie is on and controls the garage door, the normal wall garage door opener button won't work. If I turn off the rspi the button works fine until I turn it back on and it starts the garage opener program.

Any ideas?

andrewshilliday commented 7 years ago

Hm. Could it be that the relay is not correctly opening the circuit after closing it? Do you have a volt meter (multimeter) to test whether the relay circuit is open or closed?

veloom commented 7 years ago

Thanks for the quick reply. Figured it out. I was having the the issue with the relay being active at startup that SouthernPlayer noted the changes in controller.py for. Making those changes corrected my issue with the physical button also.

42 gpio.output(self.relay_pin, False) <--was True 72 gpio.output(self.relay_pin, True) <--was False 73 time.sleep(0.2) 74 gpio.output(self.relay_pin, False) <--was True