morzzz007 / node-tradfri

Node API to control IKEA Tradfri Lights
MIT License
49 stars 17 forks source link

Setting light colour with {color: 'ffffff'} sets light to an orange. #14

Closed tascord closed 4 years ago

tascord commented 4 years ago

Hey!

Whenever I set my light's colour through:

await tradfri.setDeviceState(65541, { color: 'ffffff' });

It sets the colour instead to an orange, '#efd275', specifically.

I can change states through setDeviceState, but not brightness, and using colorX and colorY worked.

I had a weird issue before, where after adjusting the brightness on the dimmer steering device, it sort of glitched in and out of the colour I set, and the orange-y one it seems to love so very much.

tascord commented 4 years ago

Also, if brightness is specified in the newState parameter, no change occurs.

tascord commented 4 years ago

I realize now that this project is old, and unmaintained. For anyone stuck, as I was, I ended up using node-tradfri-client.