Moved to: http://www.enerserve.eu/en/service/smartpi.htmlhttp://www.enerserve.eu/en/service/smartpi.html
Umgezogen nach: http://www.enerserve.eu/de/service/smartpi.html
The following manual is only for the old SmartPi version 1. If you have a SmartPi 2.0 or higher, please use the link above.
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.
Installation
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 https://repro.enerserve.eu/packages/Release.key && apt-key add Release.key && rm Release.key
echo "deb https://repro.enerserve.eu/packages 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
http://files.enerserve.eu/smartpi/smartpi_0.9.1-stretch.deb
or
http://files.enerserve.eu/smartpi/smartpi_0.9.1-jessie.deb
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.9.1-stretch.deb
or
sudo dpkg -i --force-architecture smartpi_0.9.1-jessie.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:
http://files.enerserve.eu/smartpi/smartpi.7z
After downloading the .7z
file, unzip (Windows: http://www.7-zip.org/) 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.
Reboot
The webpage and API can accessed by: <ip-adress>:1080