wmbusmeters icon indicating copy to clipboard operation
wmbusmeters copied to clipboard

Missing driver for Kamstrup READy 5 Repeater

Open raszuk opened this issue 1 year ago • 4 comments

Type of request

Enhancement

OS version

Ubuntu 22.04.4 LTS

wmbusmeters version

1.16.1-2

Your message goes here

Not able to decode telegrams relayed by new Kamstrup READy 5 Repeater:

[2024-02-24_13:22:24] (meter) K9_G1_L999_RR_73018162: meter detection did not match the selected driver kamheat! correct driver is: unknown! (meter) Not printing this warning again for id: 73018162 mfct: (KAM) Kamstrup Energi (0x2c2d) type: Reserved for unidirectional repeater (0x32) ver: 0x04 (meter) created K9_G1_L999_RR_73018162 kamheat 73018162 encrypted (meter) used meter template K9_G1_L999_RR_73018162 73018162 kamheat to match 73018162 (meter) started meter 61 (K9_G1_L999_RR_73018162 73018162 kamheat)

[2024-02-24_13:22:24] (meter) K9_G1_L999_RR_73018162: meter detection did not match the selected driver kamheat! correct driver is: unknown! (meter) Not printing this warning again for id: 73018162 mfct: (KAM) Kamstrup Energi (0x2c2d) type: Reserved for unidirectional repeater (0x32) ver: 0x04 (meter) K9_G1_L999_RR_73018162(61) kamheat handling telegram from 73018162 (telegram) DLL L=12 C=47 (from meter ACC_NR) M=2c2d (KAM) A=73018162 VER=04 TYPE=32 (Reserved for unidirectional repeater) (driver unknown!) DEV=rtlwmbus[00000001] RSSI=14

[2024-02-24_13:22:24] (meter) newly created meter (K9_G1_L999_RR_73018162 73018162 kamheat) did not handle telegram! (wmbus) telegram from 73018162 ignored by all configured meters!

raszuk avatar Feb 24 '24 12:02 raszuk

Raw telegrams from this repeater look like this:

$ sudo rtl_sdr -f 868.625M -s 1600000 - 2>/dev/null | rtl_wmbus -s | grep 730181

C1;1;1;2024-03-05 16:47:28.000;34;33;73018162;0x12472d2c6281017304328de08ef1143f00ffff C1;1;1;2024-03-05 16:47:28.000;41;40;73018162;0x12472d2c6281017304328de08ef1143f00ffff

C1;1;1;2024-03-05 16:59:53.000;56;48;73018162;0x99442d2c6281017304328de0b8b2153f0089247801fff1080201fd0f090280b4ff1d420002fff101000001670f0dfff1020001fda2ff180a41fd8bff18044df99fff182a0700687986822d2c400c657986822d2c400c627986822d2c400c677986822d2c400c617986822d2c400c4dfff1849fff1807010015013314284dfdf19fff18070100bec2c4c4bb4dfff1899fff18070100ffffffffff C1;1;1;2024-03-05 16:59:53.000;49;48;73018162;0x99442d2c6281017304328de0b8b2153f0089247801fff1080201fd0f090280b4ff1d420002fff101000001670f0dfff1020001fda2ff180a41fd8bff18044df99fff182a0700687986822d2c400c657986822d2c400c627986822d2c400c677986822d2c400c617986822d2c400c4dfff1849fff1807010015013314284dfdf19fff18070100bec2c4c4bb4dfff1899fff18070100ffffffffff

C1;1;1;2024-03-05 17:04:23.000;24;19;73018162;0x12472d2c6281017304328de0c700163f00ffff C1;1;1;2024-03-05 17:04:23.000;21;22;73018162;0x12472d2c6281017304328de0c700163f00ffff

C1;1;1;2024-03-05 17:04:41.000;49;46;73018162;0x12472d2c6281017304328de0c801163f00ffff C1;1;1;2024-03-05 17:04:41.000;50;51;73018162;0x12472d2c6281017304328de0c801163f00ffff

raszuk avatar Mar 05 '24 17:03 raszuk

The decoder shows this:

telegram=|99442D2C6281017304328DE0B8B2153F00892478_01FFF1080201FD0F090280B4FF1D420002FFF101000001670F0DFFF1020001FDA2FF180A41FD8BFF18044DF99FFF182A0700687986822D2C400C657986822D2C400C627986822D2C400C677986822D2C400C617986822D2C400C4DFFF1849FFF1807010015013314284DFDF19FFF18070100BEC2C4C4BB4DFFF1899FFF18070100FFFFFFFFFF|

