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

działa jak natura chciała:)
dzięki za pomoc

czy wersji 3.2.3 jest kompatybilna z nową wersją ESPHome ?, dostaję takie błędy jak poniżej. Tylko wersja 4 będzie wspierana? gdyż 4 przechodzi kompilację bez problemu.

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/sihbeta.yaml...
ERROR Unexpected exception while reading configuration:
Traceback (most recent call last):
  File "/usr/local/bin/esphome", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/esphome/esphome/__main__.py", line 1049, in main
    return run_esphome(sys.argv)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/__main__.py", line 1027, in run_esphome
    config = read_config(dict(args.substitution) if args.substitution else {})
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 1095, in read_config
    res = load_config(command_line_substitutions)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 949, in load_config
    return _load_config(command_line_substitutions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 939, in _load_config
    return validate_config(config, command_line_substitutions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 835, in validate_config
    target_platform = core_config.preload_core_config(config, result)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/core/config.py", line 222, in preload_core_config
    if _is_target_platform(domain):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/core/config.py", line 184, in _is_target_platform
    if get_component(name, True).is_target_platform:
       ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/loader.py", line 205, in get_component
    return _lookup_module(domain, exception)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/loader.py", line 181, in _lookup_module
    module = importlib.import_module(f"esphome.components.{domain}")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/data/external_components/0e75e1a4/components/wmbus/__init__.py", line 62, in <module>
    cv.Required(CONF_IP_ADDRESS): cv.ipv4,
                                  ^^^^^^^
AttributeError: module 'esphome.config_validation' has no attribute 'ipv4'

Info jest kilka postów wyżej

zmień konfigurację (zamiast linka do konkretnego wydania 2.x i 3.x jest link do brancha)

faktycznie odnosiłem się do konkretnej wersji oprogramowania i to był błąd, dzięki wielkie.

Po ostatniej aktualizacji esphome Mam problem z aktualizacją wodomierza. Ktoś ma podobny problem??
Poniżej log.

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/wodomierz.yaml...
INFO Updating https://github.com/SzczepanLeon/esphome-components.git@3.2.3
ERROR Unexpected exception while reading configuration:
Traceback (most recent call last):
  File "/usr/local/bin/esphome", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/esphome/esphome/__main__.py", line 1049, in main
    return run_esphome(sys.argv)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/__main__.py", line 1027, in run_esphome
    config = read_config(dict(args.substitution) if args.substitution else {})
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 1095, in read_config
    res = load_config(command_line_substitutions)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 949, in load_config
    return _load_config(command_line_substitutions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 939, in _load_config
    return validate_config(config, command_line_substitutions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 835, in validate_config
    target_platform = core_config.preload_core_config(config, result)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/core/config.py", line 222, in preload_core_config
    if _is_target_platform(domain):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/core/config.py", line 184, in _is_target_platform
    if get_component(name, True).is_target_platform:
       ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/loader.py", line 205, in get_component
    return _lookup_module(domain, exception)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/loader.py", line 181, in _lookup_module
    module = importlib.import_module(f"esphome.components.{domain}")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/data/external_components/0e75e1a4/components/wmbus/__init__.py", line 62, in <module>
    cv.Required(CONF_IP_ADDRESS): cv.ipv4,
                                  ^^^^^^^
AttributeError: module 'esphome.config_validation' has no attribute 'ipv4'

@Spatz
Nie ten wątek, używasz chyba jakiegoś komponentu niestandardowego.
Tzn. nie chyba tylko na pewno.

Ale tak działało od początku z rok albo i dłużej. Teraz przy aktualizacji coś wysypało. Masz może poprawny kod?? Możesz udostępnić?

Dobra zlituję się i przeniosę te posty gdzie należy…
Zrobione, czytaj wyżej, czy to był problem przejrzeć kilka wątków ze świeżymi postami?

1 polubienie

Błąd nie wiem czy wina komponentu Szczepana czy składni esp

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/licznik.yaml...
ERROR Unexpected exception while reading configuration:
Traceback (most recent call last):
  File "/usr/local/bin/esphome", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/esphome/esphome/__main__.py", line 1049, in main
    return run_esphome(sys.argv)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/__main__.py", line 1027, in run_esphome
    config = read_config(dict(args.substitution) if args.substitution else {})
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 1095, in read_config
    res = load_config(command_line_substitutions)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 949, in load_config
    return _load_config(command_line_substitutions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 939, in _load_config
    return validate_config(config, command_line_substitutions)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/config.py", line 835, in validate_config
    target_platform = core_config.preload_core_config(config, result)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/core/config.py", line 222, in preload_core_config
    if _is_target_platform(domain):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/core/config.py", line 184, in _is_target_platform
    if get_component(name, True).is_target_platform:
       ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/loader.py", line 205, in get_component
    return _lookup_module(domain, exception)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/esphome/esphome/loader.py", line 181, in _lookup_module
    module = importlib.import_module(f"esphome.components.{domain}")
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/data/external_components/0e75e1a4/components/wmbus/__init__.py", line 62, in <module>
    cv.Required(CONF_IP_ADDRESS): cv.ipv4,
                                  ^^^^^^^
AttributeError: module 'esphome.config_validation' has no attribute 'ipv4'

Nie no, przeczytaj chociaż parę postów wyżej.

Wiem.breaking change ale co dalej dobra juz rozumiem podmiana

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

czyli że wersja 3 bez podawania nr

1 polubienie

czy nadal obowiazuje ta konfuguracja ?

  name: "woda-szczepan"
  friendly_name: Woda

esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  min_version: 2024.6.0
  name_add_mac_suffix: false
  project:
    name: esphome.web
    version: dev

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:

# Allow Over-The-Air updates
ota:
- platform: esphome


# Allow provisioning Wi-Fi via serial
improv_serial:

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

# In combination with the `ap` this allows the user
# to provision wifi credentials to the device via WiFi AP.
captive_portal:

# To have a "next url" for improv serial
web_server:


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

time:
  - platform: sntp
    id: sntp_time

wmbus:
  mosi_pin: GPIO13  # blue
  clk_pin:  GPIO14  # purple
  miso_pin: GPIO12  # green
  gdo2_pin: GPIO22  # gray
  gdo0_pin: GPIO21  # yellow
  cs_pin:   GPIO15  # orange
  frequency: 868.950

sensor:
  - platform: wmbus
    meter_id: 0x07676659
    type: apator162
    key: "00000000000000000000000000000000"
    lqi:
      name:  "My_lqi" 
    rssi:
      name:  "My_RSSI"
    total_water_m3:
      name:  "Woda"

Jeśli nie zmieniasz wersji generacji komponentu to raczej tak, ale najlepiej by potwierdził autor.

Na ESP32 nie ma powodu by siedzieć na starej wersji - zmień konfigurację i przejdź na 4.x

1 polubienie

Brak pamięci jak chce 4.1 .
Nadal brak odświeżania stan woda nieznany już głupieje czy znowu wina zasięgu czy źle utworzone sensory

@oomichalekoo
Jak nie zamieścisz loga i YAMLa to trudno doradzić.

Nadal po tej zmianie na veesion_3 nie czyta wody

INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/licznik.yaml...
INFO Updating https://github.com/SzczepanLeon/esphome-components.git@version_3
INFO Detected timezone 'Europe/Warsaw'
WARNING GPIO12 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO15 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Starting log output from 192.168.1.166 using esphome API
INFO Successfully connected to woda-szczepan @ 192.168.1.166 in 0.119s
INFO Successful handshake with woda-szczepan @ 192.168.1.166 in 0.026s
[18:56:50][I][app:100]: ESPHome version 2025.2.0 compiled on Feb 23 2025, 18:09:45
[18:56:50][I][app:102]: Project esphome.web version dev
[18:56:50][C][wifi:600]: WiFi:
[18:56:50][C][wifi:428]:   Local MAC: 94:E6:86:3B:EA:FC
[18:56:50][C][wifi:433]:   SSID: [redacted]
[18:56:50][C][wifi:436]:   IP Address: 192.168.1.166
[18:56:50][C][wifi:440]:   BSSID: [redacted]
[18:56:50][C][wifi:441]:   Hostname: 'woda-szczepan'
[18:56:50][C][wifi:443]:   Signal strength: -50 dB ▂▄▆█
[18:56:50][C][wifi:447]:   Channel: 7
[18:56:50][C][wifi:448]:   Subnet: 255.255.255.0
[18:56:50][C][wifi:449]:   Gateway: 192.168.1.1
[18:56:50][C][wifi:450]:   DNS1: 192.168.1.1
[18:56:50][C][wifi:451]:   DNS2: 0.0.0.0
[18:56:50][C][logger:177]: Logger:
[18:56:50][C][logger:178]:   Max Level: DEBUG
[18:56:50][C][logger:179]:   Initial Level: DEBUG
[18:56:50][C][logger:181]:   Log Baud Rate: 115200
[18:56:50][C][logger:182]:   Hardware UART: UART0
[18:56:50][C][captive_portal:089]: Captive Portal:
[18:56:50][C][web_server:153]: Web Server:
[18:56:50][C][web_server:154]:   Address: woda-szczepan.local:80
[18:56:50][C][sntp:042]: SNTP Time:
[18:56:50][C][sntp:045]:   Server 0: '0.pool.ntp.org'
[18:56:50][C][sntp:045]:   Server 1: '1.pool.ntp.org'
[18:56:50][C][sntp:045]:   Server 2: '2.pool.ntp.org'
[18:56:50][C][mdns:116]: mDNS:
[18:56:50][C][mdns:117]:   Hostname: woda-szczepan
[18:56:50][C][esphome.ota:073]: Over-The-Air updates:
[18:56:50][C][esphome.ota:074]:   Address: woda-szczepan.local:3232
[18:56:50][C][esphome.ota:075]:   Version: 2
[18:56:50][C][safe_mode:018]: Safe Mode:
[18:56:50][C][safe_mode:020]:   Boot considered successful after 60 seconds
[18:56:50][C][safe_mode:021]:   Invoke after 10 boot attempts
[18:56:50][C][safe_mode:023]:   Remain in safe mode for 300 seconds
[18:56:50][C][api:140]: API Server:
[18:56:50][C][api:141]:   Address: woda-szczepan.local:6053
[18:56:50][C][api:145]:   Using noise encryption: NO
[18:56:50][C][improv_serial:032]: Improv Serial:
[18:56:50][C][wmbus:372]: wM-Bus v3.3.0:
[18:56:50][C][wmbus:389]:   CC1101 frequency: 868.950 MHz
[18:56:50][C][wmbus:390]:   CC1101 SPI bus:
[18:56:50][C][wmbus:391]:     MOSI Pin: GPIO13
[18:56:50][C][wmbus:392]:     MISO Pin: GPIO12
[18:56:50][C][wmbus:393]:     CLK Pin:  GPIO14
[18:56:50][C][wmbus:394]:     CS Pin:   GPIO15
[18:56:50][C][wmbus:395]:     GDO0 Pin: GPIO21
[18:56:50][C][wmbus:396]:     GDO2 Pin: GPIO22
[18:56:50][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
[18:56:50][C][wmbus:421]:   Meter:
[18:56:50][C][wmbus:422]:     ID: 110454361 [0x06956659]
[18:56:50][C][wmbus:423]:     Type: apator162
[18:56:50][C][wmbus:424]:     Mode: T1
[18:56:50][C][wmbus:425]:     Key: '00000000000000000000000000000000'
[18:56:50][C][wmbus:427]:     Sensor '0x6956659 My_lqi'
[18:56:50][C][wmbus:427]:       Device Class: 'signal_strength'
[18:56:50][C][wmbus:427]:       State Class: 'measurement'
[18:56:50][C][wmbus:427]:       Unit of Measurement: ''
[18:56:50][C][wmbus:427]:       Accuracy Decimals: 0
[18:56:50][C][wmbus:427]:     Sensor '0x6956659 My_RSSI'
[18:56:50][C][wmbus:427]:       Device Class: 'signal_strength'
[18:56:50][C][wmbus:427]:       State Class: 'measurement'
[18:56:50][C][wmbus:427]:       Unit of Measurement: 'dBm'
[18:56:50][C][wmbus:427]:       Accuracy Decimals: 0
[18:56:50][C][wmbus:427]:     Sensor '0x6956659 Woda'
[18:56:50][C][wmbus:427]:       Device Class: 'water'
[18:56:50][C][wmbus:427]:       State Class: 'total_increasing'
[18:56:50][C][wmbus:427]:       Unit of Measurement: 'm³'
[18:56:50][C][wmbus:427]:       Accuracy Decimals: 3
[18:56:50][C][wmbus:427]:       Icon: 'mdi:water'

Po zmianie z czego?
Może woda nic nie nadaje?

Skoro masz ESP32 i brakuje pamięci to wywal niewykorzystywane drivery.

6 postów zostało scalonych z istniejącym tematem: Komponent wM-Bus do ESPHome (SzczepanLeon) wersja 4.x - wątek ogólny

Cześć, nie potrafię sobie poradzić z odczytamy licznika izar nie znajduje mi nawet id.
Logs wmbus.yaml
INFO ESPHome 2024.12.4
INFO Reading configuration /config/esphome/wmbus.yaml…
INFO Starting log output from wmbus.local using esphome API
WARNING Can’t connect to ESPHome API for wmbus.local: Error resolving IP address: [Errno -5] No address associated with hostname (APIConnectionError)
INFO Trying to connect to wmbus.local in the background
INFO Successfully connected to wmbus @ 192.168.1.123 in 0.006s
INFO Successful handshake with wmbus @ 192.168.1.123 in 3.622s
[10:48:34][I][app:100]: ESPHome version 2024.12.4 compiled on Mar 4 2025, 10:47:45
[10:48:34][C][wifi:600]: WiFi:
[10:48:34][C][wifi:428]: Local MAC: 3C:61:05:D1:5E:8B
[10:48:34][C][wifi:433]: SSID: [redacted]
[10:48:34][C][wifi:436]: IP Address: 192.168.1.123
[10:48:34][C][wifi:439]: BSSID: [redacted]
[10:48:34][C][wifi:441]: Hostname: ‘wmbus’
[10:48:34][C][wifi:443]: Signal strength: 0 dB ▂▄▆█
[10:48:34][V][wifi:445]: Priority: 0.0
[10:48:34][C][wifi:447]: Channel: 11
[10:48:34][C][wifi:448]: Subnet: 255.255.255.0
[10:48:34][C][wifi:449]: Gateway: 192.168.1.2
[10:48:34][C][wifi:450]: DNS1: 192.168.1.2
[10:48:34][C][wifi:451]: DNS2: 0.0.0.0
[10:48:34][C][logger:185]: Logger:
[10:48:34][C][logger:186]: Level: VERY_VERBOSE
[10:48:34][C][logger:188]: Log Baud Rate: 115200
[10:48:34][C][logger:189]: Hardware UART: UART0
[10:48:34][C][captive_portal:089]: Captive Portal:
[10:48:34][C][sntp:042]: SNTP Time:
[10:48:34][C][sntp:045]: Server 0: ‘0.pool.ntp.org
[10:48:34][C][sntp:045]: Server 1: ‘1.pool.ntp.org
[10:48:34][C][sntp:045]: Server 2: ‘2.pool.ntp.org
[10:48:34][C][mdns:116]: mDNS:
[10:48:34][C][mdns:117]: Hostname: wmbus
[10:48:34][V][mdns:118]: Services:
[10:48:34][V][mdns:120]: - _esphomelib, _tcp, 6053
[10:48:34][V][mdns:122]: TXT: friendly_name = wmbus
[10:48:34][V][mdns:122]: TXT: version = 2024.12.4
[10:48:34][V][mdns:122]: TXT: mac = 3c6105d15e8b
[10:48:34][V][mdns:122]: TXT: platform = ESP8266
[10:48:34][V][mdns:122]: TXT: board = nodemcuv2
[10:48:34][V][mdns:122]: TXT: network = wifi
[10:48:34][V][mdns:122]: TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[10:48:34][C][esphome.ota:073]: Over-The-Air updates:
[10:48:34][C][esphome.ota:074]: Address: wmbus.local:8266
[10:48:34][C][esphome.ota:075]: Version: 2
[10:48:34][C][esphome.ota:078]: Password configured
[10:48:34][C][safe_mode:018]: Safe Mode:
[10:48:34][C][safe_mode:019]: Boot considered successful after 60 seconds
[10:48:35][C][safe_mode:021]: Invoke after 10 boot attempts
[10:48:35][C][safe_mode:022]: Remain in safe mode for 300 seconds
[10:48:35][C][api:140]: API Server:
[10:48:35][C][api:141]: Address: wmbus.local:6053
[10:48:35][C][api:143]: Using noise encryption: YES
[10:48:35][C][wmbus:372]: wM-Bus v3.2.3:
[10:48:35][C][wmbus:385]: LED:
[10:48:35][C][wmbus:386]: Pin: GPIO0
[10:48:35][C][wmbus:387]: Duration: 1000 ms
[10:48:35][C][wmbus:389]: CC1101 frequency: 868.950 MHz
[10:48:35][C][wmbus:390]: CC1101 SPI bus:
[10:48:35][C][wmbus:391]: MOSI Pin: GPIO13
[10:48:35][C][wmbus:392]: MISO Pin: GPIO12
[10:48:35][C][wmbus:393]: CLK Pin: GPIO14
[10:48:35][C][wmbus:394]: CS Pin: GPIO2
[10:48:35][C][wmbus:395]: GDO0 Pin: GPIO5
[10:48:35][C][wmbus:396]: GDO2 Pin: GPIO4
[10:48:35][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
[10:49:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=3973 (now=63973)
[10:49:14][VV][api.service:697]: on_ping_request: PingRequest {}
[10:49:14][VV][api.service:043]: send_ping_response: PingResponse {}
[10:49:21][I][safe_mode:041]: Boot seems successful; resetting boot loop counter
[10:49:34][VV][api.connection:133]: Sending keepalive PING…
[10:49:34][VV][api.service:037]: send_ping_request: PingRequest {}
[10:49:34][VV][api.service:706]: on_ping_response: PingResponse {}
[10:49:54][VV][api.service:697]: on_ping_request: PingRequest {}
[10:49:54][VV][api.service:043]: send_ping_response: PingResponse {}
[10:50:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=63973 (now=123973)
[10:50:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:50:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:50:34][VV][api.connection:133]: Sending keepalive PING…
[10:50:34][VV][api.service:037]: send_ping_request: PingRequest {}
[10:50:34][VV][api.service:706]: on_ping_response: PingResponse {}
[10:51:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=123973 (now=183973)
[10:51:14][VV][api.service:697]: on_ping_request: PingRequest {}
[10:51:14][VV][api.service:043]: send_ping_response: PingResponse {}
[10:51:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:51:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:51:54][VV][api.service:697]: on_ping_request: PingRequest {}
[10:51:54][VV][api.service:043]: send_ping_response: PingResponse {}
[10:52:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=183973 (now=243973)
[10:52:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:52:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:52:34][VV][api.connection:133]: Sending keepalive PING…
[10:52:34][VV][api.service:037]: send_ping_request: PingRequest {}
[10:52:34][VV][api.service:706]: on_ping_response: PingResponse {}
[10:53:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=243973 (now=303973)
[10:53:14][VV][api.service:697]: on_ping_request: PingRequest {}
[10:53:14][VV][api.service:043]: send_ping_response: PingResponse {}
[10:53:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:53:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:53:54][VV][api.service:697]: on_ping_request: PingRequest {}
[10:53:54][VV][api.service:043]: send_ping_response: PingResponse {}
[10:54:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=303973 (now=363973)
[10:54:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:54:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:54:34][VV][api.connection:133]: Sending keepalive PING…
[10:54:34][VV][api.service:037]: send_ping_request: PingRequest {}
[10:54:34][VV][api.service:706]: on_ping_response: PingResponse {}
[10:55:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=363973 (now=423973)
[10:55:14][VV][api.service:697]: on_ping_request: PingRequest {}
[10:55:14][VV][api.service:043]: send_ping_response: PingResponse {}
[10:55:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:55:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:55:54][VV][api.service:697]: on_ping_request: PingRequest {}
[10:55:54][VV][api.service:043]: send_ping_response: PingResponse {}
[10:56:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=423973 (now=483973)
[10:56:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:56:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:56:34][VV][api.connection:133]: Sending keepalive PING…
[10:56:34][VV][api.service:037]: send_ping_request: PingRequest {}
[10:56:34][VV][api.service:706]: on_ping_response: PingResponse {}
[10:57:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=483973 (now=543973)
[10:57:14][VV][api.service:697]: on_ping_request: PingRequest {}
[10:57:14][VV][api.service:043]: send_ping_response: PingResponse {}
[10:57:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:57:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:57:54][VV][api.service:697]: on_ping_request: PingRequest {}
[10:57:54][VV][api.service:043]: send_ping_response: PingResponse {}
[10:58:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=543973 (now=603973)
[10:58:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:58:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:58:34][VV][api.connection:133]: Sending keepalive PING…
[10:58:34][VV][api.service:037]: send_ping_request: PingRequest {}
[10:58:34][VV][api.service:706]: on_ping_response: PingResponse {}
[10:59:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=603973 (now=663973)
[10:59:14][VV][api.service:697]: on_ping_request: PingRequest {}
[10:59:14][VV][api.service:043]: send_ping_response: PingResponse {}
[10:59:34][VV][api.service:697]: on_ping_request: PingRequest {}
[10:59:34][VV][api.service:043]: send_ping_response: PingResponse {}
[10:59:54][VV][api.service:697]: on_ping_request: PingRequest {}
[10:59:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:00:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=663973 (now=723973)
[11:00:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:00:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:00:34][VV][api.connection:133]: Sending keepalive PING…
[11:00:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:00:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:00:35][VV][scheduler:225]: Running interval ‘update’ with interval=900000 last_execution=4294812130 (now=744834)
[11:01:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=723973 (now=783973)
[11:01:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:01:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:01:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:01:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:01:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:01:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:02:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=783973 (now=843973)
[11:02:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:02:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:02:34][VV][api.connection:133]: Sending keepalive PING…
[11:02:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:02:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:03:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=843973 (now=903973)
[11:03:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:03:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:03:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:03:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:03:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:03:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:04:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=903973 (now=963974)
[11:04:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:04:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:04:34][VV][api.connection:133]: Sending keepalive PING…
[11:04:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:04:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:05:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=963973 (now=1023973)
[11:05:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:05:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:05:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:05:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:05:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:05:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:06:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1023973 (now=1083973)
[11:06:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:06:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:06:34][VV][api.connection:133]: Sending keepalive PING…
[11:06:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:06:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:07:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1083973 (now=1143973)
[11:07:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:07:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:07:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:07:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:07:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:07:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:08:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1143973 (now=1203973)
[11:08:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:08:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:08:34][VV][api.connection:133]: Sending keepalive PING…
[11:08:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:08:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:09:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1203973 (now=1263973)
[11:09:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:09:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:09:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:09:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:09:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:09:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:10:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1263973 (now=1323973)
[11:10:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:10:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:10:34][VV][api.connection:133]: Sending keepalive PING…
[11:10:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:10:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:11:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1323973 (now=1383973)
[11:11:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:11:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:11:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:11:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:11:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:11:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:12:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1383973 (now=1443973)
[11:12:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:12:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:12:34][VV][api.connection:133]: Sending keepalive PING…
[11:12:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:12:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:13:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1443973 (now=1503973)
[11:13:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:13:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:13:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:13:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:13:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:13:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:14:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1503973 (now=1563973)
[11:14:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:14:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:14:34][VV][api.connection:133]: Sending keepalive PING…
[11:14:34][VV][api.service:037]: send_ping_request: PingRequest {}
[11:14:34][VV][api.service:706]: on_ping_response: PingResponse {}
[11:14:45][V][rxLoop:167]: Have 45 bytes from CC1101 Rx, RSSI: -88 dBm LQI: 168
[11:14:45][V][rxLoop:172]: Synchronus mode enabled.
[11:14:45][D][mbus:034]: Processing T1 A frame
[11:14:45][V][mbus:045]: Frame: 36571CED6777F292FAAD0996F34DCDE4D3DB98E7BF7ADDF61633BC89BC1B2D73BDD9EB3BD39B5BAD67B4BF796D (45) [RAW]
[11:14:45][V][3of6:083]: Decode 3 out of 6 failed…
[11:15:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1563973 (now=1623974)
[11:15:14][VV][api.service:697]: on_ping_request: PingRequest {}
[11:15:14][VV][api.service:043]: send_ping_response: PingResponse {}
[11:15:34][VV][api.service:697]: on_ping_request: PingRequest {}
[11:15:34][VV][api.service:043]: send_ping_response: PingResponse {}
[11:15:35][VV][scheduler:225]: Running interval ‘update’ with interval=900000 last_execution=744834 (now=1644834)
[11:15:54][VV][api.service:697]: on_ping_request: PingRequest {}
[11:15:54][VV][api.service:043]: send_ping_response: PingResponse {}
[11:16:14][VV][scheduler:225]: Running interval ‘’ with interval=60000 last_execution=1623973 (now=1683973)
[11:16:30][V][rxLoop:167]: Have 45 bytes from CC1101 Rx, RSSI: -88 dBm LQI: 198
[11:16:30][V][rxLoop:172]: Synchronus mode enabled.
[11:16:30][D][mbus:034]: Processing T1 A frame
[11:16:30][V][mbus:045]: Frame: 36571C2D673CF2B2FBADCFD7DB45ABF4DA4F19E71D7AF5B7BCF2F4F5BEF274FB8C6B37479ACCE766D69EFB7BD6 (45) [RAW]
[11:16:30][V][3of6:083]: Decode 3 out of 6 failed…

Logi very_verbose

Przeglądałem całe wypowiedzi i nie mogę znaleźć rozwiązania mojego problemu.

Yaml:

esphome:
  name: wmbus
  friendly_name: wmbus

esp8266:
    board: nodemcuv2


# Enable logging
logger:
  level: VERY_VERBOSE

# Enable Home Assistant API
api:
  encryption:
    key: "w7kayYStRMKXg4+nCwldN4YchdsH6JficSBPJwmS0Aw="

ota:
  - platform: esphome
    password: "9f9bd4b8e95eab7b87987ef38a8f39d2"

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


  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Wmbus Fallback Hotspot"
    password: "vyE0NgNv1STu"
time:
  - platform: sntp
    id: time_sntp
    timezone: warsaw

external_components:
  - source: github://SzczepanLeon/esphome-components@3.2.3 
    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"

  frequency: 868.950
  sync_mode: True
                                              
captive_portal:

wmbus.yaml (1014 bajtów)