freahs / node-red-contrib-node-tradfri

Node-RED node to utilize IKEA Trådfri devices. Fully implemented in Node.js.
GNU General Public License v3.0
7 stars 13 forks source link

"brightness" does not work but "dimmer" works instead #4

Open Attila-FIN opened 6 years ago

Attila-FIN commented 6 years ago

Only sending msg.payload like "{ "dimmer": 50 }" sets the brightness, { "brightness ": 50 } does not work.

freahs commented 6 years ago

Thanks, will look into this as soon as as I get some spare time (in about three weeks).

xopr commented 4 years ago

I think this is by design on the node-tradfri-client which is used in this project.

One possible workaround would be to add a change node and set payload.dimmer to payload.brightness.