Elveta real-time dongle ES32 (P1 and HAN meters) and ES3K (Kamstrup OMNIPOWER®) have a local real-time data port. When it is enabled, the dongle streams meter data directly over your own Wi-Fi network, and Home Assistant reads it using its built-in DSMR Smart Meter integration. No Elveta portal, app, or Internet connection is involved while it runs.
The dongle always sends P1 ASCII data on the local port, regardless of whether your electricity meter has a P1 port or a HAN port. The dongle reads the meter's HAN data and converts it to P1 format. That's why Home Assistant can read HAN meters, including Kamstrup OMNIPOWER®, through an Elveta real-time dongle, even though the DSMR integration can't read HAN ports directly.
Open Elveta Connect, tap the gear icon on the start screen, and turn on Advanced setup. This adds an extra step to onboarding where you configure the local data port.
Follow Onboard Using Elveta Connect App: scan the QR code on the label, power the dongle and wait for a steady blue light, and accept the Bluetooth pairing request.
Right after pairing, the app shows the Local data port step. Turn on Enable local data port and enter a port number, or keep the default, 2001. Make a note of the port number; you need it in Home Assistant.
Choose your 2.4 GHz Wi-Fi network and enter the password. The dongle restarts and joins your network. The port setting is stored in the dongle and is kept when it restarts.
Connect the ES32 to the meter's P1 port (RJ12) or HAN port (RJ45) with the supplied cable, or install the ES3K inside the Kamstrup OMNIPOWER® meter. See Connecting to Electricity Meters. If the meter is in a metal cabinet, see Reliable Wi-Fi From a Metal Meter Cabinet and How to Point Your Antenna.
The LED shows steady green when data is coming from the meter and Home Assistant is connected to the dongle. If the LED is blinking green, Home Assistant is connected but there is no data from the electricity meter. If the LED turns purple, Home Assistant is not connected. See Status Indications for more information about the LED status.
Look up the dongle in your router's list of connected devices and note its IP address, for example 192.168.1.100. IMPORTANT: Create a DHCP reservation for it so the address stays the same over time.
| Setting | Value |
|---|---|
| Connection type | Network |
| Host | The dongle's IP address, for example 192.168.1.100 |
| Port | The port number from step 3 (default 2001) |
| DSMR version | 5S (Nordic countries), for both P1 and HAN meters. For other countries, see the Home Assistant installation guide. |
Alternatively, choose Serial as the connection type, select Enter manually, and enter a connection string in the format socket://<IP address>:<port>, for example socket://192.168.1.100:2001.
Home Assistant creates the sensors and starts updating them as the meter sends new data. If the dongle or Home Assistant restarts, Home Assistant reconnects to the dongle by itself.
Home Assistant disables some of the DSMR sensors by default, so it can look as if some meter data is missing. Go to Settings > Devices & services > DSMR Smart Meter and open the list of entities. Disabled sensors are marked as disabled; to enable one, select it, open its settings, and turn on Enabled.
When you have enabled the sensors you need, restart Home Assistant completely under Settings > System, using the power button at the top right. Reloading only the DSMR integration is not enough. The real-time dongle does not need to be restarted.
Under Settings > Dashboards > Energy, add the imported energy sensor as grid consumption and the exported energy sensor as return to grid.
All data values sent from the electricity meter are presented on the local real-time data port. No values are filtered out. Exactly which values you get therefore depends on your meter and your electricity network provider. Swedish meters typically send the values below, usually every 10 seconds.
| Value | OBIS code | Unit |
|---|---|---|
| Meter date and time | 0-0:1.0.0 | - |
| Accumulated imported active energy | 1-0:1.8.0 | kWh |
| Accumulated exported active energy | 1-0:2.8.0 | kWh |
| Accumulated imported / exported reactive energy | 1-0:3.8.0 / 1-0:4.8.0 | kvarh |
| Current imported / exported active power | 1-0:1.7.0 / 1-0:2.7.0 | kW |
| Current imported / exported reactive power | 1-0:3.7.0 / 1-0:4.7.0 | kvar |
| Imported / exported active power per phase (L1, L2, L3) | 1-0:21.7.0, 41.7.0, 61.7.0 / 1-0:22.7.0, 42.7.0, 62.7.0 | kW |
| Imported / exported reactive power per phase (L1, L2, L3) | 1-0:23.7.0, 43.7.0, 63.7.0 / 1-0:24.7.0, 44.7.0, 64.7.0 | kvar |
| Voltage per phase (L1, L2, L3) | 1-0:32.7.0, 52.7.0, 72.7.0 | V |
| Current per phase (L1, L2, L3) | 1-0:31.7.0, 51.7.0, 71.7.0 | A |
Home Assistant creates sensors for the values the DSMR integration recognizes for version 5S. These include accumulated imported and exported energy, current power import and export, and voltage, current, and power per phase.
To see the raw data, connect to the port from a computer on the same network, for example with nc 192.168.1.100 2001. Every telegram starts with a line beginning with / and ends with ! followed by a checksum. A shortened example (the identification line and values differ between meters):
/ELL5\253833635_A 0-0:1.0.0(261012101530W) 1-0:1.8.0(00006678.394*kWh) 1-0:2.8.0(00000000.000*kWh) 1-0:1.7.0(0001.727*kW) 1-0:2.7.0(0000.000*kW) 1-0:21.7.0(0001.023*kW) 1-0:32.7.0(0230.4*V) 1-0:31.7.0(004.4*A) !7945
When you enable the local data port in Elveta Connect, the dongle stops sending meter data to the Elveta cloud: the readings from your electricity meter (energy, power, voltage, current, and so on) only go to Home Assistant on your local network. The dongle still keeps in touch with the Elveta cloud server, so that it can receive firmware updates and report how it is doing. All traffic to the cloud is encrypted (HTTPS). This is exactly what it sends:
A short status report, sent after each start and then about every 10 minutes, containing:
Short text messages when something noteworthy happens, for example when a firmware update fails. Each one carries the dongle's device ID.
There is one exception where meter data can reach the cloud: if the dongle receives a message from the meter that has a correct checksum but that it cannot decode, it sends that message as is, so that support for the meter's format can be added. Such a message contains the meter's readings at that moment. This only happens with meter data formats the dongle does not recognize.
When the local data port is enabled, no electricity consumption data from the meter is sent to the Elveta cloud, and local reading keeps working even if you block the dongle's Internet access. The local data port setting is stored in the dongle, so it starts streaming again by itself after a restart, and Home Assistant reconnects automatically. The dongle keeps working when the Internet connection is lost. Internet access for the dongle is not required when local port is enabled but is strongly recommended in order to receive firmware upgrades. The dongle does still send status reports and log messages to the Elveta cloud; see What the Dongle Sends to the Cloud for exactly what they contain.
More questions? See Questions & Answers or contact us.
Would you like to know more? Please contact us below.
Elveta is developed and operated by Picofrost AB. Read more at www.picofrost.com
+46 10-430 03 14
Täby, Sweden