jdomeij / node-red-contrib-node-lifx

Node RED nodes for controlling Lifx lights
Apache License 2.0
7 stars 9 forks source link

need an example #13

Closed wesselah closed 6 years ago

wesselah commented 6 years ago

could you please add the node red example ? I would like to see how you did it It seems that i can't get it right I can only get the lifx bulbs to on and off every other string i sent does not work i tried { "payload": { "on": true, "bri": 77, "duration": 10000 } }

as an input but does not work

jdomeij commented 6 years ago

Simple example: Create inject node, change type to JSON and add the following string { "on": true, "hue": 100, "bri": 44, "duration": 3000 } connect this to the light and deploy. This should change the light to green over 3s