SmartPi - Turn your Raspberry Pi into a smart meter

SmartPi - Turn your Raspberry Pi into a smart meter

The Smart Pi expansion module extends the Raspberry Pi with interfaces to measure voltage and current in a contactless manner. It enables to control electricity production consumption and turns the Raspberry Pi into a full featured smart meter. All measurement data can be stored and are accessable via the local network or Internet for disposal.

Current is measured contactless via inductive current sensors. In the standard version currents up to 100 A can be measured. A simple changeover of the jumper enables the connection of any cable re-converter with a secondary current of 1A. This allows currents of up to 700A and more to be detected.

The SmartPi 2.0 has 4 inputs for current measurement (L1, L2, L3, N) and three inputs for voltage measurement. This allows measurements on all three phases and even the neutral conductor. The SmartPi 2.0 and the Raspberry Pi can be powered by the voltage input. An external power supply is not required.

If the voltage measurement is connected, the direction of the energy flow can be determined and the SmartPi is a full-fledged bi-directional smart meter..


Other units:

  • Current
  • Voltage
  • Power
  • Active power
  • Reactive power
  • Apparent power
  • Energy consumption
  • Energy generation
  • Power consumption
  • Power generation
  • Power frequency
  • Cos phi


The interfaces to the Raspberry Pi are electrically isolated to ensure maximum safety.

Website and REST interface

Open Source software is written in Go and includes all the necessary drivers, a web server with web page and a REST interface.

All measurement data can be logged and displayed on tablet or smartphone. The REST interface allows to integrate the SmartPi into self-made applications and apps.

Application examples for the SmartPi:

  • Energy Monitor via network and Internet
  • Monitoring of power frequency 
  • Power monitor
  • Alarms for electricity consumers
  • Alarms at increased consumption
  • Integration into energy management systems
  • Cost control


Software features:

  • Reading current, voltage, power, and many other data
  • Minutes store the values ​​in the database
  • MQTT Support
  • Prometheus support (not yet documented)
  • 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
  • OpenSource driver and API
  • Current measurement at 3-phase + neutral conductor
  • Connection for inductive current sensors with a secondary output of 50mA and 1A
  • Screw terminals for connection of current and voltage measurement
  • Compatibility with all Raspberry Pi models 
  • Battery-buffered RTC (the Raspberry Pi continues to run even without an Internet connection after a power failure)
  • Integrated RS-485 interface for connecting Modbus devices (software support available soon)
  • Relay for switching
  • Additional status LED
  • Valuable housing with DIN rail mounting




Informations for installation:
Smartpi on github:





You can buy it at: