-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Device Support Request] Hue bulbs missing Candle Effect #2517
Comments
I managed to activatee the candle effect using the ZCL command documented on here, on the following bulbs:
The following light does not seem to support the effect (tested with Hue app):
I could give it a go to develop a quirk, but it would be helpful if someone could point me to one (for other things) that also add an effect. (the firmware versions are actually also documented here ... ) |
Perhaps these issues would contain code that could be a good start? |
Ah cool, thanks, will have a look at it. Next to the candle effect, there is fireplace and "prism", which is basically color loop. They are documented here as well: Koenkk/zigbee2mqtt#15699. Others are not available even in the Hue app. Regarding the ZCL command, @BenJamesAndo, did you use the built-in zha.issue_zigbee_cluster_command or zha_toolkit.zcl_cmd, provided by zha_toolkit? Because the former didn't work for me. |
I used zha_toolkit.zcl_cmd. |
I also got an "Unknown error" using the
And then I couldn't figure out I was wondering if you (@BenJamesAndo) have figured out what to put there, since you say you tested the ZCL command and it worked for you, even though using zha_toolkit. |
I unfortunately didn't make any progress beyond what anyone else has done. I only got |
Could you point me to where this was described originally then? Because I either can't find it or am overlooking it. |
Change IEEE to your device. The below code is what I used to active Candle effect.
|
It doesn't seem to work with |
I've tracked down why this doesn't work with
Unfortunately unless ZHA is made aware of the possibility to send command to that cluster, it is not possible to use it. The difference with |
Ah cool, interesting. This probably brings us back to the quirk we need ... |
So if I understand this correctly, making HA understand that there's a command in the cluster is as far as zigpy can take things. To be able to set the effect via dropdown in the HA UI, one would need to implement special class of LightEntity for HA (link). Currently, Philips Go (and I'm not sure there's example of a Zigbee bulb that does so differently) will register as Light class defined here, which is a subclass of BaseLight defined here, which finally implements the LightEntity mentioned above. The Light class currently doesn't support any other effects other than But what may be interesting is few lines of code almost obscured by all the other code. This looks like a further subclass of the |
Think I found the missing link. Just going to write it all out here in case I forget, or somebody wants to do this before I have time :). For a second, I'll use occupancy sensor as cluster example since it's much easier to search for across repositories than light bulb. In this repo, with zhaquirks, custom cluster PhilipsOccupancySensing is defined. Important is what's stored in Then, back to light as example, one can get the cluster handler like this. The cluster handler is another class, specifically for the The last step is figuring out what's the interface to issue the |
The assumption regarding cluster being automatically created for us is correct. But the cluster is only passed in So far I have hacked this into my HA
The cluster definition looks like this:
I'm thinking |
Just found out interesting information playing with the new quirk.
|
Sorry for ping, facing same issue with fireplace after having 20 of the Playbars in my home. Is there any way to downgrade the firmware ? |
Wouldn't that be an upgrade? From 1.104.2 to 1.108.5? |
Problem description
I have two Hue Go here which have a built in canlde effect.
According to Koenkk/zigbee2mqtt#15699 it is possible to start this by sending certain commands to the cluster
0xfc03
.This cluster supports the Canlde effect, the fireplace effect and also the color loop.
On my device page for the light I can only see the color loop effect.
If I go to manage zigbee device from the device page, then I don't have this cluster, only
0xfc01
in that range.Is there a possibility to add these effects to zha so that we can call them from Home Assistant?
Solution description
Some possibility to trigger the candle effect of the hue go through a script.
Screenshots/Video
Screenshots/Video
Device signature
Device signature
Diagnostic information
Diagnostic information
Logs
Logs
Custom quirk
Custom quirk
Additional information
No response
The text was updated successfully, but these errors were encountered: