Foddy / node-red-contrib-huemagic

Philips Hue node to control bridges, lights, groups, motion sensors, temperature sensors and Lux sensors using Node-RED.
https://flows.nodered.org/node/node-red-contrib-huemagic
Apache License 2.0
200 stars 67 forks source link

Hue Scene activation with individual transition time #392

Open guenter-ms opened 2 years ago

guenter-ms commented 2 years ago

Hi and thanks for the wonderful HueMagic nodes!!

To make it 110% perfect, this proposal would do it:

Problem:

Its not possible to assign a transition time to a scene in the original Hue App, when storing an individual scene. Every scene starts with the same transition time of 400ms.

Analyzis:

It is possible (and works fine!) to launch a scene using the Hue API with 2.5. "Set group state" Command, using "scene" AND "transitiontime" parameters, see https://developers.meethue.com/develop/hue-api/groupds-api/

Solution:

Simply add the "transitiontime" as an optional parameter to your "Hue Scene" node, which should already use the "Set group state" command stated above and submit the transitiontime when configured.

Why:

Transition time is a very useful feature for a lot of reasons in a smart home. I know you can use a 3rd party app for building scenes with individual transition times. But mixing apps when editing scenes gives problems with the bridge and the original Hue app has features other apps do not have. Only the transition time definition is missing.

I wouldt recommend you for the next Oscar, in every case.

Take care, Guenter