SmartPi Installation

SmartPi – Turn your Raspberry Pi into a SmartMeter

The SmartPi expansion module extends the Raspberry Pi with interfaces to measure voltage and current and turns it into a smart meter.

The SmartPi has an integrated webserver and a REST-Api.
Now, the SmartPi is under heavy development.


There are three options for installation. Installation from repo, deb archive or installation of a prepared image.

1. Installation via repo:

Please do the following steps:

sudo su
apt install apt-transport-https
wget && apt-key add Release.key && rm Release.key
echo "deb jessie main" > /etc/apt/sources.list.d/enerserve.list
apt-get update
apt-get install smartpi

For future updates only the following command is sufficient:
apt-get install smartpi

2. Installation from deb archive:

Download the SmartPi-Archive from and copy to your Raspberry Pi.

sudo apt-get update
sudo apt-get install sqlite3 ppp wvdial libpam0g

Then you can install the SmartPi-Software:

sudo dpkg -i --force-architecture smartpi_0.6.4.deb

Start your SmartPi with:

smartpireadout &
smartpiserver &

Or reboot.
The webpage and API can accessed by: <ip-adress>:1080


3. Installation of the prepared image

Download the prepared image from the following location:

After downloading the .7z file, unzip (Windows: it to get the image file (.img) for writing to your SD card.

Write the image file to your SD card. On the official website there are guides for your operating system:

Please insert the sd card into your smartpi and start your system.
Use the following userdata for the first login:
User: pi
Password: smart4pi

To avoid hacker attacs it is highly recommended to change your password.

To adjust the file system to the sd card please enter
sudo raspi-config
choose expand filesystem and follow the instructions.


The webpage and API can accessed by: <ip-adress>:1080