RFM69Pi stops updating/freezes

It’s the RFM69Pi (I believe - not sure what the latter two are?)

I"m using a modified version of the emon-pi branch. My changes are on github here: GitHub - adpeace/emonhub: emonHub is the link between your inputs and emonCMS

My changes are mostly around emonhub config handling (removing a lot of code) - the interfacers are unmodified.

I was surprised to be able to connect to the serial console too but it definitely works - I can also connect to it and see the packets whilst emonhub is running (and still posting to emoncms) using screen as root. Screen is GNU/Screen: Screen - GNU Project - Free Software Foundation - I connected using screen /dev/ttyAMA0 38400. Maybe the two are racing to read input and so some stuff gets through to emoncms and others to screen?

However, I’m pretty sure my actions did cause the module to come back to life - it had been dead for days previously and suddenly started working. It may have been one of the other commands, admittedly - I issued other commands prior to ‘q’ thinking they hadn’t worked.

Fair enough - my issue may also be different to the others’. It doesn’t seem to happen very often and I can’t reproduce it deterministically either. It was bought last November from the OEM shop but as you say it could have anything on it. When I get more time, if there is a sketch you prefer to test with, I can flash it with that.

Not sure about the LED. If it happens again I’ll check it.

Whatever it was shipped with, it’s a v3 device. I don’t think it’s the emontx that is problematic since in all cases restarting emonhub has fixed this.

Here’s an example packet:

OK 10 147 1 0 0 0 0 0 0 184 95 184 11 184 11 184 11 184 11 184 11 184 11 1 0 (-31)

My main interest is in helping to find/fix any issues - this isn’t in a critical installation so I’m not too worried about supporting it.