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

**URL:** <https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214>\
**Category:** Apps\
**Tags:** app, official, tools, homey-pro\
**Created:** [September 17, 2019, 5:55am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214 "2019-09-17T05:55:42Z")\
**Posts on this page:** 20\
**Page:** 16

<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 27, 2022, 2:46pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/312 "2022-10-27T14:46:23Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> What i could do tho, is the exact same thing as Advanced Triggers: Show a optional dropdownlist AND a optional textfield. This would keep existing flows intact and also gives the options of a dropdown.

That’s a cool plan, Arie!

---

<div class="post-metadata">

**Author:** ![JB2K](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jb2k/32/134070_2.png) [@JB2K](https://community.homey.app/u/JB2K)\
**Post date:** [October 28, 2022, 1:30pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/313 "2022-10-28T13:30:25Z")

</div>

Trying to start a stopwatch, then stop it and create a message “Jeroen came home after 1 hour and 20 minutes” but i see that there is no card available that has the stopwatch time is that correct?

---

<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:** [October 28, 2022, 1:45pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/314 "2022-10-28T13:45:39Z")

</div>

To be honest, i also cannot find it, or any other way to know how far a stopwatch is: which seems very straigns, because why then would you need one, if you don’t want the result?

You can wrap a device around a stopwatch, and then there is a sensor showing it, but the tag that belongs to hte time has been disabled (not sure why that has been done).

Maybe @Peter_Kawa can shed some light on this? How do you use Stopwatches Peter?  
Before i implement something that already exists.

---

<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 28, 2022, 3:11pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/315 "2022-10-28T15:11:50Z")

</div>

It’s build in @JB2K

- flow:  
(stopwatch returns only seconds, so I have a small script which converts it into readable timestamps)

> ![Screenshot from 2022-10-28 17-03-49](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c5fc2652acc76ae639a623bd516c2250bef1269.png)

- available vars from stopwatch card:

> ![Screenshot from 2022-10-28 16-32-04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/2/c2dd2040cf735e04635a2651aae9c47efabdcc27.png)

- timeline:

> ![Screenshot from 2022-10-28 17-09-40](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/c/9c9fee6fff5b53fd21218d2735e0c1f21c5b0583.png)

If you like you can import the flow with this exchanger file:

```auto
[TEF:FLOWS:H4sIAAAAAAACA6VW2W7bOBT9FY6A1jYSOtS+ZNJB0XkIBshL89CH2AgoLrYwEmWIdJMg9b/PpRZvdTtuEyS2SF6ee+65S/TqcCd7dbiMgsiPOXajgOEgDWJM45RhL/J8P0/SUKbE2iknc+6F0nWDbmnpXDoMNnS74Ww2l45pjcqpFGVZPylhpmzZ1KpeNHS1HAA+7W3BHVZXU2qW8Al/4kWzpliZwfbWbt13W9YBdbKHV6eAE8b9KKGpxFGSChwkLMa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WkXc6cnbQ7qGqAqixUZUugh7Ic12aH1nE+Dah3gHoA1BZQ7wF2kYoBr1+qI7gjDWo1MvtKXF19r8XvStFhHYrxNi06xEM1fl+MrrFsx245/mG1ff9+zwVsbFv1VHZ/FtBROEfBILQ5weDmDAYn0nNxMkH76Tnl3T5sB9gW9WIX4sWWxzW8vLQ3oID6K/AeU1GToa7xTvdda9/NgMF8GBHd0W76jTsz2/Zo3PZ978fuTOAXeHdTEP2/qX3D6Eco/Bv4/bcteCHZbOab/wBhF4IpSQ0AAA==]

```

---

<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 28, 2022, 3:30pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/316 "2022-10-28T15:30:53Z")

</div>

Running stopwatches/timers/transitions can be shown when you install the devices for them.  
Afaik there is no ‘Start a flow and return duration of Stopwatch A’ possibiity yet.

You can trigger a flow when a stopwatch reached a pre-defined time, which also can be defined in a variable

 ![Screenshot 2022-10-28 at 17-19-49 1.HomeyPro Peter](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/2/82928a03426b486941e1b585d0bee0ad453bc11e.png)

Indeed by enabling the tags from the installed device, you can ‘ask’ in a flow for a stopwatch duration while it is running. For now these tags aren’t available as you noticed.  
 ![Screenshot from 2022-10-28 17-22-54](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/e/fef69a7b2d0a4b403785cf4995e0c560e276006e.png)

---

<div class="post-metadata">

**Author:** ![Jeroen\_Kokhuis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_kokhuis/32/12592_2.png) [@Jeroen\_Kokhuis](https://community.homey.app/u/Jeroen_Kokhuis)\
**Post date:** [October 30, 2022, 7:37pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/317 "2022-10-30T19:37:05Z")

</div>

My stopwatches keep running and I can’t stop them. Anyone else having the same problem?

I already reboot Homey and tried the test version.

---

<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 31, 2022, 1:12am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/318 "2022-10-31T01:12:31Z")

</div>

