merbanan / rtl_433

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

Support for Emos E6016 Rain Gauge sensor #2001

Closed stomko11 closed 2 years ago

stomko11 commented 2 years ago

Hello. Recently support for Emos E6016 weather station was added. My set contained also rain gauge sensor (no specific name, just additional sensor). I have uploaded signal captures to rtl_433_tests (at the moment it is still pending approval to upload) and am looking for anyone willing to help on this. @AutomGuy since you actively worked on Emos E6016 addition, wondering if you also have rain gauge too?

AutomGuy commented 2 years ago

have you used the decoder file what i have posted for approx. a hour?

AutomGuy commented 2 years ago

with wich timings behind the -X you capture the datas in that rain_gauge_1.txt ?

stomko11 commented 2 years ago

I compiled now with that decoder. Here is one by one:

pi@raspberrypi:~/rtl_433/build $ rtl_433 -R 0 -X 'n=EMOS_RAIN,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-28 16:57:49
model     : EMOS_RAIN    count     : 1             num_rows  : 1             rows      :
len       : 726          data      : 555a7c3a69c1bc63bf2ae3fa5dddff2aad3e1d34e0de31df9571fd2eeeff15569f0e9a706f18efcab8fe97777f4aab4f874d38378c77e55c7f4bbbbf8555a7c3a69c1bc63bf2ae3fa5dddfb2aad3e1d34e0de31df9571fd2eeefd0
codes     : {726}555a7c3a69c1bc63bf2ae3fa5dddff2aad3e1d34e0de31df9571fd2eeeff15569f0e9a706f18efcab8fe97777f4aab4f874d38378c77e55c7f4bbbbf8555a7c3a69c1bc63bf2ae3fa5dddfb2aad3e1d34e0de31df9571fd2eeefd0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-28 16:58:46
model     : EMOS_RAIN    count     : 1             num_rows  : 1             rows      :
len       : 726          data      : 555a7c3a69c1bc543f29e3fb5d4eff2aad3e1d34e0de2a1f94f1fdaea77f15569f0e9a706f150fca78fed753bf4aab4f874d38378a87e53c7f6ba9df8555a7c3a69c1bc543f29e3fb5d4efb2aad3e1d34e0de2a1f94f1fdaea77d0
codes     : {726}555a7c3a69c1bc543f29e3fb5d4eff2aad3e1d34e0de2a1f94f1fdaea77f15569f0e9a706f150fca78fed753bf4aab4f874d38378a87e53c7f6ba9df8555a7c3a69c1bc543f29e3fb5d4efb2aad3e1d34e0de2a1f94f1fdaea77d0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-28 16:59:43
model     : EMOS_RAIN    count     : 1             num_rows  : 1             rows      :
len       : 726          data      : 555a7c3a69c1bc45bf27e2fb7ddcff2aad3e1d34e0de22df93f17dbeee7f15569f0e9a706f116fc9f8bedf773f4aab4f874d383788b7e4fc5f6fbb9f8555a7c3a69c1bc45bf27e2fb7ddcfb2aad3e1d34e0de22df93f17dbeee7d0
codes     : {726}555a7c3a69c1bc45bf27e2fb7ddcff2aad3e1d34e0de22df93f17dbeee7f15569f0e9a706f116fc9f8bedf773f4aab4f874d383788b7e4fc5f6fbb9f8555a7c3a69c1bc45bf27e2fb7ddcfb2aad3e1d34e0de22df93f17dbeee7d0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-28 17:00:40
model     : EMOS_RAIN    count     : 1             num_rows  : 1             rows      :
len       : 726          data      : 555a7c3a69c1bbf63f26e3fc6dfdff2aad3e1d34e0ddfb1f9371fe36feff15569f0e9a706efd8fc9b8ff1b7f7f4aab4f874d38377ec7e4dc7f8dbfbf8555a7c3a69c1bbf63f26e3fc6dfdfb2aad3e1d34e0ddfb1f9371fe36fefd0
codes     : {726}555a7c3a69c1bbf63f26e3fc6dfdff2aad3e1d34e0ddfb1f9371fe36feff15569f0e9a706efd8fc9b8ff1b7f7f4aab4f874d38377ec7e4dc7f8dbfbf8555a7c3a69c1bbf63f26e3fc6dfdfb2aad3e1d34e0ddfb1f9371fe36fefd0
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-28 17:01:37
model     : EMOS_RAIN    count     : 1             num_rows  : 1             rows      :
len       : 726          data      : 555a7c3a69c1bbe6bf24e4fc3d3cff2aad3e1d34e0ddf35f92727e1e9e7f15569f0e9a706ef9afc9393f0f4f3f4aab4f874d38377cd7e49c9f87a79f8555a7c3a69c1bbe6bf24e4fc3d3cfb2aad3e1d34e0ddf35f92727e1e9e7d0
codes     : {726}555a7c3a69c1bbe6bf24e4fc3d3cff2aad3e1d34e0ddf35f92727e1e9e7f15569f0e9a706ef9afc9393f0f4f3f4aab4f874d38377cd7e49c9f87a79f8555a7c3a69c1bbe6bf24e4fc3d3cfb2aad3e1d34e0ddf35f92727e1e9e7d0
pi@raspberrypi:~/rtl_433/build $ rtl_433 -R 0 -X 'n=EMOS_RAIN,m=OOK_PWM,s=280,l=796,g=0,t=0,y=1836,bits>=72'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Bad flex spec, missing reset limit!
Use -X <spec> to add a general purpose decoder. For usage use -X help

