andrewshilliday / garage-door-controller

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

Allow configuring the value for open/closed pin state #34

Closed getsaf closed 7 years ago

getsaf commented 8 years ago

I've setup my reed switches so that when the door is open, the reed switches line up. For my particular reed switches, this means when the door is closed, the state of the GPIO pin is 1 which is a little different from the original implementation so I added the ability to configure the state value in the config.json.

andrewshilliday commented 7 years ago

Sorry this went unnoticed for so long. This looks like a great addition. Would you mind updating the README.md file to describe the setting? Then I'll happily merge it.

getsaf commented 7 years ago

@andrewshilliday Good call, got it added!