Komponent wM-Bus do ESPHome (SzczepanLeon) wersja 3.x - wątek ogólny

Po miesiącu oczekiwania dostałem kody odczytowe do moich podzielników.
Kody dostałem w trybie hex mam zamieniać na dziesiętna i jak to zrobić ?
acd5ac19ac035a8cf5ddb01f221f441f (dla przykładu w takiej formie- zmieniłem parę znaków)
Pozdrawiam

Sprawdz czy HEX wchodzi.

dostaję taki komunikat

[21:21:54][D][wmbus:090]: Using driver 'apatoreitn' for ID [0x00568957] RSSI: -61 dBm LQI: 136 Frame: C1 A T: 40440106578956000D08A00000C100810140FC52004500000000000000000000000000000000000000000000000000000000009700000000000000723302000000 (65)
[21:21:54][E][utils:214]: (TPL) unknown CI field [A0]
[21:22:05][D][mbus:013]: Processing C1 A frame
[21:22:05][D][crc:035]:     calculated: 0xF860, read: 0xF8E0  !!!

To jest jeszcze przed korzystaniem z klucza. Poczekaj …

Ten komunikat mam po wpisaniu klucza w hex

Zmien driver na bfw240radio

nie chce mi pociągnąć wersji z github-a
cały czas czeka na tym etapie

INFO ESPHome 2025.6.3
INFO Reading configuration /config/esphome/gama350.yaml...
INFO Updating https://github.com/SzczepanLeon/esphome-components.git@version_3

EDIT:
Na konfiguracji radia

    type: bfw240radio

w logach nie widać aby był odczyta dla podzielników jako C1

daj logi i calego yaml’a
pewnie masz za stara wersje

Dotarła moja wiadomość z logami i konfiguracją ?

Hej, od 2 tyg przestałem dostawać informacje z jednego z moich liczników wody. czy to możliwe ze on po prostu przestał wysyłać? w samy ESP nic nie robiłem wiec kod na esp byl taki sam, ale nie moglem sie do niego połączyć po wifi, wiec zrobiłem aktualizacje i skompilowalem najnowszy kod z wersji 3. Niestety nic to nie dało, oprócz tego ze teraz moge podglądać logi po wifi.

