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 reboot sudo reboot
    • Or selecting the SSH Enable LCD menu item then pressing and holding the emonPi LCD push-button:

Once enabled, SSH can be disabled in the same way:

Credentials:

SSH Port: 22
Username: pi
Password: emonpi2016

Old image password: raspberry

Once logged in change password with:

$ passwd

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:

$ sudo /opt/openenergymonitor/emonpi/lcd/./disablessh.sh

MYSQL

username: emoncms
password: emonpiemoncmsmysql2016

MQTT

Mosquitto MQTT server:

port: 1883
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.

port: 1880
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.

port: 8080
username: emonpi
password: emonpi2016

Change settings here: /etc/openhab/configurations/users.cfg