Komponent wM-Bus do ESPHome (SzczepanLeon) - liczniki energii elektrycznej

Też tak mam 10-15% CC1101 przychodzi uszkodzonych.

Problem w rym że przed aktualizacją ESPhome i HA czyli koło 25go kwietnia wszystko działało. Pozmieniałem yaml do standardu ver 2.0 i to nic nie dało … ale moze macie rację ?

Część obsługująca CC1101 nie została zmieniona. To na 99% coś z CC1101 lub pinologia.

Zawsze dla pewności możesz na starej wersji 1.5.1 sprawdzić. Wystarczt sama sekcja wmbus, nie musisz umieszczać sensor.

Cześć, spotkał się ktoś z problemem czytania napięcia na fazach ? Pozostałe parametry czyta, przy fazach albo nie czyta albo pokazuje jakieś głupoty.

Wiecej informacji. Czym to odczytujesz, co odczytujesz, jaka wersja itp. . .

Esp32+cc1101, programowo komponent 2.0 @main
Licznik tauron AMIPLUS

Log:

INFO ESPHome 2023.7.1
INFO Reading configuration /config/esphome/czytnik-licznika-energii.yaml...
INFO Detected timezone 'Europe/Warsaw'
INFO Starting log output from czytnik-licznika-energii.local using esphome API
INFO Successfully connected to czytnik-licznika-energii.local
[22:59:29][I][app:102]: ESPHome version 2023.7.1 compiled on Aug 14 2023, 22:38:24
[22:59:29][C][wifi:543]: WiFi:
[22:59:29][C][wifi:379]:   Local MAC: B8:D6:1A:68:E6:C4
[22:59:29][C][wifi:380]:   SSID: 'Firifiri_2.4GHz'[redacted]
[22:59:29][C][wifi:381]:   IP Address: 192.168.1.85
[22:59:29][C][wifi:383]:   BSSID: E8:D2:FF:EE:D9:94[redacted]
[22:59:29][C][wifi:384]:   Hostname: 'czytnik-licznika-energii'
[22:59:29][C][wifi:386]:   Signal strength: -85 dB ▂▄▆█
[22:59:29][C][wifi:390]:   Channel: 13
[22:59:29][C][wifi:391]:   Subnet: 255.255.255.0
[22:59:29][C][wifi:392]:   Gateway: 192.168.1.1
[22:59:29][C][wifi:393]:   DNS1: 192.168.1.1
[22:59:29][C][wifi:394]:   DNS2: 0.0.0.0
[22:59:29][C][logger:301]: Logger:
[22:59:29][C][logger:302]:   Level: DEBUG
[22:59:29][C][logger:303]:   Log Baud Rate: 115200
[22:59:29][C][logger:305]:   Hardware UART: UART0
[22:59:29][C][captive_portal:088]: Captive Portal:
[22:59:29][C][sntp:053]: SNTP Time:
[22:59:29][C][sntp:054]:   Server 1: '0.pool.ntp.org'
[22:59:29][C][sntp:055]:   Server 2: '1.pool.ntp.org'
[22:59:29][C][sntp:056]:   Server 3: '2.pool.ntp.org'
[22:59:29][C][sntp:057]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[22:59:29][C][mdns:112]: mDNS:
[22:59:29][C][mdns:113]:   Hostname: czytnik-licznika-energii
[22:59:29][C][ota:093]: Over-The-Air Updates:
[22:59:29][C][ota:094]:   Address: czytnik-licznika-energii.local:3232
[22:59:29][C][ota:097]:   Using Password.
[22:59:29][C][api:138]: API Server:
[22:59:29][C][api:139]:   Address: czytnik-licznika-energii.local:6053
[22:59:29][C][api:141]:   Using noise encryption: YES
[22:59:29][C][wmbus:394]: wM-Bus v2.2.29:
[22:59:29][C][wmbus:411]:   CC1101 SPI bus:
[22:59:29][C][wmbus:412]:     MOSI Pin: GPIO32
[22:59:29][C][wmbus:413]:     MISO Pin: GPIO19
[22:59:29][C][wmbus:414]:     CLK Pin:  GPIO33
[22:59:29][C][wmbus:415]:     CS Pin:   GPIO23
[22:59:29][C][wmbus:416]:     GDO0 Pin: GPIO22
[22:59:29][C][wmbus:417]:     GDO2 Pin: GPIO21
[22:59:29][C][wmbus:424]:   Available drivers:  amiplus, apator08, apator162, apatoreitn, bmeters, c5isf, compact5, dme07, elf, evo868, fhkvdataiii, hydrocalm3, hydrus, iperl, itron, izar, mkradio3, mkradio4, qheat, qwater, sharky774, topaseskr, ultrimis, unismart, vario451
[22:59:29][C][wmbus:442]:   Meter:
[22:59:29][C][wmbus:443]:     ID: 2367624 [0x00242088]
[22:59:29][C][wmbus:444]:     Type: amiplus
[22:59:29][C][wmbus:445]:     Mode: T1
[22:59:29][C][wmbus:446]:     Key: 'xxxxxx'
[22:59:29][C][wmbus:448]:     Sensor 'Aktualny pobór'
[22:59:29][C][wmbus:448]:       Device Class: 'power'
[22:59:29][C][wmbus:448]:       State Class: 'measurement'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'kW'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 3
[22:59:29][C][wmbus:448]:       Icon: 'mdi:transmission-tower-export'
[22:59:29][C][wmbus:448]:     Sensor 'Aktualna produkcja'
[22:59:29][C][wmbus:448]:       Device Class: 'power'
[22:59:29][C][wmbus:448]:       State Class: 'measurement'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'kW'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 3
[22:59:29][C][wmbus:448]:       Icon: 'mdi:transmission-tower-import'
[22:59:29][C][wmbus:448]:     Sensor 'My lqi'
[22:59:29][C][wmbus:448]:       Device Class: 'signal_strength'
[22:59:29][C][wmbus:448]:       State Class: 'measurement'
[22:59:29][C][wmbus:448]:       Unit of Measurement: ''
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 0
[22:59:29][C][wmbus:448]:     Sensor 'My RSSI'
[22:59:29][C][wmbus:448]:       Device Class: 'signal_strength'
[22:59:29][C][wmbus:448]:       State Class: 'measurement'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'dBm'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 0
[22:59:29][C][wmbus:448]:     Sensor 'Energia pobrana'
[22:59:29][C][wmbus:448]:       Device Class: 'energy'
[22:59:29][C][wmbus:448]:       State Class: 'total_increasing'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'kWh'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 3
[22:59:29][C][wmbus:448]:       Icon: 'mdi:transmission-tower-export'
[22:59:29][C][wmbus:448]:     Sensor 'Wyprodukowana energia'
[22:59:29][C][wmbus:448]:       Device Class: 'energy'
[22:59:29][C][wmbus:448]:       State Class: 'total_increasing'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'kWh'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 3
[22:59:29][C][wmbus:448]:       Icon: 'mdi:transmission-tower-import'
[22:59:29][C][wmbus:448]:     Sensor 'Napięcie na fazie 1'
[22:59:29][C][wmbus:448]:       Device Class: 'voltage'
[22:59:29][C][wmbus:448]:       State Class: 'measurement'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'V'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 0
[22:59:29][C][wmbus:448]:       Icon: 'mdi:sine-wave'
[22:59:29][C][wmbus:448]:     Sensor 'Napięcie na fazie 2'
[22:59:29][C][wmbus:448]:       Device Class: 'voltage'
[22:59:29][C][wmbus:448]:       State Class: 'measurement'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'V'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 0
[22:59:29][C][wmbus:448]:       Icon: 'mdi:sine-wave'
[22:59:29][C][wmbus:448]:     Sensor 'Napięcie na fazie 3'
[22:59:29][C][wmbus:448]:       Device Class: 'voltage'
[22:59:29][C][wmbus:448]:       State Class: 'measurement'
[22:59:29][C][wmbus:448]:       Unit of Measurement: 'V'
[22:59:29][C][wmbus:448]:       Accuracy Decimals: 0
[22:59:29][C][wmbus:448]:       Icon: 'mdi:sine-wave'
[23:01:58][I][wmbus:084]: Using driver 'amiplus' for ID [0x00242088] RSSI: -76 dBm LQI: 128 Mode: T1 T: 4E44B6108820240000027AE2004005C42657D0A025E89E89915A5DB9790B67477907934B8E56CB7D1619FF8605E959029737BE61FFB438F55BC1F4C84E78D48F88E7987377D98203F9F247ED049D9C (79)
[23:01:58][D][wmbus:090]: Decrypted T : 4E44B6108820240000027AE20040052F2F0C7822881300066D404217EE28400E038793090900000E833C6809960700000B2B8904000BAB3C0000000AFDC9FC8F88E7987377D98203F9F247ED049D9C (79)
[23:01:58][D][sensor:094]: 'My lqi': Sending state 128.00000  with 0 decimals of accuracy
[23:01:58][D][sensor:094]: 'My RSSI': Sending state -76.00000 dBm with 0 decimals of accuracy
[23:01:58][D][sensor:094]: 'Aktualny pobór': Sending state 0.48900 kW with 3 decimals of accuracy
[23:01:58][D][sensor:094]: 'Aktualna produkcja': Sending state 0.00000 kW with 3 decimals of accuracy
[23:01:58][D][sensor:094]: 'Energia pobrana': Sending state 9099.38672 kWh with 3 decimals of accuracy
[23:01:58][D][sensor:094]: 'Wyprodukowana energia': Sending state 7960.96777 kWh with 3 decimals of accuracy
[23:01:58][W][component:204]: Component wmbus took a long time for an operation (0.10 s).
[23:01:58][W][component:205]: Components should block for at most 20-30ms.
[23:04:58][I][wmbus:084]: Using driver 'amiplus' for ID [0x00242088] RSSI: -77 dBm LQI: 128 Mode: T1 T: 4E44B6108820240000027AE500400599B942877A8DF1B58AA974CBAC77F6664AE8F9F5E794E19B592B4CAF1D4763512A0F3DB30FFDCBA89C704518FF1B572E800BE756BFD1489D2EEF23333A483946 (79)
[23:04:58][D][wmbus:090]: Decrypted T : 4E44B6108820240000027AE50040052F2F0C7822881300066D404517EE28400E031494090900000E833C6809960700000B2B9204000BAB3C0000000AFDC9FC800BE756BFD1489D2EEF23333A483946 (79)
[23:04:58][D][sensor:094]: 'My lqi': Sending state 128.00000  with 0 decimals of accuracy
[23:04:58][D][sensor:094]: 'My RSSI': Sending state -77.00000 dBm with 0 decimals of accuracy
[23:04:58][D][sensor:094]: 'Aktualny pobór': Sending state 0.49200 kW with 3 decimals of accuracy
[23:04:58][D][sensor:094]: 'Aktualna produkcja': Sending state 0.00000 kW with 3 decimals of accuracy
[23:04:58][D][sensor:094]: 'Energia pobrana': Sending state 9099.41406 kWh with 3 decimals of accuracy
[23:04:58][D][sensor:094]: 'Wyprodukowana energia': Sending state 7960.96777 kWh with 3 decimals of accuracy
[23:04:58][W][component:204]: Component wmbus took a long time for an operation (0.10 s).
[23:04:58][W][component:205]: Components should block for at most 20-30ms.
[23:06:58][I][wmbus:084]: Using driver 'amiplus' for ID [0x00242088] RSSI: -77 dBm LQI: 130 Mode: T1 T: 4E44B6108820240000027AE7004005B77313A48812C45E2DCB38C0B598D74AB35FFD46810FC40106ADD006F3CA73BFB4FB4C0C7756FCECAFE88C604F4404F0F0DB104D674714C8A4235931F0D36ABC (79)
[23:06:58][D][wmbus:090]: Decrypted T : 4E44B6108820240000027AE70040052F2F0C7822881300066D404717EE28400E033294090900000E833C6809960700000B2B0606000BAB3C0000000AFDC9FCF0DB104D674714C8A4235931F0D36ABC (79)
[23:06:58][D][sensor:094]: 'My lqi': Sending state 130.00000  with 0 decimals of accuracy
[23:06:58][D][sensor:094]: 'My RSSI': Sending state -77.00000 dBm with 0 decimals of accuracy
[23:06:58][D][sensor:094]: 'Aktualny pobór': Sending state 0.60600 kW with 3 decimals of accuracy
[23:06:58][D][sensor:094]: 'Aktualna produkcja': Sending state 0.00000 kW with 3 decimals of accuracy
[23:06:58][D][sensor:094]: 'Energia pobrana': Sending state 9099.43164 kWh with 3 decimals of accuracy
[23:06:58][D][sensor:094]: 'Wyprodukowana energia': Sending state 7960.96777 kWh with 3 decimals of accuracy
[23:06:58][W][component:204]: Component wmbus took a long time for an operation (0.10 s).
[23:06:58][W][component:205]: Components should block for at most 20-30ms.

