Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Tauron AMIPlus meter #1230

Open
wrobelda opened this issue Apr 3, 2024 · 1 comment
Open

New Tauron AMIPlus meter #1230

wrobelda opened this issue Apr 3, 2024 · 1 comment
Labels
device support Request for new device support or existing driver improvement Stale

Comments

@wrobelda
Copy link

wrobelda commented Apr 3, 2024

Type of request

New device support

Meter description

Tauron as of 2024 replaces their meters with a new model, NES 73331. After inspecting with rte_433, I see the following:

time      : 2024-04-03 10:04:54
model     : Wireless-MBus Mode      : T            Manufacturer: NES         ID        : 47442
Version   : 3            Device Type: 0x02         Device Type String: Electricity                     Control   : 0x44          Data Length: 127          Data      : 7c44b3384274040003027a09007005e7f056abca03d6423fd7b3a4295516465cc55e8dae1c708636ae3e9bff08c662fed972b4cd0dc1a1f79944e86958964cefa2f0b51a6a8ff7174bcce6e183ea2ec7cb69873264d6e6b4bcd0e02a1bb3eaea09235228e0db7942f8766aadda6e5647e864f3c11df3c9345809054742416a7b35
Integrity : CRC
Control Info: 0x7A       Access number: 0x09       Device Type: 0x00         Configuration Word: 0x0570 Payload Encrypted: 1
WARNING: Undeclared field "err_volume_flow_min_0" in [104] "Wireless M-Bus, Mode C&T, 100kbps (-f 868950000 -s 1200000)"

Payload decode using https://wmbusmeters.org/analyze:

Auto driver  : not found!
Best driver  : amiplus 26/71
Using driver : amiplus 00/00
000   : 7c length (124 bytes)
001   : 44 dll-c (from meter SND_NR)
002   : b338 dll-mfct (NES)
004   : 42740400 dll-id (00047442)
008   : 03 dll-version
009   : 02 dll-type (Electricity meter)
010   : 7a tpl-ci-field (EN 13757-3 Application Layer (short tplh))
011   : 09 tpl-acc-field
012   : 00 tpl-sts-field (OK)
013   : 7005 tpl-cfg 0570 (AES_CBC_IV nb=7 cntn=0 ra=0 hc=0 )
015   : 2f2f decrypt check bytes (OK)
017   : 06 dif (48 Bit Integer/Binary Instantaneous value)
018   : 6D vif (Date and time type)
019 C!: 38040A03340E ("device_date_time":"2024-04-03 10:04:56")
025   : 0C dif (8 digit BCD Instantaneous value)
026   : 78 vif (Fabrication no)
027 C?: 42740400
031   : 0E dif (12 digit BCD Instantaneous value)
032   : 03 vif (Energy Wh)
033 C!: 879205000000 ("total_energy_consumption_kwh":59.287)
039   : 0E dif (12 digit BCD Instantaneous value)
040   : 83 vif (Energy Wh)
041   : 3C combinable vif (BackwardFlow)
042 C!: 000000000000 ("total_energy_production_kwh":0)
048   : 0B dif (6 digit BCD Instantaneous value)
049   : 2B vif (Power W)
050 C!: 100200 ("current_power_consumption_kw":0.21)
053   : 0B dif (6 digit BCD Instantaneous value)
054   : AB vif (Power W)
055   : 3C combinable vif (BackwardFlow)
056 C!: 000000 ("current_power_production_kw":0)
059   : 0B dif (6 digit BCD Instantaneous value)
060   : FB vif (First extension FB of VIF-codes)
061   : 14 vife (Reserved)
062 C?: 000000
065   : 0B dif (6 digit BCD Instantaneous value)
066   : FB vif (First extension FB of VIF-codes)
067   : 94 vife (Reserved)
068   : 3C combinable vif (BackwardFlow)
069 C?: 450200
072   : 0B dif (6 digit BCD Instantaneous value)
073   : AB vif (Power W)
074   : C8 combinable vif (UpperLimit)
075   : FC combinable vif (CombinableVIFExtension)
076   : 10 combinable extension vife
077 C?: 000000
080   : 0D dif (variable length Instantaneous value)
081   : 3A vif (Volume flow 10⁻⁴ m³/h)
082   : 20 varlen=32
083 C?: 0000000000000000000000000000000000000000000000000000000000000000
115   : 0A dif (4 digit BCD Instantaneous value)
116   : FD vif (Second extension FD of VIF-codes)
117   : C9 vife (10^0 Volts)
118   : FC combinable vif (CombinableVIFExtension)
119   : 03 combinable extension vife
120 C!: 4002 ("voltage_at_phase_3_v":240)
122   : 2F skip
123   : 2F skip
124   : 2F skip
125   : 2F skip
126   : 2F skip
127   : 7B dif (6 digit BCD Value during error state storagenr=1)
128   : 35 vif (Power 10⁵ J/h)

