zibous / ha-watermeter

Data provider for smartmeter watermeter.
GNU General Public License v3.0
157 stars 27 forks source link

Finding Watermeter ID with the test install #19

Closed blundell closed 8 months ago

blundell commented 10 months ago

I've done this step:

Install wm-esp32_test.yaml To find the watermeterId you can set the watermeterId to 0 and the log_level: "VERBOSE" to find your meterId. see log messages to find your watermeterID

but I cannot see watermeterID in my logs:

NFO ESPHome 2023.8.2
INFO Reading configuration /config/esphome/esphome-web-988b80.yaml...
INFO Updating https://github.com/SzczepanLeon/esphome-components.git@main
INFO Starting log output from water-meter-esp.local using esphome API
INFO Successfully connected to water-meter-esp.local
[19:52:15][I][app:102]: ESPHome version 2023.8.2 compiled on Sep  4 2023, 19:39:45
[19:52:15][I][app:104]: Project Diehl_IZAR_RC_868.Watermeter version 2.0.7
[19:52:15][C][wifi:543]: WiFi:
[19:52:15][C][wifi:379]:   Local MAC: redacted
[19:52:15][C][wifi:380]:   SSID: [redacted]
[19:52:15][C][wifi:381]:   IP Address: redacted
[19:52:15][C][wifi:383]:   BSSID: [redacted]
[19:52:15][C][wifi:384]:   Hostname: 'water-meter-esp'
[19:52:15][C][wifi:386]:   Signal strength: -56 dB ▂▄▆█
[19:52:15][V][wifi:388]:   Priority: 1.0
[19:52:15][C][wifi:390]:   Channel: redacted
[19:52:15][C][wifi:391]:   Subnet: redacted
[19:52:15][C][wifi:392]:   Gateway: redacted
[19:52:15][C][wifi:393]:   DNS1: redacted
[19:52:15][C][wifi:394]:   DNS2: 0.0.0.0
[19:52:15][C][logger:301]: Logger:
[19:52:15][C][logger:302]:   Level: VERBOSE
[19:52:15][C][logger:303]:   Log Baud Rate: 0
[19:52:15][C][logger:305]:   Hardware UART: UART0
[19:52:15][C][logger:309]:   Level for 'wmbus': DEBUG
[19:52:15][C][logger:309]:   Level for 'wMBus-lib': DEBUG
[19:52:15][C][template.sensor:022]: Template Sensor 'Device Boot counter'
[19:52:15][C][template.sensor:022]:   State Class: 'measurement'
[19:52:15][C][template.sensor:022]:   Unit of Measurement: ''
[19:52:15][C][template.sensor:022]:   Accuracy Decimals: 0
[19:52:15][C][template.sensor:022]:   Icon: 'mdi:counter'
[19:52:15][C][template.sensor:023]:   Update Interval: 60.0s
[19:52:15][C][template.switch:068]: Template Switch 'Device Boot Counter reset'
[19:52:15][C][template.switch:091]:   Restore Mode: always OFF
[19:52:15][C][template.switch:057]:   Optimistic: NO
[19:52:16][C][safe_mode_switch:068]: Safe Mode Switch 'Device Restart (Safe Mode)'
[19:52:16][C][safe_mode_switch:070]:   Icon: 'mdi:restart-alert'
[19:52:16][C][safe_mode_switch:091]:   Restore Mode: always OFF
[19:52:16][C][restart:068]: Restart Switch 'Restart'
[19:52:16][C][restart:070]:   Icon: 'mdi:restart'
[19:52:16][C][restart:091]:   Restore Mode: always OFF
[19:52:16][C][factory_reset.switch:068]: Factory Reset Switch 'Device Restart Factory'
[19:52:16][C][factory_reset.switch:070]:   Icon: 'mdi:restart-alert'
[19:52:16][C][factory_reset.switch:091]:   Restore Mode: always OFF
[19:52:16][C][copy.sensor:015]: Copy Sensor 'Device WLAN Signal'
[19:52:16][C][copy.sensor:015]:   Device Class: 'signal_strength'
[19:52:16][C][copy.sensor:015]:   State Class: 'measurement'
[19:52:16][C][copy.sensor:015]:   Unit of Measurement: '%'
[19:52:16][C][copy.sensor:015]:   Accuracy Decimals: 0
[19:52:16][C][captive_portal:088]: Captive Portal:
[19:52:16][C][backup:033]: Backup:
[19:52:16][C][backup:034]:   URL path is /config.yaml
[19:52:16][C][backup:036]:   Basic authentication enabled
[19:52:16][C][web_server:161]: Web Server:
[19:52:16][C][web_server:162]:   Address: water-meter-esp.local:80
[19:52:16][C][sntp:053]: SNTP Time:
[19:52:16][C][sntp:054]:   Server 1: '0.at.pool.ntp.org'
[19:52:16][C][sntp:055]:   Server 2: '0.pool.ntp.org'
[19:52:16][C][sntp:056]:   Server 3: '1.pool.ntp.org'
[19:52:16][C][sntp:057]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[19:52:16][C][mdns:112]: mDNS:
[19:52:16][C][mdns:113]:   Hostname: water-meter-esp
[19:52:16][V][mdns:114]:   Services:
[19:52:16][V][mdns:116]:   - _esphomelib, _tcp, 6053
[19:52:16][V][mdns:118]:     TXT: version = 2023.8.2
[19:52:16][V][mdns:118]:     TXT: mac = redacted
[19:52:16][V][mdns:118]:     TXT: platform = ESP32
[19:52:16][V][mdns:118]:     TXT: board = az-delivery-devkit-v4
[19:52:16][V][mdns:118]:     TXT: network = wifi
[19:52:16][V][mdns:118]:     TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[19:52:16][V][mdns:118]:     TXT: project_name = Diehl_IZAR_RC_868.Watermeter
[19:52:16][V][mdns:118]:     TXT: project_version = 2.0.7
[19:52:16][V][mdns:116]:   - _http, _tcp, 80
[19:52:16][C][ota:093]: Over-The-Air Updates:
[19:52:16][C][ota:094]:   Address: water-meter-esp.local:3232
[19:52:16][C][ota:097]:   Using Password.
[19:52:16][C][api:138]: API Server:
[19:52:16][C][api:139]:   Address: water-meter-esp.local:6053
[19:52:16][C][api:141]:   Using noise encryption: YES
[19:52:16][C][wifi_signal.sensor:009]: WiFi Signal 'wifi_signal_db'
[19:52:16][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[19:52:16][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[19:52:16][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[19:52:16][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[19:52:16][V][wifi_signal.sensor:009]:   Unique ID: redacted
[19:52:16][C][wmbus:394]: wM-Bus v2.2.29:
[19:52:16][C][wmbus:411]:   CC1101 SPI bus:
[19:52:16][C][wmbus:412]:     MOSI Pin: GPIO23
[19:52:16][C][wmbus:413]:     MISO Pin: GPIO19
[19:52:16][C][wmbus:414]:     CLK Pin:  GPIO18
[19:52:16][C][wmbus:415]:     CS Pin:   GPIO5
[19:52:16][C][wmbus:416]:     GDO0 Pin: GPIO16
[19:52:16][C][wmbus:417]:     GDO2 Pin: GPIO17
[19:52:16][C][wmbus:424]:   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
[19:52:16][C][wmbus:442]:   Meter:
[19:52:16][C][wmbus:443]:     ID: 0 [0x00000000]
[19:52:16][C][wmbus:444]:     Type: izar
[19:52:16][C][wmbus:445]:     Mode: T1
[19:52:16][C][wmbus:446]:     Key: ''
[19:52:16][C][wmbus:448]:     Sensor '0x00 Watermeter current alarm code'
[19:52:16][C][wmbus:448]:       State Class: ''
[19:52:16][C][wmbus:448]:       Unit of Measurement: ''
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 0
[19:52:16][C][wmbus:448]:       Icon: 'mdi:alarm-light'
[19:52:16][C][wmbus:448]:     Sensor '0x00 Water current month'
[19:52:16][C][wmbus:448]:       Device Class: 'water'
[19:52:16][C][wmbus:448]:       State Class: 'total_increasing'
[19:52:16][C][wmbus:448]:       Unit of Measurement: 'L'
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 2
[19:52:16][C][wmbus:448]:       Icon: 'mdi:water'
[19:52:16][C][wmbus:448]:     Sensor '0x00 Water last month'
[19:52:16][C][wmbus:448]:       Device Class: 'water'
[19:52:16][C][wmbus:448]:       State Class: 'total_increasing'
[19:52:16][C][wmbus:448]:       Unit of Measurement: 'm³'
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 3
[19:52:16][C][wmbus:448]:       Icon: 'mdi:counter'
[19:52:16][C][wmbus:448]:     Sensor '0x00 Watermeter CC1101 LQI'
[19:52:16][C][wmbus:448]:       Device Class: 'signal_strength'
[19:52:16][C][wmbus:448]:       State Class: 'measurement'
[19:52:16][C][wmbus:448]:       Unit of Measurement: 'lqi'
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 0
[19:52:16][C][wmbus:448]:     Sensor '0x00 Watermeter pervious alarm code'
[19:52:16][C][wmbus:448]:       State Class: ''
[19:52:16][C][wmbus:448]:       Unit of Measurement: ''
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 0
[19:52:16][C][wmbus:448]:       Icon: 'mdi:alarm-light'
[19:52:16][C][wmbus:448]:     Sensor '0x00 Watermeter Battery Life'
[19:52:16][C][wmbus:448]:       State Class: 'measurement'
[19:52:16][C][wmbus:448]:       Unit of Measurement: 'Years'
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 2
[19:52:16][C][wmbus:448]:       Icon: 'mdi:battery'
[19:52:16][C][wmbus:448]:     Sensor '0x00 Watermeter CC1101 RSSI'
[19:52:16][C][wmbus:448]:       Device Class: 'signal_strength'
[19:52:16][C][wmbus:448]:       State Class: 'measurement'
[19:52:16][C][wmbus:448]:       Unit of Measurement: '%'
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 0
[19:52:16][C][wmbus:448]:     Sensor '0x00 Watermeter Display'
[19:52:16][C][wmbus:448]:       Device Class: 'water'
[19:52:16][C][wmbus:448]:       State Class: 'total_increasing'
[19:52:16][C][wmbus:448]:       Unit of Measurement: 'm³'
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 3
[19:52:16][C][wmbus:448]:       Icon: 'mdi:counter'
[19:52:16][C][wmbus:448]:     Sensor '0x00 Watermeter transmit periode'
[19:52:16][C][wmbus:448]:       State Class: 'measurement'
[19:52:16][C][wmbus:448]:       Unit of Measurement: 'sec'
[19:52:16][C][wmbus:448]:       Accuracy Decimals: 2
[19:52:16][C][wmbus:448]:       Icon: 'mdi:timelapse'
[19:52:42][V][sensor:043]: 'wifi_signal_db': Received new state -56.000000
[19:52:42][D][sensor:094]: 'wifi_signal_db': Sending state -56.00000 dBm with 0 decimals of accuracy
[19:52:42][V][sensor:043]: 'Device WLAN Signal': Received new state -56.000000
[19:52:42][D][sensor:094]: 'Device WLAN Signal': Sending state 88.00000 % with 0 decimals of accuracy
[19:52:42][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[19:52:42][V][json:056]: Size after shrink 80 bytes
[19:53:11][V][sensor:043]: 'Device Boot counter': Received new state 2.000000
[19:53:11][D][sensor:094]: 'Device Boot counter': Sending state 2.00000  with 0 decimals of accuracy
[19:53:11][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[19:53:11][V][json:056]: Size after shrink 80 bytes
[19:53:42][V][sensor:043]: 'wifi_signal_db': Received new state -59.000000
[19:53:42][D][sensor:094]: 'wifi_signal_db': Sending state -59.00000 dBm with 0 decimals of accuracy
[19:53:42][V][sensor:043]: 'Device WLAN Signal': Received new state -59.000000
[19:53:42][D][sensor:094]: 'Device WLAN Signal': Sending state 82.00000 % with 0 decimals of accuracy
[19:53:42][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[19:53:42][V][json:056]: Size after shrink 80 bytes
[19:54:11][V][sensor:043]: 'Device Boot counter': Received new state 2.000000
[19:54:11][D][sensor:094]: 'Device Boot counter': Sending state 2.00000  with 0 decimals of accuracy
[19:54:11][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[19:54:11][V][json:056]: Size after shrink 80 bytes
[19:54:42][V][sensor:043]: 'wifi_signal_db': Received new state -57.000000
[19:54:42][D][sensor:094]: 'wifi_signal_db': Sending state -57.00000 dBm with 0 decimals of accuracy
[19:54:42][V][sensor:043]: 'Device WLAN Signal': Received new state -57.000000
[19:54:42][D][sensor:094]: 'Device WLAN Signal': Sending state 86.00000 % with 0 decimals of accuracy
[19:54:42][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[19:54:42][V][json:056]: Size after shrink 80 bytes
[19:55:11][V][sensor:043]: 'Device Boot counter': Received new state 2.000000
[19:55:11][D][sensor:094]: 'Device Boot counter': Sending state 2.00000  with 0 decimals of accuracy
[19:55:11][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[19:55:11][V][json:056]: Size after shrink 80 bytes

Any advice of what else I can investigate?

I was wondering if my soldering was correct, can that be verified from the logs? Perhaps I need to get closer to the water meter?

zibous commented 10 months ago

Hi, Log actually looks pretty good.

Possible causes for you could be:

However, you can test whether you have connected the CC1101 correctly by deliberately doing the wiring incorrectly, then an error message should appear in the log.

Normally IZAR RC 868 I R4 PL sends a telegram every 8s.

This is my Log:

INFO ESPHome 2023.8.2
INFO Reading configuration /config/wm-esp32-test.yaml...
INFO Updating https://github.com/SzczepanLeon/esphome-components.git@main
INFO Generating C++ source...
INFO Backup config will take: 2065 bytes
INFO Compiling app...
Processing water-meter-esp (board: az-delivery-devkit-v4; framework: arduino; platform: platformio/espressif32@5.4.0)
--------------------------------------------------------------------------------
Platform Manager: Installing platformio/espressif32 @ 5.4.0
INFO Installing platformio/espressif32 @ 5.4.0
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Platform Manager: espressif32@5.4.0 has been installed!
INFO espressif32@5.4.0 has been installed!
Library Manager: Installing esphome/AsyncTCP-esphome @ 1.2.2
INFO Installing esphome/AsyncTCP-esphome @ 1.2.2
Unpacking  [####################################]  100%
Library Manager: AsyncTCP-esphome@1.2.2 has been installed!
INFO AsyncTCP-esphome@1.2.2 has been installed!
Library Manager: Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
INFO Installing esphome/ESPAsyncWebServer-esphome @ 2.1.0
Unpacking  [####################################]  100%
Library Manager: ESPAsyncWebServer-esphome@2.1.0 has been installed!
INFO ESPAsyncWebServer-esphome@2.1.0 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing bblanchon/ArduinoJson @ 6.18.5
INFO Installing bblanchon/ArduinoJson @ 6.18.5
Unpacking  [####################################]  100%
Library Manager: ArduinoJson@6.18.5 has been installed!
INFO ArduinoJson@6.18.5 has been installed!
Library Manager: Installing git+https://github.com/SzczepanLeon/wMbus-lib#1.2.22
INFO Installing git+https://github.com/SzczepanLeon/wMbus-lib#1.2.22
git version 2.30.2
Cloning into '/config/.esphome/platformio/cache/tmp/pkg-installing-9g2wijhm'...
Note: switching to '343d0f58339f2fc4062c8306e94a34efedff2e55'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Library Manager: wMbus-lib@1.2.22+sha.343d0f5 has been installed!
INFO wMbus-lib@1.2.22+sha.343d0f5 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing lsatan/SmartRC-CC1101-Driver-Lib @ ^2.5.7
INFO Installing lsatan/SmartRC-CC1101-Driver-Lib @ ^2.5.7
Unpacking  [####################################]  100%
Library Manager: SmartRC-CC1101-Driver-Lib@2.5.7 has been installed!
INFO SmartRC-CC1101-Driver-Lib@2.5.7 has been installed!
Library Manager: Installing git+https://github.com/SzczepanLeon/wmbus-drivers#1.0.4
INFO Installing git+https://github.com/SzczepanLeon/wmbus-drivers#1.0.4
git version 2.30.2
Cloning into '/config/.esphome/platformio/cache/tmp/pkg-installing-vojq0_2i'...
Note: switching to '1339790704aabbb612083ef661947c39b206951a'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Library Manager: wmbus-drivers@0.0.0+20230905080156.sha.1339790 has been installed!
INFO wmbus-drivers@0.0.0+20230905080156.sha.1339790 has been installed!
HARDWARE: ESP32 240MHz, 520KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 1.2.2
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- ArduinoJson @ 6.18.5
|-- wMbus-lib @ 1.2.22+sha.343d0f5
|-- wmbus-drivers @ 0.0.0+20230905080156.sha.1339790
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/api_pb2.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/api_pb2_service.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/api_server.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/list_entities.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/proto.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/subscribe_state.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/api/user_services.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/backup/backup.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/captive_portal/captive_portal.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/copy/sensor/copy_sensor.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/esp32/core.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/esp32/gpio.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/esp32/preferences.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/factory_reset/switch/factory_reset_switch.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/json/json_util.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/logger/logger.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/md5/md5.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/mdns/mdns_component.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/mdns/mdns_esp32.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/mdns/mdns_esp8266.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/mdns/mdns_host.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/mdns/mdns_rp2040.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/network/util.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/ota/ota_backend_arduino_esp32.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/ota/ota_backend_arduino_esp8266.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/ota/ota_backend_arduino_rp2040.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/ota/ota_backend_esp_idf.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/ota/ota_component.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/restart/switch/restart_switch.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/safe_mode/switch/safe_mode_switch.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/sensor/automation.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/sensor/filter.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/sensor/sensor.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/sntp/sntp_component.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/socket/bsd_sockets_impl.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/socket/lwip_raw_tcp_impl.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/socket/socket.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/switch/automation.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/switch/switch.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/template/sensor/template_sensor.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/template/switch/template_switch.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/text_sensor/filter.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/text_sensor/text_sensor.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/time/automation.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/time/real_time_clock.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/web_server/list_entities.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/web_server/web_server.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/web_server_base/web_server_base.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/wifi/wifi_component.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/wifi/wifi_component_esp32_arduino.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/wifi/wifi_component_esp_idf.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/wifi/wifi_component_pico_w.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/wifi_signal/wifi_signal_sensor.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/components/wmbus/wmbus.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/application.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/color.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/component.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/component_iterator.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/controller.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/entity_base.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/helpers.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/log.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/scheduler.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/string_ref.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/time.cpp.o
Compiling .pioenvs/water-meter-esp/src/esphome/core/util.cpp.o
Compiling .pioenvs/water-meter-esp/src/main.cpp.o
Building .pioenvs/water-meter-esp/bootloader.bin
Creating esp32 image...
Successfully created esp32 image.
Generating partitions .pioenvs/water-meter-esp/partitions.bin
Compiling .pioenvs/water-meter-esp/lib4d2/AsyncTCP-esphome/AsyncTCP.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFi.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiAP.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiClient.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiGeneric.cpp.o
Archiving .pioenvs/water-meter-esp/lib4d2/libAsyncTCP-esphome.a
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiMulti.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiSTA.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiScan.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiServer.cpp.o
Compiling .pioenvs/water-meter-esp/libb7a/WiFi/WiFiUdp.cpp.o
Compiling .pioenvs/water-meter-esp/libf93/FS/FS.cpp.o
Compiling .pioenvs/water-meter-esp/libf93/FS/vfs_api.cpp.o
Compiling .pioenvs/water-meter-esp/lib6bb/Update/HttpsOTAUpdate.cpp.o
Archiving .pioenvs/water-meter-esp/libb7a/libWiFi.a
Compiling .pioenvs/water-meter-esp/lib6bb/Update/Updater.cpp.o
Compiling .pioenvs/water-meter-esp/lib3a6/ESPAsyncWebServer-esphome/AsyncEventSource.cpp.o
Archiving .pioenvs/water-meter-esp/libf93/libFS.a
Compiling .pioenvs/water-meter-esp/lib3a6/ESPAsyncWebServer-esphome/AsyncWebSocket.cpp.o
Compiling .pioenvs/water-meter-esp/lib3a6/ESPAsyncWebServer-esphome/WebAuthentication.cpp.o
Archiving .pioenvs/water-meter-esp/lib6bb/libUpdate.a
Compiling .pioenvs/water-meter-esp/lib3a6/ESPAsyncWebServer-esphome/WebHandlers.cpp.o
Compiling .pioenvs/water-meter-esp/lib3a6/ESPAsyncWebServer-esphome/WebRequest.cpp.o
Compiling .pioenvs/water-meter-esp/lib3a6/ESPAsyncWebServer-esphome/WebResponses.cpp.o
Compiling .pioenvs/water-meter-esp/lib3a6/ESPAsyncWebServer-esphome/WebServer.cpp.o
Compiling .pioenvs/water-meter-esp/lib848/DNSServer/DNSServer.cpp.o
Compiling .pioenvs/water-meter-esp/lib927/ESPmDNS/ESPmDNS.cpp.o
Archiving .pioenvs/water-meter-esp/lib3a6/libESPAsyncWebServer-esphome.a
Compiling .pioenvs/water-meter-esp/lib0fa/SPI/SPI.cpp.o
Archiving .pioenvs/water-meter-esp/lib848/libDNSServer.a
Compiling .pioenvs/water-meter-esp/lib0f8/SmartRC-CC1101-Driver-Lib/ELECHOUSE_CC1101_SRC_DRV.cpp.o
Archiving .pioenvs/water-meter-esp/lib0fa/libSPI.a
Compiling .pioenvs/water-meter-esp/libdd7/wMbus-lib/3outof6.cpp.o
Compiling .pioenvs/water-meter-esp/libdd7/wMbus-lib/aes.cpp.o
Compiling .pioenvs/water-meter-esp/libdd7/wMbus-lib/crc.cpp.o
Compiling .pioenvs/water-meter-esp/libdd7/wMbus-lib/mbus_packet.cpp.o
Compiling .pioenvs/water-meter-esp/libdd7/wMbus-lib/rf_mbus.cpp.o
Archiving .pioenvs/water-meter-esp/lib927/libESPmDNS.a
Compiling .pioenvs/water-meter-esp/libdd7/wMbus-lib/utils.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/Esp.cpp.o
Archiving .pioenvs/water-meter-esp/lib0f8/libSmartRC-CC1101-Driver-Lib.a
Compiling .pioenvs/water-meter-esp/FrameworkArduino/FirmwareMSC.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/FunctionalInterrupt.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/HWCDC.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/HardwareSerial.cpp.o
Archiving .pioenvs/water-meter-esp/libdd7/libwMbus-lib.a
Compiling .pioenvs/water-meter-esp/FrameworkArduino/IPAddress.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/IPv6Address.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/MD5Builder.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/Print.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/Stream.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/StreamString.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/Tone.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/USB.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/USBCDC.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/USBMSC.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/WMath.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/WString.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/base64.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/cbuf.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-adc.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-bt.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-cpu.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-dac.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-gpio.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-i2c-slave.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-i2c.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-ledc.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-matrix.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-misc.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-psram.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-rgb-led.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-rmt.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-sigmadelta.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-spi.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-time.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-timer.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-tinyusb.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-touch.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/esp32-hal-uart.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/firmware_msc_fat.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/libb64/cdecode.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/libb64/cencode.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/main.cpp.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/stdlib_noniso.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/wiring_pulse.c.o
Compiling .pioenvs/water-meter-esp/FrameworkArduino/wiring_shift.c.o
Archiving .pioenvs/water-meter-esp/libFrameworkArduino.a
Linking .pioenvs/water-meter-esp/firmware.elf
RAM:   [=         ]   8.0% (used 42676 bytes from 532480 bytes)
Flash: [=====     ]  52.6% (used 964733 bytes from 1835008 bytes)
Building .pioenvs/water-meter-esp/firmware.bin
Creating esp32 image...
Successfully created esp32 image.
esp32_create_combined_bin([".pioenvs/water-meter-esp/firmware.bin"], [".pioenvs/water-meter-esp/firmware.elf"])
Wrote 0xfcf10 bytes to file /config/build/water-meter-esp/.pioenvs/water-meter-esp/firmware-factory.bin, ready to flash to offset 0x0
======================== [SUCCESS] Took 287.96 seconds ========================
INFO Successfully compiled program.
INFO Uploading /config/./build/water-meter-esp/.pioenvs/water-meter-esp/firmware.bin (970512 bytes)
Uploading: [============================================================] 100% Done...

INFO Waiting for result...
INFO OTA successful
INFO Successfully uploaded program.
INFO Starting log output from water-meter-esp.siebler.home using esphome API
INFO Trying to connect to water-meter-esp.siebler.home in the background
INFO Successfully connected to water-meter-esp.siebler.home
[08:07:01][I][app:102]: ESPHome version 2023.8.2 compiled on Sep  5 2023, 08:04:28
[08:07:01][I][app:104]: Project Diehl_IZAR_RC_868.Watermeter version 2.0.7
[08:07:01][C][wifi:504]: WiFi:
[08:07:01][C][wifi:362]:   Local MAC: 9C:9C:1F:E2:0D:7C
[08:07:01][C][wifi:363]:   SSID: [redacted]
[08:07:01][C][wifi:364]:   IP Address: 10.1.1.73
[08:07:01][C][wifi:366]:   BSSID: [redacted]
[08:07:01][C][wifi:367]:   Hostname: 'water-meter-esp'
[08:07:01][C][wifi:369]:   Signal strength: -54 dB ▂▄▆█
[08:07:01][V][wifi:371]:   Priority: -3.0
[08:07:01][C][wifi:373]:   Channel: 1
[08:07:01][C][wifi:374]:   Subnet: 255.255.255.0
[08:07:01][C][wifi:375]:   Gateway: 10.1.1.254
[08:07:01][C][wifi:376]:   DNS1: 10.1.1.129
[08:07:01][C][wifi:377]:   DNS2: 10.1.1.254
[08:07:01][C][logger:301]: Logger:
[08:07:01][C][logger:302]:   Level: VERBOSE
[08:07:01][C][logger:303]:   Log Baud Rate: 0
[08:07:01][C][logger:305]:   Hardware UART: UART0
[08:07:01][C][logger:309]:   Level for 'wmbus': VERBOSE
[08:07:01][C][logger:309]:   Level for 'wMBus-lib': VERBOSE
[08:07:01][C][template.sensor:022]: Template Sensor 'Device Boot counter'
[08:07:01][C][template.sensor:022]:   State Class: 'measurement'
[08:07:01][C][template.sensor:022]:   Unit of Measurement: ''
[08:07:01][C][template.sensor:022]:   Accuracy Decimals: 0
[08:07:01][C][template.sensor:022]:   Icon: 'mdi:counter'
[08:07:01][C][template.sensor:023]:   Update Interval: 60.0s
[08:07:01][C][template.switch:068]: Template Switch 'Device Boot Counter reset'
[08:07:01][C][template.switch:091]:   Restore Mode: always OFF
[08:07:01][C][template.switch:057]:   Optimistic: NO
[08:07:01][C][safe_mode_switch:068]: Safe Mode Switch 'Device Restart (Safe Mode)'
[08:07:01][C][safe_mode_switch:070]:   Icon: 'mdi:restart-alert'
[08:07:01][C][safe_mode_switch:091]:   Restore Mode: always OFF
[08:07:01][C][restart:068]: Restart Switch 'Restart'
[08:07:01][C][restart:070]:   Icon: 'mdi:restart'
[08:07:01][C][restart:091]:   Restore Mode: always OFF
[08:07:01][C][factory_reset.switch:068]: Factory Reset Switch 'Device Restart Factory'
[08:07:01][C][factory_reset.switch:070]:   Icon: 'mdi:restart-alert'
[08:07:01][C][factory_reset.switch:091]:   Restore Mode: always OFF
[08:07:01][C][copy.sensor:015]: Copy Sensor 'Device WLAN Signal'
[08:07:01][C][copy.sensor:015]:   Device Class: 'signal_strength'
[08:07:01][C][copy.sensor:015]:   State Class: 'measurement'
[08:07:01][C][copy.sensor:015]:   Unit of Measurement: '%'
[08:07:01][C][copy.sensor:015]:   Accuracy Decimals: 0
[08:07:01][C][captive_portal:088]: Captive Portal:
[08:07:01][C][backup:033]: Backup:
[08:07:01][C][backup:034]:   URL path is /config.yaml
[08:07:01][C][backup:036]:   Basic authentication enabled
[08:07:01][C][web_server:161]: Web Server:
[08:07:01][C][web_server:162]:   Address: water-meter-esp.siebler.home:80
[08:07:01][C][sntp:053]: SNTP Time:
[08:07:01][C][sntp:054]:   Server 1: '0.at.pool.ntp.org'
[08:07:01][C][sntp:055]:   Server 2: '0.pool.ntp.org'
[08:07:01][C][sntp:056]:   Server 3: '1.pool.ntp.org'
[08:07:01][C][sntp:057]:   Timezone: 'CET-1CEST,M3.5.0,M10.5.0/3'
[08:07:01][C][mdns:112]: mDNS:
[08:07:01][C][mdns:113]:   Hostname: water-meter-esp
[08:07:01][V][mdns:114]:   Services:
[08:07:01][V][mdns:116]:   - _esphomelib, _tcp, 6053
[08:07:01][V][mdns:118]:     TXT: version = 2023.8.2
[08:07:01][V][mdns:118]:     TXT: mac = 9c9c1fe20d7c
[08:07:01][V][mdns:118]:     TXT: platform = ESP32
[08:07:01][V][mdns:118]:     TXT: board = az-delivery-devkit-v4
[08:07:01][V][mdns:118]:     TXT: network = wifi
[08:07:01][V][mdns:118]:     TXT: project_name = Diehl_IZAR_RC_868.Watermeter
[08:07:01][V][mdns:118]:     TXT: project_version = 2.0.7
[08:07:01][V][mdns:116]:   - _http, _tcp, 80
[08:07:01][C][ota:093]: Over-The-Air Updates:
[08:07:01][C][ota:094]:   Address: water-meter-esp.siebler.home:3232
[08:07:01][C][ota:097]:   Using Password.
[08:07:01][C][api:138]: API Server:
[08:07:01][C][api:139]:   Address: water-meter-esp.siebler.home:6053
[08:07:01][C][api:143]:   Using noise encryption: NO
[08:07:01][C][wifi_signal.sensor:009]: WiFi Signal 'wifi_signal_db'
[08:07:01][C][wifi_signal.sensor:009]:   Device Class: 'signal_strength'
[08:07:01][C][wifi_signal.sensor:009]:   State Class: 'measurement'
[08:07:01][C][wifi_signal.sensor:009]:   Unit of Measurement: 'dBm'
[08:07:01][C][wifi_signal.sensor:009]:   Accuracy Decimals: 0
[08:07:01][V][wifi_signal.sensor:009]:   Unique ID: '9c9c1fe20d7c-wifisignal'
[08:07:01][C][wmbus:394]: wM-Bus v2.2.29:
[08:07:01][C][wmbus:411]:   CC1101 SPI bus:
[08:07:01][C][wmbus:412]:     MOSI Pin: GPIO23
[08:07:01][C][wmbus:413]:     MISO Pin: GPIO19
[08:07:01][C][wmbus:414]:     CLK Pin:  GPIO18
[08:07:01][C][wmbus:415]:     CS Pin:   GPIO5
[08:07:01][C][wmbus:416]:     GDO0 Pin: GPIO16
[08:07:01][C][wmbus:417]:     GDO2 Pin: GPIO17
[08:07:01][C][wmbus:424]:   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
[08:07:01][C][wmbus:442]:   Meter:
[08:07:01][C][wmbus:443]:     ID: 0 [0x00000000]
[08:07:01][C][wmbus:444]:     Type: izar
[08:07:01][C][wmbus:445]:     Mode: T1
[08:07:01][C][wmbus:446]:     Key: ''
[08:07:01][C][wmbus:448]:     Sensor '0x00 Watermeter current alarm code'
[08:07:01][C][wmbus:448]:       State Class: ''
[08:07:01][C][wmbus:448]:       Unit of Measurement: ''
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 0
[08:07:01][C][wmbus:448]:       Icon: 'mdi:alarm-light'
[08:07:01][C][wmbus:448]:     Sensor '0x00 Water current month'
[08:07:01][C][wmbus:448]:       Device Class: 'water'
[08:07:01][C][wmbus:448]:       State Class: 'total_increasing'
[08:07:01][C][wmbus:448]:       Unit of Measurement: 'L'
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 2
[08:07:01][C][wmbus:448]:       Icon: 'mdi:water'
[08:07:01][C][wmbus:448]:     Sensor '0x00 Water last month'
[08:07:01][C][wmbus:448]:       Device Class: 'water'
[08:07:01][C][wmbus:448]:       State Class: 'total_increasing'
[08:07:01][C][wmbus:448]:       Unit of Measurement: 'm³'
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 3
[08:07:01][C][wmbus:448]:       Icon: 'mdi:counter'
[08:07:01][C][wmbus:448]:     Sensor '0x00 Watermeter CC1101 LQI'
[08:07:01][C][wmbus:448]:       Device Class: 'signal_strength'
[08:07:01][C][wmbus:448]:       State Class: 'measurement'
[08:07:01][C][wmbus:448]:       Unit of Measurement: 'lqi'
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 0
[08:07:01][C][wmbus:448]:     Sensor '0x00 Watermeter pervious alarm code'
[08:07:01][C][wmbus:448]:       State Class: ''
[08:07:01][C][wmbus:448]:       Unit of Measurement: ''
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 0
[08:07:01][C][wmbus:448]:       Icon: 'mdi:alarm-light'
[08:07:01][C][wmbus:448]:     Sensor '0x00 Watermeter Battery Life'
[08:07:01][C][wmbus:448]:       State Class: 'measurement'
[08:07:01][C][wmbus:448]:       Unit of Measurement: 'Years'
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 2
[08:07:01][C][wmbus:448]:       Icon: 'mdi:battery'
[08:07:01][C][wmbus:448]:     Sensor '0x00 Watermeter CC1101 RSSI'
[08:07:01][C][wmbus:448]:       Device Class: 'signal_strength'
[08:07:01][C][wmbus:448]:       State Class: 'measurement'
[08:07:01][C][wmbus:448]:       Unit of Measurement: '%'
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 0
[08:07:01][C][wmbus:448]:     Sensor '0x00 Watermeter Display'
[08:07:01][C][wmbus:448]:       Device Class: 'water'
[08:07:01][C][wmbus:448]:       State Class: 'total_increasing'
[08:07:01][C][wmbus:448]:       Unit of Measurement: 'm³'
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 3
[08:07:01][C][wmbus:448]:       Icon: 'mdi:counter'
[08:07:01][C][wmbus:448]:     Sensor '0x00 Watermeter transmit periode'
[08:07:01][C][wmbus:448]:       State Class: 'measurement'
[08:07:01][C][wmbus:448]:       Unit of Measurement: 'sec'
[08:07:01][C][wmbus:448]:       Accuracy Decimals: 2
[08:07:01][C][wmbus:448]:       Icon: 'mdi:timelapse'
[08:07:02][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:02][V][json:056]: Size after shrink 128 bytes
[08:07:02][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:02][V][json:056]: Size after shrink 144 bytes
[08:07:16][V][sensor:043]: '0x00 Watermeter CC1101 LQI': Received new state 129.000000
[08:07:16][D][sensor:094]: '0x00 Watermeter CC1101 LQI': Sending state 129.00000 lqi with 0 decimals of accuracy
[08:07:16][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:16][V][json:056]: Size after shrink 92 bytes
[08:07:16][V][sensor:043]: '0x00 Watermeter CC1101 RSSI': Received new state -78.000000
[08:07:16][D][sensor:094]: '0x00 Watermeter CC1101 RSSI': Sending state -78.00000 % with 0 decimals of accuracy
[08:07:16][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:16][V][json:056]: Size after shrink 92 bytes

[08:07:16][D][wmbus:184]: Meter ID [0x43410778] RSSI: -78 dBm LQI: 129 Mode: T1 not found in configuration T: 1944A511780741434418A231140013DB6C4427ACD18DBDA8069A (26)
[08:07:16][W][component:204]: Component wmbus took a long time for an operation (0.08 s).
[08:07:16][W][component:205]: Components should block for at most 20-30ms.
[08:07:17][V][sensor:043]: 'Device Boot counter': Received new state 4.000000
[08:07:17][D][sensor:094]: 'Device Boot counter': Sending state 4.00000  with 0 decimals of accuracy
[08:07:17][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:17][V][json:056]: Size after shrink 80 bytes
[08:07:25][V][sensor:043]: '0x00 Watermeter CC1101 LQI': Received new state 133.000000
[08:07:25][D][sensor:094]: '0x00 Watermeter CC1101 LQI': Sending state 133.00000 lqi with 0 decimals of accuracy
[08:07:25][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:25][V][json:056]: Size after shrink 92 bytes
[08:07:25][V][sensor:043]: '0x00 Watermeter CC1101 RSSI': Received new state -80.000000
[08:07:25][D][sensor:094]: '0x00 Watermeter CC1101 RSSI': Sending state -80.00000 % with 0 decimals of accuracy
[08:07:25][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:25][V][json:056]: Size after shrink 92 bytes
[08:07:25][D][wmbus:184]: Meter ID [0x43410778] RSSI: -80 dBm LQI: 133 Mode: T1 not found in configuration T: 1944A511780741434418A241140013DB0988DBFD34B6B0A94997 (26)
[08:07:25][W][component:204]: Component wmbus took a long time for an operation (0.09 s).
[08:07:25][W][component:205]: Components should block for at most 20-30ms.
[08:07:34][V][sensor:043]: '0x00 Watermeter CC1101 LQI': Received new state 133.000000
[08:07:34][D][sensor:094]: '0x00 Watermeter CC1101 LQI': Sending state 133.00000 lqi with 0 decimals of accuracy
[08:07:34][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:34][V][json:056]: Size after shrink 92 bytes
[08:07:34][V][sensor:043]: '0x00 Watermeter CC1101 RSSI': Received new state -81.000000
[08:07:34][D][sensor:094]: '0x00 Watermeter CC1101 RSSI': Sending state -81.00000 % with 0 decimals of accuracy
[08:07:34][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:34][V][json:056]: Size after shrink 92 bytes
[08:07:34][D][wmbus:184]: Meter ID [0x43410778] RSSI: -81 dBm LQI: 133 Mode: T1 not found in configuration T: 1944A511780741434418A251140013DB1EA79256156569725095 (26)
[08:07:34][W][component:204]: Component wmbus took a long time for an operation (0.08 s).
[08:07:34][W][component:205]: Components should block for at most 20-30ms.
[08:07:42][V][sensor:043]: '0x00 Watermeter CC1101 LQI': Received new state 130.000000
[08:07:42][D][sensor:094]: '0x00 Watermeter CC1101 LQI': Sending state 130.00000 lqi with 0 decimals of accuracy
[08:07:42][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:42][V][json:056]: Size after shrink 92 bytes
[08:07:42][V][sensor:043]: '0x00 Watermeter CC1101 RSSI': Received new state -78.000000
[08:07:42][D][sensor:094]: '0x00 Watermeter CC1101 RSSI': Sending state -78.00000 % with 0 decimals of accuracy
[08:07:42][V][json:036]: Attempting to allocate 512 bytes for JSON serialization
[08:07:42][V][json:056]: Size after shrink 92 bytes
[08:07:42][D][wmbus:184]: Meter ID [0x43410778] RSSI: -78 dBm LQI: 130 Mode: T1 not found in configuration T: 1944A511780741434418A261140013DB27D648AB7711031F7B92 (26)
[08:07:42][W][component:204]: Component wmbus took a long time for an operation (0.09 s).
[08:07:42][W][component:205]: Components should block for at most 20-30ms.
[08:07:53][V][sensor:043]: 'wifi_signal_db': Received new state -52.000000
[08:07:53][D][sensor:094]: 'wifi_signal_db': Sending state -52.00000 dBm with 0 decimals of accuracy
[08:07:53][V][sensor:043]: 'Device WLAN Signal': Received new state -52.000000
[08:07:53][D][sensor:094]: 'Device WLAN Signal': Sending state 96.00000 % with 0 decimals of accuracy
grandyoz commented 9 months ago

Bonjour, J'ai le même problème que toi... je n'arrive pas à voir passer de trames... Pourtant, j'ai déjà un wmbus qui fonctionne sur mon compteur avec une clé USB sur une raspberry...

Voilà mes logs :

` 16:49:53 [D] [sensor:094] 'Device Boot counter': Sending state 2.00000 with 0 decimals of accuracy
16:49:53 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:49:53 [V] [json:056] Size after shrink 80 bytes
16:49:53 [V] [json:056] Size after shrink 80 bytes
16:50:47 [V] [sensor:043] 'wifi_signal_db': Received new state -61.000000
16:50:47 [D] [sensor:094] 'wifi_signal_db': Sending state -61.00000 dBm with 0 decimals of accuracy
16:50:47 [V] [sensor:043] 'Device WLAN Signal': Received new state -61.000000
16:50:47 [D] [sensor:094] 'Device WLAN Signal': Sending state 78.00000 % with 0 decimals of accuracy
16:50:47 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:50:47 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:50:47 [V] [json:056] Size after shrink 80 bytes
16:50:47 [V] [json:056] Size after shrink 80 bytes
16:50:53 [V] [sensor:043] 'Device Boot counter': Received new state 2.000000
16:50:53 [D] [sensor:094] 'Device Boot counter': Sending state 2.00000 with 0 decimals of accuracy
16:50:53 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:50:53 [V] [json:056] Size after shrink 80 bytes
16:51:47 [V] [sensor:043] 'wifi_signal_db': Received new state -63.000000
16:51:47 [D] [sensor:094] 'wifi_signal_db': Sending state -63.00000 dBm with 0 decimals of accuracy
16:51:47 [V] [sensor:043] 'Device WLAN Signal': Received new state -63.000000
16:51:47 [D] [sensor:094] 'Device WLAN Signal': Sending state 74.00000 % with 0 decimals of accuracy
16:51:47 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:51:47 [V] [json:056] Size after shrink 80 bytes
16:51:53 [V] [sensor:043] 'Device Boot counter': Received new state 2.000000
16:51:53 [D] [sensor:094] 'Device Boot counter': Sending state 2.00000 with 0 decimals of accuracy
16:51:53 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:51:53 [V] [json:056] Size after shrink 80 bytes
16:52:47 [V] [sensor:043] 'wifi_signal_db': Received new state -65.000000
16:52:47 [D] [sensor:094] 'wifi_signal_db': Sending state -65.00000 dBm with 0 decimals of accuracy
16:52:47 [V] [sensor:043] 'Device WLAN Signal': Received new state -65.000000
16:52:47 [D] [sensor:094] 'Device WLAN Signal': Sending state 70.00000 % with 0 decimals of accuracy
16:52:47 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:52:47 [V] [json:056] Size after shrink 80 bytes
16:52:53 [V] [sensor:043] 'Device Boot counter': Received new state 2.000000
16:52:53 [D] [sensor:094] 'Device Boot counter': Sending state 2.00000 with 0 decimals of accuracy
16:52:53 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:52:53 [V] [json:056] Size after shrink 80 bytes
16:53:07 [D] [sntp:078] Synchronized time: 2023-09-18 16:53:07
16:53:07 [I] [system:386] Synchronized sntp clock
16:53:47 [V] [sensor:043] 'wifi_signal_db': Received new state -59.000000
16:53:47 [D] [sensor:094] 'wifi_signal_db': Sending state -59.00000 dBm with 0 decimals of accuracy
16:53:47 [V] [sensor:043] 'Device WLAN Signal': Received new state -59.000000
16:53:47 [D] [sensor:094] 'Device WLAN Signal': Sending state 82.00000 % with 0 decimals of accuracy
16:53:47 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:53:47 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:53:47 [V] [json:056] Size after shrink 80 bytes
16:53:47 [V] [json:056] Size after shrink 80 bytes
16:53:53 [V] [sensor:043] 'Device Boot counter': Received new state 2.000000
16:53:53 [D] [sensor:094] 'Device Boot counter': Sending state 2.00000 with 0 decimals of accuracy
16:53:53 [V] [json:036] Attempting to allocate 512 bytes for JSON serialization
16:53:53 [V] [json:056] Size after shrink 80 bytes

`

J'ai bien vérifié mon montage électrique et il a l'air juste.

Si vous avez un conseil à nous donner ! Merci !

zibous commented 9 months ago

@grandyoz

Which device d1mini, esp32 ?? Is CC1101 SPI bus valid ?

[wmbus:394]: wM-Bus v2.2.29:
[wmbus:411]:   CC1101 SPI bus:
[wmbus:412]:     MOSI Pin: GPIO23
[wmbus:413]:     MISO Pin: GPIO19
[wmbus:414]:     CLK Pin:  GPIO18
[wmbus:415]:     CS Pin:   GPIO5
[wmbus:416]:     GDO0 Pin: GPIO16
[wmbus:417]:     GDO2 Pin: GPIO17
[wmbus:424]:   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
[wmbus:442]:   Meter:
[wmbus:443]:     ID: 0 [0x00000000]
[wmbus:444]:     Type: izar
[wmbus:445]:     Mode: T1
[wmbus:446]:     Key: ''
grandyoz commented 9 months ago

Hi Zibous, thanks for your hek-lp ! I use a ESP32 and I read log from the device web page. I never seen that log. I don't know what to do... I will test with wm-check-wmbus.yaml

zibous commented 9 months ago

Hi,

You can use the ESPHOME Dashboard and select the device "View Log" browser.

Bildschirmfoto 2023-09-18 um 18 54 00

or use the https://web.esphome.io/ with chrome

New Testcase using https://web.esphome.io/ with chrome browser.

1. Connect to the device
2. Prepare for first use
3. When finish set the local WIFI and "Visit Device"
4. OTA Update water-meter-esp32-izar-test.bin

see: https://github.com/zibous/ha-watermeter/blob/master/esphome/testcases/water-meter-esp32-izar-test.bin

grandyoz commented 9 months ago

Thanks, I'll test that and I will tell you !

grandyoz commented 9 months ago

That's very strange because I did what you said and in https://web.esphome.io/ with chrome, I have just few logs lines :

Capture d’écran 2023-09-18 à 19 19 32

and on device web page, I see nothing. When I click on restart, I see some lines but nothing more...

Capture d’écran 2023-09-18 à 19 19 13

I never get as logs as you have... Perhaps I have a "ESPHome" problem...

grandyoz commented 9 months ago

I have this device : https://fr.aliexpress.com/item/1005002074380868.html?spm=a2g0o.order_list.order_list_main.73.10b15e5bEqxmXu&gatewayAdapt=glo2fra But despite it is written 868Mhz in the title, it's written 433MHz on the board, isn't it a problem ? Perhaps I should see more logs, but I probably have another problem after ! What do you think ?

zibous commented 9 months ago

Try to "Log a Console" and restart the device . Put the device near to your watermeter. Wait vor 5 -30 min, sometime it needs time..

grandyoz commented 9 months ago

My wmbusmeter on my raspberry is working fine every 8 secs... why do you think it can take 30 mins ?

zibous commented 9 months ago

My wmbusmeter on my raspberry is working fine every 8 secs... why do you think it can take 30 mins ?

Yes that is correct, the IZAR sends all 8s a telegram but wmbusmetere needs time to intialize

Bildschirmfoto 2023-09-18 um 19 40 40

Technologie sans fil CC1101 avec antenne SMA, Transcsec Tech pour Ardu37315, 433, 868, 915 Z successifs

Are you shure the this CC1101 is for 868 Mhz enabled , because on the Board says 433Mhz.

Bildschirmfoto 2023-09-18 um 19 43 50

My IZAR Watermeter uses 868 Mhz.

i use this https://amzn.eu/d/5Rs9MKz or this one https://amzn.eu/d/cAPtUio

grandyoz commented 9 months ago

I think mine is not for 868 and that is a problem... I will buy a different one. I will tell you if I succeed with the new module ! Thanks a lot for your library and for your help ! Really !

zibous commented 9 months ago

ok.

The CC1101 is cheaper on Amazon.de see: https://amzn.eu/d/h9joMXH

grandyoz commented 8 months ago

Indeed, it was my device... ! I don't understand what should I set in "service_url: !secret service_host" variable. And so, I can't build the esp32 project. Could you help me ? Thanks !

zibous commented 8 months ago

@grandyoz

don't understand what should I set in "service_url: !secret service_host" variable.

This is a special service the sends all data to a webserver.

service_host: http://<your webserver>:<PORT>

see: > https://github.com/zibous/ha-watermeter/blob/master/tools/simpleserver.py

First use to find the watermeter ID:

https://github.com/zibous/ha-watermeter/blob/master/esphome/wm-esp32-test.yaml

For production use:

https://github.com/zibous/ha-watermeter/blob/master/esphome/wm-esp32-simple.yaml

Webserver:

## ---------------------------------------------------
## COMPONENT WEBSERVER
## ---------------------------------------------------
web_server:
  port: 80
  version: 2
  # js_url: !secret webserver_jsurl

Info see:

https://github.com/zibous/ha-watermeter/tree/master/esphome/webserver

Alternatively, you could also use the pre compiled test versions to test the hardware

see: https://github.com/zibous/ha-watermeter/tree/master/esphome/testcases

grandyoz commented 8 months ago

Ok, simple version works. But because I had read :

"2nd Step: Edit the secrets.yaml and change the watermeterID Install wm-esp32.yaml Check log messages"

I tried with wm-esp32.yaml... But, ok, I will stay on simple version !

Thanks !

grandyoz commented 8 months ago

Is it possible to change the update frequency ? It seems to be 5 minutes.

zibous commented 8 months ago

@grandyoz

Is it possible to change the update frequency ? It seems to be 5 minutes.

My watermeter reports all 8s ...

Bildschirmfoto 2023-10-13 um 12 27 26

I don't know any setting, because wbmusmeters listens to the telegrams that the water meter sends (usually every 8s) and evaluates them.

grandyoz commented 8 months ago

Yes, you're right. It's was a display problem in Home Assistant. All is good. Thanks again for your help !

zibous commented 8 months ago

@grandyoz

You are welcome

blundell commented 8 months ago

Mines still not working but 😂

On Fri, 13 Oct 2023, 14:24 Peter Siebler, @.***> wrote:

Closed #19 https://github.com/zibous/ha-watermeter/issues/19 as completed.

— Reply to this email directly, view it on GitHub https://github.com/zibous/ha-watermeter/issues/19#event-10644388571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFAD5FROMDCNZS6SQVJKHDX7E6KXANCNFSM6AAAAAA4KYP72Y . You are receiving this because you authored the thread.Message ID: @.***>

zibous commented 8 months ago

@blundell

  1. Check the wireings (change gdo0_pin, gdo2_pin)
  2. Try to get closer to the watermeter
  3. Try another CC1101
blundell commented 8 months ago

Thanks!

I've reported the meter to the utility company as I think its not giving off a signal!

Time will tell if they fix it or even reply 🤞