Kod

esphome:
  name: czytnik-licznika-energii
  friendly_name: Czytnik_licznika_energii

esp32:
  board: esp32dev
  framework:
    type: arduino

external_components:
- source: github://SzczepanLeon/esphome-components@main
  components: [ wmbus ]
  refresh: 5 min

# Enable logging
logger:
 level: DEBUG

time:
  - platform: sntp
    id: time_sntp

#status_led:
#  pin: 
#   number: GPIO2 #PIN D4
#    inverted: yes # "yes" - Dioda mruga gdy nie można nawiązać połączenie.
                  # "no"  - Dioda świeci gdy połączenie jest nawiązane.


# Enable Home Assistant API
api:
  encryption:
    key: „xxxxxx”

ota:
  password: „xxxxx”

wifi:
  ssid: "Firifiri_2.4GHz"
  password: „xxxxxxxx”

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Czytnik-Licznika-Energii"
    password: „xxxxxx”

captive_portal:

wmbus:
  mosi_pin: GPIO32
  clk_pin: GPIO33
  miso_pin: GPIO19
  gdo2_pin: GPIO21
  gdo0_pin: GPIO22
  cs_pin: GPIO23

sensor:
- platform: wmbus
  #pierwszy licznik Tauron
  meter_id: 0x00242088
  type: amiplus
  key: „xxxxxxxx”
  add_prefix: false #nie dodaje ID do encji
  lqi:
    name: "My lqi"
  rssi:
    name: "My RSSI"
  total_energy_consumption_kwh:
    name: "Energia pobrana"
  current_power_consumption_kw:
    name: "Aktualny pobór"
  total_energy_production_kwh:
    name: "Wyprodukowana energia"
  current_power_production_kw:
    name: "Aktualna produkcja"
  voltage_at_phase_1_v:
    name: "Napięcie na fazie 1"
  voltage_at_phase_2_v:
    name: "Napięcie na fazie 2"
  voltage_at_phase_3_v:
    name: "Napięcie na fazie 3"