{
    "media":"electricity",
    "meter":"amiplus",
    "name":"",
    "id":"00047442",
    "current_power_consumption_kw":0.21,
    "current_power_production_kw":0,
    "total_energy_consumption_kwh":59.287,
    "total_energy_production_kwh":0,
    "voltage_at_phase_3_v":240,
    "device_date_time":"2024-04-03 10:04:56",
    "timestamp":"2024-04-03T08:07:37Z"
}


Using: wmbusmeters: 1.15.0-1-g097f91f
097f91fac0585c6e47beec7dcb086cce3fcb0e5e

It seems to be compatible with amiplus driver, however I cannot force it in wmbusmeters, getting:

(meter) Tauron AMIPlus: meter detection did not match the selected driver amiplus! correct driver is: unknown!
(meter) Not printing this warning again for id: 00047442 mfct: (NES) NORA ELK MALZ SAN ve TIC, Turkey (0x38b3) type: Electricity meter (0x02) ver: 0x03
(meter) please consider opening an issue at https://github.com/wmbusmeters/wmbusmeters/
(meter) to add support for this unknown mfct,media,version combination

Logged telegrams from meter in decrypted format

How does one decrypt a message without running an analysis? Because this is what I assume you expect? In any case, here's the analysis of a few telegrams:

_8044B3384274040003027A09007005C545553E6C58F18AEF014278CC459D4BAF1A310371838D090B6DA8521EBCAC7879859AB4723C828E993246732BFE3796150FB7AC571D3BEE5BC23F2563ED81F8E8AC06D594FE9BD3178308DBD6A910FD3182BE35AD336C3D889BC57B03BB6AFD41CCA2213D42DF33C25938F90A85E811C721
Auto driver  : not found!
Best driver  : amiplus 26/71
Using driver : amiplus 26/71
000   : 80 length (128 bytes)
001   : 44 dll-c (from meter SND_NR)
002   : b338 dll-mfct (NES)
004   : 42740400 dll-id (00047442)
008   : 03 dll-version
009   : 02 dll-type (Electricity meter)
010   : 7a tpl-ci-field (EN 13757-3 Application Layer (short tplh))
011   : 09 tpl-acc-field
012   : 00 tpl-sts-field (OK)
013   : 7005 tpl-cfg 0570 (AES_CBC_IV nb=7 cntn=0 ra=0 hc=0 )
015   : 2f2f decrypt check bytes (OK)
017   : 06 dif (48 Bit Integer/Binary Instantaneous value)
018   : 6D vif (Date and time type)
019 C!: 19180B03340E ("device_date_time":"2024-04-03 11:24:25")
025   : 0C dif (8 digit BCD Instantaneous value)
026   : 78 vif (Fabrication no)
027 C?: 42740400
031   : 0E dif (12 digit BCD Instantaneous value)
032   : 03 vif (Energy Wh)
033 C!: 409505000000 ("total_energy_consumption_kwh":59.54)
039   : 0E dif (12 digit BCD Instantaneous value)
040   : 83 vif (Energy Wh)
041   : 3C combinable vif (BackwardFlow)
042 C!: 000000000000 ("total_energy_production_kwh":0)
048   : 0B dif (6 digit BCD Instantaneous value)
049   : 2B vif (Power W)
050 C!: 010200 ("current_power_consumption_kw":0.201)
053   : 0B dif (6 digit BCD Instantaneous value)
054   : AB vif (Power W)
055   : 3C combinable vif (BackwardFlow)
056 C!: 000000 ("current_power_production_kw":0)
059   : 0B dif (6 digit BCD Instantaneous value)
060   : FB vif (First extension FB of VIF-codes)
061   : 14 vife (Reserved)
062 C?: 000000
065   : 0B dif (6 digit BCD Instantaneous value)
066   : FB vif (First extension FB of VIF-codes)
067   : 94 vife (Reserved)
068   : 3C combinable vif (BackwardFlow)
069 C?: 540200
072   : 0B dif (6 digit BCD Instantaneous value)
073   : AB vif (Power W)
074   : C8 combinable vif (UpperLimit)
075   : FC combinable vif (CombinableVIFExtension)
076   : 10 combinable extension vife (AccumulationOfAbsoluteValue)
077 C?: 000000
080   : 0D dif (variable length Instantaneous value)
081   : 3A vif (Volume flow 10⁻⁴ m³/h)
082   : 20 varlen=32
083 C?: 0000000000000000000000000000000000000000000000000000000000000000
115   : 0A dif (4 digit BCD Instantaneous value)
116   : FD vif (Second extension FD of VIF-codes)
117   : C9 vife (10^0 Volts)
118   : FC combinable vif (CombinableVIFExtension)
119   : 03 combinable extension vife (AtPhase3)
120 C!: 3902 ("voltage_at_phase_3_v":239)
122   : 2F skip
123   : 2F skip
124   : 2F skip
125   : 2F skip
126   : 2F skip
127   : C7 dif (64 Bit Integer/Binary Instantaneous value storagenr=1)
128   : 21 dife (subunit=0 tariff=2 storagenr=3)

