# \#Time elapsed stopwatch tag as input for a timer triggered by a flow

**URL:** <https://community.homey.app/t/time-elapsed-stopwatch-tag-as-input-for-a-timer-triggered-by-a-flow/77319>\
**Category:** Questions & Help\
**Tags:** flow\
**Created:** [March 7, 2023, 7:57pm UTC](https://community.homey.app/t/time-elapsed-stopwatch-tag-as-input-for-a-timer-triggered-by-a-flow/77319 "2023-03-07T19:57:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandra1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sandra1/32/71651_2.png) [@sandra1](https://community.homey.app/u/sandra1)\
**Post date:** [March 7, 2023, 7:57pm UTC](https://community.homey.app/t/time-elapsed-stopwatch-tag-as-input-for-a-timer-triggered-by-a-flow/77319/1 "2023-03-07T19:57:34Z")

</div>

Hi there,

Hopefully somebody has an idea.  
I’m trying to record the runtime of a device between start and stop (stopwatch?) to later use it as input/setting for a timer. This timer is meant to be triggered/started later on by a different event. The chronograph app gives me the #time elapsed, but I can not find a timer that can use this as an input/setting/variable or a countdown timer that can use a card/variable as input for later use. Anyone has an idea? Or maybe I should look for a different app?

(the situation is that one of our somfy blinds does not stop automatically after water damage to the controller, we would like to record the run time open to use it to determine the runtime for close, for fully open/close we can time it and set a countdown timer, but problem starts when the blinds are set in intermediate positions)

---

<div class="post-metadata">

**Author:** ![Paul\_van\_Ulft](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_van_ulft/32/56539_2.png) [@Paul\_van\_Ulft](https://community.homey.app/u/Paul_van_Ulft)\
**Post date:** [March 7, 2023, 8:26pm UTC](https://community.homey.app/t/time-elapsed-stopwatch-tag-as-input-for-a-timer-triggered-by-a-flow/77319/2 "2023-03-07T20:26:51Z")

</div>

> [@sandra1](#):
>
> #time elapsed

Can’t you put the chronograoh #elapsed time in avariable and use it?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [March 7, 2023, 8:39pm UTC](https://community.homey.app/t/time-elapsed-stopwatch-tag-as-input-for-a-timer-triggered-by-a-flow/77319/3 "2023-03-07T20:39:31Z")

</div>

Hey Sandra,

Isn’t this what you want?  
Here i use the Chronograph card Get Duration to get the Elapsed time in Seconds and then i saved it in a ([Better Logic Library](https://homey.app/a/net.i-dev.betterlogic/)) variable.  
After that, you can start another Timer (or stopwatch or transition), set the units to seconds and fill the time with the variable/token.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/3/f33c3e97de3415c4b2eb4d7267a9178d1908c52e.png)

TEF:

```auto
[tef:FLOWS:"H4sIAAAAAAACA7WTTW/bMAyG/4qhcxTYqj916z4wDCh26W5BEFAynQiwZUNW0gZd/vtoOVuzLcF6qQ+GRb56JT4mX5hn8oXZdtlg2/ZPFv1S71xv+62DYRdyTLKPF6HTgk0qw2s8LBV6j67tt0ZPWn8ccJw+Ru+M3TK5ov3QIVl8Nx26T3sH3vSWndaTDYU/BIPoYXKIHoxy4I7sREkImw1JSpFhWumaZ5VAnpZFwkEkBcc8jwvVVFme5Wx2+/wM3dBi9Ai2dkDBcKuqEULFjeZVnikywDsO0MQcEyHKTBdC63LSPTMZL9gxvHty2/UdHiUMg7zJZxFu+H+h9FP5my36Tf2LwWJiz0CfF8RtxZo0LqgowfMKcp4iVLxKlOKJyrOmTu5UihlbBzqvZO+/RB5HH7BlNUEBRC5UGlOtTc5BC8FFVWYp5rHGRJ1rrdJ3rtbhuO9wcxB/l3p5+2/4FIXemEQmhFariyOutdqPP5ppvaate2umI0bUva3HgOJNLGcUaXkLxdVO/4fDNZUc6WfbfaeIxAGcAdXiVRC/k/LGsCzCXFF4dqN1jaN2ZghZmk6H4DGyRPKsoOoP0O5nmPNpUr5lDKTEFoYR66/2cUZJdE/0rE8/AXJazD0rBAAA":/tef]

```

(Importable flow through the [Device Capabilities App](https://homey.app/a/nl.qluster-it.DeviceCapabilities/).)

---

<div class="post-metadata">

**Author:** ![sandra1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sandra1/32/71651_2.png) [@sandra1](https://community.homey.app/u/sandra1)\
**Post date:** [March 7, 2023, 9:33pm UTC](https://community.homey.app/t/time-elapsed-stopwatch-tag-as-input-for-a-timer-triggered-by-a-flow/77319/4 "2023-03-07T21:33:47Z")

</div>

Dank je wel voor het meedenken!  
I think I set it up correctly now, tomorrow after sunset we’ll know if it works!  
This ‘# verlopen in sec…’ (#elapsed in secs) only seems to be available for input in the ‘better logic cards’ …
