Apollon77 / hap-controller-node

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

Pairing issue #22

Closed narf007 closed 3 years ago

narf007 commented 3 years ago

Hello, I'm using your library in order to built a controller that I've tested with my own accessory built with an ESP32 and a Homekit library. When I try to pair with my accessory, the accessory returns an issue because the controller seems to start a pairing using MFi certification protocols (pairing METHOD = 1). Is my accessory faulty or am I using your library in the wrong way ? Is there a way (a property to set) to choose the pairing method ? Thank you in advance for your feedback.

mrstegeman commented 3 years ago

This was implemented from the community version of the HAP spec. What should be changed to change the pairing method?

narf007 commented 3 years ago

I was just asking if there is a way to change the pairing method in the library you implemented ? A function or a parameter to use ?

mrstegeman commented 3 years ago

No, there's not, because i didn't know there was a different method.

mrstegeman commented 3 years ago

@narf007 What issue/error are you actually seeing from this library?

mrstegeman commented 3 years ago

This should be fixed in v0.5.0. See #32.