Closed Apollon77 closed 3 years ago
Sure, template strings are much beter, I just "followed the style" you used in one of the exmaple files :-)
I also let prettify run and fixed eslint stuuff again :-)
Hello, I'm still facing this issue:
/homebridge/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/protocol/pairing-protocol.js:272
throw new Error('M4: Empty TLV');
^
Error: M4: Empty TLV
at PairingProtocol.parsePairSetupM4 (/homebridge/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/protocol/pairing-protocol.js:272:19)
at HttpClient.finishPairing (/homebridge/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/transport/ip/http-client.js:128:36)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async HttpClient.pairSetup (/homebridge/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/transport/ip/http-client.js:150:9)
at async /homebridge/node_modules/homebridge-homekit-control/cli.js:134:17
any ideas?
Responsind on an issue which is closed since 10months is not the best idea ... Please open a new issue with etaisl to the device and ideally an enhanced debug log (see readme for instructions). Then we can analysze it in more detail
This PR addresses #31 by adding support to optionally provide the PairMethod and also ParingTypeFlags available when using PairSetup method.
My Hue is pairing fine.
I hope I did anything correct in Typescript