Default log-in credentials for latest pre-built emonPi/emonBase ready-to-go SD card.
Note: Before changing any password the root file-system will need to be put into Read Write mode with command
$rpi-rw. When finished put the file-system back to Read Only with
To connect to emonPi / emonBase via ssh:
- Linux / Mac : open terminal window
$ ssh [email protected]or
$ ssh [email protected]<IP ADDRESS>
- Windows: use Putty application
- Google search ‘Raspberry Pi SSH’ for many tutorials, Adafruit has a good guide
SSH: port 22 user,pass:
On older emonSD images ssh password is
raspberry, see emonSD repository & changelog
Once logged in change password with:
In case you’re getting error Authentication token manipulation error when changing password, first mount the filesystem as read-write using
root user password is
emonpimysql2016 and mysql
emoncms user password is
Note: On newer versions of mysql root access is disabled.
Mosquitto MQTT server: port:1883 user,pass:
Generate a new password using
sudo mosquitto_passwd -c /etc/mosquitto/passwd <username>. Then restart mosquitto
sudo service mosquitto restart.
If Mosquitto MQTT authentication details are changed they will also need to changed in:
~/emonpi/lcd/emonPiLCD.py ~/data/emonhub.conf /var/www/emoncms/settings.php ~/oem_openHab/openHab.cfg (symlined to /etc/openhab/configurations/openhab.cfg) and node red using flows editor
Caution changes to
settings.php will be overwritten by emonPi update. Recommended to undertake manual git pull(s) to update instead.
NodeRED: port:1880 user,pass:
change it here:
OpenHab port:8080 user,pass:
change it here: