Service Credentials
Default log-in credentials for emonPi/emonBase running latest emonSD based SD card.
SSH
To connect to emonPi / emonBase via ssh:
- If running emonSD-30Oct18 or newer SSH is disabled by default
- SSH can be enabled by either:
- Creating a file called
ssh
in the FAT/boot
partion on the SD card. This can be done externally using a card reader + PC or using a USB keyboard + HDMI screen to login to the Pi and create the ssh file:sudo touch /boot/ssh
. Then rebootsudo reboot
- Or selecting the
SSH Enable
LCD menu item then pressing and holding the emonPi LCD push-button:
- Creating a file called
Once enabled, SSH can be disabled in the same way:
- 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.
Credentials:
Username: pi
Password: emonpi2016
Old image password: raspberry
Once logged in change password with:
If you see the error: Authentication token manipulation error when changing password, first mount the filesystem as read-write using $rpi-rw
.
If you wish to disable SSH run:
MYSQL
password: emonpiemoncmsmysql2016
MQTT
Mosquitto MQTT server:
username: emonpi
password: emonpimqtt2016
Generate a new password using:
sudo mosquitto_passwd -c /etc/mosquitto/passwd emonpi
Then restart mosquitto:
sudo service mosquitto restart
If Mosquitto MQTT authentication details are changed they will also need to changed in:
/opt/openenergymonitor/emonpi/lcd/emonPiLCD.cfg /etc/emonhub/emonhub.conf /var/www/emoncms/settings.ini .. or: /var/www/emoncms/settings.php
NodeRED
NodeRED is no longer installed as standard. It can be installed if required.
username: emonpi
password: emonpi2016
Change settings here: ~/data/node-red/settings.js
OpenHab
OpenHab is no longer installed as standard. It can be installed if required.
username: emonpi
password: emonpi2016
Change settings here: /etc/openhab/configurations/users.cfg