Auto driver : not found! Best driver : lansenrp 01/72 Using driver : lansenrp 01/72 000 : 99 length (153 bytes)(OK) 001 : 44 dll-c (from meter SND_NR) 002 : 2d2c dll-mfct (KAM) 004 : 62810173 dll-id (73018162) 008 : 04 dll-version 009 : 32 dll-type (Reserved for unidirectional repeater) 010 : 8d ell-ci-field (ELL: Extended Link Layer II (8 Byte)) 011 : e0 ell-cc (bidir fast_resp sync) 012 : b8 ell-acc 013 : b2153f00 sn (NoSecurity) 017 : 8924 payload crc (calculated 8924 OK) 019 : 78 tpl-ci-field (EN 13757-3 Application Layer (no tplh)) 020 : 01 dif (8 Bit Integer/Binary Instantaneous value) 021 : FF vif (Manufacturer specific) 022 : F1 vife (?) 023 : 08 combinable vif (Reserved) 024 C?: 02 025 : 01 dif (8 Bit Integer/Binary Instantaneous value) 026 : FD vif (Second extension FD of VIF-codes) 027 : 0F vife (Software version #) 028 C!: 09 ("software_version":"09") 029 : 02 dif (16 Bit Integer/Binary Instantaneous value) 030 : 80 vif (Energy mWh) 031 : B4 combinable vif (PerVolt) 032 : FF combinable vif (MfctSpecific) 033 : 1D combinable extension vife 034 C?: 4200 036 : 02 dif (16 Bit Integer/Binary Instantaneous value) 037 : FF vif (Manufacturer specific) 038 : F1 vife (?) 039 : 01 combinable vif (Reserved) 040 C?: 0000 042 : 01 dif (8 Bit Integer/Binary Instantaneous value) 043 : 67 vif (External temperature °C) 044 C?: 0F 045 : 0D dif (variable length Instantaneous value) 046 : FF vif (Manufacturer specific) 047 : F1 vife (?) 048 : 02 combinable vif (Reserved) 049 : 00 varlen=0 050 : 01 dif (8 Bit Integer/Binary Instantaneous value) 051 : FD vif (Second extension FD of VIF-codes) 052 : A2 vife (Size of storage block) 053 : FF combinable vif (MfctSpecific) 054 : 18 combinable extension vife 055 C?: 0A 056 : 41 dif (8 Bit Integer/Binary Instantaneous value storagenr=1) 057 : FD vif (Second extension FD of VIF-codes) 058 : 8B vife (Parameter set identification) 059 : FF combinable vif (MfctSpecific) 060 : 18 combinable extension vife 061 C?: 04 062 : 4D dif (variable length Instantaneous value storagenr=1) 063 : F9 vif (Enhanced identification) 064 : 9F combinable vif (CompactProfile) 065 : FF combinable vif (MfctSpecific) 066 : 18 combinable extension vife 067 : 2A varlen=42 068 C?: 0700687986822D2C400C657986822D2C400C627986822D2C400C677986822D2C400C617986822D2C400C 110 : 4D dif (variable length Instantaneous value storagenr=1) 111 : FF vif (Manufacturer specific) 112 : F1 vife (?) 113 : 84 combinable vif (Reserved) 114 : 9F combinable vif (CompactProfile) 115 : FF combinable vif (MfctSpecific) 116 : 18 combinable extension vife 117 : 07 varlen=7 118 C?: 01001501331428 125 : 4D dif (variable length Instantaneous value storagenr=1) 126 : FD vif (Second extension FD of VIF-codes) 127 : F1 vife (Reserved) 128 : 9F combinable vif (CompactProfile) 129 : FF combinable vif (MfctSpecific) 130 : 18 combinable extension vife 131 : 07 varlen=7 132 C?: 0100BEC2C4C4BB 139 : 4D dif (variable length Instantaneous value storagenr=1) 140 : FF vif (Manufacturer specific) 141 : F1 vife (?) 142 : 89 combinable vif (Reserved) 143 : 9F combinable vif (CompactProfile) 144 : FF combinable vif (MfctSpecific) 145 : 18 combinable extension vife 146 : 07 varlen=7 147 C?: 0100FFFFFFFFFF

{ "media":"reserved", "meter":"lansenrp", "name":"", "id":"73018162", "software_version":"09", "status":"OK", "timestamp":"2024-03-05T17:32:13Z" }

Using: wmbusmeters: 1.15.0-1-g097f91f 097f91fac0585c6e47beec7dcb086cce3fcb0e5e

raszuk avatar Mar 05 '24 17:03 raszuk

I got today a response from Kamstrup stating that their repeater's encoding conforms to EN 13757-3 and EN 13757-4. 2013 standards.

Well it seems that code to decode it is available at: https://github.com/fosterbuster/MBusParser/tree/master

Would anyone be willing to add a new driver to wmbusmeters to decode such packets ?

Today wmbusmeters is using lansenrp driver which apparently can not decode READy 5 Repeater's packets.

raszuk avatar Mar 12 '24 20:03 raszuk

This issue is stale because it has been open for 2 month with no activity. Remove stale label or comment or this will be closed in 1 month.

github-actions[bot] avatar May 12 '24 02:05 github-actions[bot]

This issue was closed because it has been stalled for 1 month with no activity.

github-actions[bot] avatar Jun 11 '24 02:06 github-actions[bot]