Comments (2)
Yeah so I did some testing with my lights and the output of my bulbs is as follows:
{
"9001": "Ceiling 1",
"9002": 1518962113,
"9020": 1583058020,
"9003": 65537,
"9054": 0,
"9019": 1,
"3": {
"0": "IKEA of Sweden",
"1": "TRADFRI bulb E27 CWS opal 600lm",
"2": "",
"3": "1.3.009",
"6": 1
},
"5750": 2,
"3311": [
{
"5850": 1,
"5851": 203,
"5708": 42596,
"5707": 5427,
"5709": 30015,
"5710": 26870,
"5706": "f1e0b5",
"9003": 0
}
]
}
{
"9001": "TV Light",
"9002": 1519564265,
"9020": 1583058045,
"9003": 65544,
"9054": 0,
"9019": 1,
"3": {
"0": "IKEA of Sweden",
"1": "TRADFRI bulb E27 WS opal 980lm",
"2": "",
"3": "2.3.007",
"6": 1
},
"5750": 2,
"3311": [
{
"5850": 1,
"5851": 25,
"5717": 0,
"5711": 454,
"5709": 33008,
"5710": 27213,
"5706": "efd275",
"9003": 0
}
]
}
{
"9001": "Bed Front",
"9002": 1534071987,
"9020": 1582999678,
"9003": 65546,
"9054": 0,
"9019": 1,
"3": {
"0": "IKEA of Sweden",
"1": "TRADFRI bulb GU10 W 400lm",
"2": "",
"3": "1.2.214",
"6": 1
},
"5750": 2,
"3311": [
{
"5850": 1,
"5851": 203,
"9003": 0
}
]
}
From this I could take the following:
- 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.
from ikea-tradfri-coap-docs.
Thank you very much!
Your data help me, to configure devices I don't have.
Joachim
from ikea-tradfri-coap-docs.
Related Issues (20)
- Possible to get the Preshared Key? HOT 7
- Try RGB-Colors but failed HOT 9
- aws connection HOT 1
- Set motion sensor interval? HOT 7
- Transition Time is not a Float HOT 4
- Notification when status of light changes HOT 3
- Maximum for Blind-Float? HOT 1
- Key expires in spite of using it HOT 8
- reboot returns 4.05 HOT 1
- Shortcut Button HOT 1
- Documentation for the DEVICE (3) key HOT 2
- lib-coap error on install on WIndows HOT 5
- Build with 4.3.0 final? HOT 1
- Another guide about IKEA Tradfri gateway communication HOT 1
- Possible Bug in RGB Bulb Firmware (v. 2.3.086) HOT 1
- Documentation for Air purifier HOT 1
- Scenes use clarification HOT 1
- Incorrect id on get group info endpoint HOT 2
- Wrong string interpolation of TF_USERNAME HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ikea-tradfri-coap-docs.