Turn your Raspberry Pi into a smart meter

SmartPi

The SmartPi 3.0 expansion module extends the Raspberry Pi
by interfaces for voltage measurement and non-contact current
measurement and thus becomes a fully-fledged smart meter that
controls and records power consumption and power generation
and makes it available in the network or the Internet.
 
With SmartPi 3.0, the power consumption data can be conveniently
recorded, evaluated and used as a basis for energy-saving measures.
With SmartPi you reduce energy costs in your company and at home.
 
The current is measured contactlessly via current terminals in order to
measure currents up to 100A in the standard version. The jumpers can
be easily reconnected to any cable conversion converter with a secondary
current of 1A. This allows currents up to 700A and more to be measured.
 
The SmartPi 3.0 has 3 inputs for current measurement (L1,L2,L3)
and three inputs for voltage measurement. This allows measurements
on all three phases and even the neutral conductor. The SmartPi 3.0
and Raspberry Pi can be powered via the voltage input. An external
power supply is not required.
 
If the voltage measurement is connected, the direction
of energy flow can be determined and the SmartPi is
a fully-fledged bidirectional SmartMeter.

SmartPi 3.0 measures all important data:

  • Current
  • Voltage
  • Power
    • Active power
    • Reactive power
    • Apparent power
  • Energy consumption
  • Energy production
  • Power consumption
  • Power production
  • Frequency
  • Cos Phi

Web interface, database, MQTT, REST and node-red control

Open Source Smart Meter 3.0

The measurement data are read out every second and stored
in an SQLite database every minute. Optionally, it can also be
stored in an external Prometheus database.
 
The built-in web server of the SmartPi provides the measurement data
graphically processed conveniently via browser or tablet / smartphone.
The SmartPi has an MQTT and REST interface for integration into other
energy management systems. In addition, CSV files of the energy
measurement data can be stored on other servers via FTP.
 
Separate node-red modules allow reading out the current measured
valuesand integration into flows. For example, you can have an e-mail
sent to you if services are exceeded or not reached. There is also a
separate node red module for the relay. The optional evaluation
via the nD-enerserve energy cloud rounds off the package.
Screenshot Node-Red Integration
Proprietary Node Red modules enable integration into more advanced control processes
The measurement data are read out every second and stored
in an SQLite database every minute. Optionally, it can also be
stored in an external Prometheus database.
The SmartPi software is written in Go, open source and can be found on


Ideal to use SmartPi in your own projects or to extend the range of functions.

Examples that can be built with the SmartPi:

  • Energy monitor via network and Internet
  • Mains frequency monitoring
  • Mains voltage monitoring
  • Alarms at power consumers
  • Alarms for increased consumption
  • Integration into energy management systems
  • Cost control

All interfaces to the Raspberry Pi are galvanically isolated and ensure
maximum safety. The SmartPi 2.0 is equipped with a battery-buffered RTC
(Real Time Clock) for reliable operation of the SmartPi 2.0 even without a
network connection. The entire system is powered from the measuring
voltage via the integrated power supply unit. This eliminates unreliable
handling of power supplies on Micro_USB sockets. The housing has a
mounting bracket on the back for mounting the SmartPi 3.0 on the DIN rail.
 
The module is compatible with all Raspberry Pi models from version B+ 1.2
and can be purchased as a single module, kit or fully assembled device.
The SmartPi has an MQTT and REST interface for integration into other
energy management systems. In addition, CSV files of the energy
measurement data can be stored on other servers via FTP.
 
Separate node-red modules allow reading out the current measured
values and integration into flows.For example, you can have an e-mail
sent to you if services are exceeded or not reached. There is also a
separate node red module for the relay.
 
The optional evaluation via the nD-enerserve
energy cloud rounds off the package.

Softwarefeatures

  • Reads current, voltage, power and many other data every second.
  • Store values in the database every minute
  • MQTT support
  • Prometheus support (not yet documented)
  • Node-Red Integration
  • CSV FTP upload
  • Web interface for display and configuration
  • UMTS support

Features/Specifications:

  • Raspberry Pi compatible connector
  • Raspberry Pi compatible size
  • Galvanic isolation
  • Integrated power supply from the voltage measuring path
  • via stable terminals (optionally 2A DC current)
  • Open source drivers and API
  • Current measurement on 3-phase
  • Connection for cable converter with a secondary output of 50mA and 1A
  • Screw terminals for connecting the current and voltage measurement
  • Compatibility with all Raspberry Pi models
  • buffered RTC (the Raspberry Pi continues to run stably)
  • even without an Internet connection after a power failure)
  • Additional status LED
  • High-quality housing with top-hat rail mounting

Technical characteristics

  SmartPi-Modul SmartPi with RaspberryPi
     
Voltage 0-390V eff.
 

3-phase or 3 x 1-phase

Current depending on the current transformers (0-100A with the supplied transformers)
  3-phase (contactless with current transformers)
Precision 2%
Consumption 0,03W 10W
Connectors Raspberr Pi Connector LAN, 4x USB-Host, Audio
  voltage measurement, current measurement: screw terminals
Used pins

3,3V, 5V, I2C1_SDA, I2C1_SCL, GPIO4
GPIO14, GPIO15:
GPIO18: Relais
GPIO27: LED

 
 Dimensions (LxBxH) 108x90x55mm 108x90x55mm
     

FAQ