Accessories Not Responding after power failure, have to redeploy homekit bridged node

Describe the bug
When the NodeRED host OS restarts due to power outage, the HomeKit accessories show the Accessories Not Responding message. The only way I’ve found to get them back is to:

  1. open the NodeRED editor
  2. double click one of the HomeKit nodes
  3. click Done
  4. click Deploy

To Reproduce
It seems that this only happens when NodeRED does not shut down cleanly. Restarting the docker container normally does not seem to have this issue.

Expected behavior
It should be able to recover on it’s own, whatever code is running when redeploying the node is correcting the issue.

Desktop (please complete the following information):

  • OS: Raspi + Docker
  • Node: v10.20.0
  • NPM version: 6.14.3
  • NodeRed version: 1.0.5
  • NRCHKB Plugin Version: 0.4.0

Additional context
We lose power quite often, albeit only briefly – so this issue is quite bothersome in my situation.

Read more here: Source link