# \[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:** 14

<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 19, 2022, 9:47am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/270 "2022-10-19T09:47:21Z")

</div>

> [@HuisCHovens](#):
>
> you never see which timers or stopwatches you have. When they are not active.

@Arie_J_Godschalk  
I saved a script once, this shows all timers/stopwatches/transitions used in flows.  
From the returned data I think it shows all timers etc. I created and occur in a flowcard.  
Might be of any use, Arie!

```auto
const flowsDic = await Homey.flow.getFlows();
const flows = Object.values(flowsDic)
const actions = flows.map(f => f.actions.filter(a => a.uri === 'homey:app:nl.fellownet.chronograph')).flat()
log(actions.reduce((a,x,y,z) => ({...a, [x.args.name]:x.id.split('_')[0] }), {}))

//log(actions)
//log(flowsDic)

```

 ![Screenshot_20221019-114657_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/9/69f7695653c43c799d08157d360f363643c33ede.jpeg)

---

<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 19, 2022, 10:33am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/271 "2022-10-19T10:33:34Z")

</div>

> [@Peter\_Kawa](#):
>
> I saved a script once, this shows all timers/stopwatches/transitions used in flows.  
> From the returned data I think it shows all timers etc. I created and occur in a flowcard.  
> Might be of any use, Arie!

Nope, but thanks Peter!

To do it this way, i would need to include the very heavy-on-memory AthomAPI.  
And there is no need, i already have everything i need to get it from the sdk itself, so no npm/athom-api needed.

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [October 19, 2022, 11:19am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/272 "2022-10-19T11:19:05Z")

</div>

Mind you, `athom-api` is replaced by `homey-api` and is depreciated. Do we know for sure it’s possible to use `athom-api` on Homey Pro 2023?

Oh, and `homey-api` is considerably larger ☹ The _ **Heimdall** _ App Package grew from 2.7MB to 7.8MB replacing `athom-api` for `homey-api`

---

<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 19, 2022, 11:32am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/273 "2022-10-19T11:32:41Z")

</div>

> [@DaneedeKruyff](#):
>
> Mind you, `athom-api` is replaced by `homey-api` and is depreciated. Do we know for sure it’s possible to use `athom-api` on Homey Pro 2023?

Don’t know, i haven’t looked into the Athom-API being deprecated yet.

You are talking about install size right?  
And how does this effect memory usages? Because thats always my big fear with Athom-API.

So, if Homey-API is this much larger, i really hope that it cost less memory.

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [October 19, 2022, 3:52pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/274 "2022-10-19T15:52:07Z")

</div>

With your device app I would perhaps put all stopwatches and timers in one device. Thats now possible @DirkG . Instead of all separate tiles. In the settings menu is also nice opportunity.  
Or even better a drop down or is that difficult to make?

---

<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 19, 2022, 5:12pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/275 "2022-10-19T17:12:39Z")

</div>

> [@HuisCHovens](#):
>
> Or even better a drop down or is that difficult to make?

Dynamic dropdowns are still not an option i’m afraid.  
But you could use AVD’s to group them i guess. 🙂

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [October 19, 2022, 5:29pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/276 "2022-10-19T17:29:08Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> But you could use AVD’s to group them i guess. 🙂

Yeah that is al nice step better for cleaning up the mess 😉

---

<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 20, 2022, 12:36pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/277 "2022-10-20T12:36:07Z")

</div>

Anyone else who tested it and can confirm that all-is-good-under-the-hood?

---

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

</div>

Will an app written for SDK3 (like Chronograph now that is getting upgraded) still run on SDK2-Homey’s?

Thanks for upgrading it, you rock!

---

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

</div>

Afaik yes, until a firmware update disables SDK2 support. I choose to turn auto-update off, so you’re not getting ‘surprises’

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [October 20, 2022, 2:03pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/280 "2022-10-20T14:03:43Z")

</div>

Just so you know, over 700 apps are already running on SDKv3 😉, probably more then half of the apps currently already active on your Homey.  
There are no really SDKv2 Homeys, unless you haven’t updated your Homey to and past Homey firmware v5.0.0.

---

<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 21, 2022, 6:03pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/281 "2022-10-21T18:03:01Z")

</div>

