
2.6 days since the emonpi received/recorded any data is probably the issue.

2.6 days since the emonpi received/recorded any data is probably the issue.
eek! Don’t know how I missed that… Log full of these errors… now to figure out what went wrong during the last update which I think this coincided with!
2021-08-09 12:24:56.613|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2021-08-09 12:26:52.432|WARN|emoncms_mqtt.php|Not connected, retrying connection
2021-08-09 12:26:52.468|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2021-08-09 12:27:28.581|WARN|index.php|406 Not Acceptable|api/Dxn8SylQWqCz7ZerJMpxuWsEJyI3BqT-Utvx3oqO/lights
2021-08-09 12:32:53.834|WARN|index.php|406 Not Acceptable|api/Dxn8SylQWqCz7ZerJMpxuWsEJyI3BqT-Utvx3oqO/lights
2021-08-09 12:34:16.804|WARN|emoncms_mqtt.php|Not connected, retrying connection
2021-08-09 12:34:16.843|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2021-08-09 12:37:22.711|WARN|index.php|406 Not Acceptable|api/Dxn8SylQWqCz7ZerJMpxuWsEJyI3BqT-Utvx3oqO/lights
2021-08-09 12:42:13.970|WARN|index.php|406 Not Acceptable|api/Dxn8SylQWqCz7ZerJMpxuWsEJyI3BqT-Utvx3oqO/lights
2021-08-09 12:44:07.134|WARN|emoncms_mqtt.php|Not connected, retrying connection
2021-08-09 12:44:07.234|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
2021-08-09 12:46:33.859|WARN|index.php|406 Not Acceptable|api/Dxn8SylQWqCz7ZerJMpxuWsEJyI3BqT-Utvx3oqO/lights
2021-08-09 12:51:28.169|WARN|index.php|406 Not Acceptable|api/Dxn8SylQWqCz7ZerJMpxuWsEJyI3BqT-Utvx3oqO/lights
2021-08-09 12:55:22.760|WARN|emoncms_mqtt.php|Not connected, retrying connection
2021-08-09 12:55:22.793|WARN|emoncms_mqtt.php|Connecting to MQTT server: Connection Accepted.: code: 0
The index errors are proabaly because the session has expired and you are not logged in.
Not sure what your setup is. Do you use the emonpi MQTT Broker?
Just try and reboot the emonPi as a starting point.
I’ve rebooted and getting the same errors. Interestingly, what I am seeing is that new data is being posted to emoncms.org but not when viewing through emoncms locally…
EDIT: I’m not using MQTT
If it a standard EmonPi, then yes you are, and as you are getting no data, again, yes you are - that is how the standard setup works. Posted data to emoncms will continue as that uses an HTTP interface.
Can you click on the button Copy as Markdown next to Server Information on the Admin page and paste into a reply here please (no further formatting required).
Ah ok, hadn’t appreciated that it uses MQTT internally. Thanks for your help with debugging this.. the SD card is probably a couple of years old. The status of MQTT is running
emonhub :- Active Running
emoncms_mqtt :- Active Running
feedwriter :- Active Running - sleep 300s 0 feed points pending write
service-runner :- Active Running
emonPiLCD :- Active Running
redis-server :- Active Running
mosquitto :- Active Running
demandshaper :- Active Running
Model :- Raspberry Pi 3 Model B Rev 1.2 - 1GB (Sony UK)
Serial num. :- BD9F93AF
CPU Temperature :- 47.24°C
GPU Temperature :- 47.2°C
emonpiRelease :- emonSD-24Jul20
File-system :- read-write
So, I followed the instructions in the knowledgebase to reset the MQTT credentials and set them to the defaults, rebooted and it’s sprung to life. I’m really not sure what went wrong as I have no reason to have changed the MQTT credentials… but whatever happened this seems to have solved the issue!
Thank you for the pointers to MQTT - I hadn’t appreciated it was used internally