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

lights wont turn on if set to 100%

Open domi-a opened this issue 3 years ago • 2 comments

reproduce:

  • node has checked: Turn on when brightness/color changes

  • turn light off (manually, by input or assistant)

  • assistant: turn light to 100 percent brightness is set to 100 but payload.on is still false

  • assistant: turn light to 99 percent will actually work payload.on will be true

domi-a avatar Oct 01 '20 08:10 domi-a

some lights support maximum brightness 254, can this concept somehow influence your result? is 100% translated to 255?

Barabba11 avatar Oct 01 '20 19:10 Barabba11

some lights support maximum brightness 254, can this concept somehow influence your result? is 100% translated to 255?

no. it is the problem with the "on" property of payload like i wrote

domi-a avatar Oct 01 '20 19:10 domi-a