sondes type La Crosse tx29it 868Mhz

Pour mesurer les paramètres et partager les informations recueillies

Modérateur : Francois

Répondre
Avatar du membre
marco123
Raspinaute
Messages : 438
Enregistré le : sam. 30 janv. 2016 07:59
Localisation : Val d'Oise

sondes type La Crosse tx29it 868Mhz

Message par marco123 » dim. 29 sept. 2019 11:59

Bonjour.
Je possède 2 sondes type La Crosse tx29it 868Mhz .
Je récupère les données avec une clef usb dvb-t type RTL2832U
J'ai trouvé les drivers pour cette clef : rtl-srd .
Tout marche .

Code : Tout sélectionner


[marco@localhost elitech]$ rtl_433 -f 868M -s 1024k
rtl_433 version 19.08-18-g8eecdbb branch master at 201909241811 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/marco/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

        Consider using "-M newmodel" to transition to new model keys. This will become the default someday.
        A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986.

Registered 108 out of 138 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-103 108-116 119 121 124-128 131-138 ]
Detached kernel driver
Found Fitipower FC0013 tuner
Sample rate set to 1024000 S/s.
Tuner gain set to Auto.
Tuned to 868.000MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-29 11:38:28                    brand     : LaCrosse
model     : TX29-IT      id        : 55
Battery   : OK           NewBattery: 0             Temperature: 24.3 C       Integrity : CRC
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-29 11:38:30                    brand     : LaCrosse
model     : TX29-IT      id        : 29
Battery   : OK           NewBattery: 0             Temperature: 24.0 C       Integrity : CRC
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-29 11:38:34                    brand     : LaCrosse
model     : TX29-IT      id        : 29
Battery   : OK           NewBattery: 0             Temperature: 23.9 C       Integrity : CRC
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-29 11:38:37                    brand     : LaCrosse
model     : TX29-IT      id        : 55
Battery   : OK           NewBattery: 0             Temperature: 24.3 C       Integrity : CRC
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2019-09-29 11:38:39                    brand     : LaCrosse
model     : TX29-IT      id        : 29
Battery   : OK           NewBattery: 0             Temperature: 23.9 C       Integrity : CRC
^CSignal caught, exiting!

Mais quelqu'un a déjà testé ce truc ?
Je voudrais juste interroger une sonde à la fois et rentrer ça dans un csv .
avec des grep et le man, j'ai réussi à tout enregistrer mais, en vrac :
sonde id 29 puis encore id29 puis sonde id 55 puis id29 ...

l’idéal serait un tableau :

time sonde 29 sonde 55
10h00 24.0° 24.3°
10h05 24.0° 24.3°

jelopo
Raspinaute
Messages : 307
Enregistré le : mer. 11 oct. 2017 10:23

Re: sondes type La Crosse tx29it 868Mhz

Message par jelopo » sam. 12 oct. 2019 08:10

Bonjour,
Avez vous recherché du coté de la commande rtl_433, dans la page github "https://github.com/merbanan/rtl_433" on trouve l'option -F qui formatte la sortie.
[-F kv | json | csv | mqtt | syslog | null | help] Produce decoded output in given format.
Append output to file with :<filename> (e.g. -F csv:log.csv), defaults to stdout.
Specify host/port for syslog with e.g. -F syslog:127.0.0.1:1514
A+

alethasipes
Messages : 1
Enregistré le : sam. 19 déc. 2020 04:06

Re: sondes type La Crosse tx29it 868Mhz

Message par alethasipes » sam. 19 déc. 2020 04:17

Merci pour cette info
https://8ball-pool.io

Répondre

Retourner vers « La météo »