# How to keep track of the time a device is running

**URL:** <https://community.homey.app/t/how-to-keep-track-of-the-time-a-device-is-running/76437>\
**Category:** Flows\
**Tags:** app, devices, flow, homey-bridge\
**Created:** [February 13, 2023, 7:21pm UTC](https://community.homey.app/t/how-to-keep-track-of-the-time-a-device-is-running/76437 "2023-02-13T19:21:51Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)\
**Post date:** [December 24, 2024, 4:23pm UTC](https://community.homey.app/t/how-to-keep-track-of-the-time-a-device-is-running/76437/7 "2024-12-24T16:23:05Z")

</div>

At midnight start a stopwatch. If the pump is off pause the stopwatch.

When the pump is turned on resume the stopwatch.

When the pump is turned off pause the stopwatch.

One minute before midnight read out the stopwatch, post it on the timeline, wait 1 second, stop the stopwatch.

(Let my ‘plafond 1’ be your pump.)

 ![Scherm­afbeelding 2024-12-24 om 17.16.01](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/15685a8803710776ca4e5dfbdf9f5d0b923e5cad.png)

---

_[View the full topic](https://community.homey.app/t/how-to-keep-track-of-the-time-a-device-is-running/76437)._
