# DSM timer , accumalative timer with display

**URL:** <https://discourse.nodered.org/t/dsm-timer-accumalative-timer-with-display/28894>\
**Category:** General\
**Created:** [24 June 2020 14:39 UTC](https://discourse.nodered.org/t/dsm-timer-accumalative-timer-with-display/28894 "2020-06-24T14:39:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimpleSimon](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@SimpleSimon](https://discourse.nodered.org/u/SimpleSimon)\
**Post date:** [24 June 2020 14:39 UTC](https://discourse.nodered.org/t/dsm-timer-accumalative-timer-with-display/28894/1 "2020-06-24T14:39:34Z")

</div>

hello everyone , i am a newbie  
hope your all keeping well.

sorry if this has been answered before , i did a search and found similar stuff, but that did not work for my flow.  
so i have a mqtt device , that gives me a payload of 1 when running and 0 when stopped  
i want to make a timer that shows total run time , so every time it sees a 1 , it starts the clock ticking again and adds to the total time. if it sees a 0 the clock stops where it is at. and if it sees the word reset , it resets back to 0  
ideally i. would like this to display in a window on dashboard ie " engine total running time "  
which would should live the running time.

i have looked at all the nodes available and none seem to fit my needs  
if anyone could help me , i would really appreciate it

Thankyou

SimpleSimon

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 August 2020 14:39 UTC](https://discourse.nodered.org/t/dsm-timer-accumalative-timer-with-display/28894/2 "2020-08-23T14:39:42Z")

</div>

Closed on 23 August 2020 14:39 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
