node-red-contrib-nora icon indicating copy to clipboard operation
node-red-contrib-nora copied to clipboard

Light node dimmer function 0-255 needed

Open sniperxnl opened this issue 4 years ago • 3 comments

Possible to add Dimmer function between 0-255 or make the brightness function between 0-255, ikea bulbs need that command

sniperxnl avatar Mar 12 '20 09:03 sniperxnl

you only need to convert the value via a function in node red

Chrischi- avatar Mar 13 '20 12:03 Chrischi-

I use the range node in node red image

DCandE avatar Apr 14 '20 02:04 DCandE

or use a simple line in a function node

var brightness = (msg.payload.brightness/100)*254;

GravityRZ avatar May 02 '20 07:05 GravityRZ