Regarding rain_gauge_1.txt, I believe that was captured at the beginning with rtl_433 -X 'n=EMOS-RAIN,m=OOK_PCM,s=500,l=500,r=1200'

AutomGuy commented 2 years ago

good morning at all, my ideas runs out. no -X decoder parameter works with the .cu8 files wich was posted in EMOS.zip 5 days ago.

we need the timings from -X decoder, wich produced that

time : 2022-03-24 09:48:49 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290

stomko11 commented 2 years ago

I basically followed Christian's advice: rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert'

AutomGuy commented 2 years ago

but when you look back with this parameters you get 726 Bytes and the first 3 Bytes tells me it is the wind sensor. when you take out the bat of the wind sensor und you try it again only with the rain sensor. rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert' what is the result?

AutomGuy commented 2 years ago

my emos wind sensor has the preamble aa a5 83 and your wind sensor also otherwise the windsensor decoder doesent work. the rain sensor has the preamble aa a5 8a i gues

AutomGuy commented 2 years ago

the wind sensor send approx. all 61s and the rain sensor ?

AutomGuy commented 2 years ago

please type into your console rtl_433 -R help and look wich is the number for the emos rain gauge and replace the 216 by your number of your emos rain gauge -> run this command rtl_433 -R 216 -y '{73}555a75cb13cffff8cf0 {73}555a75cb13cffff8cf0 {73}555a75cb13cffff8cf0'

stomko11 commented 2 years ago

I did not pull batteries from weather station, because every time I insert batteries to rain gauge, it sends report. So basically I can pull batteries and insert it back, it sends report. Weather station reports in periodic intervals (61s), rain gauge is 85s So here is the output if I pulled and reinserted batteries to rain gauge few times shortly after each other:

rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert'

pi@raspberrypi:~ $ rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 09:53:40
model     : name         count     : 5             num_rows  : 11            rows      :
len       : 1            data      : 8,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000290
codes     : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 09:53:48
model     : name         count     : 5             num_rows  : 11            rows      :
len       : 1            data      : 8,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000290
codes     : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 09:53:54
model     : name         count     : 5             num_rows  : 11            rows      :
len       : 1            data      : 8,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000290
codes     : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 09:53:59
model     : name         count     : 5             num_rows  : 11            rows      :
len       : 1            data      : 8,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000298,
len       : 1            data      : 8,
len       : 73           data      : aaa58a34ec300000290
codes     : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290

Then

pi@raspberrypi:~ $  rtl_433 -R
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
rtl_433: option requires an argument -- 'R'
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
rtl_433: option requires an argument -- 'R'
                = Supported device protocols =
    [01]  Silvercrest Remote Control
.
.
.
    [214]  EMOS E6016 weatherstation with DCF77
    [215]  Altronics X7064 temperature and humidity sensor
    [216]  EMOS E6016 RAIN GAUGE

And the last one:

pi@raspberrypi:~ $ rtl_433 -R 216 -y '{73}555a75cb13cffff8cf0 {73}555a75cb13cffff8cf0 {73}555a75cb13cffff8cf0'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Registered 1 out of 216 device decoding protocols [ 216 ]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 09:56:54
model     : EMOS-E6016_RAIN                        House Code: 52
Battery_OK: 1            Rain_mm   : 4.9           Integrity : CHECKSUM
AutomGuy commented 2 years ago

@zuckschwerdt , Christian what have to be here .modulation = OOK_PULSE_PWM in option -X m=OOK_PWM? is that the same?

AutomGuy commented 2 years ago

@stomko11 , Please try this at me this work. rtl_433 -R 216 -y '{73}555a75cb13cffff8cf0 {1}0 {73}555a75cb13cffff8cf0 {1}0 {73}555a75cb13cffff8cf0 {1}0' output is:


