Moved to: http://www.enerserve.eu/en/service/smartpi/faqs.html
Umgezogen nach: http://www.enerserve.eu/de/service/smartpi/faqs.html
Moved to: http://www.enerserve.eu/en/service/smartpi/faqs.html
Umgezogen nach: http://www.enerserve.eu/de/service/smartpi/faqs.html
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.
The SmartPi expansion module is connected via the GPIO port of the Raspberry Pi. The power supply for the SmartPi expansion module is via the Raspberry Pi. The simplest connection is via a 16-pin flat-ribbon cable. Figure 1 shows the connections of the SmartPi expansion module.
SmartPi-extension module | Raspberry Pi connector |
+3v3 | 3V3
Pin1 |
SDA | SDA
Pin3 |
SCL | SCL
PIN5 |
RESET | GPIO4
PIN7 |
GND | GND
PIN9, PIN6, PIN14 |
HSA | GPIO17
PIN11 |
HSD | GPIO27
PIN13 |
IRQ0 | GPIO22
PIN15 |
+5V | 5V
PIN2 |
CF3 | GPIO18
PIN12 |
IRQ1 | GPIO23
PIN16 |
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.
The assembly of the SmartPis is very easy for practiced hands.
Slide the red side wall with the recesses for USB and the voltage measurement from above into the housing base as shown in figure 2. The second side wall is not yet assembled.
The next step is to place the SmartPi board on the bottom of the housing shell. From above, the spacer bolts are screwed in as shown in Figure 3.
The threads of the spacers are slightly too long.
Shorten the thread with a pair of scissors or pliers to the correct length.
The hole in the upper left of the connection header must remain free, so that the connection cable has sufficient space.
Press the ribbon cable as shown in Figure 5 into the pin header of the SmartPi board.
Now mount the Raspberry Pi onto the spacer using the threaded screws.
The flat ribbon cable is now pressed onto the pin header of the Raspberry Pi.
Finally, the other side part can be pushed into the lower part from above.
Make sure that the slot for the SD card is down. A short check shows whether the side part is installed correctly. For this the slot of the SD card holder must be visible through the housing slot.
Now, press the red upper shell on one side into the lower part and press the upper shell on the other side into the lower part.
Bend the emblems to the outside.
The SmartPi is ready (Figure 7).
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.
Connect the SmartPi following scheme in order to transform your Raspberry Pi into a full functional smart meter:
Please note: The arrow on the current sensor shows the current flow in production direction. If the sensor is applied conversely, consumption appears negative. Turn the sensor or change the value of change_current_direction
in the configuration file from 0 to 1.
Connection for split core current sensors
Connection for voltage measurement
Danger. Please note that only persons with the appropriate training and expertise are allowed to connect the voltage measurement. Work on mains voltage is very dangerous.
All other can change the value of measure_voltage
to 0 and set the value voltage
manually.
After installation type http://<ipaddress:1080>
in your web browser.
You see the startpage with actual values and a linechart of power distribution.
Configuration file:
The configuration of the SmartPi is stored in the file /etc/smartpi and looks like the following:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
[base] serial="smartpi160812345" name="House" [location] lat=52.3667 lng=9.7167 [database] dir="/var/smartpi/db" file="smartpi.rrd" [device] i2c_device="/dev/i2c-1" shared_dir="/var/tmp/smartpi" shared_file="values" power_frequency=50 measure_voltage_1=1 measure_voltage_2=1 measure_voltage_3=1 voltage_1=230 voltage_2=230 voltage_3=230 change_current_direction_1=0 change_current_direction_2=0 change_current_direction_3=0 [ftp] ftp_upload=1 ftp_server="ftp.enerserve.eu" ftp_user="test" ftp_pass="test" ftp_path=smartpi/ [csv] decimalpoint=, timeformat=2006-01-02 15:04:05 [webserver] port=1080 docroot="/var/smartpi/www" [umts] umts=0 umts_apn="" umts_pin="" umts_username="" umts_password="" |
Description:
serial | Serial number of SmartPi (will be send in JSON-File) |
name | Name of SmartPi (will be send in JSON-File) |
lat, lng | Location (will be send in JSON-File) |
[database] dir, file |
Path and location of the integrated rrd database |
i2c_device | Device of the I2C |
shared_dir, shared_file | Location of the file for sharing actual values to other processes |
power_frequency | Frequency of the grid (important for right values) |
measure_voltage | If it is 1 the voltage will be measured. If it is 0 the SmartPi uses the listed voltage in [voltage] |
change_current_direction | If the value is 1 the power measurement will be inverted |
ftp_upload | If value is 1 ftp upload of csv-file is enabled. If value is 0 the program will do nothing. |
ftp_server, ftp_user, ftp_pass | Login details from the ftp-server. (for later use) |
ftp_path | Directory path for the SmartPi csv files. The last directory is the serial number. |
[csv] decimalpoint, timeformat |
Set the decimal separator and timeformat for the csv file. |
port | Port of the integrated webserver |
docroot | Document root of the integrated webserver |
[umts] | Huawei E3131 supported |
umts | 1=active |
umts_apn | APN |
umts_pin | Your PIN |
umts_username | APN username |
umts_password | APN password |