# Time compare from a cumulative feed (gas m3 meter) howto?

**URL:** <https://community.openenergymonitor.org/t/time-compare-from-a-cumulative-feed-gas-m3-meter-howto/9937>\
**Category:** Emoncms\
**Tags:** smartmeter, gas\
**Created:** [30 January 2019 21:33 UTC](https://community.openenergymonitor.org/t/time-compare-from-a-cumulative-feed-gas-m3-meter-howto/9937 "2019-01-30T21:33:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alco28](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/alco28/32/232_2.png) [@alco28](https://community.openenergymonitor.org/u/alco28)\
**Post date:** [30 January 2019 21:33 UTC](https://community.openenergymonitor.org/t/time-compare-from-a-cumulative-feed-gas-m3-meter-howto/9937/1 "2019-01-30T21:33:53Z")

</div>

Hi,  
I’ve managed to get (all) the data from my smart meter-board in the house by building a data interface (dutch P1 DSMR protocol) and feeding this to MQTT and with node-red to emoncms.

So that’s working nicely.  
Now I managed to get the data from my natural gas consumption. it’s a total use m3; value that I pass every 20 seconds to emoncms. I did some searching on the forum and found a way to display the data on raw and daily consumption with this feeds:

 ![afbeelding](https://community.openenergymonitor.org/uploads/default/original/2X/0/063561e8bb33643cc1d4b0b74828c8d81728bdfb.png)

But now I want to build a time-compaire graphic. something I already have from a normal power feed at my solarsystem:

 ![afbeelding](https://community.openenergymonitor.org/uploads/default/original/2X/4/4e1ef0a3890fbe068b9f4e059a5f214a5b8402de.png)

So how can I create a feed out of my cumulative m3 input from this sensor? I can’t find any examples… and the guide is only telling something for pulse sensors… but I got a total usage data input…

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [5 February 2019 15:29 UTC](https://community.openenergymonitor.org/t/time-compare-from-a-cumulative-feed-gas-m3-meter-howto/9937/2 "2019-02-05T15:29:56Z")

</div>

Hello @alco28, I don’t think its currently possible to create a time-comparison of cumulative data feeds unfortunately. This visualization was a user contribution by @software-monkey, here’s the development history [History for Modules/vis/visualisations/timecompare/timecompare.js - emoncms/emoncms · GitHub](https://github.com/emoncms/emoncms/commits/master/Modules/vis/visualisations/timecompare/timecompare.js)
