Cześć! Mam problem i nie jestem pewny w czym rzecz. Wygląda to tak, jakby CC1101 niczego nie odbierał, więc może to problem z modułem (wiem, że to loteria z nimi…)? Zgodnie ze wcześniejszymi wskazówkami z tematu zakomentowałem na razie sensory i dałem log_unknown: True
Mój YAML:
esphome:
name: esphome-web-34de80
friendly_name: WMBus-ESP32
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: VERY_VERBOSE
# Enable Home Assistant API
api:
encryption:
key: "xxx"
ota:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-34De80"
password: "xxx"
captive_portal:
time:
- platform: sntp
id: time_sntp
external_components:
- source: github://SzczepanLeon/esphome-components@main
components: [ wmbus ]
wmbus:
mosi_pin: GPIO23
miso_pin: GPIO19
clk_pin: GPIO18
cs_pin: GPIO5
gdo0_pin: GPIO22
gdo2_pin: GPIO21
log_unknown: True
# led_pin: GPIO0
# led_blink_time: "1s"
# clients:
# - name: "wmbusmeters"
# ip_address: "10.0.0.1"
# port: 7227
#sensor:
# - platform: wmbus
# meter_id: 0x14057620
# type: bmeters
# key: "00000000000000000000000000000000"
# lqi:
# name: "Zimna woda LQI"
# total_water_m3:
# name: "Zimna woda"
#
# - platform: wmbus
# meter_id: 0x14054972
# type: bmeters
# key: "00000000000000000000000000000000"
# lqi:
# name: "Ciepła woda LQI"
# total_water_m3:
# name: "Ciepła woda"
# filters:
# - offset: 325.0
#
# - platform: wmbus
# meter_id: 0x02270962
# type: hydrocalm3
# key: "00000000000000000000000000000000"
# lqi:
# name: "Ogrzewanie LQI"
# total_water_m3:
# name: "Ogrzewanie_m3"
# total_heating_kwh:
# name: "Ogrzewanie_kWh"
Logi:
[18:55:37][C][wifi:573]: WiFi:
[18:55:37][C][wifi:405]: Local MAC: 94:3C:C6:34:DE:80
[18:55:37][C][wifi:410]: SSID: [redacted]
[18:55:37][C][wifi:411]: IP Address: 192.168.1.116
[18:55:37][C][wifi:413]: BSSID: [redacted]
[18:55:37][C][wifi:414]: Hostname: 'esphome-web-34de80'
[18:55:37][C][wifi:416]: Signal strength: -67 dB ▂▄▆█
[18:55:37][V][wifi:418]: Priority: 0.0
[18:55:37][C][wifi:420]: Channel: 13
[18:55:37][C][wifi:421]: Subnet: 255.255.255.0
[18:55:37][C][wifi:422]: Gateway: 192.168.1.1
[18:55:37][C][wifi:423]: DNS1: 192.168.1.1
[18:55:37][C][wifi:424]: DNS2: 0.0.0.0
[18:55:37][C][logger:443]: Logger:
[18:55:37][C][logger:444]: Level: VERY_VERBOSE
[18:55:37][C][logger:445]: Log Baud Rate: 115200
[18:55:37][C][logger:447]: Hardware UART: UART0
[18:55:37][C][captive_portal:088]: Captive Portal:
[18:55:37][C][sntp:053]: SNTP Time:
[18:55:37][C][sntp:054]: Server 1: '0.pool.ntp.org'
[18:55:37][C][sntp:055]: Server 2: '1.pool.ntp.org'
[18:55:37][C][sntp:056]: Server 3: '2.pool.ntp.org'
[18:55:37][C][sntp:057]: Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[18:55:37][C][mdns:115]: mDNS:
[18:55:37][C][mdns:116]: Hostname: esphome-web-34de80
[18:55:37][V][mdns:117]: Services:
[18:55:37][V][mdns:119]: - _esphomelib, _tcp, 6053
[18:55:37][V][mdns:121]: TXT: friendly_name = WMBus-ESP32
[18:55:37][V][mdns:121]: TXT: version = 2023.12.3
[18:55:37][V][mdns:121]: TXT: mac = 943cc634de80
[18:55:37][V][mdns:121]: TXT: platform = ESP32
[18:55:37][V][mdns:121]: TXT: board = esp32dev
[18:55:37][V][mdns:121]: TXT: network = wifi
[18:55:37][V][mdns:121]: TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[18:55:37][C][ota:097]: Over-The-Air Updates:
[18:55:37][C][ota:098]: Address: esphome-web-34de80.local:3232
[18:55:37][C][api:139]: API Server:
[18:55:37][C][api:140]: Address: esphome-web-34de80.local:6053
[18:55:37][C][api:142]: Using noise encryption: YES
[18:55:37][C][wmbus:416]: wM-Bus v2.4.11:
[18:55:37][C][wmbus:433]: CC1101 frequency: 868.950 MHz
[18:55:37][C][wmbus:434]: CC1101 SPI bus:
[18:55:37][C][wmbus:435]: MOSI Pin: GPIO23
[18:55:37][C][wmbus:436]: MISO Pin: GPIO19
[18:55:37][C][wmbus:437]: CLK Pin: GPIO18
[18:55:37][C][wmbus:438]: CS Pin: GPIO5
[18:55:37][C][wmbus:439]: GDO0 Pin: GPIO22
[18:55:37][C][wmbus:440]: GDO2 Pin: GPIO21
[18:55:37][C][wmbus:447]: 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
[18:55:41][VV][api.service:558]: on_ping_request: PingRequest {}
[18:55:41][VV][api.service:043]: send_ping_response: PingResponse {}
[18:56:17][VV][api.service:558]: on_ping_request: PingRequest {}
[18:56:17][VV][api.service:043]: send_ping_response: PingResponse {}
[18:56:21][VV][api.service:558]: on_ping_request: PingRequest {}
[18:56:21][VV][api.service:043]: send_ping_response: PingResponse {}
[18:56:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=58407 (now=118409)
[18:56:57][VV][api.service:558]: on_ping_request: PingRequest {}
[18:56:57][VV][api.service:043]: send_ping_response: PingResponse {}
[18:57:01][VV][api.service:558]: on_ping_request: PingRequest {}
[18:57:01][VV][api.service:043]: send_ping_response: PingResponse {}
[18:57:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=118407 (now=178407)
[18:57:41][VV][api.service:558]: on_ping_request: PingRequest {}
[18:57:41][VV][api.service:043]: send_ping_response: PingResponse {}
[18:57:57][VV][api.connection:132]: Sending keepalive PING...
[18:57:57][VV][api.service:037]: send_ping_request: PingRequest {}
[18:57:57][VV][api.service:567]: on_ping_response: PingResponse {}
[18:58:21][VV][api.service:558]: on_ping_request: PingRequest {}
[18:58:21][VV][api.service:043]: send_ping_response: PingResponse {}
[18:58:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=178407 (now=238407)
[18:58:57][VV][api.connection:132]: Sending keepalive PING...
[18:58:57][VV][api.service:037]: send_ping_request: PingRequest {}
[18:58:57][VV][api.service:558]: on_ping_request: PingRequest {}
[18:58:57][VV][api.service:043]: send_ping_response: PingResponse {}
[18:58:57][VV][api.service:567]: on_ping_response: PingResponse {}
[18:59:01][VV][api.service:558]: on_ping_request: PingRequest {}
[18:59:01][VV][api.service:043]: send_ping_response: PingResponse {}
[18:59:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=238407 (now=298407)
[18:59:29][I][ota:117]: Boot seems successful, resetting boot loop counter.
[18:59:29][VV][esp32.preferences:040]: s_pending_save: key: 233825507, len: 4
[18:59:29][D][esp32.preferences:114]: Saving 1 preferences to flash...
[18:59:29][VV][esp32.preferences:123]: Checking if NVS data 233825507 has changed
[18:59:29][V][esp32.preferences:126]: sync: key: 233825507, len: 4
[18:59:29][D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[18:59:29][W][component:214]: Component ota took a long time for an operation (0.05 s).
[18:59:29][W][component:215]: Components should block for at most 20-30ms.
[18:59:41][VV][api.service:558]: on_ping_request: PingRequest {}
[18:59:41][VV][api.service:043]: send_ping_response: PingResponse {}
[18:59:57][VV][api.connection:132]: Sending keepalive PING...
[18:59:57][VV][api.service:037]: send_ping_request: PingRequest {}
[18:59:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:00:21][VV][api.service:558]: on_ping_request: PingRequest {}
[19:00:21][VV][api.service:043]: send_ping_response: PingResponse {}
[19:00:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=298407 (now=358408)
[19:00:57][VV][api.service:558]: on_ping_request: PingRequest {}
[19:00:57][VV][api.service:043]: send_ping_response: PingResponse {}
[19:01:01][VV][api.service:558]: on_ping_request: PingRequest {}
[19:01:01][VV][api.service:043]: send_ping_response: PingResponse {}
[19:01:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=358407 (now=418407)
[19:01:41][VV][api.service:558]: on_ping_request: PingRequest {}
[19:01:41][VV][api.service:043]: send_ping_response: PingResponse {}
[19:01:57][VV][api.connection:132]: Sending keepalive PING...
[19:01:57][VV][api.service:037]: send_ping_request: PingRequest {}
[19:01:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:02:21][VV][api.service:558]: on_ping_request: PingRequest {}
[19:02:21][VV][api.service:043]: send_ping_response: PingResponse {}
[19:02:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=418407 (now=478407)
[19:02:54][VV][scheduler:226]: Running interval 'update' with interval=900000 last_execution=4294572517 (now=505221)
[19:02:54][D][sntp:078]: Synchronized time: 2024-01-13 19:02:54
[19:02:57][VV][api.connection:132]: Sending keepalive PING...
[19:02:57][VV][api.service:037]: send_ping_request: PingRequest {}
[19:02:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:03:01][VV][api.service:558]: on_ping_request: PingRequest {}
[19:03:01][VV][api.service:043]: send_ping_response: PingResponse {}
[19:03:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=478407 (now=538407)
[19:03:41][VV][api.service:558]: on_ping_request: PingRequest {}
[19:03:41][VV][api.service:043]: send_ping_response: PingResponse {}
[19:03:57][VV][api.connection:132]: Sending keepalive PING...
[19:03:57][VV][api.service:037]: send_ping_request: PingRequest {}
[19:03:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:04:21][VV][api.service:558]: on_ping_request: PingRequest {}
[19:04:21][VV][api.service:043]: send_ping_response: PingResponse {}
[19:04:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=538407 (now=598408)
[19:04:57][VV][api.connection:132]: Sending keepalive PING...
[19:04:57][VV][api.service:037]: send_ping_request: PingRequest {}
[19:04:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:05:01][VV][api.service:558]: on_ping_request: PingRequest {}
[19:05:01][VV][api.service:043]: send_ping_response: PingResponse {}
[19:05:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=598407 (now=658408)
[19:05:41][VV][api.service:558]: on_ping_request: PingRequest {}
[19:05:41][VV][api.service:043]: send_ping_response: PingResponse {}
[19:05:57][VV][api.connection:132]: Sending keepalive PING...
[19:05:57][VV][api.service:037]: send_ping_request: PingRequest {}
[19:05:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:06:21][VV][api.service:558]: on_ping_request: PingRequest {}
[19:06:21][VV][api.service:043]: send_ping_response: PingResponse {}
[19:06:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=658407 (now=718407)
[19:06:57][VV][api.connection:132]: Sending keepalive PING...
[19:06:57][VV][api.service:037]: send_ping_request: PingRequest {}
[19:06:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:07:01][VV][api.service:558]: on_ping_request: PingRequest {}
[19:07:01][VV][api.service:043]: send_ping_response: PingResponse {}
[19:07:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=718407 (now=778407)
[19:07:41][VV][api.service:558]: on_ping_request: PingRequest {}
[19:07:41][VV][api.service:043]: send_ping_response: PingResponse {}
[19:07:57][VV][api.connection:132]: Sending keepalive PING...
[19:07:57][VV][api.service:037]: send_ping_request: PingRequest {}
[19:07:57][VV][api.service:567]: on_ping_response: PingResponse {}
[19:08:21][VV][api.service:558]: on_ping_request: PingRequest {}
[19:08:21][VV][api.service:043]: send_ping_response: PingResponse {}
[19:08:27][VV][scheduler:226]: Running interval '' with interval=60000 last_execution=778407 (now=838408)
Byłbym wdzięczny za jakąś radę Dzięki z góry!