home-assistant.io/source/_components/sensor.dsmr.markdown
2016-12-05 21:03:40 +01:00

2.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page DSMR/Slimme meter Instructions how to integrate DSMR Smartmeter within Home Assistant. 2016-11-12 12:00 true false true true netbeheernederland.jpg Energy 0.34 Local Push

A sensor platform for Dutch Smart Meters which comply to DSMR (Dutch Smart Meter Requirements), also known as 'Slimme meter' or 'P1 poort'.

Currently support DSMR V2.2 and V4 through the dsmr_parser module by Nigel Dokter.

For official information about DSMR refer to: DSMR Document

For unofficial hardware connection examples refer to: Domoticx

This component is known to work for:

  • Iskra ME382 / MT382 (DSMR 2.2)
  • Landis+Gyr E350 (DMSR 4)
  • Landis+Gyr ZCF110 / ZM F110 (DSMR 4.2)
  • Kaifa E0026
  • Kamstrup 382JxC (DSMR 2.2)

And USB serial converters:

# Example configuration.yaml entry
sensor:
  - platform: dsmr

Configuration variables:

  • port string (Optional): Serial port to which Smartmeter is connected (default: /dev/ttyUSB0).
  • dsmr_version_ string (Optional): Version of DSMR used by meter, choices: 2.2, 4 (default: 2.2).

A full configuration example can be found below:

# Example configuration.yaml entry
sensor:
  - platform: dsmr
    port: /dev/ttyUSB1
    dsmr_version: 4

group:
  meter_readings:
    name: Meter readings
    entities:
      - sensor.power_consumption_low
      - sensor.power_consumption_normal
      - sensor.power_production_low
      - sensor.power_production_normal
      - sensor.gas_consumption

HASSbian users have to give dialout permission to the user homeassistant:

$ sudo usermod -a -G dialout homeassistant

and after that you need to reboot!

$ sudo reboot