home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.82k stars 28.94k forks source link

DSMR 5, double gas meter not working #110503

Open MariekevdAkker opened 4 months ago

MariekevdAkker commented 4 months ago

The problem

Hello, My active gas meter is connected to mbus2, however I do not get it to work. When I set my DSMR version to 5 I see a constant value of 0,11m3, which corresponds to the first mbus value. When I set my DSMR version to 5B it creates 2 gas meter entities: mbus1 and mbus2. However both show unknown. Do I understand it correctly that multiple mbussus is only supported for DSMR version 5B?

See below for a telegram, the second value of 06990.193*m3 is my actual gasmeter.


2023-10-23 20:46:32.471 DEBUG (MainThread) [dsmr_parser.clients.protocol] got telegram: /XMX5LGBBLB2412107893

1-3:0.2.8(50)
0-0:1.0.0(231023204430S)
0-0:96.1.1(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
1-0:1.8.1(006550.417*kWh)
1-0:1.8.2(006605.954*kWh)
1-0:2.8.1(002074.734*kWh)
1-0:2.8.2(004419.186*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.261*kW)
1-0:2.7.0(00.000*kW)
0-0:96.7.21(00003)
0-0:96.7.9(00006)
1-0:99.97.0(6)(0-0:96.7.19)(171009153324S)(0003038715*s)(180107022907W)(0000010862*s)(180218190425W)(0000005831*s)(180420131843S)(0000010329*s)(200401064737S)(0000002692*s)(230627022747S)(0000000214*s)
1-0:32.32.0(00848)
1-0:32.36.0(00001)
0-0:96.13.0()
1-0:32.7.0(225.0*V)
1-0:31.7.0(001*A)
1-0:21.7.0(00.261*kW)
1-0:22.7.0(00.000*kW)
0-1:24.1.0(003)
0-1:96.1.0(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
0-1:24.2.1(170904112508S)(00000.110*m3)
0-2:24.1.0(003)
0-2:96.1.0(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
0-2:24.2.1(231023204000S)(06990.193*m3)
!69FF

What version of Home Assistant Core has the issue?

core-2024.2.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

DSMR Slimme Meter

Link to integration documentation on our website

https://www.home-assistant.io/integrations/dsmr

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 4 months ago

Hey there @robbie1221, @frenck, mind taking a look at this issue as it has been labeled with an integration (dsmr) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `dsmr` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign dsmr` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


dsmr documentation dsmr source (message by IssueLinks)

dupondje commented 4 months ago

Only for 5B indeed. I'll try to merge and release dsmr_parser with the following PR (https://github.com/ndokter/dsmr_parser/pull/142) included the coming days and then prepare a PR for HA in the next coming weeks!

renskorswagen commented 1 month ago

Same issue here. @dupondje do you have an update?

OlivierW22 commented 2 weeks ago

@dupondje Be mindfull of this issue, this code 0-2:96.1.0(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) 0-2:24.2.1(231023204000S)(06990.193*m3) is not always a double gas meter.

in my situation 0-2:24.2.1 is in fact a Water meter instead of a second gas meter.

the DSMR integration should give you the option to choose if sensor 0 is elec, sensor 1 is Gas or Water, sensor 2 is Gas or Water, ....

in case of double gas meter and water meter, there will even be a 0-3:24.2.1 ....