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

Always share your Homey model, firmware version, app version please.
When did the issue first occur (like, a certain update maybe, installing some app?)

All I can say is Chronograph has been very stable for the last 4,5 years.
Homey Pro 2019 v12.3.0 / app v2.1.2

You’re totally right @Peter_Kawa! I have adjusted the original post. Unfortunately I haven’t been home to realize something was off. But now I have some more time on my hand I realized that something is off.

1 Like

I also have this problem:

Also the “Stopwatch (garasje) have reached a duration of x seconds” does not seem to trigger the following “then” step.
Please note that this is tested by forcing a “Stopwatch session” named “garasje” to run.

Maybe there’s a correlation between these issues?

Update: I have found that I experience this (invalid time) when using logic number-values as “reached a duration of …” value, in another “if” card in the same flow.

Hi Peter,
I have opened a ticket to Arie this last December: https://bitbucket.org/QlusterIT/nl.qluster-it.chronograph/issues/41
I have same issue related to Chronograph APP (several crashes on my HPE2023).
Please did you know about Arie?
Unfortunately I have still not received any update from him till now…

Arie’s still there, he just replied to someone in an other topic.

Sharing here as well…

Seems that (at least in my case) there might be a bug on Chrono When-cards (tested only stopwatch and timer), when triggered by minutes… here the full “story”
Double triggering (to start) of flow - Questions & Help - Homey Community Forum

Changed now all in my flows to be triggered by seconds as minutes made double (even triple) triggering (and resulted high load / HomeyScript trips).

I recently integrated a “Start Timer” (Then card) from the Chronograph app into a larger Advanced Flow. Unfortunately, I forgot to give the timer a name. To my surprise, the flow saved without any warning or error message indicating that a required value was missing. I’m used to flows not being saved if a card is incomplete or missing required fields.

Shortly after that, my Homey Pro (2023) became unresponsive and began exhibiting side effects. For example, my Z-Wave network stopped functioning intermittently, and sensor values were no longer being processed. CPU usage and clock frequency increased significantly, as did the temperature (see attached screenshot). App resource usage appeared normal and did not indicate any issues.

Even after restarting Homey, the CPU and clock values spiked again shortly after booting up, suggesting that the underlying issue was still present in the system.

I spent a lot of time troubleshooting. Eventually, I noticed that none of the timers were running in the flow I had recently modified. That’s when I discovered the “Start Timer” card without a name. After fixing the flow and restarting Homey again, everything finally returned to normal—CPU and temperature values stabilized.

(Also, does anyone have a good tip for how I could detect such an error more quickly next time? Or any general troubleshooting ideas?)

Is this a bug in the Chronograph app that allows a card to be saved even though a required field is empty?

Apparently those fields aren’t mandatory, which should be considered to be a bug:

Probably you’re the first to forget to name a timer :blush: and save the flow.
Would you be so kind to create a ticket for the developer?

Not shure if this can be discovered more easy; the SysInternals app might help with sending CPU system load warnings (and more).

@Peter_Kawa

Thanks for your feedback!

Yes, I’ve just reported the issue to the developer on Bitbucket – let’s see what comes from it.

Admittedly, it’s not exactly an honour to be the first to forget naming a timer :sweat_smile: – but if it helps improve the app, at least it’s for a good cause!

Also thanks for the tip with the SysInternals app – I’ll check that out as a way to catch such system load issues earlier next time.

Actually, the way it is, is on purpose.
There are two ways you can name a timer/stopwatch/etc. Either one would be mandatory. But as developer i cannot make 1 of 2 mandatory. And making them both mandatory would not be correct. Thats why they are both non-mandatory.

Thanks for the quick reply — and yes, your explanation makes perfect sense.

I fully understand the logic behind not making either “Pick” or “Name” mandatory individually. Still, considering the rather heavy side effects this caused (timers breaking silently, CPU overload etc.), do you see any way the app could perhaps mitigate the impact?

Just a thought, more as a prevention suggestion than a bug report :slightly_smiling_face:

Thanks again for the great work on the app!

1 Like

Yeah, im sure there is something i can fix if there are chronographs without names defined.

2 Likes

Hahaha, well, to me you are the first at least :winking_face_with_tongue:
But kudos for discovering that a nameless timer can cause that amount of stress for Homey.

I have a similar issue where the “Timer has reached a duration of” trigger is not working.

In the example below:

  • The timer starts as expected
  • The trigger “Timer is finished” is triggering the notification
  • The trigger “Timer has reached a duration of 5 seconds” is not working

When I understand that trigger card correctly it should trigger when 5 seconds of the timer are remaining.

Does anybody has an idea how what is wrong here?

Homey Pro (Early 2023)
Version 12.4.7
Chronograph v2.1.2

@Jumpingtrees What happens when you remove the name of the trigger in the first card en fill in a name under “name” like 12345 (and save the flow)
And the next two card choose in the pulldown menu the name 12345

I’m also having this issue of timer not detecting the When card for reaching duration. Adding another post and screenshot for investigation. This is inside of a flow that has multiple triggering events.

It still detects “when timer is finished”, but not any of the elapsed durations in between for this specific timer.

I created a new timer as a test, and for that the trigger does still work.

But of course I am hoping to not have to recreate an entire timer that is used in multiple areas. Also why I haven’t made this a Transition.

@SamHomey Did you try to select the timers again in the card and then save the flow?
I had this once and reselected the names from the pulldown menu and saved the flow again.

Ooo thanks for the idea. Just tried and sadly no, it did not work or fix.
I also tried bringing the When cards for the timer duration into a separate flow (in case there were too many triggers in one) … And still does not work.
I both restarted the app individually and restarted my Homey.
I confirmed in the app Config that the timer is running correctly.
Very strange … It is as if Chronograph suddenly doesn’t like this one timer.

Here is the test flow:

The trigger at 5 seconds did not work. Whereas the “Timer is finished” trigger worked just fine.

image

@Jumpingtrees In the two last flows you should use the pick option and then choose the Timertest.