czy może cos udalo sie grzebnąć powyższym temacie ?

Nie. W tych telegramach z logow nie ma napięcia. Poczytaj instrukcję do licznika i popytaj w Tauronie dlaczego nie nadaje wszystkiego.

Hej,

Czy na stronie Taurona podana wartość ID licznika jest szesnastkowo i taka podajemy czy trzeba ją przekonwertować na wartość szensastkową jako meter_id ?

Na stronie mam informacje:
Model licznika: 83332
Adres: 00080285
No i oczywiście key “0594584545…”

Taki mam wynik ale żadnego telegrama…

[23:41:30][C][wmbus:448]:   Meter:
[23:41:30][C][wmbus:449]:     ID: 524933 [0x00080285]
[23:41:30][C][wmbus:450]:     Type: amiplus
[23:41:30][C][wmbus:451]:     Mode: T1
[23:41:30][C][wmbus:452]:     Key: 'key_ze_strony_taurona'
[23:41:30][C][wmbus:454]:     Sensor 'My lqi'
[23:41:30][C][wmbus:454]:       Device Class: 'signal_strength'
[23:41:30][C][wmbus:454]:       State Class: 'measurement'
[23:41:30][C][wmbus:454]:       Unit of Measurement: ''
[23:41:30][C][wmbus:454]:       Accuracy Decimals: 0
[23:41:30][C][wmbus:454]:     Sensor 'My RSSI'
[23:41:30][C][wmbus:454]:       Device Class: 'signal_strength'
[23:41:30][C][wmbus:454]:       State Class: 'measurement'
[23:41:30][C][wmbus:454]:       Unit of Measurement: 'dBm'
[23:41:30][C][wmbus:454]:       Accuracy Decimals: 0
[23:41:30][C][wmbus:454]:     Sensor 'Energia pobrana kWh'
[23:41:30][C][wmbus:454]:       Device Class: 'energy'
[23:41:30][C][wmbus:454]:       State Class: 'total_increasing'
[23:41:30][C][wmbus:454]:       Unit of Measurement: 'kWh'
[23:41:30][C][wmbus:454]:       Accuracy Decimals: 3
[23:41:30][C][wmbus:454]:       Icon: 'mdi:transmission-tower-export'

