How do I create a loop in IFTTT for my smart life lights All questions

I want to create a looping lighting effect for my smart lights I have no idea how to write that.

Asked by Chuck on August 17, 2019, at 10:32pm

Hi Chuck. Can you tell me a bit more about what you're trying to achieve?

What will be the trigger to start the loop?

And how will the loop end? Should it run a certain number of times, or continue until something else happens?

And finally what do you want the lights to do during the loop - are they turning on and off, changing brightness, changing colour?

I think we have the same question:

Run the loop until the lights are set to another color, brightness or off.

The loop changes colors in a pallette. Basically the idea is similar to Lifx animations, cycles.


The lifx app rocks, but the bulbs are so expensive. In theory, all those inexpensive bulbs are capable of changing colors, so the point is to find an appthat can replicate this, euther via an API to create the routines or something.


Hi Juan, what brand of lights do you have?

For anyone who comes across this thread, assuming you have Tuya Smart Life bulbs you can achieve this using the Smart Device step. Combined with some pauses you could create some pretty complex lighting affects.

To change the colour of your lights, you want to select the color_data or color_data_v2 property.  Here are some examples of the values you should pass:

red: {"h":0,"s":1000,"v":1000}

blue: {"h":240,"s":1000,"v":1000}

For other colours, play around with the h value which is the hue.

To change the brightness, you want the bright_value property, and then use the slider to select the brightness you're after.

It can be a bit hit and miss depending on the individual device, so if you have any questions post back here and I'll try to help.

Post a reply

The SEQUEmatic bot is still new and learning. If you don't get the answer you need, just ask to speak with Derek and your chat will be transferred.