Comments (4)
Hello Dominik and Glenn,
thanks for your note - now the fade time works!
Joachim
from ikea-tradfri-coap-docs.
Hello Dominik,
for which device this parameter shows a result?
I try this, but I don' see a effect..
Joachim
from ikea-tradfri-coap-docs.
I've tried it with the TRADFRI E27 600lm color bulb.
The parameter doesn't do anything in itself, it just sets the duration it will take the light to get to the setting you send along with it (brigthness, hex or xy color, ...).
For example, the following command changes the bulb to medium brightness immediately:
coap-client -m put -u "$TF_USERNAME" -k "$TF_PRESHARED_KEY" -e '{ "3311": [{ "5851": 127 }] }' "coaps://$TF_GATEWAYIP:5684/15001/$TF_DEVICEID"
Whereas adding the transition time parameter will result in the bulb fading smoothly into the new value:
coap-client -m put -u "$TF_USERNAME" -k "$TF_PRESHARED_KEY" -e '{ "3311": [{ "5851": 127, "5712": 10 }] }' "coaps://$TF_GATEWAYIP:5684/15001/$TF_DEVICEID"
From my observation the unit seems to be a 1/10 of a second.
from ikea-tradfri-coap-docs.
Hi @dominikjancik,
Thats indeed the intended use case.
Just sending the fade time will indeed do nothing.
Now the float value worked in the previous version of the hub firmware.
But is is possible that they changed this back to just an int.
I will update the documentation. Tnx for your feedback.
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
- 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.