Closed minamoanes closed 2 years ago
How your code looks like? Like in the examples? So do you get the pairMethod and use that when calling the pairing? If not please add that.
Additionally please tell which device types (manufactorer and such) it happens.
Additionally please follow the infos in readme to get an enhanced log and post it here. Thank you
Ok, I looked at your code and you do not get teh pairmethod and use it ... https://github.com/minamoanes/homebridge-homekit-control/blob/master/cli.js#L134
Please adjust it to be like https://github.com/Apollon77/hap-controller-node/blob/main/examples/ip/pair-setup.js#L12-L15
Worked like charm! Thanks a lot @Apollon77, I appreciate it!
Fixed here: https://github.com/minamoanes/homebridge-homekit-control/releases/tag/0.1.21
Glad to help
Describe the bug
Every time I try paring a device, I get the following error:
To Reproduce
I'm using this Homebridge Plugin: homebridge-homekit-control Which uses hap-controller-node to get the device information as a JSON, When I try getting the device information for some specific devices, I get the error above, while others work totally fine...
Expected behavior
Get the device Pairing information JSON
Additional context
#32
Any one has an idea what should I do? as you might notice, I forked the repo, and updated to the latest hap-controller-node in an attempt to fix it, but it didn't work out.