time : 2022-03-29 10:11:37 model : EMOS-E6016_RAIN House Code: 52 Battery_OK: 1 Rain_mm : 4.9 Integrity : CHECKSUM

stomko11 commented 2 years ago

It looks the same for me:

pi@raspberrypi:~ $ rtl_433 -R 216 -y '{73}555a75cb13cffff8cf0 {1}0 {73}555a75cb13cffff8cf0 {1}0 {73}555a75cb13cffff8cf0 {1}0'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Registered 1 out of 216 device decoding protocols [ 216 ]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 10:24:36
model     : EMOS-E6016_RAIN                        House Code: 52
Battery_OK: 1            Rain_mm   : 4.9           Integrity : CHECKSUM
AutomGuy commented 2 years ago

@stomko11, Do this rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert' without ',inverted' please.

stomko11 commented 2 years ago

Tried both below, wasn't sure which one you are after. Did few battery reinserts, nothing returned on the output.

pi@raspberrypi:~ $ rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
^CSignal caught, exiting!
Reattached kernel driver
pi@raspberrypi:~ $ rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
^CSignal caught, exiting!
Reattached kernel driver
AutomGuy commented 2 years ago

and you have to pull out and set in the batterie (rain gauge) please i will see the output like


time : 2022-03-29 09:53:40 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {

AutomGuy commented 2 years ago

but without inverted

stomko11 commented 2 years ago

So above is the output with exact commands I used, I am not sure which one is precisely the one you want me to execute. However in both cases, I did reinsert batteries several times, but nothing on the console output.

AutomGuy commented 2 years ago

so that is realy strange: you post this: pi@raspberrypi:~ $ rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert' rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS Use -h for usage help and see https://triq.org/ for documentation. Trying conf file at "rtl_433.conf"... Trying conf file at "/home/pi/.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"... Disabling all device decoders. Registered 1 out of 216 device decoding protocols [ ] Detached kernel driver Found Fitipower FC0012 tuner Exact sample rate is: 250000.000414 Hz Sample rate set to 250000 S/s. Tuner gain set to Auto. Tuned to 433.920MHz. Allocating 15 zero-copy buffers


time : 2022-03-29 09:53:40 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290


time : 2022-03-29 09:53:48 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290


time : 2022-03-29 09:53:54 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290


time : 2022-03-29 09:53:59 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290

and actually i would like have the same post with this command rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72'

i expected the same data but not inverted. output above data: aaa58a. i expected 555a75

zuckschwerdt commented 2 years ago

.modulation = OOK_PULSE_PWM in option -X m=OOK_PWM? is that the same?

Yes.

AutomGuy commented 2 years ago

@zuckschwerdt , Christian how to put here the inverted tag at this structure // -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert' r_device emos_e6016_rain = { .name = "EMOS E6016 RAIN GAUGE", .modulation = OOK_PULSE_PWM, .short_width = 300, .long_width = 800, .gap_limit = 1000, .reset_limit = 2500, .decode_fn = &emos_e6016_rain_decode, .fields = output_fields, };

zuckschwerdt commented 2 years ago

You can't. Use the bitbuffer_invert(bitbuffer); function.

stomko11 commented 2 years ago

OK I am not sure what went wong, if my batteries, or I was too close to radio, but here is again both commands, with what I capured:

pi@raspberrypi:~ $ rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72'
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 11:36:42
model     : name         count     : 5             num_rows  : 11            rows      :
len       : 1            data      : 0,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd68
codes     : {1}0, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd68
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 11:36:48
model     : name         count     : 5             num_rows  : 11            rows      :
len       : 1            data      : 0,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd68
codes     : {1}0, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd68
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 11:36:54
model     : name         count     : 5             num_rows  : 11            rows      :
len       : 1            data      : 0,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd60,
len       : 1            data      : 0,
len       : 73           data      : 555a75cb13cfffffd68
codes     : {1}0, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd60, {1}0, {73}555a75cb13cfffffd68
^CSignal caught, exiting!
Reattached kernel driver

pi@raspberrypi:~ $ rtl_433 -R 0 -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72,invert' rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS Use -h for usage help and see https://triq.org/ for documentation. Trying conf file at "rtl_433.conf"... Trying conf file at "/home/pi/.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"... Disabling all device decoders. Registered 1 out of 216 device decoding protocols [ ] Detached kernel driver Found Fitipower FC0012 tuner Exact sample rate is: 250000.000414 Hz Sample rate set to 250000 S/s. Tuner gain set to Auto. Tuned to 433.920MHz. Allocating 15 zero-copy buffers


time : 2022-03-29 11:37:52 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290


time : 2022-03-29 11:37:59 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290


time : 2022-03-29 11:38:04 model : name count : 5 num_rows : 11 rows : len : 1 data : 8, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000298, len : 1 data : 8, len : 73 data : aaa58a34ec300000290 codes : {1}8, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000298, {1}8, {73}aaa58a34ec300000290 ^CSignal caught, exiting! Reattached kernel driver pi@raspberrypi:~ $

AutomGuy commented 2 years ago

@zuckschwerdt That's what I thought, i use it inside the decoder.

AutomGuy commented 2 years ago

@stomko11 the post without 'inverted' looks like what i expected, but then my decoder should work. so the inversion will be done in line 72 bitbuffer_invert(bitbuffer);

as you can see the decoder use the same timings as -X option

// -X 'n=name,m=OOK_PWM,s=300,l=800,g=1000,r=2500,bits>=72' r_device emos_e6016_rain = { .name = "EMOS E6016 RAIN GAUGE", .modulation = OOK_PULSE_PWM, .short_width = 300, .long_width = 800, .gap_limit = 1000, .reset_limit = 2500, .decode_fn = &emos_e6016_rain_decode, .fields = output_fields, }; try to use this command rtl_433 -R 0 -R 216 and then insert the batterie into the raingauge sensor. and see what is happend. i have no more ideas. maybe @zuckschwerdt Christian has a tip or can support.

stomko11 commented 2 years ago

hmm, something is unreliable on these battery pulls. But here is the output:

pi@raspberrypi:~ $ rtl_433 -R 0 -R 216
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ 216 ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 16:03:15
model     : EMOS-E6016_RAIN                        House Code: 52
Battery_OK: 1            Rain_mm   : 0.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 16:04:04
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 0.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 16:04:13
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 0.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-29 16:05:38
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 0.7           Integrity : CHECKSUM

This is with your latest decoder posted here yesterday.

zuckschwerdt commented 2 years ago

Your decoder looks good. A few notes:

stomko11 commented 2 years ago

@AutomGuy something is definitely going on with either my dvb t tuner that I am testing with, or raspberry, or both. Sometimes I just don't capture any signal. But I don't think this is issue with gauge itself, as when I turn on Emos internal unit in parallel, that always gets right values. After few attempts, here is example again today, did several swings here and there, working as expected:

pi@raspberrypi:~ $ rtl_433 -R 0 -R 216
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ 216 ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 08:28:35
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 0.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 08:30:00
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 7.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 08:31:25
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 7.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 08:32:50
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 7.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 08:34:15
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 7.7           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 08:35:40
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 8.4           Integrity : CHECKSUM

At the end, I did 50 swings, but no longer got any report. Seems like issue with my RPI, being underpowered or what. I killed the process and started it again, got the report:

pi@raspberrypi:~ $ rtl_433 -R 0 -R 216
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ 216 ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 08:38:30
model     : EMOS-E6016_RAIN                        House Code: 180
Battery_OK: 1            Rain_mm   : 44.1          Integrity : CHECKSUM

Can we work on Christian's suggestions? I also think it should be your name on the decoder, as you did most of the work :)

AutomGuy commented 2 years ago

@zuckschwerdt thx for your notes have modified the decoder in accordance to your notes. here is that decoder file emos_e6016_rain.zip @stomko11 but your name should also on the decoder and @zuckschwerdt christian as well. @stomko11 you have delivered the codes. @zuckschwerdt christian delivered some important instructions. last but not least -> to programming the decoder is just pure craftsmanship.

the next step is make a pull request or may be christian can help you out in case you are not familar with pull request

stomko11 commented 2 years ago

I compiled using that version, looks good. I modified it, added @zuckschwerdt and myself as contributor.

pi@raspberrypi:~/rtl_433/build $ rtl_433 -R 0 -R 216
rtl_433 version 21.12-80-gf4b73f11 branch master at 202203221518 inputs file rtl_tcp RTL-SDR with TLS
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.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"...
Disabling all device decoders.
Registered 1 out of 216 device decoding protocols [ 216 ]
Detached kernel driver
Found Fitipower FC0012 tuner
Exact sample rate is: 250000.000414 Hz
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
Allocating 15 zero-copy buffers
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 09:46:17
model     : EMOS-E6016R  House Code: 180
Battery_OK: 1            Rain_mm   : 0.0           Integrity : CHECKSUM
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2022-03-30 09:47:42
model     : EMOS-E6016R  House Code: 180
Battery_OK: 1            Rain_mm   : 0.7           Integrity : CHECKSUM

I will try to create pull request now.

zuckschwerdt commented 2 years ago

No need, I'll merge the code from the zip soon ;)

stomko11 commented 2 years ago

Ah I already created that. Cancel it if you like. Zip did not have contributors listed :)