# Timer app

**URL:** <https://community.homey.app/t/timer-app/15365>\
**Category:** Flows\
**Created:** [July 9, 2019, 2:03pm UTC](https://community.homey.app/t/timer-app/15365 "2019-07-09T14:03:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![santa\_01](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/santa_01/32/13198_2.png) [@santa\_01](https://community.homey.app/u/santa_01)\
**Post date:** [July 9, 2019, 2:03pm UTC](https://community.homey.app/t/timer-app/15365/1 "2019-07-09T14:03:53Z")

</div>

Hi everyone,

Using the coutdown today, but today I saw the Timer app by Leon van der Ree.  
[https://apps.athom.com/app/com.synplyworks.thenmore](https://apps.athom.com/app/com.synplyworks.thenmore)  
Can someone share a screenshot of their flow with this app?

I want:

- Turn on a light based on a motion sensor, and if it`s after SUNRISE the perecentage of light should be set to 40%.
- Light turns off if no motion is detected

AND:

- Turn on a light based on a motion sensor, and if it`s after SUNSETthe perecentage of light should be set to 10%.
- Light turns off if no motion is detected

As I said I`m using countdown today for this and I have to use 4 flows for this, so I was hoping to use less flows to make this work…

Thanks

---

<div class="post-metadata">

**Author:** ![rindler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rindler/32/5501_2.png) [@rindler](https://community.homey.app/u/rindler)\
**Post date:** [July 9, 2019, 8:51pm UTC](https://community.homey.app/t/timer-app/15365/2 "2019-07-09T20:51:05Z")

</div>

If you wait a couple of days (?) you can use the new zone feature. Am on stable version myself and the zone feature is still experimental, see [https://firmware.athom.com/](https://firmware.athom.com/). But as I have understood there are flow cards for the functionality you’re asking for.

---

<div class="post-metadata">

**Author:** ![Kjettern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjettern/32/9184_2.png) [@Kjettern](https://community.homey.app/u/Kjettern)\
**Post date:** [July 10, 2019, 1:43am UTC](https://community.homey.app/t/timer-app/15365/3 "2019-07-10T01:43:52Z")

</div>

Think you will need 3 flows. 2 are pretty similar:  
If motion is triggered,  
and sunset is before/or after,  
then set light 40%/100%, start timer 5 min.

Then you need a flow for the timer:  
If timer is 0  
Then switch off light

Something like this should do it i think…

---

<div class="post-metadata">

**Author:** ![santa\_01](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/santa_01/32/13198_2.png) [@santa\_01](https://community.homey.app/u/santa_01)\
**Post date:** [July 10, 2019, 9:52am UTC](https://community.homey.app/t/timer-app/15365/4 "2019-07-10T09:52:45Z")

</div>

Thanks, what I need is some explanation of the time app… The differences of thedrop down lists…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2710adb6fd923ca04cd0faf07d482a9139c88850.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e2359eb5f4f617dbf8f547fe4d995333f33e7ba1.jpeg)

Thanks

---

<div class="post-metadata">

**Author:** ![HTilburgs](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/htilburgs/32/12253_2.png) [@HTilburgs](https://community.homey.app/u/HTilburgs)\
**Post date:** [July 10, 2019, 4:06pm UTC](https://community.homey.app/t/timer-app/15365/5 "2019-07-10T16:06:22Z")

</div>

I’m using almost the same what you want. I control it with 2 Flows  
These are the flows:

**Lights On:**

 ![PIR-Lamp-aan](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8e02ba9a89465e03c151d4bba29b865ad3d0ded8.png)

When

- PIR Goes on  
And
- Hall light is off
- It’s after Sunset  
Then
- Dim light to 35%
- Turn hourglass to 45 sec (Countdown Timer)
- Set Boolean variable PIR-Overloop is True (Better Logic)

**Lights Off:**

 ![PIR-Lamp-uit](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8c7459ff36de377b93993315296047e08d6756c6.png)

When

- Hourglass is empty (Countdown Timer)  
And
- Boolean variable PIR-Overloop is True (check if light was turned on by PIR)  
Then
- Light off
- Set Boolean variable to False

I hope this example will work for you.  
Succes!

---

<div class="post-metadata">

**Author:** ![FKey](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkey/32/14793_2.png) [@FKey](https://community.homey.app/u/FKey)\
**Post date:** [July 13, 2019, 7:18am UTC](https://community.homey.app/t/timer-app/15365/6 "2019-07-13T07:18:05Z")

</div>

@santa_01, There is some explanation on the app page, but here some extra info

@LvanderRee, Love the timer app! suggestion to update the app page, make it more clear for 1st time users (I remember I had trouble with understanding the 1st time too)  
(Add the setting names to the how does it work explanations)

- Time  
From app page: “_Enter the amount of seconds to keep the device on_”  
You can also add a tag here

- Ignore when device is already on/control it anyway  
From app page: “_You can configure to not activate the device (with the associated off timer), when the device is already on_.”  
The text between brackets is actually the most important part!

1. “Ignore when device is already on”:  
If the device is already on (not by timer app but by other controllers) it will be ignored.
2. “control it anyway”:  
The device will be controlled, which means:
  1. it will get a new dimmed level based on the timer app card
  2. it will switch Off! After the time set in the timer app card

- keep running timer/ set this timer  
From app page: _“When you have multiple flows, activating the same device, but with different durations, you can also define to set the duration to the current configured time, even when it’s shorter than the time left in the running timer.”_

- Turn off after time out/ restore to previous state  
If the device was controlled when it was already on (so dim level was changed) should the timer app return it to the previous dim level or turn off the device
