Récupérer les infos d’un compteur d’eau

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 ?

Notes que ton ancien rpi3 avec un HA tout neuf a bien détecté ton dongle contrairement à ton premier test.

Pour le test, j’ai placé le Raspberry et l’antenne à 2 m du compteur. je vais le laisser tourner on verra bien si il capte quelque chose

Etrange… As-tu les références de l’émetteur de ton compteur ?

Je n’y crois pas trop mais tu peux essayer de mettre dans la configuration :

  • device=auto
  • loglevel=debug

Et cliquer sur « Save Changes » en haut de page.


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"```

wmbusmeters ne reçoit aucun signal. Je suppose que ton compteur n’est pas supporté (DiehL hrl-c-g3 lorawan is it supported or not ? · Issue #479 · wmbusmeters/wmbusmeters · GitHub).

Effectivement je suis pile dans le cas énoncé sur le post du github.
L’affaire est donc réglé pour moi );

Merci pour ton aide :wink:

1 « J'aime »

bonjour
je cherche a faire fonctionner mon compteur izar.rc 866 I g4
j’ai installé un esp32 et une carte C1101. avec ce tuto:

j’obtient ce résultats:


l’esp voie ca
image

mais je bloque dans le secret yaml.
a ces deux passage:

# UDP server wmbusmeter

wmbus_server: ip de hassio

wmbus_server_port: 7337

et

# service target

service_host: que mettre 

data_host: que mettre

je met quelques photos de l’addons wmsmeter




et le pb il ne voie pas (communique pas entre esp et addon)

si une ame charitable veux bien m’aider. :innocent: car j’y suis presque mais il me manque quelque chose.
stefan