# SDM120C Counter

**URL:** <https://community.openenergymonitor.org/t/sdm120c-counter/2469>\
**Category:** Emoncms\
**Tags:** emoncms, emonpi\
**Created:** [12 December 2016 09:02 UTC](https://community.openenergymonitor.org/t/sdm120c-counter/2469 "2016-12-12T09:02:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![loop\_1](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/l/ec9cab/32.png) [@loop\_1](https://community.openenergymonitor.org/u/loop_1)\
**Post date:** [12 December 2016 09:02 UTC](https://community.openenergymonitor.org/t/sdm120c-counter/2469/1 "2016-12-12T09:02:12Z")

</div>

HI!  
i have an SDM120C net analyzer that i use with my RasPi in order to read the power and the counter via ModBus.

Moreover, i send this data to my [emoncms.org](http://emoncms.org) account and until here it’s all perfect…

In my emoncms account i have two inputs: instant power and counter

I have create two feeds, one for power and one for the counter but i can’t configure the counter in order to have a daily consumption!

I use the “x” function set to 0.001 in order to have kWh from Wh, i create a log and after that i use the function “Wh Accumulator” but i cannot see the daily consumption i have a number with 4 number… too high!

how i can configure this counter?

PS: the counter isn’t an optical counter but a real counter in Wh

---

<div class="post-metadata">

**Author:** ![loop\_1](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/l/ec9cab/32.png) [@loop\_1](https://community.openenergymonitor.org/u/loop_1)\
**Post date:** [14 December 2016 10:03 UTC](https://community.openenergymonitor.org/t/sdm120c-counter/2469/2 "2016-12-14T10:03:10Z")

</div>

Anyone has this issue??

---

<div class="post-metadata">

**Author:** ![pb66](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/pb66/32/27_2.png) [@pb66](https://community.openenergymonitor.org/u/pb66)\
**Post date:** [14 December 2016 15:08 UTC](https://community.openenergymonitor.org/t/sdm120c-counter/2469/3 "2016-12-14T15:08:44Z")

</div>

I do not think this is unique to your chosen device and the principle is pretty much the same as a pulse count except an “actual counter” probably won’t ever reset or roll over, negating the need for the “WhAccumulator” a simple “log to feed” would work just fine.

See [How to get correct kWh/W values from Pulse](https://community.openenergymonitor.org/t/how-to-get-correct-kwh-w-values-from-pulse/2443) for a recent discussion on getting kWhd and power readings from a pulse count, as far as emoncms is concerned it is an ever increasing number, it doesn’t know or care if it’s a pulse counter or an actual meter reading.
