Philips Hue recently added some lights that can display gradients.
In Home Assistant, these lamps show as a single light and so no gradient can be configured for them.
I think it would be cool to add support for these lamps.
Philips Hue recently added some lights that can display gradients.
In Home Assistant, these lamps show as a single light and so no gradient can be configured for them.
I think it would be cool to add support for these lamps.
I was looking into this as well for the Gradient Lightstrips (which is the same fixture within the Signe lamps). From my searching, it appears the Hue API documentation has not been updated with instructions for independently controlling the zones within the lightstrip.
Someone in the Hue Developer Forums appears to have figured out the commands needed for the undocumented APIv2, see full thread here (requires Hue Developer account).
Here is an excerpt:
you can access the address
https://<IP>/clip/v2/resource
. With this knowledge, you can get the ID of your gradient light. Using the ID, you can PUT (https://<IP>/clip/v2/resource/light/<ID>
) something like:{ "on": { "on": true }, "dimming": { "brightness": 50 }, "gradient": { "points": [ { "color": { "xy": { "x": 0.6712, "y": 0.2984 } } }, { "color": { "xy": { "x": 0.4975, "y": 0.3572 } } }, { "color": { "xy": { "x": 0.4028, "y": 0.3948 } } }, { "color": { "xy": { "x": 0.424, "y": 0.4396 } } }, { "color": { "xy": { "x": 0.28, "y": 0.6174 } } } ] } }
…to control the segments.
maybe there is some custom component for it?
I have this lightstrip: Gradient Lightstrip 2M with a hue bridge.
When i use https://<IP_of_my_hue_bridge>/clip/v2/resource
i get only:
Am i missing something?
I see the same thing when browsing to that address.
Adding gradient colour support would not just be useful for the Hue Signe lamps but also the Hue Gradient Lightstrips. It would be so nice to have this supported in Home Assistant!
This is an rather old thread and meanwhile the SkyConnect has entered the scene.
Unfortunately there seems to be the same problem if we try to connect to a gradient HUE strip (or Signe) thru ZigBee with SkyConnect.
ON/OFF, Color, Temperature and Brightness seems to work right out of the box on all Philips HUE lights.
A week of search and trial but no luck getting the gradient strips to work.
When using Deconz, you can control the lighstrip gradient via the REST API: https://github.com/dresden-elektronik/deconz-rest-plugin/pull/6316
Example:
curl -X PUT -d '{"gradient": {"points": [[0, 0], [1, 0]]}}' http://192.168.178.2:40850/api/E10D305128/lights/24/state
I think this will also work for the Signe lamp. But you need the newest firmware on the light (in the case of the gradient lightstrip: verison 1.101.1).
That being said, there is a more elegant approach. These lights support bluetooth. Use the Hue app on your phone, and set the app to ‘bluetooth only’ . Your lamp will be approachable via zigbee and bluetooth.
In this way, you can:
-easily upgrade the firmware in the Hue app
-easily set a nice gradient color in the Hue app. Nothing can rival the Hue App in this aspect: it works in a very nice way in which you choose 2 (or 3) colors from the color wheel, and the app will calculate the smoothest color gradient for you. This is really special to behold, and works much better than “technical” defining segments by yourself. Let the app do the work and it rewards you with awesome gradient effects.
Alternatively, you can pick the pre-defined scenes in the Hue app, which are also very nice.
-store the gradient color that you like as part of a scene in the Home Assistant addon of your choice (deconz in my case). The scene info will be stored on the lamp itself.
-call the stored scene via Home Assistant
This works perfect and is best of both worlds. And all local controlled.
Is there a solution for this yet in ZHA? Seems Z2M supports it with colors, but I’m not sure how you’d set that from Home Assistant.