You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_integrations/dsmr.markdown
+38-22Lines changed: 38 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -15,17 +15,39 @@ ha_platforms:
15
15
- sensor
16
16
---
17
17
18
-
A sensor platform for DutchSmart Meters which comply to DSMR (Dutch Smart Meter Requirements), also known as 'Slimme meter' or 'P1 poort'.
18
+
A sensor platform for Belgian, Dutch, Luxembourg and Swedish Smart Meters which comply to DSMR (Dutch Smart Meter Requirements), also known as 'Slimme meter' or 'P1 poort'. Swedish meters with a 'HAN port' are not supported by this integration.
19
19
20
-
- Currently support DSMR V2.2, V3, V4, V5, V5 Belgian and V5 Smarty through the [dsmr_parser](https://github.com/ndokter/dsmr_parser) module by Nigel Dokter.
20
+
- Currently support DSMR V2.2, V3, V4, V5, Belgian V5 variant, Luxembourg V5 variant (Smarty) and the Swedish V5 variant through the [dsmr_parser](https://github.com/ndokter/dsmr_parser) module by Nigel Dokter.
21
21
- For official information about DSMR refer to: [DSMR Document](https://www.netbeheernederland.nl/dossiers/slimme-meter-15)
22
22
- For official information about the P1 port refer to: [P1 Companion Standard](https://www.netbeheernederland.nl/_upload/Files/Slimme_meter_15_a727fce1f1.pdf)
23
23
- For unofficial hardware connection examples refer to: [Domoticx](http://domoticx.com/p1-poort-slimme-meter-hardware/)
24
+
- For official information about the Swedish variant refer to: [Swedish specification](https://www.energiforetagen.se/globalassets/energiforetagen/det-erbjuder-vi/kurser-och-konferenser/elnat/branschrekommendation-lokalt-granssnitt-v2_0-201912.pdf).
24
25
25
26
<pclass='img'>
26
27
<imgsrc='/images/screenshots/dsmr.png' />
27
28
</p>
28
29
30
+
### Configuration
31
+
32
+
- For Belgian meters, choose DSMR version `5B`
33
+
- For Dutch meters, choose DSMR version `2.2`, `4`, or `5`
34
+
- For Luxembourg meters, choose DSMR version `5L`
35
+
- For Swedish meters, choose DSMR version `5S`
36
+
37
+
### Options
38
+
39
+
To configure options for DSMR integration go to **Configuration** >> **Integrations** and press **Options** on the DSMR card.
40
+
41
+
#### Time between updates
42
+
43
+
Typically the smart meter sends new data every 5-10 seconds. This value defines the minimum time between entity updates in seconds. Setting this value to 0 will update entities each time data is received from the smart meter.
44
+
45
+
<divclass='note warning'>
46
+
Reducing the default time between updates will increase the amount of events generated and can potentially flood the system with events.
47
+
</div>
48
+
49
+
### Supported meters
50
+
29
51
This integration is known to work for:
30
52
31
53
- Iskra ME382 / MT382 (DSMR 2.2)
@@ -37,14 +59,24 @@ This integration is known to work for:
37
59
- Sagemcom XS210 ESMR5
38
60
- Ziv E0058 ESMR5
39
61
40
-
USB serial converters:
62
+
### Connecting to the meter
63
+
64
+
Connection can be done directly to the meter via a USB to serial connector, or through a serial to network proxy
To configure options for DSMR integration go to **Configuration** >> **Integrations** and press **Options** on the DSMR card.
78
-
79
-
#### Time between updates
80
-
81
-
Typically the smart meter sends new data every 5-10 seconds. This value defines the minimum time between entity updates in seconds. Setting this value to 0 will update entities each time data is received from the smart meter.
82
-
83
-
<divclass='note warning'>
84
-
Reducing the default time between updates will increase the amount of events generated and can potentially flood the system with events.
85
-
</div>
86
-
87
101
### Technical overview
88
102
89
103
DSMR is a standard to which Dutch smartmeters must comply. It specifies that the smartmeter must send out a 'telegram' every 10 seconds (every second for DSMR 5.0 devices) over a serial port.
90
104
91
105
The contents of this telegram differ between version but they generally consist of lines with 'obis' (Object Identification System, a numerical ID for a value) followed with the value and unit.
92
106
107
+
Smart meters in Belgium, Luxembourg and Sweden provided telegrams with largely the same contents.
108
+
93
109
This module sets up an asynchronous reading loop using the `dsmr_parser` module which waits for a complete telegram, parser it and puts it on an async queue as a dictionary of `obis`/object mapping. The numeric value and unit of each value can be read from the objects attributes. Because the `obis` are know for each DSMR version the Entities for this integration are create during bootstrap.
94
110
95
111
Another loop (DSMR class) is setup which reads the telegram queue, stores/caches the latest telegram and notifies the Entities that the telegram has been updated.
0 commit comments