Closed absalom-muc closed 1 year ago
Closed, since I'm looking for a HAP-MQTT bridge and decided to continue with ioBroker instead of reinventing the wheel. With ioBroker it is no problem to see the subscription and to bridge it to MQTT.
In fact the reson is that the JSON is simply wrong as seen in your post ...
Thanks a lot for your great work. I'm a beginner in the area of HAP and NodeJS, nevertheless I was able with your examples to pair my Aqara FP2 and to run get-accessories.js in a short time.
But with your example get-characteristics (added only the pairingData and aid.iid) I see an error message:
I assume the 'SyntaxError' is created by my device, do you know what went wrong?
I would expect some more debug output, not sure if I need something else than 'DEBUG=hap-controller'? (sorry, NodeJs starter)Also with subscribe-characteristics I have some trouble (subscription is successful, but no values visible), but this might be a differernt working zone.Thank you.
edit: With DEBUG=hap* node get-characteristics.js 0 --debug --logs I see the detailed output: