# Display daily measurements

**URL:** <https://discourse.nodered.org/t/display-daily-measurements/12083>\
**Category:** General\
**Created:** [11 June 2019 19:02 UTC](https://discourse.nodered.org/t/display-daily-measurements/12083 "2019-06-11T19:02:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![debouttek](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@debouttek](https://discourse.nodered.org/u/debouttek)\
**Post date:** [11 June 2019 19:02 UTC](https://discourse.nodered.org/t/display-daily-measurements/12083/1 "2019-06-11T19:02:12Z")

</div>

Hi all  
I'm working with Node-red for 6 months and it goes great. Google helped me a lot and now I'm stuck.  
I'm measuring my solar panels and I have en good output xxx watts in my dashboard ui.

My question is how do can I display my daily, monthly, .. outputs in watt in my dashboard ui.

I would like to see on the end of the day how many watts the system has produced.

Can you set me in the right direction on where to search for info please?

---

<div class="post-metadata">

**Author:** ![JayDickson](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jaydickson/32/90592_2.png) [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Post date:** [11 June 2019 19:12 UTC](https://discourse.nodered.org/t/display-daily-measurements/12083/2 "2019-06-11T19:12:06Z")

</div>

One major clue comes into sight with the correct unit of measurement for incremental power measurement: "[watt hours](https://enphase.com/en-us/support/what-difference-between-watt-and-watt-hour)." If I'm not mistaken, what you need to do is store the power generation and take the mean of the readings taken in the measured time, multiplied by the number of hours in that timeframe. This would be an excellent use of influxdb and grafana, or perhaps just influxdb and a well crafted influxql query.

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [11 June 2019 22:15 UTC](https://discourse.nodered.org/t/display-daily-measurements/12083/3 "2019-06-11T22:15:13Z")

</div>

As Jay has said - Influxdb + Grafana is the way to go.  
The below screenshot shows my energy usage, but could equally be energy developed.

![grafana](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1e48c464f536059f75f7f77ffcf5ea7fba5632fe.png)

---

<div class="post-metadata">

**Author:** ![debouttek](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@debouttek](https://discourse.nodered.org/u/debouttek)\
**Post date:** [12 June 2019 06:36 UTC](https://discourse.nodered.org/t/display-daily-measurements/12083/4 "2019-06-12T06:36:34Z")

</div>

Thanks! I take a look at it.  
Would you mind share you’re flow Paul-Reed?

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [12 June 2019 10:05 UTC](https://discourse.nodered.org/t/display-daily-measurements/12083/5 "2019-06-12T10:05:59Z")

</div>

Your flow will no doubt be very different to mine, as it will very much depend on the source of your data, and in which format it is in.  
Once you get your data into a usable format, it's just a case of following the [influxdb node guide](https://flows.nodered.org/node/node-red-contrib-influxdb), and saving your data.

That's the easy bit... I found writing the influxdb/grafana queries much more of a learning curve!!

This is a screenshot of my entire flow, which writes power data and environmental data to influxdb.

![graf](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/584e42a8a44ab0bc01bfbf22adc6ebb8012e886e.jpeg)
