Noobie question about a simple rule

Please forgive the possible silliness of the question, but I'm trying to reproduce a color flow effect that is available at Yeelight app using a Zigbee bulb on HE.

The Yeelight app allows to choose between four colors and select the speed of the flow. I figure that it's an easy thing to reproduce with the powerfull RM, but I'm an illiterate when it comes to programming.

I began with the rule below. My goal is to repeat these actions until I send another command to stop the repetitions.

I tried to use the repeat actions function, but I don't know the correct syntax to make the rule work. I also imagine the is possible to set a variable to define the delay beetwen the colors changes, but I also don't know how to do it, once I didn't found a way to set the time variable in this case.

I already tried the apps Lighting Effects and Garden Hue Smartapp, without success.

Thanks in advance for any help or guidance!

I'm not an expert in repeating actions, but I think there are two issues. First, repeating actions are like IF statements... they have an initiating and an ending statement and what's in between is the part that gets evaluated. So in your rule, the color cycle should be after the Repeat every 24 seconds and you should have an END-REP at the end.

You'll also need some way to cancel/stop the actions or they will repeat forever. As written, they won't just stop when your condition becomes false.

Here is the syntax for Repeating Actions:

1 Like

Thanks a lot @dylan.c, you were right: I should have a term on the rule.

@UKMedia, you saved my day: with your tip I managed to make it work as I wanted.

Thanks a lot, friend!