Yesterday evening, the EmonPi quit posting measurements from both wireless EmonTH and optical pulse counter. There is a tell-tale line in emonhub.log when restarting:
2021-04-06 07:18:15,366 WARNING MainThread Device communication error - check settings
Sure enough, also any attempts to reflash firmware to either RFM69 or emonPi fail:
Start ATmega328 serial upload using avrdude with latest.hex
avrdude -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 115200 -U flash:w:/opt/openenergymonitor/emonpi/firmware/compiled/latest.hex Note: progress written to logfile /var/log/emoncms/firmware.log avrdude-original: Using autoreset DTR on GPIO Pin 7 strace: |autoreset: Broken pipe ERROR: Not in sync
Needless to say, numerous power cycles have been made. Server software has been updated. Mosquitto and emoncms both are working OK. There is a “waiting to connect” (or something like that) on the LCD status display after reboot. Network connection is working, and the emoncms admin web interface (and ssh) are responding just fine. I did not notice any mains power glitch at the time when the unit stopped working.
Is there anything more I can try in order to get the board back to life?
Formatted text - Moderator, BT