I'm using the NORA light node with an RGB+WW+CW floodlight. The RGB component is working fine, but I see that the NORA light node doesn't yet support WW+CW.
A voice command "Set the light to Warm white" gives a spectrumHsv object of -
hue: 29.60000038146973
saturation: 0.5882353186607361
value: 1
A voice command "Set the light to Cool white" gives a spectrumHsv object of -
hue: 60
saturation: 0.1599999964237213
value: 0.9803921580314636
This sets the RGB component of the light appropriately, but instead I'd like to use the WW/CW LED's properly. When those values are seen, I'd like to branch off a different path in the flow.
The new path would set warm white and cold white respectively using the Temperature input of the light.
ie. temp(100,2700) or temp(100,6500)
I don't know how to create an argument such that -
If value x = blah and value y = blah, then set output z to blah.
[{"id":"b70c4bd2.1765a8","type":"nora-light","z":"1d039677.88ab9a","devicename":"Alfresco Light","lightcolor":true,"brightnesscontrol":true,"passthru":false,"statepayload":true,"brightnessoverride":"","roomhint":"","name":"","nora":"144e5346.2a487d","topic":"","onvalue":"true","onvalueType":"bool","offvalue":"false","offvalueType":"bool","x":180,"y":120,"wires":[["ed0bb22c.8907c"]]},{"id":"4c3c8dcd.19cdf4","type":"function","z":"1d039677.88ab9a","name":"HSV value","func":"h = msg.payload.color.spectrumHsv.hue;\ns = msg.payload.color.spectrumHsv.saturation*100;\nv = msg.payload.brightness;\n\n\nmsg.payload = \"hsv(\" +h + ',' + s + ',' + v +')';\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":100,"wires":[["871a150.1a10de8"]]},{"id":"ed0bb22c.8907c","type":"switch","z":"1d039677.88ab9a","name":"On/Off","property":"payload.on","propertyType":"msg","rules":[{"t":"cont","v":"true","vt":"str"},{"t":"cont","v":"false","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":390,"y":120,"wires":[["4c3c8dcd.19cdf4"],["42eb05c8.75e9fc"]]},{"id":"42eb05c8.75e9fc","type":"function","z":"1d039677.88ab9a","name":"Off","func":"msg.payload = \"hsv(0,0,0)\";\nreturn msg;","outputs":1,"noerr":0,"x":650,"y":140,"wires":[["871a150.1a10de8"]]},{"id":"871a150.1a10de8","type":"loxone-control-out","z":"1d039677.88ab9a","name":"Alfresco","miniserver":"","control":"12e6cd0f-00c8-1932-ffffd989fb12b87b/AI1","x":1000,"y":120,"wires":[]},{"id":"a4edefdd.49ee4","type":"inject","z":"1d039677.88ab9a","name":"WW - Warm white","topic":"","payload":"temp(100,2700)","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":710,"y":200,"wires":[["871a150.1a10de8"]]},{"id":"1bc3f76f.a41b39","type":"inject","z":"1d039677.88ab9a","name":"CW - Cool white","topic":"","payload":"temp(100,6500)","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":700,"y":260,"wires":[["871a150.1a10de8"]]},{"id":"144e5346.2a487d","type":"nora-config","z":"","name":"nora config","group":"","notify":true}]