[APP][Pro] Chronograph - Adds precise timer, stopwatch and transition functionality to Homey

Maybe you can provide some context: What is the purpose of your flow? Why do you need ‘a lot’ of timers? And what is ‘a lot’?

You can use wildcards; “Timer*30s” stops timers like “TimerSomeName30s” and “TimerSomeotherNAME30s”.

Ah sorry, you are correct. Context is needed.
Lets put it this way.

I have 5 rooms, with 5 motion sensor (going to convert them to presence sensors soon).
These rooms will turn on the lights when motion is detected.

Then when there is no motion, they will dimm after 30 seconds, and after that they will turn off after another 30 seconds. But when motion again is detected, everything will be reset.

Sounds simple, and i can make this. But then i have to give every timer for every room a different name right?

Sorry, if i am being real beginner :slight_smile:

As an alternative to timers, you can use the standard Zone cards provided by Homey. I assume that you created a different zone for each room. Then any motion or presence sensor in that zone will normally trigger the zone activity status for the whole zone/room.

This means that you can use this card in each zone to determine what needs to happen after a certain period of time:

So of the zone is inactive for 30 seconds then you would dim your lights. You can use a second of the same trigger card to determine what needs to happen after 1 minute of inactivity: turn off the lights. Every time motion or presence is detected in the zone, Homey resets the internal zone activity timer and the process begins again. This way you need 2 of these trigger cards per zone (one for the 30 second and one for the 1 minute event).

1 Like

Aah thank you! Then this should work:

Yes, Indeed. I am not sure though whether the zone card accepts values smaller than 1 (minute). So it might be that 30 secs is not an option for these cards. But you’ll find out soon :wink:.

2 Likes

For your information, the cards work with 0.5 :wink:

3 Likes