Community
OpenEnergyMonitor

Community

EmonTx stops sending data - no led activity until reboot

Tags: #<Tag:0x00007fc921fae460>

Hi there, first post.

Just bought an emonTx V3, sending data (4xSCT13 and AC-AC sensor) to my Pi3 with RFM69Pi, using pre-loaded SD card. Planning to monitor EV charging and going to buy/build an openevse charger as soon as I can fix issues (my goal is solar PV diversion for EV charging).

So, after initial emoncms setup and emontx wiring everything worked fine in the beginning. After a few days I had to reboot the emonTx since it stopeed sending data. Then again the following day. And again. Swapped the AC-AC with another one, and again same failure. Added an usb power supply and after a few more days still frozen.

As soon as I replug the power adapter I get data logged on emoncms. Rebooting the raspberry doesn’t solve issues.

What should I try next? I have access to a battery holder and a usb to serial programmer too. Unsure if it’s a malfunctioning unit or something I’m doing wrong.

Thank you for your help

Giovanni

There have been a couple of similar reports. The suggestion by @Robert.Wall is to add a 5V USB supply. Note the comment on the jumper.

Thanks for the report @paganig as @borpin mentioned we are currently investigating this issue.

If you are happy to compile and upload firmware it would be interesting to hear if the following addition of a watchdog to the firmware fixes the issue for you https://github.com/openenergymonitor/EmonTxV3CM/tree/watchdog

While it doesnt fix the underlying issue which we are still trying to get to the bottom of, it should mean the EmonTx recovers, you will be able to see the number of times the EmonTx resets if you record the ‘Msg’ message count to a feed.

@paganig we’ve now released a new version of the EmonTx firmware that includes the watchdog feature. If you are able to upload it to your EmonTx to test that would be great. If you can record the Msg count input alongside mains voltage that would be great. It would be really useful if you can report the number of times the Msg count resets over time and the voltage at these times so that we can better understand whats causing this issue.

The other perhaps more likely cause of this issue is related to the firmware for the radio module on the EmonTx, if you are aware of any RF events that might be interfeering with the EmonTx, e.g other 433MHz devices in the home, that correlate with the crashes please let us know.

Thank you all for your suggestions.
Removed jumper, after one week It stopped working again, at 3am, so no other 433mhz devices active (garage door opener is the closest 433mhz remote). Github links returns a 404 error, I’ll try to update in the next days

Source code is here: https://github.com/openenergymonitor/EmonTxV3CM/

The watchdog timer is in release 1.3: https://github.com/openenergymonitor/EmonTxV3CM/tree/1.3.0

There is a later release https://github.com/openenergymonitor/EmonTxV3CM/releases

I think I might be having the same problem - my new emonTX 3.4 stopped working at 9pm last night, 6 days after it was setup. It’s powered using the AC-AC adaptor from the shop, and is monitoring one CT clamp and DS18B20 all from the OEM shop. When I checked the emonTX this morning and connected via USB/UART cable, it woke up and started transmitting straight away. The emonTX is currently running v1.2 which doesn’t flash the LED every 10 seconds, so harder to tell when it’s working or not working. I’ll try loading the new 1.4 code and monitor.

I’ve now updated my emonTX to use continuous monitoring v1.4 and will monitor the status.
I had hoped I could just upload the v1.4 firmware.hex file that @borpin flagged in post #7, and after eventually getting this uploaded using avrdude on Windows 10, it showed version number 1.20 !
So I downloaded and compiled using Arduino IDE, uploaded to the emonTX via USB/UART and this time it showed as v1.4.0. Fingers crossed.

I have raised the versioning as an Issue.

Hi
Same problem here
Did you solve updating emontx ?
Never had problem for about 6 8 month, now just started :disappointed_relieved:
Thx

Emonpi updated to 10.1.13 but image of 2017. I need to reboot emontx to solve. Reboot emonpi not solve

No new 433 gadget installed in my house recently

Could it be related to big change apported in emonpi ? May be after 10.1 ?