rsg98 / homebridge-gpio-wpi2

Homebridge Raspberry Pi GPIO Platform (API 2) Plugin - using WiringPi as a backend
48 stars 16 forks source link

Anyway to get a switch to toggle state of homebridge switch and not reflect GPIO state? #55

Closed davetaz closed 5 years ago

davetaz commented 5 years ago

Is the following possible?

1) Turn physical switch to on position (3.3v to GPIO) 2) Bulb (via HomeKit automation) switches on 3) Switch bulb off using Siri/Homekit/another switch 4) Turn physical switch to off position (0v to GPIO) 4) Bulb switches on

So the switch is then a toggle and the GPIO state doesn't reflect the bulb state?

davetaz commented 5 years ago

Figured it out.

You can't do this in the Apple Home app but you can in apps from third parties.