NorthernMan54 / node-red-contrib-homebridge-automation

Homebridge and Node-RED Integration
Apache License 2.0
107 stars 18 forks source link

Devices not found after docker homebridge pull #42

Closed bakman2 closed 4 years ago

bakman2 commented 4 years ago

As subject.

Devices worked fine.

Pulled new docker image for homebridge, everything is back up on new version, except for the node-red-contrib-homebridge-automation nodes that fail to see the devices.

homebridge docker log

[4/12/2020, 9:15:29 AM] [Somfy] [Box] type: Pod > Pod, protocol: internal
[4/12/2020, 9:15:29 AM] [Somfy] No definition found for Pod > Pod in mapping.json file
[4/12/2020, 9:15:29 AM] [Somfy] [MAESTRIA+ io] type: ExteriorScreen > PositionableScreen, protocol: io
[4/12/2020, 9:15:29 AM] [Somfy] Instanciate MAESTRIA+ io as WindowCovering
[4/12/2020, 9:15:29 AM] [Somfy] Initializing platform accessory 'MAESTRIA+ io'...

node-red-log

12 Apr 09:27:58 - [error] [hb-event:7eba22c2.1deb14] TypeError: Cannot read property 'register' of null
2020-04-12T07:27:58.240Z hapNodeRed hbConf.register  - Window Covering
2020-04-12T07:27:58.240Z hapNodeRed Register hb-status ->  - Window Covering
12 Apr 09:27:58 - [info] Started modified nodes
2020-04-12T07:27:58.248Z hapNodeRed hbStatus Registered:  - Window Covering
12 Apr 09:27:58 - [error] [hb-status:8c4d34c2.29f738] 437:Can't find device Homebridge-NASD3:27:EB:42:2F:9ESomfyMAESTRIA+ io0000008C
2020-04-12T07:27:58.488Z hapNodeRed evDevices 0
2020-04-12T07:27:59.765Z hapNodeRed evDevices 0
2020-04-12T07:27:59.766Z hapNodeRed evDevices 0
2020-04-12T07:27:59.811Z hapNodeRed evDevices 0
2020-04-12T07:28:11.654Z hapNodeRed evDevices 0
2020-04-12T07:28:12.290Z hapNodeRed evDevices 0
12 Apr 09:29:06 - [error] [hb-status:8c4d34c2.29f738] Device not found: Homebridge-NASD3:27:EB:42:2F:9ESomfyMAESTRIA+ io0000008C

The node info (as the nod red log) shows: "Homebridge-NASD3:27:EB:42:2F:9ESomfyMAESTRIA+ io0000008C" - is this something that comes from homebridge and is "recreated" with a new image ? I cannot change the pin due to other dependencies.

Any tips ?

bakman2 commented 4 years ago

Arg my bad forgot to set environment settings HOMEBRIDGE_INSECURE=1