Logging delta pulse counts

Hi,

 

I am new to OEM and EmonCMS.  I have a Kw pulse counting meter and I am trying to log the delta between reads to a feed. I have worked on this for several hours trying to figure out what I am doing wrong.  Here is what I tried to no avail:

1) Offset the feed by putting the negative number of the total pulses already totalized:

+ -436126

2) Logged to feed - kW

Log to feed --> Kw - Boiler Plant

3) Used "Total pulse count to pulse increment : against that feed:

Total pulse count to pulse increment --> Kw - Boiler Plant

4) Logged to another feet that I thought should have just recorded the pulse delta reading:

Log to feed --> KwPD - Boiler Plant

I have tried reorganizing the input processes several ways and no matter what I do I can not get the pulse delta output to my feed so that I can look at a trend of usage in real time without seeing a constant accumulation.

I then subsequently logged to a kWh and a kWh/d feed to log hourly and daily readings.

Any thoughts on what I am doing wrong?

Thanks!

David

 

Schism's picture

Re: Logging delta pulse counts

Don't worry about the offset.

Starting from scratch, if you just put "total pulse to increment" on your input it will give you a delta from the last input to the current one. It uses a feed to keep track of the last value which you won't otherwise use for anything interesting - if you wanted to log the delta itself to a feed, stick "log to feed" on as the second action.

If you want a daily total, put "accumulator" after "total pulse to increment" and then finish with "kwh to kwh/d" which will create the daily pulse count.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.