Comments (1)
Hi lespatots!
Thank you for this nice feedback and sorry for my late response!
Setting "on" to "false" should work as expected now with v1.3.1. I also added a brightness setting validation (can't understand why I didn't beforeβ¦) and lights / groups are now turning off if the setting is "0". You were right, for some reasons Philips' API is not turning off the lights if the brightness setting is 0.
The saturation setting is something that I totally missed from the API docs β but now obviously added with the update ;)!
With the improved input "algorithm" in v1.3.1 all nodes are now working "additive". You also don't have to pass in the "msg.payload.on" parameter anymore and all future commands are simply updating the light / group / sensors. I added this info in the features section in the README file with a simple sentence. You're totally free to contribute if you have some improvements for the README of even the actual code :)!
I decided to use own customized parameters for HueMagic because of three reasons:
- You also mentioned it. They are cryptic in some cases and not easy to remember (often).
- If they were all identical then users would probably think, that they also work the same. With Philips Hue API for example you have to pass in a value between 0 and 254 to set the brightness level of a light bulb. In HueMagic this setting is a more convenient "percent" parameter which makes things easier for users β I guess (I hope).
- With customized parameter names HueMagic is able to keep it's nodes and API "alive" with internal recalculations and without having the user to manually update all the nodes, just because Philips changed / removed / unnamed some parameters in their API.
I am closing this issue for now. Feel free to answer back if you don't agree with my last arguments π !
from node-red-contrib-huemagic.
Related Issues (20)
- Gibt es hier noch Support HOT 6
- Instable delay of reaction either on the HUEMagic Nodes or within the HUE Android app HOT 1
- Problem with 3rd party bulbs HOT 1
- Wrong data in Hue Brightness node
- Support local push for Hue
- Hue magic crashes Node red HOT 1
- Hue Group node not working after upgrade to V4.2.2 HOT 1
- Hue Group node not working after upgrade to V4.2.2 HOT 4
- The Groups don't report brightness, temperature and color status. HOT 3
- Error when sending multiple messages to bulb in short period of time HOT 2
- Missing groups and scenes in 4.2.2 after migration from 3.0.0
- Hue Bridge doesn't connect anymore HOT 11
- Who will update the version on https://flows.nodered.org/node/node-red-contrib-huemagic ? HOT 1
- Control the Light / Connect to the Hub from outside your network
- Trying to control many Philips Hue using Hue Magic individually, but fail in passing the id as a json
- Why and how I retired Huemagic HOT 9
- Touchlink does not work because of typo HOT 1
- Play Lights turns off automatically after setting a scene
- Hue Magic node let Node-Red crash HOT 1
- Self-Signed Certificate of the Huebridge (rectangle) Error message 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-red-contrib-huemagic.