benlamonica / homebridge-rasppi-gpio-garagedoor

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

Opening and Closing with the same value #32

Closed GatoPharaoh closed 7 years ago

GatoPharaoh commented 7 years ago

My approach to opening my garage is a little different. I'm not using a relay but a simple remote which has one key that opens or closes my garage. (at the moment, my remote in combination with this plugin only triggers when I open the garage via homekit)

What changes to the code would be necessary that the plugin uses doorswitchvalue 1 when opening and also closing? Resetting the GPIO value from 1 to 0 after each trigger is not a problem as I am doing this via automation.

thanks in advance.

edit: nevermind, got it.