rsg98 / homebridge-gpio-wpi2

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

Feature Request: HomeKit Symbol #16

Open maikischa opened 7 years ago

maikischa commented 7 years ago

It would be nice if you can change the HomeKit Type of the GPIO from switch to different HomeKit Types Bulb, Blind etc.

The Symbol in the HomeKit App would change to the appropriate device connected to the GPIO.

Thx. for your work.

rsg98 commented 7 years ago

You can change between compatible types in the home app, under Details > Type

https://support.apple.com/en-gb/HT204893

...but it's fairly limited. Some others have edited the code to, for example, replace ContactSensor with a PIR.

The problem is that each type has different characteristics, so it could easily turn the code into a rats nest of conditional logic.

I'll have a play with adding a bit more flexibility, but I would be interested to hear what accessories are most desirable for input, output and PWM.

GatoPharaoh commented 7 years ago

Any update on this one? I'd love to expose my Garage Opener as such in Home.app instead of a switch