# Chronograph timers in AVD tile

**URL:** <https://community.homey.app/t/chronograph-timers-in-avd-tile/74891>\
**Category:** Questions & Help\
**Created:** [January 10, 2023, 7:00pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891 "2023-01-10T19:00:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [January 10, 2023, 7:00pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/1 "2023-01-10T19:00:00Z")

</div>

Hi,

Would it be possible with a script to show active timers of Chronograph in a tile?

Like if there is 1 timer active, this will be shown.  
If there is 7 active timers, this will show?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/5/0538b9960bfd9952cee1c1682bb47de2a5066d5b.png)

I see now that I am not able to even show one of the timers in an AVD 🤔

---

<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:** [January 11, 2023, 8:41am UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/2 "2023-01-11T08:41:15Z")

</div>

Do you mean you want to show the active amount of timers in the Device Tile?

---

<div class="post-metadata">

**Author:** ![Tirrazo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tirrazo/32/55444_2.png) [@Tirrazo](https://community.homey.app/u/Tirrazo)\
**Post date:** [January 11, 2023, 9:08am UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/3 "2023-01-11T09:08:20Z")

</div>

Yes, I would very much like that if possible 😊

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [January 11, 2023, 12:18pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/4 "2023-01-11T12:18:29Z")

</div>

And if it is possible also the time that the timer is running (in a tile.)  
So you can see, for example, how long the front door was open, if you have made a flow with a timer.  
If this already asked and was not possible, sorry for asking again.  
And maybe this is already possible I have missed it.

---

<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:** [January 11, 2023, 1:35pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/5 "2023-01-11T13:35:08Z")

</div>

> [@Mike1233](#):
>
> the time that the timer is running (in a tile.)

In the meantime you could do that this way, Mike:

> [@\[APP\]\[Pro\] Chronograph - Adds precise timer, stopwatch and transition functionality to Homey](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/398):
>
> Hi @GibStorm, Not exactly what you were looking for, but it triggered me to create a script/flow/device for that purpose. You can find importable flows for a [Timer](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/57), and for a [Stopwatch](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/58) Flow example: AVD device: [Screenshot from 2023-01-05 16-53-49] Script (use it with Homeyscript flow card “Run code with argument, and return number-tag”): // Get value (milliSeconds) of a running timer; Argument = timer name. var timerName = (args[0]); let app = a…

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [January 11, 2023, 1:40pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/6 "2023-01-11T13:40:37Z")

</div>

> [@Peter\_Kawa](#):
>
> In the meantime you could do that this way, Mike:

Thank you, I will give it a try.

---

<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:** [January 11, 2023, 1:53pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/7 "2023-01-11T13:53:27Z")

</div>

Ill look onto it.

Please create a feature ticket at the support link in the app store.  
Thanks!

---

<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:** [February 10, 2023, 9:49am UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/8 "2023-02-10T09:49:11Z")

</div>

Okay @Mike1233@Peter_Kawa and @Tirrazo,

I just thought of the solution and created a ticket my self.  
What we need is triggerflowcards that trigger each x [period] during when a timer/stopwatch/transition is running.  
Kinda like the ones below, but not a one-type-trigger, but on interval while running (we already have started and stoped flowcards).

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/2/524830fd704fb41f5862ef5da8e0b5d975423594.png)

You could then set a Flowcard to trigger each 1 second that a Timer/Stopwatch/Transition is running.

---

<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:** [February 10, 2023, 5:56pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/9 "2023-02-10T17:56:20Z")

</div>

As I was playing with it, @PV2134 had a similar question, and also wanted to know if displaying a timer value by a slider is possible.  
It is, with the Device Capabilities app and the Chronograph app.

(note, the .gif recording is not realtime)

> ![Peek 2023-02-10 18-53](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/2/322dbab4aa447856107dde5d0e89d678fec35353.gif)

- The slider settings:  
 ![Screenshot from 2023-02-10 18-40-32](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/04c24895bc89111bdff9b71b6ae667078d200323.png)

- The used flow (while Arie is busy with an in app solution?):  

(note, the conversion to hh:mm:ss is not needed for a 30s timer ofcourse, I use it for timers in the hour range)

---

<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:** [February 10, 2023, 7:24pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/10 "2023-02-10T19:24:05Z")

</div>

Cool solution @Peter_Kawa ! Would love to see that as a AVD template!

---

<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:** [February 10, 2023, 10:38pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/11 "2023-02-10T22:38:04Z")

</div>

[Done](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/63) 😉

---

<div class="post-metadata">

**Author:** ![Dietrich\_Kassner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dietrich_kassner/32/176924_2.png) [@Dietrich\_Kassner](https://community.homey.app/u/Dietrich_Kassner)\
**Post date:** [October 5, 2023, 9:18pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/12 "2023-10-05T21:18:04Z")

</div>

Hello Peter, I like your solution.  
There are only some questions I have that belong to the shared device.  
In the web app I see the status. In the moble app I dont see the status. And ther is no difference in stating yes or no.  
What do I miss here.  
Next question is, is there a way to get the value of the slider?  
The idea is to set the the timer on the setting of the slider.

---

<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:** [October 6, 2023, 3:49am UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/13 "2023-10-06T03:49:10Z")

</div>

Thanks Dietrich,

> [@Dietrich\_Kassner](#):
>
> In the moble app I dont see the status.

The mobile app often doesn’t show (your new) the status field by itself. In these cases, you’ll have to pick the status indicator yourself.  
Sometimes you also need to enter some other zone and go back to ‘activate’ it.

> [@Dietrich\_Kassner](#):
>
> And ther is no difference in stating yes or no.

Ah, had a hard time what you meant with this, but suddenly I got it. You meant setting the `Optionally update mobile app` to Y or N in the flowcard

 ![Screenshot from 2023-10-06 06-02-47](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f0bf5108778a9226aa88542de544a994c98b505.png)

Not needed anymore, in this case 😉  
I use the sick function “Reflect” which works without flows.

> [@Dietrich\_Kassner](#):
>
> there a way to get the value of the slider?

You can tick the box “create tag”, and then the value is available in flows. You can see it in the examples below

> [@Dietrich\_Kassner](#):
>
> The idea is to set the the timer on the setting of the slider.

Ha, that made me think of this AVD (made possible by Arie 👊 ):

> [@Share Your Device! - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/63):
>
> Demo with the web- and mobile app in one gif:
> 
> ![Peek 2023-10-06 05-36](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/d/7d0a43b4ca07c2692e5a8cce93d8112f549c1e58.gif)
> 
> ### AVD Settings:
> 
> ![Screenshot from 2023-10-06 05-14-12](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d9bbca1f3055ee08092ad013c7b846194fe845f2.png)
> 
> ![Screenshot from 2023-10-06 05-14-55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/2/02e6acad68308ee7beb6b43de5b1df3f1441dfdc.png)
> 
> ![Screenshot from 2023-10-06 05-15-21](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f20929dcf5026efce35f17d1d56802dc2c1d4de2.png)

Full post with shared AVD+flow here:

> [@Share Your Device! - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/63):
>
> Chronograph timer/stopwatch/transition monitor and settable through Sliders (Update Oct. 6th '23) This is an AVD with flow to view your timer/stopwatch/transition elapsed time / duration through SLIDERs, and if you like in a tile’s status field Also you can SET the timer/transition duration with a separate SLIDER Demo flow which comes with the AVD Additional apps used: [Chronograph](https://homey.app/a/nl.fellownet.chronograph)Note The slider’s MAX. value has to match the timer’s target …

---

<div class="post-metadata">

**Author:** ![Dietrich\_Kassner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dietrich_kassner/32/176924_2.png) [@Dietrich\_Kassner](https://community.homey.app/u/Dietrich_Kassner)\
**Post date:** [October 6, 2023, 8:25am UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/14 "2023-10-06T08:25:52Z")

</div>

Thank you, that is nearly what I was thinking about.

---

<div class="post-metadata">

**Author:** ![DirkdeDraak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkdedraak/32/8620_2.png) [@DirkdeDraak](https://community.homey.app/u/DirkdeDraak)\
**Post date:** [March 28, 2024, 9:17pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/15 "2024-03-28T21:17:49Z")

</div>

I think I haven’t seen this solution here.  
I wanted to show my remaining time of a chronograph timer in an AVD tile in _HH:mm:ss_ format.

So I used the _Text_ field option in AVD, with the cool _reflect_ option to include the chronograph timer and combined that with a BLL function named _duration_ that transform the milliseconds chronograph value into the text string format _HH:mm:ss_.

AVD setting:

 ![Screenshot 2024-03-28 220643](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/5/9574efe3003b519c922433a8f6f05ec316f457e1.png)

BLL function _duration_  
 ![Screenshot 2024-03-28 221118](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/edebba32ec89b3fb230dd77a80c6192be4d07015.png)

Homey device with timer

 ![Screenshot 2024-03-28 221634](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/0/d09585d0b0e15d9d8750d39b3d38f64d9a4aaf56.png)

---

<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:** [March 28, 2024, 9:28pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/16 "2024-03-28T21:28:06Z")

</div>

Try to enter just this in the _BLL expression_ field:

> [@\[APP\]\[Pro\] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/399):
>
> `time('DD:hh:mm', $value)`

Or maybe this works as well:

> [@\[APP\]\[Pro\] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/442):
>
> Math.round((Number($value) / 1000 + 30) / 60)

---

<div class="post-metadata">

**Author:** ![DirkdeDraak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkdedraak/32/8620_2.png) [@DirkdeDraak](https://community.homey.app/u/DirkdeDraak)\
**Post date:** [March 28, 2024, 9:38pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/17 "2024-03-28T21:38:34Z")

</div>

> [@\[APP\]\[Pro\] Advanced Virtual Device (Device Capabilities App) with Unique Text Status Indicator](https://community.homey.app/t/app-pro-advanced-virtual-device-device-capabilities-app-with-unique-text-status-indicator/68198/442):
>
> Math.round((Number($value) / 1000 + 30) / 60)

Both seem to work… Simpler than my method 🙂 Thanks @Peter_Kawa

---

<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:** [March 28, 2024, 9:57pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/18 "2024-03-28T21:57:33Z")

</div>

You’re welcome. Not to ‘know better’ or such, but I just wanted to show BLL has so many possibilities.

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [December 1, 2024, 11:36am UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/19 "2024-12-01T11:36:46Z")

</div>

I have no luck with the slider in AVD. It does not show % or any other unit.

I am not using a timer, just wanted to keep track of volume by % or by kg.

Has this changed in Homey since you wrote the post?

---

<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 1, 2024, 12:17pm UTC](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891/20 "2024-12-01T12:17:14Z")

</div>

It only shows a value when you move the slider. And it shows only with the mobile app.  
The right screen at my screenvid shows the Homey app on an Android emulator 😬 You can see it at the start of the vid

> [@Share Your Device! - Advanced Virtual Devices from Device Capabilities](https://community.homey.app/t/share-your-device-advanced-virtual-devices-from-device-capabilities/68676/63):
>
> Demo with the web- and mobile app in one gif:

[Next page](https://community.homey.app/t/chronograph-timers-in-avd-tile/74891.md?page=2)
