This is a companion integration to the Dabbler.dk MEP module for reading out power consumption values from a Echelon/NES smart meter with a MEP port. At least from model 83331-3I, which among others is used quite a lot in Denmark.
Communication is done through a hardware module built by the two enthusiasts, Gert and Graves, at Dabbler.dk, which plugs into the MEP port of the meter.
The MEP protocol documentation is now released. How to build the hardware and the firmware for it is published in their Github repositories.
Read more about it at their blog.
- Copy
dabblerdk_powermeterreader
folder into your custom_components folder in your hass configuration directory. - Restart Home Assistant.
- Ensure that HACS is installed.
- In HACS / Integrations / Kebab menu / Custom repositories, add the url the this repository.
- Search for and install the
Dabbler.dk reader for Echelon/NES smart power meter
integration. - Restart Home Assistant.
It is configurable through config flow, meaning it will popup a dialog after adding the integration.
- Head to Configuration --> Integrations
- Add new and search for
Dabbler.dk reader for Echelon/NES smart power meter
- Enter a name for your meter. It suggests "Echelon" by default, but if you plan to read multiple make it a unique name.
- Enter a url to the MEP module. For example: "http://" followed by its IP or name.
By utilizing options flow it allows for updating the url to the MEP module and adjusting the scan interval / update frequency. Default scan interval is 300 seconds, 5 minutes. Adjustable from 5 seconds to an hour (maybe even lower when tested better).
For each MEP modules connected to, it presents two devices. One to represent the MEP module and one to represent the meter.
MEP module sensors
- MEP Connection (true if latest request succeeded)
- MEP Problem (true if the data returned is not as expected)
Meter sensors
Consumption (Forward):
- Energy consumption [kWh] (same value as in the display)
- Power [W] (total, all phases)
- L1 power [W]
- L2 power [W]
- L3 power [W]
Returned to grid (Reverse):
- Energy returned [kWh]
- Power returned (all phases) [W]
- L1 power returned [W]
- L2 power returned [W]
- L3 power returned [W]
Other:
- L1 current [A]
- L2 current [A]
- L3 current [A]
- L1 voltage [V]
- L2 voltage [V]
- L3 voltage [V]
- Frequency [Hz]
Only energy consumption and total power are enabled by default, but you can enable and disable as you wish.
It is possible to debug log the raw response from the web service. This is done by setting up logging like below in configuration.yaml in Home Assistant. It is also possible to set the log level through a service call in UI.
logger:
default: info
logs:
custom_components.dabblerdk_powermeterreader: debug