# Flow basics lamp Loop

**URL:** https://community.homey.app/t/flow-basics-lamp-loop/125020
**Category:** Questions & Help
**Tags:** advancedflow
**Created:** [December 22, 2024, 9:31am UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020 "2024-12-22T09:31:02Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![Bdl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bdl/32/110598_2.png) [@Bdl](https://community.homey.app/u/Bdl)
#### Post date: [December 22, 2024, 9:31am UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/1 "2024-12-22T09:31:03Z")

</div>

hello,  
Can anyone give an example of what a complete flow looks like to make a lamp go from red to green with a transition of 1 second in a LOOP that is switched on and off by means of a time. I’m sure it’s simple, but I can’t get the basics to work. hopefully this provides insight into how the basics of Loops work. Thanks,  
loop and timer app have been installed

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [December 23, 2024, 2:15am UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/2 "2024-12-23T02:15:30Z")

</div>

Hello,

To get a substantive answer, I think you’d show what you have build up 'til now, so we can advice on what’s the problem(s).  
Otherwise you’d hire someone to create your flows imho.  
Nothing personal, it’s how tech forums work. Just show some effort and you probably get help.

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [December 23, 2024, 9:39am UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/3 "2024-12-23T09:39:51Z")

</div>

> [@\[APP\]\[Pro\] Loops](https://community.homey.app/t/app-pro-loops/85754/110):
>
> You don’t really need an app or variables to create loops

---

<div class="post-metadata">

### Author: ![Bdl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bdl/32/110598_2.png) [@Bdl](https://community.homey.app/u/Bdl)
#### Post date: [December 23, 2024, 11:39am UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/4 "2024-12-23T11:39:00Z")

</div>

![Scherm­afbeelding 2024-12-23 om 12.37.57](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/2/9238d00d784619e81f297de5d8e77d909a92d080.png)

thanks for your response  
I created the following flow with a loop, but when stopped it does not refer to a start

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [December 23, 2024, 12:00pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/5 "2024-12-23T12:00:47Z")

</div>

Every time the loops run, it is started 9000 times. So it is exploding. That can never be right. So most likely you have one extra flow that starts the loop flow 9000 times only once.

---

<div class="post-metadata">

### Author: ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)
#### Post date: [December 23, 2024, 2:09pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/6 "2024-12-23T14:09:35Z")

</div>

My solution without timer or loops:

 ![Scherm­afbeelding 2024-12-23 om 15.07.05](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/3/43112329beead8c661eaef1da7be45b90f2e74ac.png)

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [December 23, 2024, 2:49pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/7 "2024-12-23T14:49:52Z")

</div>

And this flow is called “Wine Cabinet” or is that a different flow?

---

<div class="post-metadata">

### Author: ![Bdl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bdl/32/110598_2.png) [@Bdl](https://community.homey.app/u/Bdl)
#### Post date: [December 23, 2024, 3:34pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/8 "2024-12-23T15:34:37Z")

</div>

De naam van de flow is “Wall kleuren loop” , de naam van de loop is “wall loop”

---

<div class="post-metadata">

### Author: ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)
#### Post date: [December 23, 2024, 3:35pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/9 "2024-12-23T15:35:54Z")

</div>

Correct. The light in the flow from Bdl was called:

 ![IMG_1839](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/5/b5436318a0aeb5ca781d3474924dca612a2eaf60.jpeg)

---

<div class="post-metadata">

### Author: ![Bdl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bdl/32/110598_2.png) [@Bdl](https://community.homey.app/u/Bdl)
#### Post date: [December 23, 2024, 3:37pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/10 "2024-12-23T15:37:46Z")

</div>

“Wijnkastje” is the name of de lamp

---

<div class="post-metadata">

### Author: ![Bdl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bdl/32/110598_2.png) [@Bdl](https://community.homey.app/u/Bdl)
#### Post date: [December 23, 2024, 3:41pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/11 "2024-12-23T15:41:36Z")

</div>

Thanks for the lamp solution, I will definitely implement it.  
But I can’t get a handle on the basics of the loop option (app). This example is to understand the “loop” integration.

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [December 23, 2024, 4:14pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/12 "2024-12-23T16:14:16Z")

</div>

> [@Wim\_Post](#):
>
> My solution without timer or loops:

I still don’t understand, what does “start flow wijnkastje” do?

---

<div class="post-metadata">

### Author: ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)
#### Post date: [December 23, 2024, 4:39pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/13 "2024-12-23T16:39:20Z")

</div>

When this flow (wijnkastje) is started for the first time it will turn on the light and restarts itself.  
After the first time the light will be on, so between 10:00 and 22:00 it will turn the light red, wait for 1 second then turn green, wait another second to restart itself.  
the result is: The lamp is one second red and one second green.

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [December 23, 2024, 4:40pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/14 "2024-12-23T16:40:31Z")

</div>

This normal flow loops too, by calling itself, but you can not stop it.😁 only by changing or disabling the flow.

 ![IMG_3706](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a80759cdd98fbdf24c236d6a40f1e04b7b6c1537.jpeg)

---

<div class="post-metadata">

### Author: ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)
#### Post date: [December 23, 2024, 5:05pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/15 "2024-12-23T17:05:19Z")

</div>

I knew that, it will run till 22:00.

It turns out afterwards that Bdl made his flow as an exercise to get the hang of loops.

---

<div class="post-metadata">

### Author: ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)
#### Post date: [December 23, 2024, 5:31pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/16 "2024-12-23T17:31:37Z")

</div>

Ok, I understand now.

---

<div class="post-metadata">

### Author: ![Bdl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bdl/32/110598_2.png) [@Bdl](https://community.homey.app/u/Bdl)
#### Post date: [December 24, 2024, 6:37pm UTC](https://community.homey.app/t/flow-basics-lamp-loop/125020/17 "2024-12-24T18:37:37Z")

</div>

Thank you, wish you all a Merry Christmas, I will be working on the proposed solutions in the coming days.
