Hello folks, absolutely new to Node-RED (but not visual scripting / code) so appreciate any help you can provide to get me up to speed with things.
I’m using the Node-RED add-on (v20.0.0) inside of HA.
For my first flow, I thought I’d just keep things simple and setup a flow whereby a light turns on / off depending on a motion sensor. I happily managed to get that up and running:
What I want to do now though is pass a random RGB value for colour into light.turn_on
. I found a node that generates a random RGB value here and installed it.
This generates a payload of a random RGB value like such:
How would I then use that data in light.turn_on
?
Many thanks for your help.