Dude 90% can run on SDK3 for all i care but if 1 doesn’t then it is still less capably and functional then before

---

<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 21, 2022, 6:04pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/282 "2022-10-21T18:04:23Z")

</div>

Hey, i’m trying to get my lights to dim slowly from 0 to 100 but it just goes to 100% instantly is that a common thing? am i doing it wrong ?

 ![Screenshot 2022-10-21 at 19.59.27](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/acf4a3fa4adac0250c1b719d48752af049fa212f.png)

this should be 10% but it goes to 100% instantly

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [October 21, 2022, 6:22pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/283 "2022-10-21T18:22:05Z")

</div>

Dude, I didn’t _manually_ create the “unsupported for Homey 2023” a.k.a. pretty much all SDKv2 without a reason 😉 I know full and well that losing SDKv2 apps is bad.  
And it wasn’t what my responds was about at all, he asked about **SDKv2** Homeys and thus I responded.

---

<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 21, 2022, 6:25pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/284 "2022-10-21T18:25:25Z")

</div>

Is the dim value from 0.01 to 1? (It’s not 1 to 100)

---

<div class="post-metadata">

**Author:** ![Yankie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yankie/32/31966_2.png) [@Yankie](https://community.homey.app/u/Yankie)\
**Post date:** [October 21, 2022, 7:59pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/286 "2022-10-21T19:59:31Z")

</div>

Hi @Arie_J_Godschalk  
I made a post (231) here a few days before you took over this app. I have now installed the test ver 1.2.3 and when the app was up and running again I had same issue again with the when card transition reaced a step. It doesn’t trigger the flow. The transition, timers and stopwatches are running like they should. I also notice that when I pressed resume manually on transition it start counting for 3-4 sec and then stop and went back to previous time. It did not behave like this before.  
After resetting the transition, adjusting the time and resume transition from flow, the when card works again. Seems like an issue when app updates and Homey restart (I have not tested restart of Homey this time) that the when card doesn’t trigger as it should.  
Hope this is an easy fix.

---

<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 21, 2022, 8:23pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/287 "2022-10-21T20:23:29Z")

</div>

Thanks, ill have a look monday.  
Could you send me a diagnostic?

Goto app settings of Chronograph and press send diagnostic.

Thanks!

---

<div class="post-metadata">

**Author:** ![Yankie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yankie/32/31966_2.png) [@Yankie](https://community.homey.app/u/Yankie)\
**Post date:** [October 21, 2022, 8:48pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/288 "2022-10-21T20:48:48Z")

</div>

8d9731cb-5911-4dc5-aeba-9b6b2ff1a4d7

---

<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:** [October 23, 2022, 8:37am UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/289 "2022-10-23T08:37:05Z")

</div>

is the app aware of running delays or timers? I’d like to only set another yes/no variable to “No” if no timer or delay is running?  
Let me be more precise. I know there’s the AND card for particular running Timers. I was wondering if there’s a way to state “NO Timer” is running for all existing Timers. Makes sense?

---

<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 25, 2022, 8:22pm UTC](https://community.homey.app/t/app-pro-chronograph-adds-precise-timer-stopwatch-and-transition-functionality-to-homey/18214/290 "2022-10-25T20:22:44Z")

</div>

> [@Yankie](#):
>
> Hi @Arie_J_Godschalk  
> I made a post (231) here a few days before you took over this app. I have now installed the test ver 1.2.3 and when the app was up and running again I had same issue again with the when card transition reaced a step. It doesn’t trigger the flow. The transition, timers and stopwatches are running like they should. I also notice that when I pressed resume manually on transition it start counting for 3-4 sec and then stop and went back to previous time. It did not behave like this before.  
> After resetting the transition, adjusting the time and resume transition from flow, the when card works again. Seems like an issue when app updates and Homey restart (I have not tested restart of Homey this time) that the when card doesn’t trigger as it should.  
> Hope this is an easy fix.

Hey @Yankie,

Thanks for your report.  
I cannot simulate the issue, tho.  
Whenever i restart the App or Homey, everything works just fine, when i try to start a transition.

I am changing some stuff so i can better debug these/this issue, to get to know the sourcecode and the more i play, the faster the possibility of finding bugs.

I’ll keep searching.

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

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