Apollon77 / hap-controller-node

Node.js library to implement a HAP (HomeKit) controller
Mozilla Public License 2.0
55 stars 15 forks source link

Do this allow access to HomeKit devices via the Home App and this at the same time? #7

Closed NorthernMan54 closed 4 years ago

NorthernMan54 commented 4 years ago

I'm the developer behind the homebridge to Alexa integration and was looking at improving the integration, and the possibility of including real HomeKit devices. In the README it wasn't clear and unfortunately I don't have any real HomeKit devices in my setup ( strictly homebridge for everything ) to try it out.

My hope is that this will allow dual access, from both the Home App and the API as well.

mrstegeman commented 4 years ago

The answer to this is... complicated. The HAP spec defines a way to add and remove pairings, so that access can be shared between multiple devices. However, it doesn't define what the process is for sharing the device identifier with the master device.

This library does have the required methods to add and remove pairings. I'm just not sure how to either get an iOS device to share its identifier, or how to share our identifier with the iOS device.

tl;dr: No, you have to use either the Home app or this library.

NorthernMan54 commented 4 years ago

Tks very much for the detailed response.

On Feb 17, 2020, at 11:53 AM, Michael Stegeman notifications@github.com wrote:

Closed #7 https://github.com/mrstegeman/hap-controller-node/issues/7.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mrstegeman/hap-controller-node/issues/7?email_source=notifications&email_token=AEXEFGCAKRS5SDZLO5737MLRDK6JNA5CNFSM4KWUKIP2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWV3JPIQ#event-3044448162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXEFGGP6EWFDRSZWMBBDZDRDK6JNANCNFSM4KWUKIPQ.