True, they’ll keep running until someone or something stops them. 🙃  
You can stop it / them here:  
[https://tools.developer.homey.app/tools/app-settings](https://tools.developer.homey.app/tools/app-settings) and select ‘Chronograph’.  
Else, you’ll have to add a ‘stop stopwatch X’ card somewhere in your flows.  
F.i. at sunrise, when you don’t need any running stopwatches anymore. Or when everyone’s asleep, or when everyone left the house and so forth.

---

<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:** [October 31, 2022, 6:49am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/319 "2022-10-31T06:49:19Z")

</div>

When I now try to stop the stopwatch at the configure app screen. The stopwatch is removed but after 2 seconds it’s starting again at the time that I have stopped it.  
Normaly it has worked that way.  
Restart the app did not help.  
Version 1.2.3

I think maybe that is also caused because I am not at Homey 8.0.8.  
Will update later.

Did the update today to 8.0.8. Chronograph app is automatic updated to 1.3.1.  
I can not stop or pause the stopwatch with the buttons in the app config.

---

<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 31, 2022, 10:57pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/320 "2022-10-31T22:57:41Z")

</div>

Yes, somehow there’s a new bug so it seems. But I can still stop it using a flow card

> ![Peek 2022-10-31 23-54](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/8/c84dc511025b8a609725897f23627b24a78228af.gif)

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [November 1, 2022, 6:28am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/321 "2022-11-01T06:28:05Z")

</div>

Feature request:  
Would it be possible to add wildcard to the “Timer … is running”-and-card?

---

<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:** [November 1, 2022, 7:07am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/322 "2022-11-01T07:07:54Z")

</div>

> [@Peter\_Kawa](#):
>
> Yes, somehow there’s a new bug so it seems. But I can still stop it using a flow card

Okay, there indeed is an issue, solving it now.  
@Mike1233

---

<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:** [November 1, 2022, 7:22am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/323 "2022-11-01T07:22:08Z")

</div>

Solved in current Test.

There were multiple App Settings fault, because the API didn’t initialize correctly.  
These have all been fixed.

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [November 1, 2022, 10:32am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/324 "2022-11-01T10:32:05Z")

</div>

OK, wildcards (\*) can do this, I learned through search. Also there’s a [script for this, copied from the GH repo](https://github.com/XeroxQ/chronograph)

```auto
let app = await Homey.apps.getApp({id:'nl.fellownet.chronograph'});
app.apiGet('/timers').then(result => {
	let timers = JSON.parse(result);
	timers.forEach(timer => {
		app.apiDelete('/timers/' + timer.id);
	});
});

```

---

<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:** [November 1, 2022, 10:46am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/325 "2022-11-01T10:46:02Z")

</div>

> [@Anders\_Gregow](#):
>
> Would it be possible to add wildcard to the “Timer … is running”-and-card?

Indeed, i just checked, and most cards already allow for a wildcard (_) in it.  
When you put an asterix (_) in it, it get’s translated into an regexp:  
`string.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');`

I just tested it, and it works as expected: so, yeah, you can use wildcards.

---

<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:** [November 1, 2022, 10:47am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/326 "2022-11-01T10:47:27Z")

</div>

Thanks m8, i didn’t know about it before you said it.

Funny tho, it says it in the Store Description (readme.txt):

_Target multiple timers, stopwatches and transitions at once using wildcards in supported cards._

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [November 1, 2022, 11:37am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/327 "2022-11-01T11:37:18Z")

</div>

Great, will wait for your update then. 🙂  
Yeah, most of the cards are allready using wildcards, but not the “Timer … running”. I think that’s the only one not using it but would have possibility.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [November 1, 2022, 11:40am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/328 "2022-11-01T11:40:09Z")

</div>

> [@thobu](#):
>
> OK, wildcards (\*) can do this,

Unfortunately the AND-card “Timer … is running” does not allow for wildcards, but @Arie_J_Godschalk is on it.

---

<div class="post-metadata">

**Author:** ![thobu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thobu/32/18357_2.png) [@thobu](https://community.homey.app/u/thobu)\
**Post date:** [November 1, 2022, 12:02pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/329 "2022-11-01T12:02:30Z")

</div>

Oh, looking forward to the fix. Thanks a lot for providing/maintaining the app

---

<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:** [November 1, 2022, 12:51pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/330 "2022-11-01T12:51:46Z")

</div>

> [@Anders\_Gregow](#):
>
> Unfortunately the AND-card “Timer … is running” does not allow for wildcards, but @Arie_J_Godschalk is on it.

@Anders_Gregow and @thobu  
The updating is now Live: isRunning condition cards now also allow for wildcards.  
If any found items (times/transitions/stopwatches) are running, it will return a true.

---

<div class="post-metadata">

**Author:** ![Anders\_Gregow](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_gregow/32/61721_2.png) [@Anders\_Gregow](https://community.homey.app/u/Anders_Gregow)\
**Post date:** [November 1, 2022, 1:21pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/331 "2022-11-01T13:21:09Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> The updating is now Live: isRunning condition cards now also allow for wildcards.

Great, will test now.

[Previous page](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214.md?page=15)

[Next page](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214.md?page=17)