Dodam że mam też liczniki wody skonfigurowane apator162 i tutaj wszystko działa. @_Szczepan a może @DanielWr można prosić o pomoc?

Nie mam pojęcia, ale najlepiej złapać loga typu:

[22:31:44][D][wmbus:087]: Meter ID [0x00041459] RSSI: -71 dBm not found in configuration T: 4D4401865914040015377247338101010640040C040020026CFA210E0A6503736009000C13857073030A5A42040A5E5503
440EA659010001FD0C010A6545240AFD4737030A270819047F00000002 (78)

i dopasujesz ID.

Problem ze nie mam żadnego loga z licznika energii, jedynie wody apator i zastanawiam się czemu.


U mnie ID to 86… i to jest szesnastkowo wiec musisz podać przed 0x, co do Ami plus to mimo że mam antenę ok 3m od licznika to sygnał ma bardzo słabą jakość i jest nadawany w interwałach minutowych o ile dobrze pamiętam

Witam
Czy będzie dodany też licznik OTUS 3 od Apatora? Operator to Enea. Jest jeszcze ISKA AM550 ale nie wiem czy ma wM-Bus.

Masz jakieś telegramy z niego? Moze są takie same jak dla ami?

8 postów zostało podzielonych na nowy temat: Czy w przyszłości liczniki energii elektrycznej mają nadawać sygnał wM-Bus?

