mauricedominic / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic-fork
Apache License 2.0
19 stars 3 forks source link

[Bug]: devices are not discoverable #20

Open olkham opened 10 months ago

olkham commented 10 months ago

Node-Red-Contrib-Huemagic-Fork Version

4.2.8

Node JS Version

16.20.2

NPM Version

8.19.4

Node-Red Version

3.1.3

Operating System

Docker version

What happened?

I've setup up the Hue Bridge node and it successfully reads all the data and outputs it to the debug in node-red. However, when searching for devices it fails.

Screenshot 2023-12-31 194039

How to reproduce?

Expected behavior:

Expectation: It should enumerate all the devices

Additional comments?

Manually entering an ID from a deployment running on a raspberry pi using node-red-contrib-huemagic => 2.2.3 node-red => 1.3.4 (which works without issue...) results in the following log.

Relevant log output

31 Dec 19:23:02 - [info] [hue-bridge:New Bridge] Connected to bridge
31 Dec 19:23:03 - [info] [hue-bridge:New Bridge] Processing bridge resources…
31 Dec 19:23:03 - [info] [hue-bridge:New Bridge] Initial emit of resource states…
31 Dec 19:23:03 - [info] [hue-bridge:New Bridge] Keeping nodes up-to-date…
31 Dec 19:23:03 - [info] [hue-bridge:New Bridge] Subscribing to bridge events…
31 Dec 19:23:08 - [error] [hue-light:1b1ac0b2a32f0009] The light in not yet available. Please wait until HueMagic has established a connection with the bridge or check whether the resource ID in the configuration is valid.