I have been trying to send data from a virtual bulb I created using node-red-contrib-nora
but I can't seem to get anything across. Nora is sending this out:
{
"payload":{
"online":true,
"on":false,
"brightness":100,
"color":{
"spectrumHsv":{
"hue":30.7317066192627,
"saturation":1,
"value":0.4823529422283173
}
}
},
"topic":"",
"_msgid":"3ee8758b.a3c05a"
}
I have set up a sequence that pulls the HSV value and converts it to RGB, but when I send the array over, nothing happens. I am not sure if my path is wrong, or if I am just biffing the code altogether, but this is what I am sending to the bulb:
{
"topic":"",
"_msgid":"cb93333d.033cf",
"rgb_color":[
248,
248,
255
],
"data":{
"rgb_color":[
248,
248,
255
]
}
}
As you can see, I am experimenting with where to send the values to no avail. Any solutions?