Open lboue opened 5 years ago
It's in my to do list.
Hello @ilcato.
You can try with my test file here: https://github.com/lboue/HAP-NodeJS/blob/no_response/accessories/Light_accessory.js
Did you had time to work on this?
Very busy at the moment...
Hello,
I would report unresponsive accessories to HomeKit app. For exemple if device is not powered on, the HC2 REST API reports is as dead:
dead: "true",
I found explanations here on the HAP-NodeJS github Change updateValue to return not responding status #556
Explanations
We can init an err variable and then trigger an error
Or use a boolean like the dead attribute:
Fake Outlet hap-nodejs test
I did a test with hap-nodejs et that file: Outlet_accessory.js. If I change isAccReachable to true, the Outlet become reachable withHomeKit
Do you think it could be implemented? I can help for testing.
Regards