To jest pełny YAML
esphome:
name: licznikwody
friendly_name: LicznikWody
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
api:
encryption:
key: "xxxx"
ota:
- platform: esphome
password: "xxxx"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Licznikwody Fallback Hotspot"
password: "xxxx"
captive_portal:
time:
- platform: sntp
id: time_sntp
external_components:
- source: github://SzczepanLeon/esphome-components@version_4
components: [ wmbus ]
wmbus:
mosi_pin: GPIO23
miso_pin: GPIO19
clk_pin: GPIO18
cs_pin: GPIO15
gdo0_pin: GPIO4
gdo2_pin: GPIO27
frequency: 868.950
all_drivers: False
sync_mode: True
log_all: True
sensor:
- platform: wmbus
meter_id: 0x22344709
type: bmeters
key: "00000000000000000000000000000000"
sensors:
- name: "ZimnaWoda"
field: "total"
accuracy_decimals: 3
unit_of_measurement: "m³"
device_class: "water"
state_class: "total_increasing"
icon: "mdi:water"
- name: "ZimnaWoda RSSi"
field: "rssi"
accuracy_decimals: 0
unit_of_measurement: "dBm"
device_class: "signal_strength"
state_class: "measurement"
entity_category: "diagnostic"
- platform: wmbus
meter_id: 0x05046730
type: hydrocalm4
sensors:
- name: "Hydrocal M4 Energia Ogrzewania"
field: "total_heating_kwh"
accuracy_decimals: 2
unit_of_measurement: "kWh"
device_class: "energy"
state_class: "total_increasing"
icon: "mdi:fire"
- name: "Hydrocal M4 Objętość Ogrzewania"
field: "total_heating_m3"
accuracy_decimals: 2
unit_of_measurement: "m³"
device_class: "water"
state_class: "total_increasing"
icon: "mdi:water"
- name: "Hydrocal M4 Energia Chłodzenia"
field: "total_cooling_kwh"
accuracy_decimals: 3
unit_of_measurement: "kWh"
device_class: "energy"
state_class: "total_increasing"
icon: "mdi:snowflake"
- name: "Hydrocal M4 Objętość Chłodzenia"
field: "total_cooling_m3"
accuracy_decimals: 3
unit_of_measurement: "m³"
state_class: "total_increasing"
icon: "mdi:water-minus"
- name: "Hydrocal M4 RSSI"
field: "rssi"
accuracy_decimals: 0
unit_of_measurement: "dBm"
device_class: "signal_strength"
entity_category: "diagnostic"
Taki mam natomiast LOG:
INFO ESPHome 2026.1.4
INFO Reading configuration /config/esphome/licznikwody.yaml...
INFO Detected timezone 'Europe/Warsaw'
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/#why-am-i-getting-a-warning-about-strapping-pins
INFO Starting log output from licznikwody.local using esphome API
INFO Successfully resolved licznikwody.local in 0.172s
INFO Successfully connected to licznikwody @ 192.168.0.113 in 0.556s
INFO Successful handshake with licznikwody @ 192.168.0.113 in 0.395s
[08:05:19.593][I][app:206]: ESPHome version 2026.1.4 compiled on 2026-02-12 17:51:40 +0100
[08:05:19.601][I][app:213]: ESP32 Chip: ESP32 r3.1, 2 core(s)
[08:05:19.601][W][app:222]: Set minimum_chip_revision: "3.1" to reduce binary size
[08:05:19.601][C][logger:316]: Logger:
[08:05:19.601][C][logger:316]: Max Level: DEBUG
[08:05:19.601][C][logger:316]: Initial Level: DEBUG
[08:05:19.601][C][logger:322]: Log Baud Rate: 115200
[08:05:19.601][C][logger:322]: Hardware UART: UART0
[08:05:19.601][C][logger:332]: Task Log Buffer Size: 768 bytes
[08:05:19.601][C][captive_portal:128]: Captive Portal:
[08:05:19.601][C][wifi:1304]: WiFi:
[08:05:19.601][C][wifi:1304]: Local MAC: 48:E7:29:B3:00:4C
[08:05:19.601][C][wifi:1304]: Connected: YES
[08:05:19.602][C][wifi:1037]: IP Address: 192.168.0.113
[08:05:19.613][C][wifi:1048]: SSID: [redacted]
[08:05:19.613][C][wifi:1048]: BSSID: [redacted]
[08:05:19.613][C][wifi:1048]: Hostname: 'licznikwody'
[08:05:19.613][C][wifi:1048]: Signal strength: -22 dB ▂▄▆█
[08:05:19.613][C][wifi:1048]: Channel: 6
[08:05:19.613][C][wifi:1048]: Subnet: 255.255.255.0
[08:05:19.613][C][wifi:1048]: Gateway: 192.168.0.1
[08:05:19.613][C][wifi:1048]: DNS1: 192.168.0.1
[08:05:19.613][C][wifi:1048]: DNS2: 0.0.0.0
[08:05:19.613][C][sntp:059]: SNTP Time:
[08:05:19.615][C][sntp:062]: Server 0: '0.pool.ntp.org'
[08:05:19.622][C][sntp:062]: Server 1: '1.pool.ntp.org'
[08:05:19.622][C][sntp:062]: Server 2: '2.pool.ntp.org'
[08:05:19.644][C][time:028]: Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[08:05:19.675][C][esphome.ota:075]: Over-The-Air updates:
[08:05:19.675][C][esphome.ota:075]: Address: licznikwody.local:3232
[08:05:19.675][C][esphome.ota:075]: Version: 2
[08:05:19.676][C][esphome.ota:082]: Password configured
[08:05:19.676][C][safe_mode:021]: Safe Mode:
[08:05:19.676][C][safe_mode:021]: Successful after: 60s
[08:05:19.676][C][safe_mode:021]: Invoke after: 10 attempts
[08:05:19.676][C][safe_mode:021]: Duration: 300s
[08:05:19.686][C][safe_mode:038]: Bootloader rollback: support unknown
[08:05:19.686][C][web_server.ota:231]: Web Server OTA
[08:05:19.686][C][api:221]: Server:
[08:05:19.686][C][api:221]: Address: licznikwody.local:6053
[08:05:19.686][C][api:221]: Listen backlog: 4
[08:05:19.686][C][api:221]: Max connections: 8
[08:05:19.702][C][api:228]: Noise encryption: YES
[08:05:19.702][C][mdns:177]: mDNS:
[08:05:19.702][C][mdns:177]: Hostname: licznikwody
[08:05:19.703][C][wmbus:413]: wM-Bus v4.2.1-1.17.1-b8f4a945:
[08:05:19.704][C][wmbus:431]: Chip ID: 4C00B329E748
[08:05:19.704][C][wmbus:433]: CC1101 frequency: 868.950 MHz
[08:05:19.704][C][wmbus:434]: CC1101 SPI bus:
[08:05:19.712][C][wmbus:152]: MOSI Pin: GPIO23
[08:05:19.712][C][wmbus:152]: MISO Pin: GPIO19
[08:05:19.724][C][wmbus:152]: CLK Pin: GPIO18
[08:05:19.727][C][wmbus:152]: CS Pin: GPIO15
[08:05:19.727][C][wmbus:152]: GDO0 Pin: GPIO4
[08:05:19.727][C][wmbus:152]: GDO2 Pin: GPIO27
[08:05:19.761][C][wmbus:449]: Available drivers: wme5, weh_07, watertech, waterstarm, vario451mid, vario451, vario411, unknown, unismart, ultrimis, ultraheat, tsd2, topaseskr, supercom587, sontex868, sharky774, sharky, sensostar, rfmtx1, rfmamb, qwater, qualcosonic, qsmoke, qheat_55_us, qheat, qcaloric, q400, pollucomf, piigth, omnipower, nemo, munia, multical21, mkradio4a, mkradio4, mkradio3, minomess, microclima, lse_08, lse_07_17, lansenth, lansensm, lansenrp, lansenpu, lansendw, kampress, kamheat, izar, iwm
[08:05:19.761][C][wmbus:463]: Meter:
[08:05:19.762][C][wmbus:464]: ID: 84174640 [0x05046730]
[08:05:19.786][C][wmbus:465]: Type: hydrocalm4
[08:05:19.791][C][wmbus:466]: Key: ''
[08:05:19.791][C][wmbus:468]: Field: 'rssi'
[08:05:19.794][C][wmbus:016]: Name: 'Hydrocal M4 RSSI'
[08:05:19.794][C][wmbus:016]: State Class: ''
[08:05:19.794][C][wmbus:016]: Unit of Measurement: 'dBm'
[08:05:19.794][C][wmbus:016]: Accuracy Decimals: 0
[08:05:19.805][C][wmbus:026]: Device Class: 'signal_strength'
[08:05:19.805][C][wmbus:468]: Field: 'total_cooling_kwh'
[08:05:19.812][C][wmbus:016]: Name: 'Hydrocal M4 Energia Chłodzenia'
[08:05:19.812][C][wmbus:016]: State Class: 'total_increasing'
[08:05:19.812][C][wmbus:016]: Unit of Measurement: 'kWh'
[08:05:19.812][C][wmbus:016]: Accuracy Decimals: 3
[08:05:19.838][C][wmbus:026]: Device Class: 'energy'
[08:05:19.838][C][wmbus:030]: Icon: 'mdi:snowflake'
[08:05:19.845][C][wmbus:468]: Field: 'total_cooling_m3'
[08:05:19.871][C][wmbus:016]: Name: 'Hydrocal M4 Objętość Chłodzenia'
[08:05:19.871][C][wmbus:016]: State Class: 'total_increasing'
[08:05:19.871][C][wmbus:016]: Unit of Measurement: 'm³'
[08:05:19.871][C][wmbus:016]: Accuracy Decimals: 3
[08:05:19.871][C][wmbus:030]: Icon: 'mdi:water-minus'
[08:05:19.880][C][wmbus:468]: Field: 'total_heating_kwh'
[08:05:19.880][C][wmbus:016]: Name: 'Hydrocal M4 Energia Ogrzewania'
[08:05:19.880][C][wmbus:016]: State Class: 'total_increasing'
[08:05:19.880][C][wmbus:016]: Unit of Measurement: 'kWh'
[08:05:19.880][C][wmbus:016]: Accuracy Decimals: 2
[08:05:19.885][C][wmbus:026]: Device Class: 'energy'
[08:05:19.890][C][wmbus:030]: Icon: 'mdi:fire'
[08:05:19.897][C][wmbus:468]: Field: 'total_heating_m3'
[08:05:19.897][C][wmbus:016]: Name: 'Hydrocal M4 Objętość Ogrzewania'
[08:05:19.897][C][wmbus:016]: State Class: 'total_increasing'
[08:05:19.897][C][wmbus:016]: Unit of Measurement: 'm³'
[08:05:19.897][C][wmbus:016]: Accuracy Decimals: 2
[08:05:19.918][C][wmbus:026]: Device Class: 'water'
[08:05:19.929][C][wmbus:030]: Icon: 'mdi:water'
[08:05:19.929][C][wmbus:463]: Meter:
[08:05:19.937][C][wmbus:464]: ID: 573851545 [0x22344799]
[08:05:19.942][C][wmbus:465]: Type: bmeters
[08:05:19.942][C][wmbus:466]: Key: '00000000000000000000000000000000'
[08:05:19.947][C][wmbus:468]: Field: 'rssi'
[08:05:19.947][C][wmbus:016]: Name: 'ZimnaWoda RSSi'
[08:05:19.947][C][wmbus:016]: State Class: 'measurement'
[08:05:19.947][C][wmbus:016]: Unit of Measurement: 'dBm'
[08:05:19.947][C][wmbus:016]: Accuracy Decimals: 0
[08:05:19.962][C][wmbus:026]: Device Class: 'signal_strength'
[08:05:19.969][C][wmbus:468]: Field: 'total'
[08:05:19.982][C][wmbus:016]: Name: 'ZimnaWoda'
[08:05:19.982][C][wmbus:016]: State Class: 'total_increasing'
[08:05:19.982][C][wmbus:016]: Unit of Measurement: 'm³'
[08:05:19.982][C][wmbus:016]: Accuracy Decimals: 3
[08:05:19.983][C][wmbus:026]: Device Class: 'water'
[08:05:19.989][C][wmbus:030]: Icon: 'mdi:water'
[08:05:23.613][D][mbus:014]: Received C1 A frame
[08:05:24.066][D][crc:035]: calculated: 0x9D68, read: 0x9465 !!!
[08:06:10.037][D][mbus:014]: Received C1 A frame
[08:06:10.293][D][crc:035]: calculated: 0xE4C3, read: 0xE4C6 !!!
[08:06:20.516][D][mbus:035]: Received T1 A frame
[08:06:49.756][D][mbus:035]: Received T1 A frame
[08:06:49.757][W][wmbus:090]: Selected driver bmeters doesn't exist, using iwmtx5
[08:06:49.757][I][wmbus:100]: iwmtx5 [0x22344799] RSSI: -50dBm T: 5144B4099947342218078C00517A4A804005BB6E6048801DA5EDAC0402E6DFEA07638B55777E12DD374FD709C392AFD6AF64AA64FBE23C7D680BE424C29D592FA7ED15FE44F84A72B656F78D3A48F76C81F9 (82) T1 A
[08:06:49.757][D][meters.cpp:1985]: (meter) created ESPHome iwmtx5 22344799 encrypted
[08:06:49.757][D][meters.cpp:909]: (meter) ESPHome(0) iwmtx5 handling telegram from 22344799.M=BMT.V=18.T=07
[08:06:49.757][D][Telegram.cpp:563]: (telegram) ELL CI=8c CC=00 (slow_resp) ACC=51
[08:06:50.178][D][sensor:129]: 'ZimnaWoda RSSi' >> -50 dBm
[08:06:50.195][D][sensor:129]: 'ZimnaWoda' >> 373.425 m³
[08:06:50.420][D][mbus:014]: Received C1 A frame
[08:06:50.473][D][crc:035]: calculated: 0xFCB4, read: 0xC144 !!!
[08:07:23.582][D][mbus:035]: Received T1 A frame
[08:07:24.165][D][mbus:035]: Received T1 A frame
[08:07:51.707][D][mbus:035]: Received T1 A frame
[08:07:51.712][I][wmbus:100]: hydrocalm3 [0x05045337] RSSI: -53dBm T: 8644B409375304051A0D8C00B07A5A000000046D1C284D320C0B795729300C13290356008C1008314911008C1013510000000F640100000000000F0B0D2294281619257294224680208144209214206682196760195227193483189147189417170B08314911314911314911314911314911314911314911314911314911314911314911314911 (135) T1 A
[08:08:12.030][D][mbus:035]: Received T1 A frame
[08:08:13.446][D][mbus:035]: Received T1 A frame
[08:08:14.556][D][mbus:035]: Received T1 A frame
[08:08:32.228][D][mbus:035]: Received T1 A frame
[08:08:34.305][D][mbus:035]: Received T1 A frame
[08:08:34.986][D][mbus:035]: Received T1 A frame
[08:08:40.479][D][mbus:035]: Received T1 A frame
[08:09:06.510][D][mbus:035]: Received T1 A frame
[08:09:16.630][D][mbus:014]: Received C1 A frame
[08:09:16.665][D][crc:035]: calculated: 0x7910, read: 0x6B0A !!!
[08:09:26.250][D][mbus:014]: Received C1 A frame
[08:09:26.427][I][wmbus:100]: fhkvdataiv [0x13602657] RSSI: -77dBm T: 294468505726601394087AD8001025E1EF9CB6BE584D2101BC6C282036B5BD0F0FA39620247B0685F35F (42) C1 A
[08:09:29.242][D][mbus:035]: Received T1 A frame
[08:09:32.419][D][mbus:035]: Received T1 A frame
[08:09:37.046][D][mbus:035]: Received T1 A frame
[08:10:07.182][D][mbus:035]: Received T1 A frame
[08:10:07.187][I][wmbus:100]: hydrocalm3 [0x05045432] RSSI: -47dBm T: 8644B409325404051A0D8C00C67AB1000000046D1B284D320C0B093601870C13290060018C1008211007018C1013830500000F640100000000000F0B0D6375843709789755724802682170643690639911633006629131611236590618571169530B09027110027110027110027110027110027110027110027110027110027110027110027110 (135) T1 A
[08:10:26.353][D][mbus:035]: Received T1 A frame
[08:10:26.552][I][wmbus:100]: hydrocalm3 [0x05045337] RSSI: -55dBm T: 8644B409375304051A0D8C00B07A5D000000046D1F284D320C0B795729300C13290356008C1008314911008C1013510000000F640100000000000F0B0D2294281619257294224680208144209214206682196760195227193483189147189417170B08314911314911314911314911314911314911314911314911314911314911314911314911 (135) T1 A
[08:10:33.954][D][mbus:035]: Received T1 A frame
[08:10:52.437][D][mbus:035]: Received T1 A frame
[08:10:52.728][D][mbus:035]: Received T1 A frame
[08:11:01.089][D][mbus:035]: Received T1 A frame
[08:11:14.327][D][mbus:035]: Received T1 A frame
[08:11:46.423][D][mbus:035]: Received T1 A frame
[08:12:13.181][D][mbus:014]: Received C1 A frame
[08:12:13.465][I][wmbus:100]: fhkvdataiv [0x13602698] RSSI: -77dBm T: 294468509826601394087AC70010258148510C4D68E25CC41A48A75ACBCDC70F0F9A2FA7232224FB8DCD (42) C1 A
[08:12:15.033][D][mbus:035]: Received T1 A frame
[08:12:25.295][D][mbus:035]: Received T1 A frame
[08:12:40.851][D][mbus:035]: Received T1 A frame
[08:12:51.118][D][mbus:014]: Received C1 A frame
[08:12:51.336][D][crc:035]: calculated: 0x010B, read: 0x91DB !!!
[08:12:58.827][D][mbus:035]: Received T1 A frame
[08:13:12.388][D][mbus:035]: Received T1 A frame
[08:13:12.612][D][mbus:035]: Received T1 A frame
[08:13:14.399][D][mbus:014]: Received C1 A frame
[08:13:14.702][D][crc:035]: calculated: 0x1C23, read: 0x0228 !!!
[08:13:18.247][D][mbus:035]: Received T1 A frame
[08:13:29.016][D][mbus:014]: Received C1 A frame
[08:13:29.145][I][wmbus:100]: fhkvdataiv [0x13602657] RSSI: -76dBm T: 294468505726601394087AD9001025131F89A94E3D44A5ACEACEEA6A38EB6C0F0FA3DDA31A6BEEAAFE7B (42) C1 A
[08:13:40.857][D][mbus:035]: Received T1 A frame
[08:13:52.534][D][mbus:035]: Received T1 A frame
[08:14:34.037][D][mbus:035]: Received T1 A frame
[08:14:36.012][D][mbus:035]: Received T1 A frame
[08:14:40.234][D][mbus:035]: Received T1 A frame
[08:14:40.292][I][wmbus:100]: hydrocalm3 [0x05045373] RSSI: -74dBm T: 8644B409735304051A0D8C00BF7AA4000000046D29284D320C0B317368450C13700841008C1008990120008C1013470100000F640100000000000F0B0D1463448890413250392237379377358559341000344801331283315746307997284705270B08990120990120990120990120990120990120990120990120990120990120990120990120 (135) T1 A
[08:14:43.660][D][mbus:035]: Received T1 A frame
[08:14:44.099][I][wmbus:100]: hydrocalm3 [0x05045337] RSSI: -56dBm T: 8644B409375304051A0D8C00B07A61000000046D23284D320C0B795729300C13290356008C1008314911008C1013510000000F640100000000000F0B0D2294281619257294224680208144209214206682196760195227193483189147189417170B08314911314911314911314911314911314911314911314911314911314911314911314911 (135) T1 A
[08:14:50.832][D][mbus:035]: Received T1 A frame
[08:14:50.984][D][mbus:035]: Received T1 A frame
[08:15:12.735][D][mbus:035]: Received T1 A frame
[08:15:26.382][D][mbus:035]: Received T1 A frame
[08:15:32.643][D][mbus:035]: Received T1 A frame
[08:15:45.093][D][sntp:100]: Synchronized time: 2026-02-13 08:15:45
[08:16:00.728][D][mbus:035]: Received T1 A frame
[08:16:27.974][D][mbus:035]: Received T1 A frame
[08:16:28.115][I][wmbus:100]: hydrocalm3 [0x05045657] RSSI: -71dBm T: 8644B409575604051A0D8C00B37A60000000046D36284D320C0B116126430C13599581008C1008856976018C1013820800000F640100000000000F0B0D2576415488378208358614339113322942312365305782295302295708281393264843250B09986617986617986617986617986617986617986617986617986617986617986617986617 (135) T1 A
[08:16:28.825][D][mbus:035]: Received T1 A frame
[08:16:30.823][D][mbus:035]: Received T1 A frame
[08:16:47.101][D][mbus:035]: Received T1 A frame
[08:17:15.614][D][mbus:035]: Received T1 A frame
[08:17:15.653][I][wmbus:100]: fhkvdataiii [0x13602657] RSSI: -75dBm T: 33446850572660139480A20F9F330000D00400001159083408000000000000000000000000000000000000000000000000000000 (52) T1 A
[08:17:21.877][D][mbus:035]: Received T1 A frame
[08:17:21.880][W][wmbus:090]: Selected driver bmeters doesn't exist, using iwmtx5
[08:17:21.880][I][wmbus:100]: iwmtx5 [0x22344799] RSSI: -50dBm T: 5144B4099947342218078C005A7A538040055D64F5AAD61F5E3DAA8900E9800748B4D5FFF7DF46AA66FECFC4FB6EB937467F85BA388D56867A7EA46A7141542E1B5F2203D5F4705302DC25112259DE13D1BB (82) T1 A
[08:17:21.913][D][meters.cpp:1985]: (meter) created ESPHome iwmtx5 22344799 encrypted
[08:17:21.913][D][meters.cpp:909]: (meter) ESPHome(0) iwmtx5 handling telegram from 22344799.M=BMT.V=18.T=07
INFO Processing unexpected disconnect from ESPHome API for licznikwody @ 192.168.0.113
WARNING Disconnected from API
INFO Successfully resolved licznikwody @ 192.168.0.113 in 0.000s
INFO Successfully connected to licznikwody @ 192.168.0.113 in 0.264s
INFO Successful handshake with licznikwody @ 192.168.0.113 in 0.115s
[08:18:09.280][W][component:547]: wmbus took a long time for an operation (155 ms)
[08:18:09.399][W][component:550]: Components should block for at most 30 ms
[08:18:22.842][I][safe_mode:066]: Boot seems successful; resetting boot loop counter
[08:18:25.261][D][esp32.preferences:155]: Writing 1 items: 0 cached, 1 written, 0 failed
[08:18:31.956][D][mbus:035]: Received T1 A frame