benlamonica / homebridge-rasppi-gpio-garagedoor

Plugin for HomeBridge for a Raspberry Pi GPIO Garage Door Opener
63 stars 40 forks source link

Fix three bugs when only open door sensor #17

Closed daviderie closed 7 years ago

daviderie commented 7 years ago

I used this plugin and only configured the openDoorSensor. I discovered and fixed three bugs in that scenario. Thanks for the great plugin!

benlamonica commented 7 years ago

I've released the changes in version 1.0.10

simonrb2000 commented 7 years ago

Great work guys! Quick couple of questions...

  1. What are the benefits of adding an open switch as this shouldn't be too difficult for me to do as my pi is right near the opener. I have a sensor on the ground which detects if it's closed.

  2. If the garage is opening and I hit the garage door again within HomeKit it stops it as that's what the door opener buttons do by default however it shows within HomeKit that it is trying to close.. then it's all out of sync. I wondered if it was within HomeKit that if you pushed the garage button again while its opening it shows up as stop. Then when you hit it again it will close.. My opener only has a toggle for open and close. I guess this is where having an open pin would be good so it actually knows that it's still opening. It's sometimes handy to only open the garage half way and with the current setup it all gets out of sync.. once the door closes it's all good again.

Thanks for reading and I hope that makes sense!!

Cheers!!! :-)