dubocr / homebridge-gpio-device

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

using initstate to determine default output value #108

Closed robinvanpraet closed 3 years ago

robinvanpraet commented 3 years ago

I was using this HomeBridge plugin with a raspberry pi I had already set up on my garagedoor. Both inputs and outputs needed to be inverted. But then, at reboot, the system would just open my garage door as the initial state of the output pin was not set properly. I have updated the code and now it works like a charm.

robinvanpraet commented 3 years ago

Thanks! And thank you for this great plugin!