dubocr / homebridge-gpio-device

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

Problem with HomeAssistant Homekit Controller #98

Open MobilettoSoft opened 3 years ago

MobilettoSoft commented 3 years ago

Hi! I'm using this plugin with a raspberry pi3 running homebridge to control two garage door openers, a lock mechanism and a temporized switch. Everything is working fine when using this setup with HomeKit and the home app on iOS.

Now, I started using another pi running HomeAssistant to use some automations without relying on HomeKit and an iPad as home hub.

HomeAssistant has a plugin allowing to pair HomeKit accessories so I tried to pair the pi running homebridge to control its accessories via HomeAssisant.

However HomeAssistant seems to not recognize correctly the different accessories. Instead of listing two different garage door openers, it lists only the first one as entity, while the second is listed as the device containing the first one. Moreover, if I add more accessories of the same type, only the first one is listed.

It does seem to be an issue related to this specific plugin, because if I create multiple accessories of the same type with other plugins (such as mqqtthing), each one is correctly recognized in HomeAssistant and listed as single devices and entities.

It's a shame, because the plugin is really useful and exactly what my setup needs.