Wh reset on it's own?

Discuss anything which doesn't fall into the other categories here.
Post Reply
eric512
Posts: 19
Joined: Fri Feb 24, 2012 1:16 am

Wh reset on it's own?

Post by eric512 » Sat Aug 19, 2017 6:55 pm

I'm running btmon.py reading a ECM-1240. Long time user, and sometimes a wh counter will reset back to zero.

Any ideas?
ben
Site Admin
Posts: 4254
Joined: Fri Jun 04, 2010 9:39 am

Re: Wh reset on it's own?

Post by ben » Mon Aug 21, 2017 10:52 am

eric512 wrote:I'm running btmon.py reading a ECM-1240. Long time user, and sometimes a wh counter will reset back to zero.

Any ideas?
Counters on the ECM-1240 are 5 byte counters (for CH1/CH2) and 4-byte counters (for AUX1-5), they roll over every 256^5 and 256^4 respectively.

What format are you using? It might be worth looking into ecmreadext if you're not using that already as it provides watt hour deltas between packets.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
eric512
Posts: 19
Joined: Fri Feb 24, 2012 1:16 am

Re: Wh reset on it's own?

Post by eric512 » Tue Aug 22, 2017 3:06 am

Thanks Ben.

Last two counters on AUX reset near 1189589 and 1189246.

Tried ecmreadext in the btmon.cfg, but saw same channels being spit out to Emoncms, which I'm running locally. Is there something on the ECM-1240 to change for ext channels?
ben
Site Admin
Posts: 4254
Joined: Fri Jun 04, 2010 9:39 am

Re: Wh reset on it's own?

Post by ben » Tue Aug 22, 2017 10:02 am

eric512 wrote:Thanks Ben.

Last two counters on AUX reset near 1189589 and 1189246.

Tried ecmreadext in the btmon.cfg, but saw same channels being spit out to Emoncms, which I'm running locally. Is there something on the ECM-1240 to change for ext channels?
Given you're a long time user, it sounds like the unit is having some issues.

Have you installed F/W 1.035 from our software section? http://www.brultech.com/software.

It stores the counters in new memory locations in case the ECM-1240 is unable to save its counters to its current location.
Ben
Brultech Research Inc.
E: ben(at)brultech.com
eric512
Posts: 19
Joined: Fri Feb 24, 2012 1:16 am

Re: Wh reset on it's own?

Post by eric512 » Tue Aug 22, 2017 1:38 pm

After more reading, looks like btmon only uses the extended ecm read for DB writes, not sending to Emoncms. I'll have to dig into the code a little more to understand.

Yup, firmware is a 1.031. I'll do an upgrade is see what happens. Might be a while before I report back.

Thanks Ben!
Post Reply