Comments (9)
...maybe, the middle-part must be something in this way:
'{ "3311": [{"5709": 65353, "5710": 65535}] }'
(one more { left, and right } from the array)
...I try several variations, but in this I have a reaction...
Joachim
from ikea-tradfri-coap-docs.
That command should work fine.
One thing to note is that if your bulb isn't an RGB bulb this won't work.
Also if you enter an out of bounds value the bulb won't change and isn't going to give a response.
Can you first try a HEX value to make sure that your bulb is RGB capable and is changing accordingly.
from ikea-tradfri-coap-docs.
Hello Glenn,
the bulb I try is a "Tradfri bulb E14 CWS opal 600lm". I thing this is a "RGB"?
Maybe I have two parts where I can make a mistake:
- Convert from RGB-Hex (given from the color-picker in the application) to xyY-Value
- Convert the xyY from the given value to 0-65535
A "normal" xyY-Value look like a value that ist 0 to 1?
Do you have any idea for me?
Joachim
from ikea-tradfri-coap-docs.
That bulb should be indeed an RGB one.
If you try this command is it changing to Blue for example?:
coap-client -m put -u "$TF_USERNAME" -k "$TF_PRESHARED_KEY" -e '{ "3311": [{ "5706": ¨4a418a¨ }] }' "coaps://$TF_GATEWAYIP:5684/15001/$TF_DEVICEID"
from ikea-tradfri-coap-docs.
...that was first I try - direkt from the hex-value from color-picker send to the bulb, but not every time I see a reaction. I will try it again...
Joachim
from ikea-tradfri-coap-docs.
Yeah the bulbs are picky about the colors and I have to say that I didn't found a good HEX to xyY converter yet
from ikea-tradfri-coap-docs.
Some of the color bulbs are not true RGB. The use four groups of LEDs instead. blue, red, cold white and warm white. So e.g. the green colors cannot really be displayed (only a very bright greenish color). One can draw the area used in the Color space diagram to indicate, which xy colors can be used. Also depending on the brighness wanted not all colors can be set either. This might be complicated.
One would need to find out the xyY values for each of the LED grould used and then draw four points in the xy diagram accordingly. Connect them with a line and you get the area which can be used.
from ikea-tradfri-coap-docs.
Related Issues (20)
- Possible to get the Preshared Key? HOT 7
- Possible to get the Bulb Type? HOT 2
- 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.