# Cycle through different Hue scenes with the press of a button

**URL:** <https://community.homey.app/t/cycle-through-different-hue-scenes-with-the-press-of-a-button/101984>\
**Category:** Questions & Help\
**Tags:** zigbee, flow, homey-pro, advancedflow\
**Created:** [January 22, 2024, 5:26pm UTC](https://community.homey.app/t/cycle-through-different-hue-scenes-with-the-press-of-a-button/101984 "2024-01-22T17:26:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teigen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/teigen/32/98720_2.png) [@Teigen](https://community.homey.app/u/Teigen)\
**Post date:** [January 22, 2024, 5:26pm UTC](https://community.homey.app/t/cycle-through-different-hue-scenes-with-the-press-of-a-button/101984/1 "2024-01-22T17:26:52Z")

</div>

Hi!

I just got the Homey Pro and I have no experience with home automation before so I am in need of some help. I have several Hue lamps in my living room and a Namron 8 channel switch. I’m trying to get the switch to cycle through different Hue scenes with a button for next scene and a button for previous scene, but with no luck.

I’ve read several other threads with the same challenge and what I’ve figured out is that I need to use the logic and variable features, but I cannot figure out how.

If a patient soul would like to assist me it would be appreciated!

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [January 22, 2024, 6:32pm UTC](https://community.homey.app/t/cycle-through-different-hue-scenes-with-the-press-of-a-button/101984/3 "2024-01-22T18:32:19Z")

</div>

Think about something like this:

> [@Hue Dimmer Switch first, second time pressed](https://community.homey.app/t/hue-dimmer-switch-first-second-time-pressed/92784/2):
>
> It’s not in the flowcards, then it would be called ‘start a scene’. Other apps do have such cards, and a scene can consist of “pressed 1x”, “pressed 2x”, “long-pressed” and so forth. In this case you have to build a ‘button pressed counter’ yourself, and I recommend you request at Athom (the Philips Hue app builder) to add this ‘scene’ functionality to the app. I once built this flowset to dim a light to 20%, 30%, 50%, 100% and back to 0% / off with one push button (I didn’t had advanced flow…

I think I have seen a Advanced Flow also with something similar

---

<div class="post-metadata">

**Author:** ![Joppiesaus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joppiesaus/32/123235_2.png) [@Joppiesaus](https://community.homey.app/u/Joppiesaus)\
**Post date:** [May 17, 2025, 8:42pm UTC](https://community.homey.app/t/cycle-through-different-hue-scenes-with-the-press-of-a-button/101984/4 "2025-05-17T20:42:28Z")

</div>

Could you share this flow for cylcing trough? Thats exactly what I want to achieve.

Press once: turn on/off.

Press 2x: cycle trough different dimming states (on each double press). Maybe even better on long press cycle trough every second.
