Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (48 sloc) 2.85 KB
layout title description date sidebar comments sharing footer published
page
Service Credentials
dev2
2014-12-18 21:49
true
false
true
true
true
emonPi Architecture Overview Fig.1 - emonPi Architecture Overview

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 but file-sysem back to Read Only with $rpi-ro.

{% linkable_title SSH %}

To connect to emonPi / emonBase via ssh:

SSH: port 22 user,pass:pi,emonpi2016

On older emonSD images ssh password is raspberry, see emonSD repository & changelog

Once logged in change password with: $ passwd

In case you're getting error Authentication token manipulation error when changing password, first mount the filesystem as read-write using $rpi-rw.

{% linkable_title MYSQL %}

MYSQL: root user password is emonpimysql2016 and mysql emoncms user password is emonpiemoncmsmysql2016

{% linkable_title MQTT %}

Mosquitto MQTT server: port:1883 user,pass:emonpi,emonpimqtt2016

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 emonPiLCD.py and settings.php will be overwritten by emonPi update. Recommended to undertake manual git pull(s) to update instead.

{% linkable_title NodeRED %}

NodeRED: port:1880 user,pass:emonpi,emonpi2016

change it here: ~/data/node-red/settings.js

{% linkable_title OpenHab %}

OpenHab port:8080 user,pass:pi,emonpi2016

change it here: /etc/openhab/configurations/users.cfg