Hi,
I have a Philips Hue bridge with some Hue Motions Sensors
If I connect a debug node, the message I see is
How do I get only the temperature (Celcius) value, out of this message ?
Hi,
I have a Philips Hue bridge with some Hue Motions Sensors
If I connect a debug node, the message I see is
How do I get only the temperature (Celcius) value, out of this message ?
This page in the documentation should help you https://nodered.org/docs/user-guide/messages
Thanks for the fast response.
can you point me in the good direction ?
If I use the icon on that value , It gives me payload.celsius
so as the the debug node is simply msg, the path to the data item within the javascript object is msg.payload.celcius
Understanding Javascript objects is fundamental in Node-RED it is well worth tasing time to read through one of the online tutorials such as https://www.w3schools.com/js/js_objects.asp
The cookbook in the docs on the website also includes an example of how to move data around...
That's really well explaned on w3schools site,
I'll play around with it, and try to get the right value for my domotics program on Nodered.
thanks
Can someone give me a snapshot of a simple flow using the hue sensor to turn on a LIFX light. I’m using home assistant. I can seem to figure it out.
Also I want to add that i reset one of my sensors and now one of my sensors is showing a name that is not in the Philips Hue app or on Home assistant. I really don’t know which sensor is which or if both names belong to one sensor in node red.