Nadal z 2 liczników które mam tylko jeden “nadaje”(My cold water - nie dziala, My garden cold water - dziala"), przynajmniej tak mi wychodzi z logow. Kod dla obu liczników jest taki sam. Jakieś pomysły co może być przyczyną?

Podsyłam swoj YAML i Log.

esphome:
  name: water-meter
  friendly_name: Water Meter

esp8266:
  board: esp01_1m

# Enable logging
logger:
  level: DEBUG

# Enable Home Assistant API
api:
  encryption:
    key: "XXX"

ota:
  - platform: esphome
    password: "XXX"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Water-Meter Fallback Hotspot"
    password: "nhH6rat4BPnm"

captive_portal:
    
time:
  - platform: sntp
    id: time_sntp

external_components:
  - source: github://SzczepanLeon/esphome-components@version_3
    refresh: 0d
    components: [ wmbus ]

wmbus:
  mosi_pin: GPIO13
  miso_pin: GPIO12
  clk_pin:  GPIO14
  cs_pin:   GPIO2
  gdo0_pin: GPIO5
  gdo2_pin: GPIO4

# led_pin: GPIO0
# led_blink_time: "1s"

sensor:
  - platform: wmbus
    meter_id: 0x03636908
    type: apator162
    key: "00000000000000000000000000000000"
    lqi:
      name: "My lqi"
    rssi:
      name: "My RSSI"
    total_water_m3:
      name: "My cold water"
  - platform: wmbus
    meter_id: 0x03645457
    type: apator162
    key: "00000000000000000000000000000000"
    lqi:
      name: "My garden lqi"
    rssi:
      name: "My garden RSSI"
    total_water_m3:
      name: "My garden cold water"
INFO ESPHome 2025.11.2
INFO Reading configuration /config/esphome/water-meter.yaml...
WARNING The minimum WiFi authentication mode (wifi -> min_auth_mode) is not set. This controls the weakest encryption your device will accept when connecting to WiFi. Currently defaults to WPA (less secure), but will change to WPA2 (more secure) in 2026.6.0. WPA uses TKIP encryption which has known security vulnerabilities and should be avoided. WPA2 uses AES encryption which is significantly more secure. To silence this warning, explicitly set min_auth_mode under 'wifi:'. If your router supports WPA2 or WPA3, set 'min_auth_mode: WPA2'. If your router only supports WPA, set 'min_auth_mode: WPA'.
INFO Detected timezone 'Europe/Warsaw'
INFO Starting log output from 192.168.20.53 using esphome API
INFO Successfully resolved water-meter @ 192.168.20.53 in 0.000s
INFO Successfully connected to water-meter @ 192.168.20.53 in 0.006s
INFO Successful handshake with water-meter @ 192.168.20.53 in 2.386s
[13:54:57.595][I][app:190]: ESPHome version 2025.11.2 compiled on Dec  1 2025, 23:35:13
[13:54:57.641][C][logger:261]: Logger:
[13:54:57.641][C][logger:261]:   Max Level: DEBUG
[13:54:57.641][C][logger:261]:   Initial Level: DEBUG
[13:54:57.642][C][logger:267]:   Log Baud Rate: 115200
[13:54:57.642][C][logger:267]:   Hardware UART: UART0
[13:54:57.643][C][captive_portal:122]: Captive Portal:
[13:54:57.643][C][wifi:1062]: WiFi:
[13:54:57.643][C][wifi:1062]:   Connected: YES
[13:54:57.643][C][wifi:827]:   Local MAC: XXX
[13:54:57.644][C][wifi:834]:   IP Address: XXX
[13:54:57.644][C][wifi:838]:   SSID: [redacted]
[13:54:57.644][C][wifi:838]:   BSSID: [redacted]
[13:54:57.644][C][wifi:838]:   Hostname: 'water-meter'
[13:54:57.644][C][wifi:838]:   Signal strength: -57 dB ▂▄▆█
[13:54:57.644][C][wifi:838]:   Channel: 11
[13:54:57.644][C][wifi:838]:   Subnet: 255.255.255.0
[13:54:57.644][C][wifi:838]:   Gateway: XXX
[13:54:57.644][C][wifi:838]:   DNS1: 1.1.1.3
[13:54:57.644][C][wifi:838]:   DNS2: 1.0.0.3
[13:54:57.653][C][sntp:059]: SNTP Time:
[13:54:57.654][C][sntp:062]:   Server 0: '0.pool.ntp.org'
[13:54:57.670][C][sntp:062]:   Server 1: '1.pool.ntp.org'
[13:54:57.670][C][sntp:062]:   Server 2: '2.pool.ntp.org'
[13:54:57.670][C][time:029]: Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[13:54:57.676][C][esphome.ota:093]: Over-The-Air updates:
[13:54:57.676][C][esphome.ota:093]:   Address: water-meter.local:8266
[13:54:57.676][C][esphome.ota:093]:   Version: 2
[13:54:57.679][C][esphome.ota:100]:   Password configured
[13:54:57.688][C][safe_mode:018]: Safe Mode:
[13:54:57.688][C][safe_mode:018]:   Successful after: 60s
[13:54:57.688][C][safe_mode:018]:   Invoke after: 10 attempts
[13:54:57.688][C][safe_mode:018]:   Duration: 300s
[13:54:57.692][C][web_server.ota:241]: Web Server OTA
[13:54:57.704][C][api:223]: Server:
[13:54:57.704][C][api:223]:   Address: water-meter.local:6053
[13:54:57.704][C][api:223]:   Listen backlog: 1
[13:54:57.704][C][api:223]:   Max connections: 4
[13:54:57.706][C][api:230]:   Noise encryption: YES
[13:54:57.711][C][mdns:177]: mDNS:
[13:54:57.711][C][mdns:177]:   Hostname: water-meter
[13:54:57.734][C][wmbus:372]: wM-Bus v3.3.0:
[13:54:57.735][C][wmbus:389]:   CC1101 frequency: 868.950 MHz
[13:54:57.735][C][wmbus:390]:   CC1101 SPI bus:
[13:54:57.735][C][wmbus:391]:     MOSI Pin: GPIO13
[13:54:57.736][C][wmbus:392]:     MISO Pin: GPIO12
[13:54:57.745][C][wmbus:393]:     CLK Pin:  GPIO14
[13:54:57.746][C][wmbus:394]:     CS Pin:   GPIO2
[13:54:57.746][C][wmbus:395]:     GDO0 Pin: GPIO5
[13:54:57.757][C][wmbus:396]:     GDO2 Pin: GPIO4
[13:54:57.779][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
[13:54:57.791][C][wmbus:421]:   Meter:
[13:54:57.791][C][wmbus:422]:     ID: 56846600 [0x03636908]
[13:54:57.791][C][wmbus:423]:     Type: apator162
[13:54:57.802][C][wmbus:424]:     Mode: T1
[13:54:57.803][C][wmbus:425]:     Key: '00000000000000000000000000000000'
[13:54:57.814][C][wmbus:017]:     Sensor '0x3636908 My lqi'
[13:54:57.814][C][wmbus:017]:       State Class: 'measurement'
[13:54:57.814][C][wmbus:017]:       Unit of Measurement: ''
[13:54:57.814][C][wmbus:017]:       Accuracy Decimals: 0
[13:54:57.825][C][wmbus:027]:       Device Class: 'signal_strength'
[13:54:57.838][C][wmbus:017]:     Sensor '0x3636908 My RSSI'
[13:54:57.838][C][wmbus:017]:       State Class: 'measurement'
[13:54:57.838][C][wmbus:017]:       Unit of Measurement: 'dBm'
[13:54:57.838][C][wmbus:017]:       Accuracy Decimals: 0
[13:54:57.838][C][wmbus:027]:       Device Class: 'signal_strength'
[13:54:57.858][C][wmbus:017]:     Sensor '0x3636908 My cold water'
[13:54:57.858][C][wmbus:017]:       State Class: 'total_increasing'
[13:54:57.858][C][wmbus:017]:       Unit of Measurement: 'm³'
[13:54:57.858][C][wmbus:017]:       Accuracy Decimals: 3
[13:54:57.875][C][wmbus:027]:       Device Class: 'water'
[13:54:57.875][C][wmbus:031]:       Icon: 'mdi:water'
[13:54:57.875][C][wmbus:421]:   Meter:
[13:54:57.875][C][wmbus:422]:     ID: 56906839 [0x03645457]
[13:54:57.883][C][wmbus:423]:     Type: apator162
[13:54:57.883][C][wmbus:424]:     Mode: T1
[13:54:57.894][C][wmbus:425]:     Key: '00000000000000000000000000000000'
[13:54:57.905][C][wmbus:017]:     Sensor '0x3645457 My garden lqi'
[13:54:57.905][C][wmbus:017]:       State Class: 'measurement'
[13:54:57.905][C][wmbus:017]:       Unit of Measurement: ''
[13:54:57.905][C][wmbus:017]:       Accuracy Decimals: 0
[13:54:57.906][C][wmbus:027]:       Device Class: 'signal_strength'
[13:54:57.917][C][wmbus:017]:     Sensor '0x3645457 My garden RSSI'
[13:54:57.917][C][wmbus:017]:       State Class: 'measurement'
[13:54:57.917][C][wmbus:017]:       Unit of Measurement: 'dBm'
[13:54:57.917][C][wmbus:017]:       Accuracy Decimals: 0
[13:54:57.928][C][wmbus:027]:       Device Class: 'signal_strength'
[13:54:57.940][C][wmbus:017]:     Sensor '0x3645457 My garden cold water'
[13:54:57.940][C][wmbus:017]:       State Class: 'total_increasing'
[13:54:57.940][C][wmbus:017]:       Unit of Measurement: 'm³'
[13:54:57.940][C][wmbus:017]:       Accuracy Decimals: 3
[13:54:57.945][C][wmbus:027]:       Device Class: 'water'
[13:54:57.946][C][wmbus:031]:       Icon: 'mdi:water'
[13:55:16.353][D][mbus:034]: Processing T1 A frame
[13:55:34.359][D][mbus:034]: Processing T1 A frame
[13:55:34.373][D][wmbus:090]: Using driver 'apator162' for ID [0x03645457] RSSI: -84 dBm LQI: 156 Frame: T1 A T: 3E4401065754640305077A06003085E55F33837CC100E450D397DB5A6E4D6E39BB6DF6C14209425AD85C51C6BFE77F3D5402C71334DAD1D5F226F56EBD322C (63)
[13:55:34.384][D][wmbus:104]: Decrypted T : 3E4401065754640305077A060030852F2F0F57636C99080208432F06830012B857632C03B181C4106F29000071016F29000056290000A02E931804FFFFD795 (63)
[13:55:34.396][D][sensor:133]: '0x3645457 My garden lqi': Sending state 156.00000  with 0 decimals of accuracy
[13:55:34.408][D][sensor:133]: '0x3645457 My garden RSSI': Sending state -84.00000 dBm with 0 decimals of accuracy
[13:55:34.412][D][sensor:133]: '0x3645457 My garden cold water': Sending state 10.60700 m³ with 3 decimals of accuracy
[13:55:39.810][D][sntp:100]: Synchronized time: 2025-12-03 13:55:39
[13:56:12.360][D][mbus:034]: Processing T1 A frame
[13:56:12.422][D][wmbus:090]: Using driver 'apator162' for ID [0x03645457] RSSI: -85 dBm LQI: 154 Frame: T1 A T: 3E4401065754640305077A070030857091FA4A7C5331265E60C45FD16344DACC9287F5CC682AC9CF706D9A5B3BE7483018EDBED67CD8FD22FACE9B3CC7BA65 (63)
[13:56:12.422][D][wmbus:104]: Decrypted T : 3E4401065754640305077A070030852F2F0F58636C99080208432F06830012B858632C03B581C4106F29000071016F29000056290000A02E931804FFFFAB55 (63)
[13:56:12.422][D][sensor:133]: '0x3645457 My garden lqi': Sending state 154.00000  with 0 decimals of accuracy
[13:56:12.422][D][sensor:133]: '0x3645457 My garden RSSI': Sending state -85.00000 dBm with 0 decimals of accuracy
[13:56:12.422][D][sensor:133]: '0x3645457 My garden cold water': Sending state 10.60700 m³ with 3 decimals of accuracy
[13:57:10.355][D][mbus:034]: Processing T1 A frame
[13:57:25.332][D][mbus:034]: Processing T1 A frame
[13:57:40.361][D][mbus:034]: Processing T1 A frame
[13:57:40.408][D][wmbus:090]: Using driver 'apator162' for ID [0x03645457] RSSI: -84 dBm LQI: 144 Frame: T1 A T: 3E4401065754640305077A0A003085AB1214DBD482233EC2467E5602F0746FF5B46EBB2D2B73DFE3DD76208C6576AAAEB1E707197E99411ED3DE401F5A2DB0 (63)
[13:57:40.408][D][wmbus:104]: Decrypted T : 3E4401065754640305077A0A0030852F2F0F59636C99080208432F06830012B859632C03BE81C4106F29000071016F29000056290000A02E931804FFFFA2C8 (63)
[13:57:40.408][D][sensor:133]: '0x3645457 My garden lqi': Sending state 144.00000  with 0 decimals of accuracy
[13:57:40.408][D][sensor:133]: '0x3645457 My garden RSSI': Sending state -84.00000 dBm with 0 decimals of accuracy
[13:57:40.414][D][sensor:133]: '0x3645457 My garden cold water': Sending state 10.60700 m³ with 3 decimals of accuracy

Padła bateria w wodomierzu?

Tylko jak to sprawdzić? Zadzwonić do PUK i powiedzieć że nie będą mieli jak odczytać licznika?

Zakładałem że to Twój licznik. Dzwonić mozesz zawsze ale raczej wodociagi dbaja o reguralna wymiane licznikow.

Nie zaobserwowales spadku mocy sygnalu? Moze tez cos z CC1101 jest niedobrego.

Licznik mam w kotłowni w domu a odbiornik kilka metrów od nich, no ale jednak licznik nie jest moją własnością więc nie chce w niego ingerować. Nie było nigdy problemu. Liczniki też nie są jakieś super stare bo wymienili mi je pewnie koło 3 lat temu i wtedy dostały ich nakładkę. Czym jest CC1101?

Porozmawiaj z sprzedawca czytnika - moze oferuje support. :wink:

Muszę potwierdzić że przestał działać type: apator162, nic nie było aktualizowane (ESPhome). Zmieniałem konfiguracje HA (Hardware) i korzystam obecnie z innego licznika po LAN, więc nie zawracałem sobie głowy czemu przestał działać.

dashboard_import:
  package_import_url: github://MariuszWoszczynski/WMBUS-reader/WMBUS-reader.yaml@main
  import_full_config: true

substitutions:
  name: "wmbus-reader"
  friendly_name: "wmbus-reader"

esphome:
  name: "${name}"
  friendly_name: "${friendly_name}"
  project:
    name: esphome.wmbus_reader
    version: "1.0"
  # only for RPI 
  # compile_process_limit: 1  
  
esp32:
  board: nodemcu-32s
  framework:
    type: arduino

external_components:
    
  - source: github://SzczepanLeon/esphome-components@version_3
    components: [ wmbus ]
    refresh: 0d

Dzień dobry.
Jakiś czas temu wysłałem logi odnośnie podczytu E-ITN40.
Czy coś ruszyło w temacie.
Pozdrawiam

Z mojej strony to wszystkie drivery czekaja na update oraz merge i wyslanie do jednego miejsca razem z update wmbusmetersa.

Ale czasu brak.

ok
Poczekam cierpliwie