Il n’y a aucune erreur et les messages de log indiquent que wmbusmeter est fonctionnel et affichera toutes les trames qu’il peut capter sur l’interface rtlwmbus[00000001].
Tu peux surveiller ces logs pour vérifier si tu vois passer des trames de ton compteur.
Ton antenne est loin de ton compteur ? Ton compteur a bien un émetteur pour les relevés à distance ?
Ce compteur a l’air d’avoir une communication bidirectionnelle. A la place d’auto:t1 pour le paramètre device, il faut peut-être tester auto:c2,t2,s2, voire même auto:c1,t1,s1,c2,t2,s2 pour ratisser large.
j’ai changé le paramètre device en auto:c1,t1,s1,c2,t2,s2 et loglevel en debug, mais je ne reçois rien actuellement.
(shell) return code 1
(shell) 217 exited
(main) rtl_srd found in path
(shell) exec (capture output) "/bin/sh"
(shell) arg "-c"
(shell) arg "rtl_wmbus < /dev/null"
(shell) output: >>><<<
(shell) return code 0
(serial) EVENT thread interrupted
(shell) 218 exited
(main) rtl_wmbus found in path
(main) rtlsdr device 00000001 not currently used.
(main) opening rtlwmbus
Started auto rtlwmbus[00000001] listening on s1,s2,t1,t2,c1,c2
(shell) exec (capture output) "/usr/bin/rtl_wmbus"
(shell) arg "-h"
(shell) output: >>>/usr/bin/rtl_wmbus: unrecognized option: h
rtl_wmbus: 1.0.1-5-g6c4f95f
Usage /usr/bin/rtl_wmbus:
-a accelerate (use an inaccurate atan version)
-r 0 to disable run length algorithm
-t 0 to disable time2 algorithm
-d 2 set decimation rate to 2 (defaults to 2 if omitted)
-v show used algorithm in the output
-V show version
-s receive S1 and T1/C1 datagrams simultaneously. rtl_sdr _MUST_ be set to 868.625MHz (-f 868.625M)
-p [T,S] to disable processing T1/C1 or S1 mode.
-f exit if incoming data stalled for 5 seconds.
-h print this help
<<<
(serial) EVENT thread interrupted
(shell) return code 1
(shell) 224 exited
(rtlwmbus) help /usr/bin/rtl_wmbus: unrecognized option: h
rtl_wmbus: 1.0.1-5-g6c4f95f
Usage /usr/bin/rtl_wmbus:
-a accelerate (use an inaccurate atan version)
-r 0 to disable run length algorithm
-t 0 to disable time2 algorithm
-d 2 set decimation rate to 2 (defaults to 2 if omitted)
-v show used algorithm in the output
-V show version
-s receive S1 and T1/C1 datagrams simultaneously. rtl_sdr _MUST_ be set to 868.625MHz (-f 868.625M)
-p [T,S] to disable processing T1/C1 or S1 mode.
-f exit if incoming data stalled for 5 seconds.
-h print this help
(rtlwmbus) using command: ERRFILE=$(mktemp -t wmbusmeters_rtlsdr.XXXXXXXXXXXX) ; echo ERRFILE=$ERRFILE ; date -Iseconds > $ERRFILE ; tail -f $ERRFILE & /usr/bin/rtl_sdr -d 0 -f 868.625M -s 1.6e6 - 2>>$ERRFILE | /usr/bin/rtl_wmbus -s -f
(rtlwmbus) opening 00000001
(serial) EVENT thread interrupted
(bgshell) exec background "/bin/sh"
(bgshell) arg "-c"
(bgshell) arg "ERRFILE=$(mktemp -t wmbusmeters_rtlsdr.XXXXXXXXXXXX) ; echo ERRFILE=$ERRFILE ; date -Iseconds > $ERRFILE ; tail -f $ERRFILE & /usr/bin/rtl_sdr -d 0 -f 868.625M -s 1.6e6 - 2>>$ERRFILE | /usr/bin/rtl_wmbus -s -f"
(serialcmd) opened /bin/sh pid 225 fd 6 (rtlwmbus)
(main) regular reset of rtlwmbus will happen every 82800 seconds
(wmbus) no alarm (expected activity) for rtlwmbus
(serial) registered regular callback HOT_PLUG_DETECTOR(0) every 2 seconds
No meters configured. Printing id:s of all telegrams heard!
(serial) waiting for stop
(serial) received ascii "ERRFILE=/tmp/wmbusmeters_rtlsdr.XXXXXXJcaKKA<0A>rtl_wmbus: monitoring flow<0A>2024-03-27T18:48:08+01:00<0A>"
(rtlwmbus) checkRTLWMBusFrame "ERRFILE=/tmp/wmbusmeters_rtlsdr.XXXXXXJcaKKA<0A>rtl_wmbus: monitoring flow<0A>2024-03-27T18:48:08+01:00<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "rtl_wmbus: monitoring flow<0A>2024-03-27T18:48:08+01:00<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "2024-03-27T18:48:08+01:00<0A>"
(rtlwmbus) only text
(serial) received ascii "Found 1 device(s):<0A> 0: Realtek, RTL2838UHIDIR, SN: 00000001<0A><0A>Using device 0: Generic RTL2832U OEM<0A>Found Fitipower FC0012 tuner<0A>Sampling at 1600000 S/s.<0A>Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) checkRTLWMBusFrame "Found 1 device(s):<0A> 0: Realtek, RTL2838UHIDIR, SN: 00000001<0A><0A>Using device 0: Generic RTL2832U OEM<0A>Found Fitipower FC0012 tuner<0A>Sampling at 1600000 S/s.<0A>Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame " 0: Realtek, RTL2838UHIDIR, SN: 00000001<0A><0A>Using device 0: Generic RTL2832U OEM<0A>Found Fitipower FC0012 tuner<0A>Sampling at 1600000 S/s.<0A>Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "<0A>Using device 0: Generic RTL2832U OEM<0A>Found Fitipower FC0012 tuner<0A>Sampling at 1600000 S/s.<0A>Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "Using device 0: Generic RTL2832U OEM<0A>Found Fitipower FC0012 tuner<0A>Sampling at 1600000 S/s.<0A>Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "Found Fitipower FC0012 tuner<0A>Sampling at 1600000 S/s.<0A>Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "Sampling at 1600000 S/s.<0A>Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "Tuned to 868625000 Hz.<0A>Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "Tuner gain set to automatic.<0A>Reading samples in async mode...<0A>"
(rtlwmbus) only text
(rtlwmbus) checkRTLWMBusFrame "Reading samples in async mode...<0A>"
(rtlwmbus) only text
[18:48:10] INFO: Starting Nginx...
2024/03/27 18:48:10 [notice] 83#83: using the "epoll" event method
2024/03/27 18:48:10 [notice] 83#83: nginx/1.24.0
2024/03/27 18:48:10 [notice] 83#83: OS: Linux 6.1.73-haos-raspi
2024/03/27 18:48:10 [notice] 83#83: getrlimit(RLIMIT_NOFILE): 1073741816:1073741816
2024/03/27 18:48:10 [notice] 83#83: start worker processes
2024/03/27 18:48:10 [notice] 83#83: start worker process 246
172.30.32.2 - - [27/Mar/2024:18:48:11 +0100] "GET / HTTP/1.1" 200 1299 "http://192.168.1.113:8123/hassio" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
172.30.32.2 - - [27/Mar/2024:18:48:11 +0100] "GET /bootstrap.min.css HTTP/1.1" 200 221221 "http://192.168.1.113:8123/api/hassio_ingress/xxxxxxxxxxxxxxxx/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
172.30.32.2 - - [27/Mar/2024:18:48:11 +0100] "GET /bootstrap.bundle.min.js HTTP/1.1" 200 80762 "http://192.168.1.113:8123/api/hassio_ingress/xxxxxxxxxxxxxxxx/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
172.30.32.2 - - [27/Mar/2024:18:48:11 +0100] "GET /main.js HTTP/1.1" 200 9980 "http://192.168.1.113:8123/api/hassio_ingress/xxxxxxxxxxxxxxxx/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
172.30.32.2 - - [27/Mar/2024:18:48:11 +0100] "GET /wmbusmeters.png HTTP/1.1" 200 55338 "http://192.168.1.113:8123/api/hassio_ingress/xxxxxxxxxxxxxxxx/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"
172.30.32.2 - - [27/Mar/2024:18:48:12 +0100] "GET /get_json HTTP/1.1" 200 334 "http://192.168.1.113:8123/api/hassio_ingress/xxxxxxxxxxxxxxxx/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"```
bonjour dans les frames du premier flash (testcase de zibous)
[16:56:32][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
donc sur le papier ca a l’air possible. après y’a til une clef pour decoder je ne sais pas.
bonjour.
j’ai abandonnée la methode de zibous.
mais si tu as un compteur izar.rc 866 I g4, un esp32 et une carte C1101.
vas au message 32. j’ai trouvé une solution. fonctionnel depuis 3 mois sans aucun souci.
pour plus de detail mp moi
stefan
Je galère depuis plusieurs semaines avec une configuration similaire.
J’ai actuellement un raspberry et une clé usb qui envoie les valeurs de mon compteur sur le serveur mqtt. Tout cela fonctionne très bien mais je souhaiterais simplifier l’installation et la répliquer sur 2 autres sites.
Je pensais passer à l’esp 32 et au module cc1101.
Malgré tous les articles lus je bute lamentablement n’arrivant jamais à obtenir un fichier yaml qui compile.
même le wm-esp32-test.yaml me pose des problèmes… (liés à la version de esphome?)
INFO ESPHome 2024.10.3
INFO Reading configuration /config/wm-esp32-test.yaml...
INFO Updating https://github.com/SzczepanLeon/esphome-components.git@main
WARNING GPIO5 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
Failed config
wmbus: [source /config/wm-esp32-test.yaml:243]
mosi_pin: GPIO23
miso_pin: GPIO19
clk_pin: GPIO18
cs_pin: GPIO05
gdo0_pin: GPIO16
gdo2_pin: GPIO17
[log_unknown] is an invalid option for [wmbus]. Please check the indentation.
log_unknown: True