Closed deviantintegral closed 1 year ago
This is really cool, great write up!
I think that adding an effect
enum similar to how gradient_scene
is done could make sense here. It makes it really easy for users to switch between effects (simple API and UI).
Do you know if this endpoint is supported by all Hue devices with color temperature support, or is it only for gradient devices?
I don't actually have any gradient devices at all. I've seen it work with the indoor light strip, full colour A19 bulbs, and even a bulb that doesn't support colour temperature (warm only) at all for the Candle effect.
@Koenkk would just providing an hue specific 'effect' tz work here, we can just have that one call the original effect tz converter unless it's one of the new ones and have it handle it? Not sure how to cleanly implement this, but this indeed seems to work on coler_temp only Hue bulbs on new firmware (I have a few BT enabled ones and it seems to work on those)
It would be nice if we can integrate this in effect indeed, meaning:
I’ll have a go at this tomorrow once if i finish early with my shopping.
Looks like the stop_effect doesn't really do anything aside from setting it to the default colorTemperature. 🤔
Nice to see the PR. I also confirmed I see (nearly) the same attribute reports for the effects mentioned at the end of https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5891#issuecomment-1073038477. I started to see if I could extend the custom converter, but it looks like Cluster.manuSpecificPhilips2
needs to be extended with the attribute.
Implemented by @sjorge in https://github.com/Koenkk/zigbee-herdsman-converters/pull/5192
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
@Koenkk I just updated to version 1.29.0 (through the Home Assistant add-on), but on my Hue white and color ambiance LightStrip plus (LCL001) I don't see the new effects in the "effect" drop down of the UI.
@Kars-de-Jong enabled it for the LCL001.
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
This is working for me, but not if I set the effect on a group. I imagine this would be better as it would keep multiple bulbs in sync. I'm a little surprised as I expected after https://github.com/Koenkk/zigbee2mqtt/issues/13438 this would "just work". Can someone else confirm, and if so I can file a new issue.
This is working for me, but not if I set the effect on a group. I imagine this would be better as it would keep multiple bulbs in sync. I'm a little surprised as I expected after #13438 this would "just work". Can someone else confirm, and if so I can file a new issue.
@deviantintegral I tested triggering both Hue Effects (Candle and Fireplace) on a zigbee group, and I can confirm that neither of the effects triggered. The effects trigger on both lights if I trigger them on each light separately.
@Koenkk I just updated to version 1.29.0 (through the Home Assistant add-on), but on my Hue white and color ambiance LightStrip plus (LCL001) I don't see the new effects in the "effect" drop down of the UI.
Looks like they are also missing for the Hue Go with Bluetooth (7602031P7). Currently, they can only be selected by pressing the integrated button.
@Simonh98 enabled it for the 7602031P7
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
just to be sure to understood correctly:
all Hue white ambiance should support Candle?
if so please add support for these:
just checked, none of them have Candle Entry under "effect" - i'm using v1.29.2
Thank you
@Simonh98 enabled it for the 7602031P7
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
@Koenkk Tested and works without problems.
Hi.
I'm migrating my zigbee from deconz to Z2M.
Have a couple of Hue Blooms (LLC011) where most effects like (Candle, colorloop, fireplace etc) don't work at all apparently.
At least colorloop seems to work fine on deconz though. Any thoughts?
Is your feature request related to a problem? Please describe
Philips hue bulbs that support colour temperature now have two "dynamic scenes": Candle and Fireplace.
After sniffing traffic to a Hue bridge, I discovered it sends a command to the
0xfc03
cluster, which is already defined asmanuSpecificPhilips2
in zigbee2mqtt. It looks like that was added to support gradient light strips at https://github.com/Koenkk/zigbee2mqtt/issues/10674.I was able to use the custom converter against my Light Strip Plus to send the following payloads. I sniffed Candle and Fireplace, but it doesn't appear the app exposes the colour loop scene yet.
I tried a few more above 0x21000103 and there was no effect, so I don't think there's additional hidden scenes.
Here's the converter I'm testing with, mostly copied from https://github.com/Koenkk/zigbee2mqtt/issues/10674#issuecomment-1159460216.
I can then trigger an effect by publishing
{"multicolor": "21000100"}
to the set topic of a light.Describe the solution you'd like
const payload = {data: Buffer.from(value, 'hex')};
. Given Philips is likely to add additional dynamic scenes, it would be good to either somehow support this from the web UI (or an MQTT message) without a custom converter for future testing.Describe alternatives you've considered
None!
Additional context