Page 1 of 1

Update temperature widget for light

Posted: Tuesday 24 March 2020 16:54
by Thorgal789
Hi, I have noticied something strange.

I can update a color on a light widget using
Devices[Unit].Update(nValue=nValue, sValue=str(sValue), SignalLevel=5, Color='{"b":120,"cw":0,"g":148,"m":3,"r":255,"t":0,"ww":0}')

But I can't update a temperature using
Devices[Unit].Update(nValue=nValue, sValue=str(sValue), SignalLevel=5, Color='{"b":0,"cw":155,"g":0,"m":3,"r":0,"t":100,"ww":100}')

My device stay like that
fgf.jpg
fgf.jpg (25.78 KiB) Viewed 379 times
It's something normal ?

Re: Update temperature widget for light

Posted: Tuesday 24 March 2020 17:14
by waaren
Thorgal789 wrote: Tuesday 24 March 2020 16:54 But I can't update a temperature using
Devices[Unit].Update(nValue=nValue, sValue=str(sValue), SignalLevel=5, Color='{"b":0,"cw":155,"g":0,"m":3,"r":0,"t":100,"ww":100}')
Did you try with "m":2 ?

Re: Update temperature widget for light

Posted: Tuesday 24 March 2020 18:01
by Thorgal789
F***

1 hour I m trying all possible thing, I have totaly forget it in the JSON.

Thx a lot :), it works perfectly now.