You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm still working on my module.
In the category there are Bulb with different white, Bulb with Colors or transformers.
Is it possible to find out, which device is connected without analyze the parameter from device Info:
[3] => stdClass Object
(
[0] => IKEA of Sweden
[1] => TRADFRI bulb E14 CWS opal 600lm
Maybe I can read the "CWS" to know this bulb can colors and the "WS" when it is only different white but that look not very professional.
I want to change the controls dependent of the exact device...
Here a big list: http://sprunge.us/CCQF
But I don't find what I'm searching for, do you know whats the best way?
Joachim
The text was updated successfully, but these errors were encountered:
You are able to check if a light is just only dimmable by checking the 3311 output. Since this is missing the RGB values.
If you want to check if a light is RGB capable or just Cold / Warm capable. Well.... I can't find it. The only thing that I discovered is that when using the 'default' colors in the app the RGB bulbs will never use the colors described here: https://github.com/glenndehaan/ikea-tradfri-coap-docs#cold--warm-bulbs
So you could check if a bulb is using those colors by reading out the 5706 hex value. In the example output above all lights where set to the 'Glow' color provided by IKEA. But as you can see the RGB bulb won't choose that hex value.
Now I know that this method also feels hacky. And if I was making an implementation I would just go for a regex of the item name.
Hello Glenn,
I'm still working on my module.
In the category there are Bulb with different white, Bulb with Colors or transformers.
Is it possible to find out, which device is connected without analyze the parameter from device Info:
[3] => stdClass Object
(
[0] => IKEA of Sweden
[1] => TRADFRI bulb E14 CWS opal 600lm
Maybe I can read the "CWS" to know this bulb can colors and the "WS" when it is only different white but that look not very professional.
I want to change the controls dependent of the exact device...
Here a big list: http://sprunge.us/CCQF
But I don't find what I'm searching for, do you know whats the best way?
Joachim
The text was updated successfully, but these errors were encountered: