Protocols
This page will give you an overview about which protocols are supported and how they may be used in energy2mqtt.
Details
Some protocols have different names in different countries, we refer to the German or the normative names in energy2mqtt.
Wireless Protocols
LoRaWAN
LoRaWAN is a long-range, low-power wireless protocol ideal for battery-powered sensors. energy2mqtt supports LoRaWAN through network servers like ZENNER Datahub.
OMS (Wireless M-Bus)
OMS is a wireless protocol based on the M-Bus standard, commonly used for reading water, gas, and heat meters in Europe. It uses AES-128 encryption for secure data transmission.
Wired Protocols
KNX
KNX is a standardized building automation protocol (ISO/IEC 14543) widely used in Europe for controlling lighting, HVAC, blinds, and energy metering. energy2mqtt connects to KNX/IP gateways via UDP tunneling to read energy meter data.
Modbus
Modbus is a widely-used industrial protocol for connecting smart meters, heat pumps, solar inverters, and other devices. energy2mqtt supports Modbus TCP and RTU-over-TCP.
SML (Smart Meter Language)
SML is a binary protocol used by German smart electricity meters through their optical (infrared) interface. It provides detailed power consumption data including per-phase measurements.
IEC 62056-21 (D0)
IEC 62056-21 is an ASCII-based protocol for meter communication via optical interface. Also known as “D0 protocol”, it’s used by meters from EasyMeter, EBZ, and other manufacturers. Unlike SML, the data is human-readable text.
Energy Systems
Victron Energy
Victron Energy systems (inverters, batteries, solar chargers) expose data via MQTT. energy2mqtt connects to Victron GX devices locally or through the VRM cloud to retrieve comprehensive energy flow data from your solar/battery installation.