Supporting effects: colorloop from Home Assistant Hue
Bug Report
What happened
I want to use the effects option which is normally available in HA for Hue bulbs. I've tried it with mine and I get this in the zigbee2mqtt log: No converter available for 'effect' (colorloop)
Is this not possible to implement or is there some script I can use?
What did you expect to happen
Bulb colour cycle
How to reproduce it (minimal and precise)
My automation code:
light_colour_cycle:
alias: Hue Light Colour Cycle
sequence:
- service: light.turn_on
data:
entity_id: light.fireplace_light
effect: colorloop
brightness: 255
transition: 5
Debug Info
zigbee2mqtt version: 1.5.1 CC253X firmware version: 20190223
How does this work in the Hue system? Is the color loop inside the lamp firmware?
Or is the hue bridge sending out lots of Zigbee messages? I made a color effect directly inside HASS but is flooding the Zigbee network after a while. (Making a disco with 8 color gu10 spots in a group. Kids like it. )
I asked Gledopto about the effects, this is what they answered:

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
remove stale
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
bump
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'd very much like to have the loop too. I'm using a Müller tint color strip and using it with the vendor remote control it offers a color loop.
Shame I'm looking at appdaemon for this but I think it's still going to flood mqtt
bump?
bump?
bump?
bump?
I've checked how this works with the Hue hub (https://labs.meethue.com/formulas/huelabs/colorloop) but it's doing nothing more then sending the hue_move command which is already supported (https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html#zigbee2mqttfriendly_nameset).
Possibly we could make this more friendly by allowing it via e.g. {"effect": "color_loop"} but the problem I'm having with this is that it doesn't allow to specify the speed (so it can only be added if many people agree on the same default values).
Yes, please add support for "effect" attrubute with "colorloop" value, as this is one of the standard attributes supported in light.ligt_on home assistant service: https://www.home-assistant.io/integrations/light/. Not only philips hue, but also OSRAM (LEDVANCE) bulbs supports that effect - https://community.home-assistant.io/t/supported-light-effects-for-ledvance-bulbs/195866 (maybe also some other bulbs will support this).
Maybe "transition" value can be used as time for full loop?
Is there a way to use the hue_move command from within a home assistant script? That would be even better.
Is there a way to use the hue_move command from within a home assistant script? That would be even better.
Damn phone stopped responding when I opened the page and somehow hit closed! I've implemented the hue_move via a button hold press from my IKEA remote, didn't know it existed tbh. It's just a input_boolean switch with mqtt_publish command to turn on. I was looking to control the speed as well but that would involve some kind of data template with the mqtt command which is above my skill level (or lack of!)
here's what I use in zha (native HA zigbee) to set the colorloop speed for a hue bloom, maybe this is helping in some way
initial_state: true
alias: Bad Bewegung
trigger:
- entity_id: binary_sensor.bad_motion_sensor
from: 'off'
platform: state
to: 'on'
condition: []
action:
- data:
ieee: '00:17:88:01:00:1c:ef:1e'
endpoint_id: 11
cluster_id: 8
command: 4
cluster_type: in
command_type: server
args:
- 51
- 50.0
service: zha.issue_zigbee_cluster_command
- data:
ieee: '00:17:88:01:00:1c:ef:1e'
endpoint_id: 11
cluster_id: 6
command: 1
cluster_type: in
command_type: server
service: zha.issue_zigbee_cluster_command
- data:
ieee: '00:17:88:01:00:1c:ef:1e'
endpoint_id: 11
cluster_id: 768
command: 68
cluster_type: in
command_type: server
args:
- 7
- 2
- 1
- 50.0
- 0
service: zha.issue_zigbee_cluster_command```
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
here's what I use in zha (native HA zigbee) to set the colorloop speed for a hue bloom, maybe this is helping in some way
initial_state: true alias: Bad Bewegung trigger: - entity_id: binary_sensor.bad_motion_sensor from: 'off' platform: state to: 'on' condition: [] action: - data: ieee: '00:17:88:01:00:1c:ef:1e' endpoint_id: 11 cluster_id: 8 command: 4 cluster_type: in command_type: server args: - 51 - 50.0 service: zha.issue_zigbee_cluster_command - data: ieee: '00:17:88:01:00:1c:ef:1e' endpoint_id: 11 cluster_id: 6 command: 1 cluster_type: in command_type: server service: zha.issue_zigbee_cluster_command - data: ieee: '00:17:88:01:00:1c:ef:1e' endpoint_id: 11 cluster_id: 768 command: 68 cluster_type: in command_type: server args: - 7 - 2 - 1 - 50.0 - 0 service: zha.issue_zigbee_cluster_command```
@gotschi where do you find out how to do the arguments and what each value means? I can’t seem to find out anything other than number of supported commands but not what each command does