Challenge Project

18_Interoperability plug-test for smart meter’s local CII

Empower citizens to use their own energy data. Using the smartmeter's local interface for visualisation and automation

⛶  Fullscreen ↓  Download


Smart Meters currently being installed in Switzerland serve mainly to liberalize the electricity market, but they hardly deliver the promised energy savings because they do not yet provide customers with easy access to their data. StromVV §8a defines the characteristics of smart metering systems requiring a local customer interface (CII), which should allow customers to easily access their own consumption data. Unfortunately, these interfaces are not implemented uniformly by the manufacturers and are rolled out by distribution system operators (DSO) in different configurations. This makes it very difficult for the normal customer to get access to his data.


The easy and free access of consumption data is a crucial step in the energy transition and shall help to provide the following contribution

  1. give customers transparency about their consumption in real time
  2. change customer behavior in a sustainable way to save energy
  3. create innovations that help customers to optimize their own consumption with self-generation (PV) and controllable consumers (car charging station, heat pump)


Reading of different types of smart meter CII (DLMS, IDIS CII, DSMR-P1, MBUS), used by different DSO (EKZ, AEW, EWB, Romande Energie) by means of a metering data adapter which provides the data to the customer via a harmonized MQTT profile that can be used via an open visualization and automation. The customer can thus view the data at any time and also use it to align his own automation to optimized self-consumption. The MQTT topics should be standardized to provide interoperability between different smart meters and various applications.


The data from the different meters are sent via MBUS or DSMR to a adapter which converts the data into MQTT. Different meters are provided by the DSO. The MQTT stream is then integrated into OpenHab 3.0 and ioBroker.


  • Setup of the metering systems
  • Conversion of MBUS-DLMS/COSEM data into MQTT using the open-source library from
  • Adaption of the DSMR-P1 Protocol to MQTT
  • Documentation of the interoperable MQTT interface
  • Integration of the smart meter data into ioBroker and OpenHab

Previous work at Energy Hack Days 2020:


provided by Peter Kreutzer & Hermann Hüni, GEAG

Event finished


25.09.2021 10:21 ~ derrickoswald

... OpenHAB ...

25.09.2021 10:19 ~ derrickoswald

All four meters feeding into MQTT, forwarded to InfluxDB and re-published under a uniform basic profile back to MQTT. Visualization using Grafana and OpenHub in place.

25.09.2021 10:18 ~ derrickoswald

forked EKZ's smartmeter-datacollector github repository to adapt it to the AEW smartmeter

24.09.2021 21:44 ~ tom_strosslin

setup a github repository for our project

24.09.2021 21:42 ~ tom_strosslin

We just managed to connect all our devices to the same MQTT broker!

24.09.2021 13:07 ~ cjordi

Joined the team

24.09.2021 13:06 ~ cjordi


Event started

Contributed 2 years ago by GEAG for Energy Data Hackdays 2021
All attendees, sponsors, partners, volunteers and staff at our hackathon are required to agree with the Hack Code of Conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to ensure a safe environment for everybody. For more details on how the event is run, see the Guidelines on our website.

Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.