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.
Checking in again a year later. Iâm assuming itâs not available:
Looks like itâs not supported at all, but the original poster said only the gradient isnât supported. So then what is it?
Yet another reason Zigbee2MQTT seems beneficial. Seems like just about every device is supported with all features on it even though itâs a pain to move off ZHA, and ZHA is the default official Zigbee implementation in Home Assistant.
After more research, this feature might be available now:
Hi, OP here.
Iâm able to control my Signe table lamp as a single lamp (so all the segments have the same color). No gradient support from what I can tell.
After buying a few to test, youâre correct; itâs only 1 color for the whole strip. I donât use the Philips Hue app, nor do I have a bridge, so thatâs as far as I go.
The question I have is what controls Home Assistant gives you to control LED light strips. As far as I know, those donât exist. Home Assistant is a very on-off-dim tool, so just about every control is one of those. Either a toggle or a slider/dimmer or a selection of something from a list (similar to on-off).
I donât think Home Assistant natively supports any sort of LED controls where you can create segments and color those segments.
Thatâs also the reason my LIFX Candle E12 only supports a single color rather than all the crazy âdraw on the screenâ ways of using it like you see in the app and on the website.
Cool color arrangements:
Versus Home Assistant:
And when people use custom LED strips, theyâre typically using WLED. WLED lets you break up strips into segments, and Home Assistant can read in those segments. I can say âI want segment 1 blue and segment 2 redâ. But it canât do more than that.
The effects selection is how Home Assistant gets advanced control over something like WLED. It canât actually control whatâs happening, but it can start and stop (on-off) the playback of an effect.
So unless you use Philips Hue, you wonât be able to control the lights in this strip. Thatâs sad.
Same with my Polychrome lights. I need to use the LIFX app, set up scenes, and then share those scenes using the other LIFX integration with Home Assistant, so I can control the color arrangements. If those companies go outta business, youâre back to single-color .
I wonder if somethingâs in the works or if thereâs a community method of controlling LED strips. Youâd essentially be creating a WLED-style frontend on top of proprietary systems.
Home Assistant doesnât have a way to dynamically create entities in a device. You can do it outside, but not inside the device. If they did allow that, then you could create segments like WLED and configure them separately. You could potentially even create your own effects if there was a simpler way of doing it like SignalRGB.