{
    "media":"electricity",
    "meter":"amiplus",
    "name":"",
    "id":"00047442",
    "current_power_consumption_kw":0.201,
    "current_power_production_kw":0,
    "total_energy_consumption_kwh":59.54,
    "total_energy_production_kwh":0,
    "voltage_at_phase_3_v":239,
    "device_date_time":"2024-04-03 11:24:25",
    "timestamp":"2024-04-03T09:27:18Z"
}
_8044B3384274040003027A090070050B5AE9A6682EDA68F2899AA15B2980E9D1C7AEB6DB4E9C9E209B582A696BDFF94F6701564B05F4F84690E3A6A6153043B121F7CD14856FFBFAC6B7A57BA8C057FF096C81212AB9E429C20A335E867264746A5B5902A231C00928EB72F687AB4E2F960B287133075E9F2B242B545C339874B7
Auto driver  : not found!
Best driver  : amiplus 26/71
Using driver : amiplus 26/71
000   : 80 length (128 bytes)
001   : 44 dll-c (from meter SND_NR)
002   : b338 dll-mfct (NES)
004   : 42740400 dll-id (00047442)
008   : 03 dll-version
009   : 02 dll-type (Electricity meter)
010   : 7a tpl-ci-field (EN 13757-3 Application Layer (short tplh))
011   : 09 tpl-acc-field
012   : 00 tpl-sts-field (OK)
013   : 7005 tpl-cfg 0570 (AES_CBC_IV nb=7 cntn=0 ra=0 hc=0 )
015   : 2f2f decrypt check bytes (OK)
017   : 06 dif (48 Bit Integer/Binary Instantaneous value)
018   : 6D vif (Date and time type)
019 C!: 191C0B03340E ("device_date_time":"2024-04-03 11:28:25")
025   : 0C dif (8 digit BCD Instantaneous value)
026   : 78 vif (Fabrication no)
027 C?: 42740400
031   : 0E dif (12 digit BCD Instantaneous value)
032   : 03 vif (Energy Wh)
033 C!: 569505000000 ("total_energy_consumption_kwh":59.556)
039   : 0E dif (12 digit BCD Instantaneous value)
040   : 83 vif (Energy Wh)
041   : 3C combinable vif (BackwardFlow)
042 C!: 000000000000 ("total_energy_production_kwh":0)
048   : 0B dif (6 digit BCD Instantaneous value)
049   : 2B vif (Power W)
050 C!: 110200 ("current_power_consumption_kw":0.211)
053   : 0B dif (6 digit BCD Instantaneous value)
054   : AB vif (Power W)
055   : 3C combinable vif (BackwardFlow)
056 C!: 000000 ("current_power_production_kw":0)
059   : 0B dif (6 digit BCD Instantaneous value)
060   : FB vif (First extension FB of VIF-codes)
061   : 14 vife (Reserved)
062 C?: 000000
065   : 0B dif (6 digit BCD Instantaneous value)
066   : FB vif (First extension FB of VIF-codes)
067   : 94 vife (Reserved)
068   : 3C combinable vif (BackwardFlow)
069 C?: 560200
072   : 0B dif (6 digit BCD Instantaneous value)
073   : AB vif (Power W)
074   : C8 combinable vif (UpperLimit)
075   : FC combinable vif (CombinableVIFExtension)
076   : 10 combinable extension vife (AccumulationOfAbsoluteValue)
077 C?: 000000
080   : 0D dif (variable length Instantaneous value)
081   : 3A vif (Volume flow 10⁻⁴ m³/h)
082   : 20 varlen=32
083 C?: 0000000000000000000000000000000000000000000000000000000000000000
115   : 0A dif (4 digit BCD Instantaneous value)
116   : FD vif (Second extension FD of VIF-codes)
117   : C9 vife (10^0 Volts)
118   : FC combinable vif (CombinableVIFExtension)
119   : 03 combinable extension vife (AtPhase3)
120 C!: 3902 ("voltage_at_phase_3_v":239)
122   : 2F skip
123   : 2F skip
124   : 2F skip
125   : 2F skip
126   : 2F skip
127   : 74 dif (32 Bit Integer/Binary Value during error state storagenr=1)
128   : B7 vif (Power 10⁷ J/h)

