benlamonica/homebridge-rasppi-gpio-garagedoor

Opening and Closing with the same value

GatoPharaoh opened this issue · 0 comments

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.