Skip to content
Mario C edited this page May 19, 2023 · 7 revisions

The smartmeter-datacollector tool is a Python3 software which allows you to continuously retrieve data from supported smart meters (listed below). The acquired values can be forwarded to one or more data sinks like a MQTT broker or logger.

The following smart meters are supported:

  • Landis+Gyr E450:
    • Unencrypted or encrypted data pushed by smart meter over CII interface (wired M-Bus). Encoded with HDLC and DLMS/COSEM.
    • A Linux compatible USB to M-Bus Slave dongle is required. For example: USB to M-Bus dongle (with RJ12 connector, option c) has been used for development and tests. Other (cheaper) dongles have been successfully tested by the community.
    • When using the 6 pin RJ12 case connector only the middle 2 pins (pins 3 & 4) carry the M-Bus signal and need to be connected to the dongle.
  • Landis+Gyr E360:
    • Unencrypted or encrypted data pushed by smart meter over P1 interface. The meter must push data in the HDLC DLMS/COSEM standard. DSMR is not supported.
    • Use one of the widely available, Linux compatible, DSMR-to-USB dongles with a RJ12 connector.
  • Iskraemeco AM550:
    • Unencrypted or encrypted data pushed by smart meter over its P1 interface. However, only (binary) HDLC encoding (IEC 62056-46) and DLMS/COSEM is supported. DSMR is not supported.
    • Use one of the widely available, Linux compatible, DSMR-to-USB dongles with a RJ12 connector.
  • Kamstrup OMNIPOWER with HAN-NVE module:
    • Data pushed by smart meter over inserted HAN-NVE module.
    • The data encoding is HDLC, DLMS/COSEM.
    • Use a wired M-Bus to USB adapter with the correct pin layout (M-Bus on Pins 1+2, see the HAN-NVE documentation. Probably you need to manufacture a custom cable or adapter yourself.

The following data sinks are implemented:

  • MQTT (v3.1.1):
    • Encryption
      • Unencrypted connection
      • Encrypted connection
        • TLS
        • optional custom CA certificate
    • Authentication
      • Unauthenticated
      • Authenticated with username / password
      • Authenticated with client certificate
  • Logger to stdout

smartmeter-datacollector is fully configurable through a .ini configuration file. The smartmeter-datacollector-configurator webinterface can help to create and modify the configuration.