Foddy / 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
Apache License 2.0
201 stars 67 forks source link

Motion Sensor Showing Deactivated #332

Closed Patrick-UK closed 2 years ago

Patrick-UK commented 2 years ago

I have one motion sensor that shows deactivated, the others are fine. If I disable and re-enable in the HUE app it shows the light level status, but after about 10 mins it will go back to deactivated. It detects motion and works but the lux level does update.

Below you can see the active state is false but all other items are reporting. Is this a bridge issue? Or the actual sensor? I have also done a reset on the sensor and re-setup but got the same results.

Below is the payload from the node:

msg.payload : Object object active: false reachable: true connectionStatus: "connected" lux: 50 lightLevel: 16975 dark: true daylight: false updated: "2022-03-09T12:00:13+00:00"

image

Patrick-UK commented 2 years ago

It looks like it was possibly some data flowing in from another node that was causing the lux sensor to be deactivated. Took a while to locate!