Community
OpenEnergyMonitor

Community

EmonTx crashing, any way to get logs?

I’m trying to work out why my new emontx keeps crashing. It’ll work for a day or couple of days then stop sending updates. Alas I can’t see any logs being sent to the emonpi from it unless I’m missing something?

Absolutely nothing unusual is going on when it dies - the last update currently was 22 hours ago, so about 6pm… maybe slightly increased power usage when I got home from work? Only a power cycle seems to fix it… there are no lights showing (the blue light goes out a few seconds after power cycling and doesn’t appear to come back on).

Welcome, Tony, to the OEM forum.

I don’t think the emonTx has a blue light anywhere?

And to answer the question, the emonTx only sends data to the emonPi (via the GSM radio), it does not store any data, nor send any other information.

Both @TrystanLea and I tested the new library extensively before it was released (I’m guessing that you bought your emonTx after 18th October just gone), but the sketch I used isn’t the one that’s factory-loaded in the emonTx.

Mine was shipped on the 23rd, so would I presume be the latest version.

I’ve seen some threads that have had increased reliability by adding a 5v power source so I’ll try that.

Sorry to heat that the EmonTx is crashing @TonyHoyle, it shouldn’t crash on the ACAC adapter alone but let us know if its any better on USB power.

Are you sure the LED is blue? The LED should be red so I wonder if something went wrong there that we missed?

It is red… I clearly remembered blue but maybe got confused with the emonpi or something.

USB power added. It’s just a wait now to see if it fails again…

@TonyHoyle
I’m looking for a possible cause of your stoppage. Can you tell me exactly what hardware you have;
a.c. adapter model no, and whether you have anything else connected apart from c.t’s.

From what I’ve been able to determine so far, there’s not a single obvious cause.

3 c.t’s, a recently purchased emonTx feeding to an emonpi in another room (which has been running without issue for years, but I needed 3 inputs so switched to this configuration).

The AC adapter was supplied with the emonpi… it’s an IdealPower model DB-06-09. It says its output is ‘9VAC Max. 6VA’

Since adding the USB supply the emontx has so far been stable.

I note the AC voltage around here is all over the place (15v variation in a few minutes sometimes) but I wouldn’t expect that to be an issue assuming the emontx is just deriving 5vdc from it… I’d never have even noticed if I hadn’t started graphing it :stuck_out_tongue:

That might turn out to be significant. The a.c. adapter actually goes directly to the 3.3 V supply, but in order to minimise the amount it disturbs the waveform that is being measured, there’s a very delicate balancing act between getting enough power to operate the emonTx and not drawing so much current that the wave shape is distorted too much.

Thanks for that information.