Emon TXv3 - has gone inactive

For some weeks I have had an emonTXv3 reporting some temperature data back to my emonpi.  All worked well  the emonpi transferred both power usage data and the temperature data from from the emon TX to my emoncms dashboard.   About 10 days the TX data stopped so my dashboard shows the current  power usage and displays the last data it has from the TX.

 

I logged on to emonpi and looked at nodes - It showed my node 8 as "inactive" in orange.  It also reports a node 19 as inactive in orange, despite the fact I have never knowingly had a node 19. (I have been wrestling with an old emontxv2 but not managed to load the sketches yet.

 

I tried powering off the TXv3 and from a visual point of view it did what I expected.  Red LED lit from about 10 seconds, goes off and then re-lights for say 2 seconds and goes off and stays off.  I retried this leaving almost an hour without power, with the same result.  It is powered through an old USB phone charger.

 

I am not sure how to identify the and resolve the issue.  Any advice on what to do next?

 

Thanks

Andy

 

Robert Wall's picture

Re: Emon TXv3 - has gone inactive

What the LED tells me is you don't have an a.c. adapter to monitor the voltage. Without an a.c. adapter, it won't flash on each data transmission so there is no way of knowing whether it has stopped transmitting, or whether the data is not getting through.

There's an outside chance that someone has got another transmitter nearby on the same frequency that's blocking your emonTx, but it would be illegal or faulty (the transmitters are only allowed to send well-spaced short messages exactly so as to avoid this problem), so unless you have a programmer and can investigate further, it's hard to know what to suggest.

Andyevison's picture

Re: Emon TXv3 - has gone inactive

Hi

 

Thanks for the update - I didn't put an AC adapter on it as I monitor my power using the Emonpi located beside my electricity meter / distribution board.  The EmonTX is the cupboard with heating / hot water pipe work & cylinder so it can monitor the temperature of our hot water - which uses (solar thermal).  I presume I could borrow the ac adapter from my emonpi.  I guess from reading other posts there will be an LED pulse every transmission.

 

If I used my ac adaptor does the  Emon TX transmit even with no sensors connected?  Also presume that I should power down the emonpi before disconnecting the ac adaptor, or can I power off the 12v supply and disconnect when any residual power has faded without shutting down the Emonpi?.

 

By programmer I presume you mean the USB UART cable.  I have one but I am no expert in using Arduino interfaces or programmer.  Although I can generally follow instructions or guides if there are any that would help to progress this.

regards.

pb66's picture

Re: Emon TXv3 - has gone inactive

Have you done any updates recently? specifically around 10 days ago?

Is there any possibility the node 8 config (and possibly 19) have been overwritten or changed in emonhub.conf [nodes] ?

Can you post some emonhub.log? check that "loglevel = DEBUG" is set in emonhub.conf first.

If there is no reference to node 8 in the emonhub.log that would suggest it is not being sent or getting lost in en-route. Using the Arduino IDE and the usb programmer it should be possible to view some debug info direct from the emonTx it's an easy thing to guide you through or "borrowing" the AC:AC is a way to check the sketch isn't hanging if the led is found to flash regularly.

Check the logs first though as it is the easiest and least disruptive check.

Paul

Robert Wall's picture

Re: Emon TXv3 - has gone inactive

All this is helpful. The 9 V to the Pi isn't a power supply, it is only a measure of the mains voltage, so you can unplug it and plug it back in again 'live' (but your powers will all read zero while it's absent). Powering up the emonTx with that but without your USB supply plugged in should give you on the LED 10 s on, then 10 flashes, then a flash every 10 s as the emonTx transmits. If the LED comes on and stays on, it's a good indication of faulty soldering to the radio module or a faulty radio module (but if that was the case, we should have seen that before - unless by a weird coincidence you've got the same problem as meso http://openenergymonitor.org/emon/node/11977).

If you have the programmer/USB-UART cable assembly, then if you connect that (instructions here if you've never used it before), run the IDE and click on the magnifying glass icon top right, you'll get the serial monitor. It should give you something like:

emonTx V3.4 DS V1.4 RFM69CW
OpenEnergyMonitor.org
POST.....wait 10s
CT 1 Calibration: 90.90
CT 2 Calibration: 90.90
CT 3 Calibration: 90.90
CT 4 Calibration: 16.67
RMS Voltage on AC-AC Adapter input is: ~242V
AC-AC adapter detected - Real Power measurements enabled
assuming powering from AC-AC adapter (jumper closed)
Vcal: 268.97
Phase Shift: 1.70
NO CT's detected, sampling from CT1 by default
Detected 1 DS18B20..using this for temperature reading
RFM12B Initiated: 
Node: 10 Freq: 433MHz Network: 210
-22 I = 117.37 temperature: 23.70
-74 I = 69.93 temperature: 23.60
-76 I = 41.78 temperature: 23.70
-51 I = 24.90 temperature: 23.80

[etc...]

Ignore all on the line before "temperature" - it's the filter on the current input settling to zero.

Post what you get - that should give some indication of what's happening.

Andyevison's picture

Re: Emon TXv3 - has gone inactive

Hi Paul

The only things I did in hub config was the changes described in the "getting started" guide to send my data  to EmonCMS when I first got my emonpi.​  I have not changed anything since then.

I have just checked the config and log level=debug.

Looking on the config  file, under "Nodes" there are entries for :-

5, 19, 20,21, 22, 9 (TXv2)

There seems to be no reference to Node 8 anywhere in the file.

When I clicked "view log file"  Hub and CMS - all it shows are some entries that appear to be dated 4/1/2016.  Nothing changes when clicking refresh.  At this point everything was working correctly.

Am I checking the right place for log files?

If there is no reference to node 8 looks like a clue :-).

I have not knowingly change any aspect of the configuration once my node 8 working and reporting.  Do I need to add an entry for node 8 and reload the config? 

The display under nodes shows

19, 20, 21, 22 all show as grey and are described as inactive

Nodes 5, 8, &18 are in blue.  5 is active (Emon PI)

Nodes 8 & have no description and show as inactive in orange (Sorry I mentioned node 19 in my original post but it was actually 18 that I meant.

Does the above help with the diagnosis?

Tahanks - Andy

 

 

 

​There are a couple of other things that seemed very odd

 

Andyevison's picture

Re: Emon TXv3 - has gone inactive

Hi

 

For information - I struggled to find time to follow this up and came back to it yesterday.

 

Much to my pleasant surprise it all seems to have started working again, although I Have no idea why.

 

Regards

Andy

Robert Wall's picture

Re: Emon TXv3 - has gone inactive

My money would be on a faulty phone charger.

Comment viewing options

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