dubocr / homebridge-gpio-device

Homebridge GPIO device expose several HomeKit accessories interacting with GPIO
Apache License 2.0
66 stars 20 forks source link

WindowCovering stop function #128

Closed adrianmihai83 closed 11 months ago

adrianmihai83 commented 11 months ago

Some windows coverings motors (Somfy for example, wired not RTS) have the possibility of stopping the movement when the two contacts (open and close) are closed the same time.

Is there any possibility of adding a switch that has two pins output the same time?

invertStopPin does not work as intended, I am running homebridge-gpio-device v0.4.9 and setting it true or false does not activate both pins... also setting pulseDuration to 0, active the whole movement does not deactivate pin at the end of movement

LE: saw the code, so invertStopPin is not intended to be used as I want, but to stop the movement at the end by pulsing the other pin...

Regards, Adrian

adrianmihai83 commented 11 months ago

Never mind, solved it with another modded plugin, aparently noone uses Somfy DCT (dry contacts comands for motors) so I made my own plugin.

Regards, Adrian