dubocr / homebridge-gpio-device

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

initState on switches and light not working. #111

Open toshibochan opened 3 years ago

toshibochan commented 3 years ago

this is my config I want se active_low to 1 but alway set to 0 and I can't change please help

"accessory": "GPIODevice", "name": "Gate Spotlight", "type": "Lightbulb", "inverted": "false", "initState": "1", "pin": 19

FKDW commented 3 years ago

Hi,

I think your issue might be using "1", try using just 1. However, I am having the same issue with the initState not working either.

toshibochan commented 3 years ago

didnt work

toshibochan commented 3 years ago

garage door is "initState": 1 but not working to

toshibochan commented 3 years ago

switch, light, outlet and garage door all active low is set to 0 by default and "initState": 1 not working

toshibochan commented 3 years ago

downgrading to homebridge-gpio-device@0.4.6 is working on node 10.23.3 but not working on node 14.15.5