# Count up counter my HAVC system

**URL:** <https://community.homey.app/t/count-up-counter-my-havc-system/112350>\
**Category:** Flows\
**Tags:** flow, homey-pro, advancedflow\
**Created:** [July 3, 2024, 2:04pm UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350 "2024-07-03T14:04:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shiki](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@Shiki](https://community.homey.app/u/Shiki)\
**Post date:** [July 3, 2024, 2:04pm UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/1 "2024-07-03T14:04:22Z")

</div>

Hi All,

I am looking for flow to record my home exhaust fan motors running time, so that track the running hours and plan for next scheduled servicing or cleaning.

Please welcome your ideas what apps recommended possible in advance flow too 😃

---

<div class="post-metadata">

**Author:** ![Theo\_de\_Koning](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/theo_de_koning/32/136062_2.png) [@Theo\_de\_Koning](https://community.homey.app/u/Theo_de_Koning)\
**Post date:** [July 3, 2024, 2:27pm UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/2 "2024-07-03T14:27:48Z")

</div>

Take time to look ad Google Sheets.

> **[Google Sheets](https://homey.app/nl-nl/app/com.google.sheets/Google-Sheets/)**
>
> Voeg toe aan Google Spreadsheets vanuit een Flow.

You can put all kind of data on and make calculations with it.

Self have I used for look ad a flow acting in nighttime and found a hick-up that came on 06:00.  
Numbers where mix up but it was not to see later.

Also some flow part could put by a other flow line and save lot of calculation time.  
With formulas on the sheet it was a double check.

For me it’s a good app for testing and documentation.  
You cant get data back from sheet to Homey.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 3, 2024, 2:42pm UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/3 "2024-07-03T14:42:24Z")

</div>

You don’t provide much information. Let’s have a look… 🔮

Are there any triggers that can start and stop a timer? Something like _ **Switched on/off** _ or a power meter?

---

<div class="post-metadata">

**Author:** ![Shiki](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@Shiki](https://community.homey.app/u/Shiki)\
**Post date:** [July 3, 2024, 4:12pm UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/4 "2024-07-03T16:12:16Z")

</div>

Currently I already have existing flow monitor the indoor and outdoor home temperature / humidity /dew point from Aqara Zigbee devices, the flow will activate (on/off) the home intake and exhaust motor using sonoff (mqtt) relay 24/7.

I would like to have virtual icon (maybe virtual device) to show accumulative running hours or even flag up if I set a threshold values (hours) to next servicing.

I am a bit confused on the count up flow , as all the while my homey flows currently on counts down so far.

---

<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:** [July 3, 2024, 10:03pm UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/5 "2024-07-03T22:03:31Z")

</div>

You can start/pause a stopwatch, every time the motor is turned on and turned off; the stopwatch will keep on counting the hours.  
Maintenance: there’s this flow trigger card..

 ![Screenshot_20240704-000535_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1c06c653427ad9d8d9eca0170f70058625dae02e.jpeg)  
..which triggers the flow at a given value, say 500 hours.  
Just add several triggers for several intervals.

I like to use Chronograph timer app very much.  
With the app Device Capabilities, you can create so called advanced virtual devices, which are able to show Chronograph timers/ stopwatches without using a flow.

You can view examples I made today here:

> [@Device Capabilities - Alles rund um die DC App](https://community.homey.app/t/device-capabilities-alles-rund-um-die-dc-app/67934/71):
>
> Auf diese Weise kann ein Chronograph Timer angezeigt werden: (Timer-Werte werden in milliSek angegeben, daher die Berechnung $value/1000, damit sie in Sekunden angezeigt werden) Wähle in der mobilen App diesen Timer als Statusanzeige: [GIF\_20240703\_172631\_826] (Wann sich nicht bewegt, presse arrow_forward ) Wenn du den aktuellen Timer als Statusindikator anzeigen willst, dann musst du etwas mit Flows machen, die dich z.B. alle 5s eine DC-feld “Text…

---

<div class="post-metadata">

**Author:** ![Shiki](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@Shiki](https://community.homey.app/u/Shiki)\
**Post date:** [July 4, 2024, 1:24am UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/6 "2024-07-04T01:24:29Z")

</div>

Thanks for sharing, I’ll take a look too.  
BTW is the chronograph variable values stays in the event of power failure or pull plug ?

---

<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:** [July 4, 2024, 12:27pm UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/7 "2024-07-04T12:27:17Z")

</div>

> [@Shiki](#):
>
> BTW is the chronograph variable values stays in the event of power failure or pull plug ?

Yes. The stopwatch value is saved continuously.  
(I’ve tested that, it survives a Homey restart).

Also, when a timer is started, a timestamp is created, and the timer counts towards it. After power failures or restarts, it continues to count towards that timestamp.

---

<div class="post-metadata">

**Author:** ![Shiki](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@Shiki](https://community.homey.app/u/Shiki)\
**Post date:** [July 7, 2024, 10:23am UTC](https://community.homey.app/t/count-up-counter-my-havc-system/112350/8 "2024-07-07T10:23:25Z")

</div>

Thank you , I’m able to show the chronograph value in DC app.

One question in BLL expression if input “$value/1000” it will be showing Seconds, whereas I want to show Hours in decimals, how do i do it ?

round (($value/3600000), 2) is not working after trying.
