I am sure I have not done something right, but any pointers would be appreciated.
My emonPi was purchased in Jan seemed to stop booting correctly about a week ago, had to move it.
Could not get connected to it, web or ssh, so through I would just flash the SD card with a new image.
As it was bought in Jan I went for the emonSD-17Oct19 image.
Unfortunately after that I cant get the emonHub to run.
I also tried a manual update from the web interface and scripts but that did not help, in fact I now do not have any logs visible in the admin and enmonhub sections.
I did SSH in to check that the logs are empty, and they are!
Any suggestions? sorry its a noob question, but lost.
Thanks,
Richard.
Hello @boydo, could you try running an update from the Admin page again today? We made some changes on Friday that should hopefully fix the emonhub issue. When did you flash the card?
My system has been running fine for the last 15days. I had the issue that the emonhub Failed. I have just reflashed the SD card and restored my backup. emonhub failed again.
I have run the update but log says nothing to update
Thanks Trystan for looking at this. Unfortunately I am still not getting any data.
No data on the inputs screen and I know there is a temp sensor connected. No feeds and when looking at the Services section on the Admin web interface the emonhub states Failed, few screen shots below if that helps.
I did however notice something interesting the last time booted emonPi for the first time after I flashed the SD card and I just did it again to confirm. When going directly to the admin web interface, before updates are complete on first boot, I can see data flowing in the inputs section of the web interface. This would indicate to my simple brain that the hardware seems ok?
Below is an image of the Services section pre update.
File “/usr/local/bin/emonhub/emonhub.py”, line 26, in
from interfacers import *
File “/opt/openenergymonitor/emonhub/src/interfacers/EmonHubMqttInterfacer.py”, line 5, in
import paho.mqtt.client as mqtt
**ModuleNotFoundError: No module named 'paho'
SO then I tried:
pip3 install paho-mqtt
Which installed a missing module
After a restart emonhub still would not start… but now saying “missing emonhub.conf” so I recovered that from a recent backup and now seems all working - or certainly emonhub is started and collecting data
Just the 3 commands and the process runs live in terminal, MySolar app starts updating, etc. But of course closing terminal or interrupting process stops emonhub.