# Sum bar issue with no data at certain time

**URL:** <https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921>\
**Category:** General\
**Created:** [10 March 2020 12:41 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921 "2020-03-10T12:41:58Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [10 March 2020 12:41 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/1 "2020-03-10T12:41:58Z")

</div>

Hello all,  
Having an issue with sum bar read out chart where I am logging input data on an hourly basis but for some reason even though I am logging the data, the data will not show on the sum bar chart.  
Sorry I should have said it only happens for the hour of 00:00. All other time slots fill fine.

 ![Sumbars](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/46f1223c9e2e372e0e6ca7e0a3d6a0eb398b6ac4.png)  
Tried everything  
Thanks in advance  
Patrick

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 March 2020 15:27 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/2 "2020-03-10T15:27:07Z")

</div>

A little more information would be helpful like

- what node are you using for the graph?
- where is the data coming from?
- what platform/os are you using?
- what version of NR, node.js and the dashboard are you using? (you can find this in the NR startup log)
- I see no data at 03, 04, 05, 06, and 07 is that valid?
- are you sure there is data for 00?

(p.s. using blue to write a note on a black background is a bad choice for this set of eyes)

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [10 March 2020 16:03 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/3 "2020-03-10T16:03:43Z")

</div>

apaologise for the font choice 🙃  
The graph is taking an input 1 from a solenoid from iot digital input node. It records the amount of strikjes a machine does over a 24 hr period.  
The hours from after 02:00 are empty as machine stops running around 2ish, but is certainily running in the 00:00 hours and should be giving me a reading on the chart.  
Thanks for your reply.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 March 2020 16:05 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/4 "2020-03-10T16:05:29Z")

</div>

and the answers to the rest of my questions are...

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [10 March 2020 17:46 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/5 "2020-03-10T17:46:28Z")

</div>

Sorry for not answering the important ones.  
I am running node red on the Siemens iot 2020.  
Programming is done through this over network. Its user interface is displayed on a raspberry pi connected to a pi screen.  
I just program nodes over my windows machine.  
I'm not at the unit at the minute to confirm nodejs version but im pretty sure its 10.something as I have ran into trouble in the past where Siemens iot 2020 nodered software is not supported by nodejs version 12.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [10 March 2020 18:29 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/6 "2020-03-10T18:29:43Z")

</div>

what node are you using for the graph?  
Can you provide the flow?

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [10 March 2020 19:23 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/7 "2020-03-10T19:23:54Z")

</div>

Was it first time or you are seeing the issue in all midnights? Or some other times when you expect other outcome? Can you collect raw data for analysis?

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [11 March 2020 07:53 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/8 "2020-03-11T07:53:55Z")

</div>

It is only at midnight. I have a message debug node and it does not show any data being generated during this hour, even though the machine is running. I have a couple of units running similarly and it is the exact same with them. It only does not record for the midnight hour.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [11 March 2020 07:59 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/9 "2020-03-11T07:59:25Z")

</div>

Im susing the sum bar and template for the graph.

 ![Sum bar](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6faee61d1252f2faa9ee02793399394ee4d5c040.png) ![Sum bar3](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b28db560851dab38368d152847358f0768dac415.png) ![sumbar1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f7f13d052dc07617c40c4d6919cfa29db6ef4489.png) ![sumbar2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/b/6b7f0661c6fe421d933ba53254f230da3430c12e.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [11 March 2020 08:06 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/10 "2020-03-11T08:06:03Z")

</div>

> [@Pac8](#):
>
> I have a message debug node and it does not show any data being generated during this hour,

So no data is getting into the flow at that time?

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [16 March 2020 15:48 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/11 "2020-03-16T15:48:13Z")

</div>

Hi all just a quick update on this problm. Im still not getting any redaout at 00:00 hrs. I am now using and interval timestamp node to generate the signal for the graph to increment but still not getting anything.

 ![SumBar5](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bdf740d306b86508a9c27711198425d13c879728.png)  
 ![Sum bar6](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/4/c478ba94a6d90497247570e20732d540b0d8dfc1.png)  
Thanks.

---

<div class="post-metadata">

**Author:** ![Dave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dave/32/10827_2.png) [@Dave](https://discourse.nodered.org/u/Dave)\
**Post date:** [19 March 2020 09:55 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/12 "2020-03-19T09:55:20Z")

</div>

I have same issue, its nothing to do with no data, I guess its an issue with the node, the issue was first opened January 2019 and does not appear to have been resolved, its still an open issue on github [https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars/issues/3](https://github.com/nazcasun/node-red-contrib-dashboard-sum-bars/issues/3)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [19 March 2020 10:49 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/13 "2020-03-19T10:49:00Z")

</div>

And looking deeper, the author hasn't had any activity on GitHub since October 2018.  
This might be abandoned...

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [19 March 2020 12:23 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/14 "2020-03-19T12:23:27Z")

</div>

Thanks everyone for the super help.  
I am wondering if @knolleary would have a quick look at this and see a solution.  
Thanks again

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [19 March 2020 12:25 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/15 "2020-03-19T12:25:39Z")

</div>

Hi @Pac8

I've never used this node. Sorry.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [19 March 2020 12:29 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/16 "2020-03-19T12:29:27Z")

</div>

Ok thanks anyway. Ill keep on looking.

---

<div class="post-metadata">

**Author:** ![Pac8](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@Pac8](https://discourse.nodered.org/u/Pac8)\
**Post date:** [2 April 2020 06:32 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/17 "2020-04-02T06:32:23Z")

</div>

Quick update on this problem.  
Data is being aquired and I am still able to store it via an excel spreadsheet. The timing of the actions on my input node are timed inbetween the hours of 00:00 and 01:00 but as you can see from previous posts data not being recorded on the sum bars chart.

![Excel](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/bab43eb4ce06b54c2331ae0276d0f8cdd568924c.png)

Thank you

---

<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:** [1 June 2020 06:32 UTC](https://discourse.nodered.org/t/sum-bar-issue-with-no-data-at-certain-time/22921/18 "2020-06-01T06:32:33Z")

</div>

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