merbanan / rtl_433

Program to decode radio transmissions from devices on the ISM bands (and other frequencies)
GNU General Public License v2.0
6.19k stars 1.33k forks source link

TFA 30.3161 rain sensor misidentification? #2952

Closed OevreFlataeker closed 6 months ago

OevreFlataeker commented 6 months ago

I own the TFA rain sensor 30.3161 (https://www.tfa-dostmann.de/en/product/rain-transmitter-30-3161/)

Running rtl_433 with default values (e.g. no cmdline options) the sensor is picked up together with my other temperature sensors but was mis-identified as a TFA-TwinPlus. Also the humidity value is bonkers and does not actually show the volume of rain measured.

I am "pretty sure" it is this sensor/signal, because it only appeared after I activated the rain sensor and the outside temperature was also a proper match.

(Detected OOK package 2024-05-30 15:58:59
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2024-05-30 15:58:59
model     : TFA-TwinPlus Id        : 6
Channel   : 0            Battery   : 1             Temperature: 16.6 C       Humidity  : 4294967291 %  Integrity : CHECKSUM
Analyzing pulses...
Total count:  281,  width: 935.64 ms  (233911 S)
Pulse width distribution:
 [ 0] count:  281,  width:  368 us [356;392] (  92 S)
Gap width distribution:
 [ 0] count:  176,  width: 2068 us [2064;2088] ( 517 S)
 [ 1] count:   97,  width: 4152 us [4140;4276] (1038 S)
 [ 2] count:    7,  width: 9148 us [9148;9152] (2287 S)
Pulse period distribution:
 [ 0] count:  176,  width: 2440 us [2428;2460] ( 610 S)
 [ 1] count:   97,  width: 4524 us [4504;4644] (1131 S)
 [ 2] count:    7,  width: 9516 us [9512;9528] (2379 S)
Pulse timing distribution:
 [ 0] count:  281,  width:  368 us [356;392] (  92 S)
 [ 1] count:  176,  width: 2068 us [2064;2088] ( 517 S)
 [ 2] count:   97,  width: 4152 us [4140;4276] (1038 S)
 [ 3] count:    8,  width: 9256 us [9148;10004] (2314 S)
Level estimates [high, low]:  15956,     28
RSSI: -0.1 dB SNR: 27.6 dB Noise: -27.7 dB
Frequency offsets [F1, F2]:   -6585,      0 (-25.1 kHz, +0.0 kHz)
Guessing modulation: Pulse Position Modulation with fixed pulse width
view at https://triq.org/pdv/#AAB02F040701700814103824288182828181818181818181818182828181828182818181818282828182818181818282828355+AAB020040101700814103824288182828181818181818181818182828181828182818355
Attempting demodulation... short_width: 2068, long_width: 4152, reset_limit: 9156, sync_width: 0
Use a flex decoder with -X 'n=name,m=OOK_PPM,s=2068,l=4152,g=4280,r=9156'
pulse_demod_ppm(): Analyzer Device
bitbuffer:: Number of rows: 8 
[00] {36} 60 06 50 e8 70 : 01100000 00000110 01010000 11101000 0111
[01] {36} 60 06 50 e8 70 : 01100000 00000110 01010000 11101000 0111
[02] {36} 60 06 50 e8 70 : 01100000 00000110 01010000 11101000 0111
[03] {36} 60 06 50 e8 70 : 01100000 00000110 01010000 11101000 0111
[04] {36} 60 06 50 e8 70 : 01100000 00000110 01010000 11101000 0111
[05] {36} 60 06 50 e8 70 : 01100000 00000110 01010000 11101000 0111
[06] {36} 60 06 50 e8 70 : 01100000 00000110 01010000 11101000 0111
[07] {21} 60 06 50       : 01100000 00000110 01010

Do I need any special handling for this sensor?

OevreFlataeker commented 6 months ago

Sorry, found existing issue #2843 which fully answers my question. Closing issue.