{
    "media":"electricity",
    "meter":"amiplus",
    "name":"",
    "id":"00047442",
    "current_power_consumption_kw":0.211,
    "current_power_production_kw":0,
    "total_energy_consumption_kwh":59.556,
    "total_energy_production_kwh":0,
    "voltage_at_phase_3_v":239,
    "device_date_time":"2024-04-03 11:28:25",
    "timestamp":"2024-04-03T09:29:11Z"
}
_8044B3384274040003027A0900700586B27E3A607D3F7F0867A6A2ED7B286E989B781D7FEF7D0F0C19DC73526C9A2428E2BF47B3CD76C090085F11AB031C6B006731B9D0E4728A50E0D5068223E600387E49269572B21114C92A9A21DBCB26386F4C8E3D84D7A7F9C79966CA9A3141960E0EC91F7BBD8D219E9C345721A001F1C0
Auto driver  : not found!
Best driver  : amiplus 26/71
Using driver : amiplus 26/71
000   : 80 length (128 bytes)
001   : 44 dll-c (from meter SND_NR)
002   : b338 dll-mfct (NES)
004   : 42740400 dll-id (00047442)
008   : 03 dll-version
009   : 02 dll-type (Electricity meter)
010   : 7a tpl-ci-field (EN 13757-3 Application Layer (short tplh))
011   : 09 tpl-acc-field
012   : 00 tpl-sts-field (OK)
013   : 7005 tpl-cfg 0570 (AES_CBC_IV nb=7 cntn=0 ra=0 hc=0 )
015   : 2f2f decrypt check bytes (OK)
017   : 06 dif (48 Bit Integer/Binary Instantaneous value)
018   : 6D vif (Date and time type)
019 C!: 371D0B03340E ("device_date_time":"2024-04-03 11:29:55")
025   : 0C dif (8 digit BCD Instantaneous value)
026   : 78 vif (Fabrication no)
027 C?: 42740400
031   : 0E dif (12 digit BCD Instantaneous value)
032   : 03 vif (Energy Wh)
033 C!: 609505000000 ("total_energy_consumption_kwh":59.56)
039   : 0E dif (12 digit BCD Instantaneous value)
040   : 83 vif (Energy Wh)
041   : 3C combinable vif (BackwardFlow)
042 C!: 000000000000 ("total_energy_production_kwh":0)
048   : 0B dif (6 digit BCD Instantaneous value)
049   : 2B vif (Power W)
050 C!: 080200 ("current_power_consumption_kw":0.208)
053   : 0B dif (6 digit BCD Instantaneous value)
054   : AB vif (Power W)
055   : 3C combinable vif (BackwardFlow)
056 C!: 000000 ("current_power_production_kw":0)
059   : 0B dif (6 digit BCD Instantaneous value)
060   : FB vif (First extension FB of VIF-codes)
061   : 14 vife (Reserved)
062 C?: 000000
065   : 0B dif (6 digit BCD Instantaneous value)
066   : FB vif (First extension FB of VIF-codes)
067   : 94 vife (Reserved)
068   : 3C combinable vif (BackwardFlow)
069 C?: 560200
072   : 0B dif (6 digit BCD Instantaneous value)
073   : AB vif (Power W)
074   : C8 combinable vif (UpperLimit)
075   : FC combinable vif (CombinableVIFExtension)
076   : 10 combinable extension vife (AccumulationOfAbsoluteValue)
077 C?: 000000
080   : 0D dif (variable length Instantaneous value)
081   : 3A vif (Volume flow 10⁻⁴ m³/h)
082   : 20 varlen=32
083 C?: 0000000000000000000000000000000000000000000000000000000000000000
115   : 0A dif (4 digit BCD Instantaneous value)
116   : FD vif (Second extension FD of VIF-codes)
117   : C9 vife (10^0 Volts)
118   : FC combinable vif (CombinableVIFExtension)
119   : 03 combinable extension vife (AtPhase3)
120 C!: 3902 ("voltage_at_phase_3_v":239)
122   : 2F skip
123   : 2F skip
124   : 2F skip
125   : 2F skip
126   : 2F skip
127   : F1 dif (8 Bit Integer/Binary Value during error state storagenr=1)
128   : C0 dife (subunit=1 tariff=0 storagenr=1)

