Comments (4)
Hi,
Here are some things to check:
- Is the bulb responding in the app to color changes?
- What type of bulb do you have? (Maybe post a picture here)
- Are you using the correct HEX values for you bulb. If not the bulb will default to the
Warm
color - Are you calling the correct $DEVICEID. Try to adjust the brightness. If that also doesn't work then you are not using the correct $DEVICEID
from ikea-tradfri-coap-docs.
I also just had the issue that it didn't accept hex values:
In the sample payload, the hex value is in single quotes, but looks like the gateway only accepts double quotes:
Like this it works for me:
coap-client -m put -u "$TF_USERNAME" -k "$TF_PRESHARED_KEY" -e '{ "3311": [{"5706": "f5faf6" }] }' "coaps://$TF_GATEWAYIP:5684/15001/$TF_DEVICEID"
from ikea-tradfri-coap-docs.
Ah oke yeah that is right since single quotes are not making a valid JSON object. Just to clarify did you copy the value with quotes from this overview: https://github.com/glenndehaan/ikea-tradfri-coap-docs#rgb-bulbs
That then I have to update this table to use double quotes
from ikea-tradfri-coap-docs.
I have updated the docs so that the color table's won't have single quotes. This should avoid confusion
from ikea-tradfri-coap-docs.
Related Issues (20)
- Possible to get the Preshared Key? HOT 7
- Possible to get the Bulb Type? HOT 2
- 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.