neilenns / node-red-contrib-wled2

NodeRed node for controlling WLED
MIT License
19 stars 8 forks source link

Increase/Decrease Brightness? #108

Closed Andoramb closed 2 years ago

Andoramb commented 2 years ago

Hey, here's a quick question: Is it possible to increase/decrease brightness/color temp, like in a HomeAssistant node as below: image

Thank you :)

dougle03 commented 2 years ago

image See image. This is an example from my NodeRed

Andoramb commented 2 years ago

Not sure I get it. But what I meant is to increase the brightness by 10% compared to the current value. On the image above you input directly a max value

neilenns commented 2 years ago

The node doesn't support adjusting brightness by a percent. If you want to do something like that I suggest just sending JSON directly to the WLED device using the built-in HTTP and JSON nodes. The API is relatively straightforward: https://kno.wled.ge/interfaces/json-api/.