I have a problem with an emonpi / emontx configuration that I set up several months ago for an NGO I work for as a pilot sub-metering project. Our aim would be to extend this approach to the whole building bearing in mind the limitations of the number of TXs connecting to the pi.
Basically, the system works fine for a number of days (usually between 1-3 weeks) and then the data stops reaching emoncms.
This is the status of emonhub and mqtt when the system is down:
When looking at the logs, they show that the MQTT thread is dead.
I’ve read on other topics that the solution to this problem is a firmware update which I carried out, however, the issue persists. This is the server info I have:
After I restart the emonhub service everything seems to be back to normal:
But obviously I’d like to avoid having to do this manually
The setup is one emonPi sitting on my desk, while three emonTXs are in the distribution board of the NGO’s warehouse. All hardware and software is stock, unmodified apart from the emonpi’s firmware update which I carried out according to your guide.
The setup monitors three phases in a warehouse which has a small server room fed by UPS C and a Yurt outside that has heating - this is my dashboard:
You can see that the last time it stopped was around 0100 19/04/17 and it’d been running since 05/04/17. After the restart the dashboard is getting data again.
If you could guide me towards a solution it would be much appreciated. Also, would someone check please that my firmware update succeeded as necessary (based on the server info posted)?
thanks a lot,