Stopping Hue Colorloop without turning off lights

Hi,
Is there a way of stopping the colorloop effect on the hue lights without turning off the light?

I basically want to go from a light which is in colorloop to a normal light… but when I do this is just sets the correct brightness of the new setting, but keeps looping. I’ve tried various versions of “effect” : “none” / “off” / “false”

Anyone managed to do this?

Thanks!

I did some testing with the UI.

  1. Click the light to open the card
  2. Switch on the light
  3. Set the effect to ‘loop’
  4. Use the slider to set brightness.

The loop stops when you change brightness.

So my guess is that you can stop the effect by setting the brightness to 1% less.

Have a try and let us know.

Good find! So if I change the brightness of the entire group (its a hue group), the colour loop keeps going. But if I change the brightness of a single light that light stops colour looping. Bit of a fiddly one to integrate into an automation (I’m using nodered for this)… but at least its a solution. Thanks!!

Actually if I just switch from using the hue group to set the lights, to setting each light individually, its fine. Pretty simple to do in node red.

As an alternative you could create a light group with your hue lights and set that.

This is daft. I had to power cycle my strip to stop the colour cycling. Surely there should be a None / Stop/ False or similar option?

So I’ve been playing around over the years. What I have come to do is this.
I have a couple groups of lights that I want to loop. For me it’s usually all downstairs, or some of downstairs.

Here is a script I use

downstairs_colorloop:
  alias: Downstairs Color Loopc
  sequence:
    - service: input_boolean.turn_on
      entity_id: input_boolean.colorloop
    - service: scene.create
      data:
        scene_id: before
        snapshot_entities:
        - light.kitchen_cabinet_bottoms
        - light.kitchen_cabinet_tops
        - light.living_room_lamp
        - light.dining_room_lamp
        - light.tv_backlights
        - light.left_shelf_lights
        - light.right_shelf_lights
        - light.alcove_light
        - light.sconce_light
        - light.living_room_ceiling_light
    - delay: '00:00:03'
    - service: light.turn_on
      entity_id: light.all_downstairs_color_lights
      data_template:
        hs_color:
          - "{{ range(360)|random }}"
          - "{{ range(80,101)|random }}"
        brightness: 190
    - delay: '00:00:02'
    - service: light.turn_on
      entity_id: light.all_downstairs_color_lights
      data_template:
        effect: colorloop
        brightness: 190
        transition: 120

Basically,
create a snapshot/scene of my lights before colorloop.
Then set a random color on all lights (I found that sometimes a light or two would not “join in” on the looping, but setting a color first has been 100% successful.
then start the color loop.

The I use this when I want to “stop the loop”

reset_downstairs_lighting:
  alias: Reset Downstairs Lighting
  sequence:
    - service: light.turn_off
      entity_id: light.all_downstairs_color_lights
    - service: light.turn_on
      entity_id: light.all_downstairs_color_lights
      data:
        brightness: 71
        rgb_color: [246, 255, 254]
    - delay: '00:00:01'
    - service: scene.turn_on
      data:
        entity_id: scene.before
        transition: 2
    - delay: '00:00:02'
    - service: scene.turn_on
      data:
        entity_id: scene.before
        transition: 2

light.all_downstairs_color_lights is a light group
Basically the opposite. Turn off the lights, set a default color, then restore the previous scene. (then set the scene again, just for safe measures)

This for me has worked flawless. It was a bit to set up the first time, but now I dont think much about it at all