Nie tak szybko
To są ramki z dwóch niekodowanych apator08. Kodowanych z unismart’a nie ma. Zakładam, że te błędy kodowania, to właśnie ramki unimart’a. Śmię tak przypuszczać, ponieważ wyszedłem z modułem na zewnątrz do skrzynki z unismart’em. Straciłem zasięg z nakładkami wodomierza, a te błędne zaczęły się pojawiać częściej. Poniżej log, gdzie byłem 1,5m od unismarta:
wMBus-lib: CC1101 version '4'
wMBus-lib: CC1101 initialized
[VV][wmbus-drivers:028]: Added driver 'amiplus' with key ''
[VV][wmbus-drivers:028]: Added driver 'apator08' with key ''
[VV][wmbus-drivers:028]: Added driver 'apator162' with key ''
[VV][wmbus-drivers:028]: Added driver 'apatoreitn' with key ''
[VV][wmbus-drivers:028]: Added driver 'bmeters' with key ''
[VV][wmbus-drivers:028]: Added driver 'c5isf' with key ''
[VV][wmbus-drivers:028]: Added driver 'compact5' with key ''
[VV][wmbus-drivers:028]: Added driver 'dme07' with key ''
[VV][wmbus-drivers:028]: Added driver 'elf' with key ''
[VV][wmbus-drivers:028]: Added driver 'evo868' with key ''
[VV][wmbus-drivers:028]: Added driver 'fhkvdataiii' with key ''
[VV][wmbus-drivers:028]: Added driver 'hydrocalm3' with key ''
[VV][wmbus-drivers:028]: Added driver 'hydrus' with key ''
[VV][wmbus-drivers:028]: Added driver 'iperl' with key ''
[VV][wmbus-drivers:028]: Added driver 'itron' with key ''
[VV][wmbus-drivers:028]: Added driver 'izar' with key ''
[VV][wmbus-drivers:028]: Added driver 'mkradio3' with key ''
[VV][wmbus-drivers:028]: Added driver 'mkradio4' with key ''
[VV][wmbus-drivers:028]: Added driver 'qheat' with key ''
[VV][wmbus-drivers:028]: Added driver 'qwater' with key ''
[VV][wmbus-drivers:028]: Added driver 'sharky774' with key '51728910E66D83F851728910E66D83F8'
[VV][wmbus-drivers:028]: Added driver 'topaseskr' with key ''
[VV][wmbus-drivers:028]: Added driver 'ultrimis' with key ''
[VV][wmbus-drivers:028]: Added driver 'unismart' with key ''
[VV][wmbus-drivers:028]: Added driver 'vario451' with key ''
[I][app:062]: setup() finished successfully!
[VV][scheduler:226]: Running interval 'update' with interval=900000 last_execution=4293876244 (now=84283)
[I][app:102]: ESPHome version 2023.11.6 compiled on Nov 30 2023, 18:45:35
[C][wifi:559]: WiFi:
[C][wifi:391]: Local MAC: 84:CC:A8:5E:A5:80
[C][wifi:396]: SSID: '###################'[redacted]
[C][wifi:397]: IP Address: 10.0.0.132
[C][wifi:399]: BSSID: B6:B9:8A:5C:82:48[redacted]
[C][wifi:400]: Hostname: 'esp-wmbus'
[C][wifi:402]: Signal strength: -86 dB ▂▄▆█
[V][wifi:404]: Priority: -9.0
[C][wifi:406]: Channel: 9
[C][wifi:407]: Subnet: 255.255.255.0
[C][wifi:408]: Gateway: 10.0.0.1
[C][wifi:409]: DNS1: 0.0.0.0
[C][wifi:410]: DNS2: 0.0.0.0
[C][logger:416]: Logger:
[C][logger:417]: Level: VERY_VERBOSE
[C][logger:418]: Log Baud Rate: 115200
[C][logger:420]: Hardware UART: UART0
[C][captive_portal:088]: Captive Portal:
[C][sntp:053]: SNTP Time:
[C][sntp:054]: Server 1: '0.pool.ntp.org'
[C][sntp:055]: Server 2: '1.pool.ntp.org'
[C][sntp:056]: Server 3: '2.pool.ntp.org'
[C][sntp:057]: Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[C][mdns:115]: mDNS:
[C][mdns:116]: Hostname: esp-wmbus
[V][mdns:117]: Services:
[V][mdns:119]: - _esphomelib, _tcp, 6053
[V][mdns:121]: TXT: version = 2023.11.6
[V][mdns:121]: TXT: mac = 84cca85ea580
[V][mdns:121]: TXT: platform = ESP32
[V][mdns:121]: TXT: board = esp32dev
[V][mdns:121]: TXT: network = wifi
[V][mdns:121]: TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[C][ota:097]: Over-The-Air Updates:
[C][ota:098]: Address: 10.0.0.132:3232
[C][ota:101]: Using Password.
[W][ota:107]: Last Boot was an unhandled reset, will proceed to safe mode in 5 restarts
[C][api:139]: API Server:
[C][api:140]: Address: 10.0.0.132:6053
[C][api:142]: Using noise encryption: YES
[C][wmbus:415]: wM-Bus v2.3.2:
[C][wmbus:417]: Clients:
[C][wmbus:424]: wmbusmeters: 10.0.0.111:7227 UDP [rtl-wmbus]
[C][wmbus:432]: CC1101 SPI bus:
[C][wmbus:433]: MOSI Pin: GPIO23
[C][wmbus:434]: MISO Pin: GPIO19
[C][wmbus:435]: CLK Pin: GPIO18
[C][wmbus:436]: CS Pin: GPIO5
[C][wmbus:437]: GDO0 Pin: GPIO25
[C][wmbus:438]: GDO2 Pin: GPIO26
[C][wmbus:445]: 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
[D][api:102]: Accepted 10.0.0.200
[VV][api.socket:696]: 10.0.0.200: Handshake complete!
[VV][api.service:522]: on_hello_request: HelloRequest {
client_info: 'Home Assistant 2023.11.3'
api_version_major: 1
api_version_minor: 9
}
[V][api.connection:1071]: Hello from client: 'Home Assistant 2023.11.3' | 10.0.0.200 | API Version 1.9
[VV][api.service:013]: send_hello_response: HelloResponse {
api_version_major: 1
api_version_minor: 9
server_info: 'esp-wmbus (esphome v2023.11.6)'
name: 'esp-wmbus'
}
[VV][api.service:531]: on_connect_request: ConnectRequest {
password: ''
}
[D][api.connection:1089]: Home Assistant 2023.11.3 (10.0.0.200): Connected successfully
[VV][api.service:019]: send_connect_response: ConnectResponse {
invalid_password: NO
}
[VV][api.service:576]: on_device_info_request: DeviceInfoRequest {}
[VV][api.service:049]: send_device_info_response: DeviceInfoResponse {
uses_password: NO
name: 'esp-wmbus'
mac_address: '84:CC:A8:5E:A5:80'
esphome_version: '2023.11.6'
compilation_time: 'Nov 30 2023, 18:45:35'
model: 'esp32dev'
has_deep_sleep: NO
project_name: ''
project_version: ''
webserver_port: 0
legacy_bluetooth_proxy_version: 0
bluetooth_proxy_feature_flags: 0
manufacturer: 'Espressif'
friendly_name: ''
voice_assistant_version: 0
suggested_area: ''
}
[VV][api.service:585]: on_list_entities_request: ListEntitiesRequest {}
[VV][api.service:055]: send_list_entities_done_response: ListEntitiesDoneResponse {}
[VV][api.service:594]: on_subscribe_states_request: SubscribeStatesRequest {}
[VV][api.service:656]: on_subscribe_homeassistant_services_request: SubscribeHomeassistantServicesRequest {}
[VV][api.service:683]: on_subscribe_home_assistant_states_request: SubscribeHomeAssistantStatesRequest {}
**wMBus-lib: Processing T1 A frame**
**wMBus-lib: Error during decoding '3 out of 6'**
[VV][scheduler:226]: Running interval '' with interval=60000 last_execution=54428 (now=114428)
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
**wMBus-lib: Processing T1 A frame**
**wMBus-lib: Error during decoding '3 out of 6'**
[VV][scheduler:226]: Running interval '' with interval=60000 last_execution=114428 (now=174428)
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
[VV][scheduler:226]: Running interval '' with interval=60000 last_execution=174428 (now=234431)
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
[VV][scheduler:226]: Running interval '' with interval=60000 last_execution=234428 (now=294428)
[I][ota:117]: Boot seems successful, resetting boot loop counter.
[VV][esp32.preferences:040]: s_pending_save: key: 233825507, len: 4
[D][esp32.preferences:114]: Saving 1 preferences to flash...
[VV][esp32.preferences:123]: Checking if NVS data 233825507 has changed
[V][esp32.preferences:126]: sync: key: 233825507, len: 4
[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
[VV][scheduler:226]: Running interval '' with interval=60000 last_execution=294428 (now=354428)
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
[VV][scheduler:226]: Running interval '' with interval=60000 last_execution=354428 (now=414428)
[VV][api.service:558]: on_ping_request: PingRequest {}
[VV][api.service:043]: send_ping_response: PingResponse {}
**Bus-lib: Processing T1 A frame**
**Bus-lib: Error during decoding '3 out of 6'**
[VV][scheduler:226]: Running interval '' with interval=60000 last_execution=414428 (now=474428)
Nasuwa się pytanie czy moduł ESP32 odbierał ramki częściej z powodu mniejszej odległości, czy dlatego że miał więcej czasu, bo nie przeszkadzały mu nakładki wodomierzy.