The Inputs on my emonPi have stopped updating, and just show “n/a NULL”. I am not sure how to get them working again. I have rebooted the Pi, but that didn’t help.
Hello @haffle, the MQTT broker should have been on already as its the way the data is transferred internally between a software component called emonhub (which receives the data from the emonpi) and emoncms.
@TrystanLea - I didn’t (knowingly) change any settings other than the MQTT password, by typing sudo mosquitto_passwd -c /etc/mosquitto/passwd emonpi and sudo service mosquitto restart via ssh. Maybe that was the wrong thing to have done if emonhub (something that I have not been particularly aware of before) relies on MQTT. Should I change it back again and see what happens?
Evidently changing the MQTT password created more problems than I had anticipated, and so I put it back to what it was - both via sudo mosquitto_passwd -c /etc/mosquitto/passwd emonpi and by changing it within emonhub.
That immediately brought the Inputs back to normal and are updating. All very embarrassing, but at least I have got out of that hole - with assistance from here… So thank you all !
I will now try to determine the correct nomenclature to use for the MQTT messaging, and will revert back later.
Good point, of course, that should then do it @haffle if you want to try the different password.
I will update the documentation to include these steps