# Color change every x minutes

**URL:** <https://community.homey.app/t/color-change-every-x-minutes/37814>\
**Category:** Flows\
**Created:** [November 23, 2020, 5:31pm UTC](https://community.homey.app/t/color-change-every-x-minutes/37814 "2020-11-23T17:31:41Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [November 29, 2020, 7:44am UTC](https://community.homey.app/t/color-change-every-x-minutes/37814/9 "2020-11-29T07:44:48Z")

</div>

You have to use a mathematical variable which is added up by 1 each time it is switched on or off. In the last flow the variable must then be set to the start number again, e.g. to 1.

In the german forum I created such flows for changing radio stations.  
For translating (if necessary) you can use e.g. [deepl.com](http://deepl.com). If you don’t get along with it, just let me know.

> [@Sonos mit Hue Dimmschalter steuern](https://community.homey.app/t/sonos-mit-hue-dimmschalter-steuern/22129/18):
>
> Sorry, hatte Deine Frage zu schnell gelesen und falsch verstanden. So wie oben beschrieben wirst Du die Flows aber nur noch zum Teil nutzen können. Hab mal versucht auf die Schnelle was zu basteln. Ob man die Flows noch optimieren kann, könnte man sich mal Gedanken drüber machen, aber sie funktionieren. Flow 1 Flow 2 - 4 (Flow 3: Logik = 2 / Flow 4: Logik = 3; + die entsprechenden Sender) Flow 5 Flow 6 - 8 (Flow 7: Logik = 2 / Flow 8: Logik = 3; + die entsprechenden Sender) Flow 9 …

For Info: When changing color of lamps it is probably that the last set color is visible for a short time before the new color becomes active. As far as I know, changing the color (or other settings) in the background (when the lamp is off) is not possible.

---

_[View the full topic](https://community.homey.app/t/color-change-every-x-minutes/37814)._