Cześć mam problem z odczytem licznika OTUS3. Jak się domyślam z poprzednich postów to nie jest on jeszcze wspierany? Czy jest szansa na dodanie obsługi tego licznika?
Mogę podrzucić trochę logów i moją konfigurację
Dane licznika:
image

Moja konfiguracja:

  - platform: wmbus
    meter_id: 0x35683931
    type: amiplus
    add_prefix: false
    mode: T1
    key: "587243326D6768474F436A73........"
    # rssi:
    #   name: "Licznik pradu RSSI"
    total_energy_consumption_kwh:
      name: "Consumption in kWh"
      icon: "mdi:power-plug"
    current_power_consumption_kw:
      name: "Current power consumption in kW"
    total_energy_production_kwh:
      name: "Total energy production in kWh"
    current_power_production_kw:
      name: "Current power production in kW"
    voltage_at_phase_1_v:
      name: "napiecie L1"
    voltage_at_phase_2_v:
      name: "napiecie L2"
    voltage_at_phase_3_v:
      name: "napiecie L3"

Odczytane logi:

[22:41:28][V][rxLoop:157]: Have 299 bytes from CC1101 Rx, RSSI: -46 dBm LQI: 128
[22:41:28][D][mbus:035]: Processing T1 A frame
[22:41:28][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E62DA3569965998CEC715A398B6663A55B438D9596A971334000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[22:41:28][V][3of6:083]: Decode 3 out of 6 failed..
[22:41:28][W][component:214]: Component wmbus took a long time for an operation (0.06 s).
[22:41:28][W][component:215]: Components should block for at most 20-30ms.
[22:42:28][V][rxLoop:157]: Have 299 bytes from CC1101 Rx, RSSI: -47 dBm LQI: 128
[22:42:28][D][mbus:035]: Processing T1 A frame
[22:42:28][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E62EC3569965999A9D16CA335C9595B16997132E398BD1994000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[22:42:28][V][3of6:083]: Decode 3 out of 6 failed..
[22:42:28][W][component:214]: Component wmbus took a long time for an operation (0.06 s).
[22:42:28][W][component:215]: Components should block for at most 20-30ms.
[22:42:57][V][rxLoop:157]: Have 299 bytes from CC1101 Rx, RSSI: -46 dBm LQI: 128
[22:42:57][D][mbus:035]: Processing T1 A frame
[22:42:57][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E62E53569965996692DA8D698B9B19534E6731593CACD26D3000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[22:42:57][V][3of6:083]: Decode 3 out of 6 failed..
[22:42:57][W][component:214]: Component wmbus took a long time for an operation (0.06 s).
[22:42:57][W][component:215]: Components should block for at most 20-30ms.
[22:43:28][V][rxLoop:157]: Have 299 bytes from CC1101 Rx, RSSI: -46 dBm LQI: 128
[22:43:28][D][mbus:035]: Processing T1 A frame
[22:43:28][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E62E63569965995998D69599AC9A369A6AC68E393A655A95A000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[22:43:28][V][3of6:083]: Decode 3 out of 6 failed..
[22:43:28][W][component:214]: Component wmbus took a long time for an operation (0.06 s).
[22:43:28][W][component:215]: Components should block for at most 20-30ms.

Pozdrawiam

Tego nie wiadomo - ja daję 70% że jest wspierany.
Krok pierwszy to odebranie poprawnego telegramu. Musisz w logu mieć

[23:44:22][V][3of6:0xy]: Decode 3 out of 6 OK

a nie

[22:41:28][V][3of6:083]: Decode 3 out of 6 failed..

Potem musi przejść sprawdzanie CRC i z taką ramką możesz dopiero odczytywać dane (czy to komponentem czy też wmbusmeters’em).

Dzięki za szybką odpowiedź i wskazówki. Włożyłem czytnik do skrzynki licznika, ale logi wyglądają podobnie:

[13:07:57][V][rxLoop:157]: Have 299 bytes from CC1101 Rx, RSSI: -30 dBm LQI: 128
[13:07:57][D][mbus:035]: Processing T1 A frame
[13:07:57][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6A713569965994F4CB25A99998D9B0EC96A692F14DCCA636000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[13:07:57][V][3of6:083]: Decode 3 out of 6 failed..
[13:07:57][W][component:214]: Component wmbus took a long time for an operation (0.06 s).
[13:07:57][W][component:215]: Components should block for at most 20-30ms.
---------------------------------------------------------------------------------
Dla porównania zalogowany odczyt wodomierza z nakładką Apator 16-2, który się załapał:
[13:08:22][V][rxLoop:157]: Have 110 bytes from CC1101 Rx, RSSI: -70 dBm LQI: 134
[13:08:22][D][mbus:035]: Processing T1 A frame
[13:08:22][V][mbus:039]: Frame: 2F271C58D59A38E2D92DA59C599593CA372C4E66715962D6B1958D65A8E3C6CC4E9599A999C4D35A358B95334B5992E5393C72D16C5AB2636C6664EC34E58B5B48CD38B71A3569B164D9A3CAC9B4B1335996C70BD2599CC5A6A559A6692E98D998D5B13635B459CD3164BD1C3A95 (110) [RAW]
[13:08:22][V][mbus:045]: Frame: 3E440106223536040507EB487A5D0030850156BBD8D295AFA4770B039713053927DEC0D68A185A7812030CB1234610AD51ABE8AC87159843C9A4D669065F3FB5A10D1B0C04CD53C42F (73) [with CRC]
[13:08:22][V][mbus:088]: Validating CRC for Block1
[13:08:22][V][crc:031]:     calculated: 0xEB48, read: 0xEB48
[13:08:22][V][mbus:108]: Validating CRC for Block2
[13:08:22][V][crc:031]:     calculated: 0x9713, read: 0x9713
[13:08:22][V][mbus:108]: Validating CRC for Block3
[13:08:22][V][crc:031]:     calculated: 0x10AD, read: 0x10AD
[13:08:22][V][mbus:108]: Validating CRC for Block4
[13:08:22][V][crc:031]:     calculated: 0xA10D, read: 0xA10D
[13:08:22][V][mbus:108]: Validating CRC for Block5
[13:08:22][V][crc:031]:     calculated: 0xC42F, read: 0xC42F
[13:08:22][V][mbus:055]: Frame: 3E4401062235360405077A5D0030850156BBD8D295AFA4770B03053927DEC0D68A185A7812030CB1234651ABE8AC87159843C9A4D669065F3FB51B0C04CD53 (63) [without CRC]
[13:08:22][D][wmbus:182]: Meter ID [0x04363522] RSSI: -70 dBm LQI: 134 Frame: T1 A not found in configuration T: 3E4401062235360405077A5D0030850156BBD8D295AFA4770B03053927DEC0D68A185A7812030CB1234651ABE8AC87159843C9A4D669065F3FB51B0C04CD53 (63)
[13:08:22][W][component:214]: Component wmbus took a long time for an operation (0.14 s).
[13:08:22][W][component:215]: Components should block for at most 20-30ms.
--------------------------------------------------------------------------------------------------------

[13:08:27][V][rxLoop:157]: Have 299 bytes from CC1101 Rx, RSSI: -31 dBm LQI: 128
[13:08:27][D][mbus:035]: Processing T1 A frame
[13:08:27][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6A723569965994CBA74D1C69C8D92D669369C73466673171000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[13:08:27][V][3of6:083]: Decode 3 out of 6 failed..

Kilka samych odebranych ramek ( widać, że początek (9B271C58D59A35994BB0B65A58D58EA6C2E34E6) każdej ramki jest stały ):

	Line  166: [12:50:27][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6C66356996599C72A5CA716A36A6B16A668D6C6372CCB42E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
	Line  176: [12:50:57][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6C633569965993AC65A72C2D34D664DB31D25D34A7470D64000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
	Line  182: [12:51:27][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6C74356996599A699A6C5C35669996371CB0E71A4ECA6C2C000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
	Line  206: [12:52:27][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6C72356996599A6C95368D6AC98B35639A9A6C9C2CB70D4D000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
	Line  212: [12:52:57][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6C69356996599B1CA4B5AC8E3A722F4974D16693A72D0E2D000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
	Line  222: [12:53:27][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6C96356996599C8BA63C4E2E3C5C68E64EB16D264CDB192D000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
	Line  292: [12:56:27][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6C9A356996599C5A8D9D32C654F46B1D1C5ACD31366A53CA000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
	Line  386: [12:58:57][V][mbus:039]: Frame: 9B271C58D59A35994BB0B65A58D58EA6C2E34E6CA33569965998E3C6C3B17195A639338E4F266358D593A6000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Siła sygnału (-30dBm) jest moim zdaniem bardzo dobra, długość ramki też wygląda ok. Odbiera zawsze 299B danych. Czy możliwe jest, że używane jest kodowanie inne niż 3outof6?
Uszkodzenie odbiornika też wykluczam, bo nakładkę wodomierza odczytuje prawidłowo
Pozdrawiam
Rafał

Cześć, przypadkowo natknąłem się na ten wątek.
Licznik APATOR OTUS3 ( M-Bus Wireless ) od TAURON skonfigurowany jako AMIPLUS działa poprawnie !
Użyłem CC1101 + ESP8266 ( Wemos D1 mini )

[15:33:27][C][wmbus:372]: wM-Bus v3.1.8:
[15:33:27][C][wmbus:389]:   CC1101 frequency: 868.950 MHz
[15:33:27][C][wmbus:390]:   CC1101 SPI bus:
[15:33:27][C][wmbus:391]:     MOSI Pin: GPIO13
[15:33:27][C][wmbus:392]:     MISO Pin: GPIO12
[15:33:27][C][wmbus:393]:     CLK Pin:  GPIO14
[15:33:27][C][wmbus:394]:     CS Pin:   GPIO15
[15:33:27][C][wmbus:395]:     GDO0 Pin: GPIO5
[15:33:27][C][wmbus:396]:     GDO2 Pin: GPIO4
[15:33:27][C][wmbus:403]:   Available drivers:  amiplus, apator08, apator162, apatoreitn, bmeters, c5isf, compact5, dme07, elf, evo868, fhkvdataiii, flowiq2200, hydrocalm3, hydrus, iperl, itron, izar, kamheat, mkradio3, mkradio4, mkradio4a, multical21, qheat, qwater, rfmtx1, sharky774, topaseskr, ultrimis, unismart, vario451
[15:33:27][C][wmbus:421]:   Meter:
[15:33:27][C][wmbus:422]:     ID: 1450780792 [0x56792878]
[15:33:27][C][wmbus:423]:     Type: amiplus
[15:33:27][C][wmbus:424]:     Mode: T1C1

dla osób które mają z tym problemy najważniejsza część mojej konfiguracji

logger:
  level: DEBUG
wmbus:
  clk_pin:  GPIO14
  miso_pin: GPIO12
  mosi_pin: GPIO13
  cs_pin:   GPIO15
  gdo0_pin: GPIO5
  gdo2_pin: GPIO4
  log_unknown: True
sensor:
  - platform: wmbus
    meter_id: 0x56792878
    key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
    type: amiplus
    mode: T1C1
    lqi:
      name: "My lqi"
    rssi:
      name: "My RSSI"
    total_energy_consumption_kwh:
      name: "Energia pobrana"
    current_power_consumption_kw:
      name: "Aktualny pobór"
    total_energy_production_kwh:
      name: "Wyprodukowana energia"
    current_power_production_kw:
      name: "Aktualna produkcja"
    voltage_at_phase_1_v:
      name: "Napięcie na fazie 1"
    voltage_at_phase_2_v:
      name: "Napięcie na fazie 2"
    voltage_at_phase_3_v:
      name: "Napięcie na fazie 3"
1 polubienie

Dawałem 70% :slight_smile:
Dzieki za potwierdzenie. Jakbyś mógł jeszcze kawałek logów VERBOSE załączyć.