Re 2 myself: "Do I always need to specify -c to ...."
No! It can be put just the same in the config file directly.
So this will work as well and will automatically be used
~/.config/rtl_433/rtl_433.conf
#-v
verbose
# -s 1M
sample_rate 1M
# enable TFA 30.3161 rain sensor
# protocol 37
decoder {
n=Dickert_Flex,
m=OOK_PCM,
s=365,
long=365,
bits=111,
gap=900,
reset=10000,am not sure
rows>=1,
get=Pos1+2:@0:{12}:[2340:++ 2348:+0 2349:+- 2852:0+ 2860:00 2861:0- 2916:-+ 2924:-0 2925:--],
get=Pos3+4:@12:{12}:[2340:++ 2348:+0 2349:+- 2852:0+ 2860:00 2861:0- 2916:-+ 2924:-0 2925:--],
get=Pos5+6:@24:{12}:[2340:++ 2348:+0 2349:+- 2852:0+ 2860:00 2861:0- 2916:-+ 2924:-0 2925:--],
get=Pos7+8:@36:{12}:[2340:++ 2348:+0 2349:+- 2852:0+ 2860:00 2861:0- 2916:-+ 2924:-0 2925:--],
get=Pos9+10:@48:{12}:[2340:++ 2348:+0 2349:+- 2852:0+ 2860:00 2861:0- 2916:-+ 2924:-0 2925:--],
}
Re: Multiple repetitions.
I am not sure if we mean the same:
If I record a signal from my rain sensor (protocol 37 by the way) I can clearly see that it is basically the same message sent 7x one after the other. However, rtl_433 does not print it 7 times, but - apparently - only when it sees the signal 7 times it is printed once. I haven´t verified this though.
I tried to accomplish my goal using the reset and gap settings for the decoder but I am not sure how to properly use them. What exacly does "gap" specify? In my signals all the 1 and 0 are next to each other, so there is no gap in between. So is this gap = 0? Or is gap the delay between two consecutive repetitions (when I keep the button on the remote pressed)?
So it´s not about any post processing via mqtt or syslog or whatever.