Make.OpenData.ch Smart Meter Interop

A make.opendata.ch, Energy Hackdays 2020 (#EnergyHack2020) project.

Work in progress, so far we have a rough concept only.

Challenge

Read your own smart meter and unleash its consumer information interface (CII).

Team

Hermann and @tamberg.

Idea

Provide a "universal" adapter from smart meters to home automation / IoT platforms.

Requirements

  • Physical adapter
  • Minimal configuration, Web UI
  • Allows a range of smart meter models
  • Allows a range of home automation IoT platforms
  • Keeps (personal) smart meter data in the local network

Proposed solution

  • Connected device with Web UI
  • Simple information model
  • Serial or Ethernet input
  • MQTT or HTTP based
  • Template mechanism

How to get there?

Proof of Concept (PoC) prototypes, sketched out below as step-by-step instructions with TODOs to be filled in.

  • PoC 0 to get an idea about how the smart meter interface works at all.
  • PoC 1 to get an idea about the complexity of smart meter / IoT platform interfaces.
  • PoC 2 to show what a simple information model and templating mechanism could look like.

Open questions

  • Can any (custom) library implementing DLMS (https://www.dlms.com/) be licensed as open source?
  • Can a "universal" adapter be simpler than using home automation IoT platform specific plugins?

PoC 0: Smart Meter, Serial USB

Get the hardware

Read data from the smart meter

PoC 1: Raspberry Pi & Node-RED

Get the hardware

Set up the software

Open the configuration Web UI

Read data from the smart meter

Publish data to the OpenHAB platform

PoC 2: Arduino & MQTT

Get the hardware

Set up the software

  • TODO: implement firmware .ino
  • TODO: define simple information model
  • TODO: develop moustache-like templating mechanism
  • TODO: On your computer, e.g. mqtts://test.mosquitto.org/

Open the configuration Web UI

  • TODO: https://LOCAL_IP/

Read data from the smart meter

Publish data to any MQTT broker

Resources

IoT

IoT platforms

Home automation

Arduino

Raspberry Pi

Smart meters

DLMS

M-Bus

Optical

License