{
    "media":"electricity",
    "meter":"amiplus",
    "name":"",
    "id":"00047442",
    "current_power_consumption_kw":0.208,
    "current_power_production_kw":0,
    "total_energy_consumption_kwh":59.56,
    "total_energy_production_kwh":0,
    "voltage_at_phase_3_v":239,
    "device_date_time":"2024-04-03 11:29:55",
    "timestamp":"2024-04-03T09:30:13Z"
}
_8044B3384274040003027A0900700539603AF35B0A90F32420D4FB326F42C8FCE8A5B688D8848098F3FC2FBFFF55106FBA65D1EAF804293E86C27B158C7E579D4E828D3A6C0568393455D456972AFABC1592DE36CE1731A4E28C951DC0A7C3A11534FC9BF0610B342B59614F848A092C25E6FDC47F24686D83470DCA53FFA17AB9
Auto driver  : not found!
Best driver  : amiplus 26/71
Using driver : amiplus 26/71
000   : 80 length (128 bytes)
001   : 44 dll-c (from meter SND_NR)
002   : b338 dll-mfct (NES)
004   : 42740400 dll-id (00047442)
008   : 03 dll-version
009   : 02 dll-type (Electricity meter)
010   : 7a tpl-ci-field (EN 13757-3 Application Layer (short tplh))
011   : 09 tpl-acc-field
012   : 00 tpl-sts-field (OK)
013   : 7005 tpl-cfg 0570 (AES_CBC_IV nb=7 cntn=0 ra=0 hc=0 )
015   : 2f2f decrypt check bytes (OK)
017   : 06 dif (48 Bit Integer/Binary Instantaneous value)
018   : 6D vif (Date and time type)
019 C!: 191E0B03340E ("device_date_time":"2024-04-03 11:30:25")
025   : 0C dif (8 digit BCD Instantaneous value)
026   : 78 vif (Fabrication no)
027 C?: 42740400
031   : 0E dif (12 digit BCD Instantaneous value)
032   : 03 vif (Energy Wh)
033 C!: 639505000000 ("total_energy_consumption_kwh":59.563)
039   : 0E dif (12 digit BCD Instantaneous value)
040   : 83 vif (Energy Wh)
041   : 3C combinable vif (BackwardFlow)
042 C!: 000000000000 ("total_energy_production_kwh":0)
048   : 0B dif (6 digit BCD Instantaneous value)
049   : 2B vif (Power W)
050 C!: 050200 ("current_power_consumption_kw":0.205)
053   : 0B dif (6 digit BCD Instantaneous value)
054   : AB vif (Power W)
055   : 3C combinable vif (BackwardFlow)
056 C!: 000000 ("current_power_production_kw":0)
059   : 0B dif (6 digit BCD Instantaneous value)
060   : FB vif (First extension FB of VIF-codes)
061   : 14 vife (Reserved)
062 C?: 000000
065   : 0B dif (6 digit BCD Instantaneous value)
066   : FB vif (First extension FB of VIF-codes)
067   : 94 vife (Reserved)
068   : 3C combinable vif (BackwardFlow)
069 C?: 560200
072   : 0B dif (6 digit BCD Instantaneous value)
073   : AB vif (Power W)
074   : C8 combinable vif (UpperLimit)
075   : FC combinable vif (CombinableVIFExtension)
076   : 10 combinable extension vife (AccumulationOfAbsoluteValue)
077 C?: 000000
080   : 0D dif (variable length Instantaneous value)
081   : 3A vif (Volume flow 10⁻⁴ m³/h)
082   : 20 varlen=32
083 C?: 0000000000000000000000000000000000000000000000000000000000000000
115   : 0A dif (4 digit BCD Instantaneous value)
116   : FD vif (Second extension FD of VIF-codes)
117   : C9 vife (10^0 Volts)
118   : FC combinable vif (CombinableVIFExtension)
119   : 03 combinable extension vife (AtPhase3)
120 C!: 3902 ("voltage_at_phase_3_v":239)
122   : 2F skip
123   : 2F skip
124   : 2F skip
125   : 2F skip
126   : 2F skip
127   : 7A dif (4 digit BCD Value during error state storagenr=1)
128   : B9 vif (Volume flow 10⁻⁵ m³/h)

{
    "media":"electricity",
    "meter":"amiplus",
    "name":"",
    "id":"00047442",
    "current_power_consumption_kw":0.205,
    "current_power_production_kw":0,
    "total_energy_consumption_kwh":59.563,
    "total_energy_production_kwh":0,
    "voltage_at_phase_3_v":239,
    "device_date_time":"2024-04-03 11:30:25",
    "timestamp":"2024-04-03T09:30:58Z"
}
@wrobelda wrobelda added the device support Request for new device support or existing driver improvement label Apr 3, 2024
wrobelda added a commit to wrobelda/wmbusmeters that referenced this issue Apr 3, 2024
wrobelda added a commit to wrobelda/wmbusmeters that referenced this issue Apr 12, 2024
Copy link

github-actions bot commented Jun 3, 2024

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 github-actions bot added the Stale label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device support Request for new device support or existing driver improvement Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant