Comments (5)
Hey,
setColor()
is not supposed to work, although the 3 predefined colors would make sense. I can add that exception.
setColorTemperature()
should work indeed (the predefined colors should equal 0, 67 and 100%). I'm going to check what's wrong here.
from node-tradfri-client.
setColorTemperature() with 0 (cold white) is working .. but the others (67 and 100) do not change anything ...
Edit:
the following works:
cold white -> operateLight({colorTemperature: 0},0.5)
normal white -> operateLight({colorTemperature: 367},0.5)
warm white -> operateLight({colorTemperature: 450},0.5)
i had to use the operateLight function because setColorTemperature will restrict the value between zero and 100.
from node-tradfri-client.
the following works:
cold white -> operateLight({colorTemperature: 0},0.5)
normal white -> operateLight({colorTemperature: 367},0.5)
warm white -> operateLight({colorTemperature: 450},0.5)
Ugh, that shouldn't be. The function should accept 0-100% values like the properties on the objects, not the internal color temperature in Mireds. The other way also limits the settable values to 3 distinct ones instead of the whole spectrum.
I'm working on it.
from node-tradfri-client.
I'm working on it.
ok, thank you
from node-tradfri-client.
fixed in v0.5.1
from node-tradfri-client.
Related Issues (20)
- observeGroupsAndScenes hangs after gateway update HOT 14
- Can set group brightness but not colour temperature HOT 9
- Other rgb ligths not recognized as rgb but as white HOT 3
- New properties in gateway firmware v1.13.21 HOT 3
- v2.2.0 build issues from shared-types HOT 3
- TRADFRI Shortcut-Button HOT 2
- Correctly iterating bulbs HOT 2
- Any news about support for motion sensor? HOT 6
- `device updated` events during transition time HOT 2
- problems with firmware 1.15.34 HOT 5
- Can no longer connect after being shut off during vacation HOT 2
- High transition time is ignored in my setup HOT 3
- The network stack was reset. crashes Node-Red HOT 3
- Amazing library - A big thank you HOT 1
- Unknown cipher in Electron HOT 39
- warnings about unknown properties
- UnhandledPromiseRejectionWarning while pairing HOT 2
- Check if switching to mdns-scanner makes sense
- discoverGateway returns null HOT 2
- Remote events 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 node-tradfri-client.