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

In the bottom flow you stop (also reset )the stopwatch.

So when you later read out the value it will always be 0:00:00

You should pause; read out; save; stop

You are probaly right about that, but i did not get a timeline notification. Not even with 0:00:00 so for some reason it doesn’t send any data

After you stop a stopwatch it is not possible anymore to retrieve the run time. As such that card will fail (the error will state that the stopwatch is not running) and the next card (posting a timeline message) is not executed.

In the first screenprint there are two cards ‘pause stopwatch uien…….’ That suggests that there are at least two stopwatches starting with ‘uien….’ But when you type ‘ui’ in the searchfield no existing stopwatches are listed. Apparently the stopwatches don’t exists

Try to create the stopwatch again: select a new ‘start stopwatch-card’; fill in the name in the choose-field; select new. Save the flow. Start the stopwatch with the new card. Check if the stopwatch is running in the Chronograph-app settings. If so try to pause the stopwatch. Check in the app-settings whether the stopwatch is paused. If not, delete that card and recreate a new pause-card. And so on.

1 Like

Shouldn’t it be that the first card with for example Uien has made in the field “naam”. When that is done and you want to use that stopwatch, then you have to choose in the other card for “Kies”.
(Or this is changed in a update that i do not remember).

For new stopwatches it suffice to use the ‘kies’-field only and select new. The ‘naam’-field is still there to keep cards that where created long ago working.

2 Likes

Yes, indeed!

1 Like

everyone thanks for the responce.
i changed the flow and lets see if i get a notification at the end of November.

Hello, Im new to this app so I have a question. When trying it out to see how it works i made a flow that will/should trigger every 10sec. Just to se how/if it works. But it never triggers. I can see the timer in settings restart every 15sec, over and over but no messsage to me. Should it be anything in pick? what does it mean? Am I doing wrong? Both “start/stop” are the same.

Not sure what this “Start/stop” is in this context, but I think the idea is to give the timer a name of your choice, for instance “RECO watchdog”.

It’s a matter of taste perhaps, but for a use case like this I think a timer with a preset duration is more natural than a stopwatch. When the top flow is triggered it will set or replace the timer to a duration of for example 20 seconds and the bottom flow would be triggered when the timer is finished, which ideally should never happen.

1 Like

To create a stopwatch I follow this procedure:

Select the THEN-card ‘start stopwatch’ from the list.

In the ‘choose’-field type in the desired name

select ‘new’

Save the flow and start the card by rightclicking and select start flow from here.

(Check whether the stopwatch is running in the Chronograph-app settings)

After this I select the appropriate trigger-card. In the choose-field I select one of the existing stopwatches.

I leave the ‘name’-fields empty.

1 Like

Indeed, Wim, these ‘name’ fields are a leftover from the previous developer.
Arie took over the Chronograph app and added the clever ‘create & pick’ field.
The name field only exists to not break existing older flows.

And it gives the ability to use tokens in the ‘then’ cards :wink:

1 Like

Apologies for asking a very newbie question I am seeking increase a timer every time a button is pressed and are having difficulty. I am not sure if I am doing something that isn’t intended to work or have just misunderstood how to do it

Is this possible or do I need to rethink how to do it?

1 Like

You can replace the two cards on the right, bottom row by this one

I see blue lines coming from the timer-cards. Be aware that the flow doesn’t wait till the timers are finished.
You will have to use the trigger ‘when timer xx ends’

1 Like

Many thanks

My apologies for not reading the ither 8xx posts before mine.

I want to ask how I can measure the time / duration between 2 events and start a new stopwatch to measure the time between event 1 & 3 and between 2 & 3 abd also keep track of the max duration between these events. And compare the max duration till now with the current newest measured duration and if the newest duration is longer than the max duration before to copy it to the max duration stopwatch/varialbke or anything else. And keeping this measurement running and comparing this durations to the max duration all the time.

It for my bed(room). I have a presence sensor there an vibration sensor under my bed mattress.

I want to start a flow that keeps track of the max duration between the vibration alarms happening while my presence sensor is detecting a presence in the area my bed is. This measuring should start with the 1 st vibration alarm while my presence is detected and stop if my presence is off. With the max duration I want to compare it for a flow condition te determine the probability that I’m lying in bed anr are probably sleeping :zzz: to set my Homey user profile to sleeping.

If the max duration (between 2 sequential vribration alarm) would be more than a certain time period/duration then I’m probably not lying in my bed.

Any flow suggestions help would be highly appreciated. The comparison but also the saving the latest newest max duration to any entry/entity give me a headache.

Please help.

Thanks.

One of the most difficult parts is for me to compare the time/duration of 2 stopwatches/timers.( “De looptijd van stopwatch….. is langer dan de looptijd van stopwatch…..”) en / of “Timer …. Is langer dan Timer ….”)

Maybe a good opportunity to add this in general to the app as conditions but also do/then .., functionality.