Beckett oil monitor issues

512 views
Skip to first unread message

Robert Mahoney

unread,
Nov 3, 2016, 10:32:26 PM11/3/16
to rtl_433
So I have a Beckett rocket oil monitor and was excited to see it supported in RTL_433.  But I've been unable to get it to work and when I looked at the Beckett spec sheet, it transmits at 915Mhz.  I'm assuming a previous version of the Beckett transmitted at 433 and that's why it's currently in this software.


So what are my next steps here?  Run rtl_433 -f 915000000 -a -t and git the tests?  One problem is this transmits anywhere from 10 minutes to 45 minutes so there will be a bunch of tests.  

Thanks for any help.

Bob

Robert Mahoney

unread,
Nov 15, 2016, 11:06:21 PM11/15/16
to rtl_433
So I got a 2nd Rocket and have been able to put it into "SEND" mode but using the parameters below I don't see any output, I get a file every 10 or so seconds and that doesn't match the continuous output from the Rocket that I'm expecting.  I then used -s 2000000 and I got a stream of data.  How do I know what is the right sample rate to use?

Bob

Bryn Chung

unread,
Nov 29, 2016, 1:11:48 PM11/29/16
to rtl_433

Matthew Rivett

unread,
Jan 8, 2017, 10:28:53 PM1/8/17
to rtl_433
Bob,

I recently purchased a Beckett Rocket that transmits at 914.6MHz.  I can't get rtl_433 to decode it.  Did you ever make any progress with this?

rtl_433 -f 914600000 -A
Registering protocol [1] "Rubicson Temperature Sensor"
Registering protocol [2] "Prologue Temperature Sensor"
Registering protocol [3] "Waveman Switch Transmitter"
Registering protocol [4] "LaCrosse TX Temperature / Humidity Sensor"
Registering protocol [5] "Acurite 609TXC Temperature and Humidity Sensor"
Registering protocol [6] "Oregon Scientific Weather Sensor"
Registering protocol [7] "KlikAanKlikUit Wireless Switch"
Registering protocol [8] "AlectoV1 Weather Sensor (Alecto WS3500 WS4500 Ventus W155/W044 Oregon)"
Registering protocol [9] "Fine Offset Electronics, WH-2 Sensor"
Registering protocol [10] "Nexus Temperature & Humidity Sensor"
Registering protocol [11] "Ambient Weather Temperature Sensor"
Registering protocol [12] "Calibeur RF-104 Sensor"
Registering protocol [13] "Danfoss CFR Thermostat"
Registering protocol [14] "Chuango Security Technology"
Registering protocol [15] "Generic Remote SC226x EV1527"
Registering protocol [16] "TFA-Twin-Plus-30.3049 and Ea2 BL999"
Registering protocol [17] "Fine Offset WH1080 Weather Station"
Registering protocol [18] "WT450"
Registering protocol [19] "LaCrosse WS-2310 Weather Station"
Registering protocol [20] "Esperanza EWS"
Registering protocol [21] "Generic temperature sensor 1"
Registering protocol [22] "HIDEKI TS04 Temperature, Humidity, Wind and Rain Sensor"
Registering protocol [23] "Watchman Sonic / Apollo Ultrasonic / Beckett Rocket oil tank monitor"
Registering protocol [24] "CurrentCost Current Sensor"
Registering protocol [25] "emonTx OpenEnergyMonitor"
Registering protocol [26] "HT680 Remote control"
Registering protocol [27] "S3318P Temperature & Humidity Sensor"
Registering protocol [28] "Akhan 100F14 remote keyless entry"
Registering protocol [29] "Quhwa"
Registering protocol [30] "OSv1 Temperature Sensor"
Registering protocol [31] "Proove"
Registering protocol [32] "Bresser Thermo-/Hygro-Sensor 3CH"
Registering protocol [33] "Springfield Temperature and Soil Moisture"
Registering protocol [34] "Oregon Scientific SL109H Remote Thermal Hygro Sensor"
Registering protocol [35] "Acurite 606TX Temperature Sensor"
Registering protocol [36] "TFA pool temperature sensor"
Registering protocol [37] "Kedsum Temperature & Humidity Sensor"
Registering protocol [38] "blyss DC5-UK-WH (433.92 MHz)"
Registering protocol [39] "Steelmate TPMS"
Registering protocol [40] "Schraeder TPMS"
Registering protocol [41] "Elro DB286A Doorbell"
Registering protocol [42] "Efergy Optical"
Registering protocol [43] "Honda Car Key"
Registering protocol [44] "Fine Offset Electronics, XC0400"
Registering protocol [45] "Radiohead ASK"
Registering protocol [46] "Kerui PIR Sensor"
Registering protocol [47] "Fine Offset WH1050 Weather Station"
Registering protocol [48] "Honeywell Door/Window Sensor"
Registering protocol [49] "Maverick ET-732/733 BBQ Sensor"
Registering protocol [50] "LaCrosse TX141TH-Bv2 sensor"
Registered 50 out of 72 device decoding protocols
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000.
Bit detection level set to 0 (Auto).
Tuner gain set to Auto.
Reading samples in async mode...
Tuned to 914600000 Hz.
Detected OOK package
Analyzing pulses...
Total count:    3,  width:   325 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   106 [106;106] ( 424 us)
 [ 1] count:    1,  width:    41 [41;41] ( 164 us)
 [ 2] count:    1,  width:   151 [151;151] ( 604 us)
Gap width distribution:
 [ 0] count:    1,  width:    15 [15;15] (  60 us)
 [ 1] count:    1,  width:    12 [12;12] (  48 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
 [ 1] count:    1,  width:    53 [53;53] ( 212 us)
Level estimates [high, low]:   1000,     16
Frequency offsets [F1, F2]:   11672,      0 (+44.5 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with startbit/delimiter
Attempting demodulation... short_limit: 73, long_limit: 128, reset_limit: 16, demod_arg: 0
pulse_demod_pwm_ternary(): Analyzer Device 
bitbuffer:: Number of rows: 2 
[00] {1} 00 : 0
[01] {1} 80 : 1

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   328 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   110 [110;110] ( 440 us)
 [ 1] count:    1,  width:   206 [206;206] ( 824 us)
Gap width distribution:
 [ 0] count:    1,  width:    12 [12;12] (  48 us)
Pulse period distribution:
 [ 0] count:    1,  width:   122 [122;122] ( 488 us)
Level estimates [high, low]:   1371,     10
Frequency offsets [F1, F2]:   11722,      0 (+44.7 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 158, long_limit: 13, reset_limit: 13, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   325 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   107 [107;107] ( 428 us)
 [ 1] count:    1,  width:   203 [203;203] ( 812 us)
Gap width distribution:
 [ 0] count:    1,  width:    15 [15;15] (  60 us)
Pulse period distribution:
 [ 0] count:    1,  width:   122 [122;122] ( 488 us)
Level estimates [high, low]:   1000,      9
Frequency offsets [F1, F2]:   12349,      0 (+47.1 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 155, long_limit: 16, reset_limit: 16, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   327 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   110 [110;110] ( 440 us)
 [ 1] count:    1,  width:   205 [205;205] ( 820 us)
Gap width distribution:
 [ 0] count:    1,  width:    12 [12;12] (  48 us)
Pulse period distribution:
 [ 0] count:    1,  width:   122 [122;122] ( 488 us)
Level estimates [high, low]:   1389,     16
Frequency offsets [F1, F2]:   11624,      0 (+44.3 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 157, long_limit: 13, reset_limit: 13, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   325 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   107 [107;107] ( 428 us)
 [ 1] count:    1,  width:   204 [204;204] ( 816 us)
Gap width distribution:
 [ 0] count:    1,  width:    14 [14;14] (  56 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1000,     11
Frequency offsets [F1, F2]:   12210,      0 (+46.6 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 155, long_limit: 15, reset_limit: 15, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   328 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   110 [110;110] ( 440 us)
 [ 1] count:    1,  width:   207 [207;207] ( 828 us)
Gap width distribution:
 [ 0] count:    1,  width:    11 [11;11] (  44 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1368,     11
Frequency offsets [F1, F2]:    9824,      0 (+37.5 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 158, long_limit: 12, reset_limit: 12, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   325 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   108 [108;108] ( 432 us)
 [ 1] count:    1,  width:   203 [203;203] ( 812 us)
Gap width distribution:
 [ 0] count:    1,  width:    14 [14;14] (  56 us)
Pulse period distribution:
 [ 0] count:    1,  width:   122 [122;122] ( 488 us)
Level estimates [high, low]:   1002,     16
Frequency offsets [F1, F2]:   12263,      0 (+46.8 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 155, long_limit: 15, reset_limit: 15, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   328 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   110 [110;110] ( 440 us)
 [ 1] count:    1,  width:   207 [207;207] ( 828 us)
Gap width distribution:
 [ 0] count:    1,  width:    11 [11;11] (  44 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1432,     17
Frequency offsets [F1, F2]:    9811,      0 (+37.4 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 158, long_limit: 12, reset_limit: 12, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   324 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   107 [107;107] ( 428 us)
 [ 1] count:    1,  width:   203 [203;203] ( 812 us)
Gap width distribution:
 [ 0] count:    1,  width:    14 [14;14] (  56 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1000,     13
Frequency offsets [F1, F2]:   12819,      0 (+48.9 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 155, long_limit: 15, reset_limit: 15, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   327 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   109 [109;109] ( 436 us)
 [ 1] count:    1,  width:   206 [206;206] ( 824 us)
Gap width distribution:
 [ 0] count:    1,  width:    12 [12;12] (  48 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1055,     16
Frequency offsets [F1, F2]:   11514,      0 (+43.9 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 157, long_limit: 13, reset_limit: 13, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    3,  width:   323 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   106 [106;106] ( 424 us)
 [ 1] count:    1,  width:    40 [40;40] ( 160 us)
 [ 2] count:    1,  width:   150 [150;150] ( 600 us)
Gap width distribution:
 [ 0] count:    1,  width:    15 [15;15] (  60 us)
 [ 1] count:    1,  width:    12 [12;12] (  48 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
 [ 1] count:    1,  width:    52 [52;52] ( 208 us)
Level estimates [high, low]:   1000,     14
Frequency offsets [F1, F2]:   12360,      0 (+47.2 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with startbit/delimiter
Attempting demodulation... short_limit: 73, long_limit: 128, reset_limit: 16, demod_arg: 0
pulse_demod_pwm_ternary(): Analyzer Device 
bitbuffer:: Number of rows: 2 
[00] {1} 00 : 0
[01] {1} 80 : 1

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   327 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   109 [109;109] ( 436 us)
 [ 1] count:    1,  width:   205 [205;205] ( 820 us)
Gap width distribution:
 [ 0] count:    1,  width:    13 [13;13] (  52 us)
Pulse period distribution:
 [ 0] count:    1,  width:   122 [122;122] ( 488 us)
Level estimates [high, low]:   1027,      9
Frequency offsets [F1, F2]:   11559,      0 (+44.1 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 157, long_limit: 14, reset_limit: 14, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   324 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   107 [107;107] ( 428 us)
 [ 1] count:    1,  width:   203 [203;203] ( 812 us)
Gap width distribution:
 [ 0] count:    1,  width:    14 [14;14] (  56 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1000,     13
Frequency offsets [F1, F2]:   11941,      0 (+45.6 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 155, long_limit: 15, reset_limit: 15, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   327 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   110 [110;110] ( 440 us)
 [ 1] count:    1,  width:   206 [206;206] ( 824 us)
Gap width distribution:
 [ 0] count:    1,  width:    11 [11;11] (  44 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1063,     14
Frequency offsets [F1, F2]:   11336,      0 (+43.2 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 158, long_limit: 12, reset_limit: 12, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   324 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   106 [106;106] ( 424 us)
 [ 1] count:    1,  width:   203 [203;203] ( 812 us)
Gap width distribution:
 [ 0] count:    1,  width:    15 [15;15] (  60 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1000,     16
Frequency offsets [F1, F2]:   12572,      0 (+48.0 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 154, long_limit: 16, reset_limit: 16, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    2,  width:   327 ( 1.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:   110 [110;110] ( 440 us)
 [ 1] count:    1,  width:   206 [206;206] ( 824 us)
Gap width distribution:
 [ 0] count:    1,  width:    11 [11;11] (  44 us)
Pulse period distribution:
 [ 0] count:    1,  width:   121 [121;121] ( 484 us)
Level estimates [high, low]:   1125,     17
Frequency offsets [F1, F2]:   10888,      0 (+41.5 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with fixed gap
Attempting demodulation... short_limit: 158, long_limit: 12, reset_limit: 12, demod_arg: 0
pulse_demod_pwm(): Analyzer Device
bitbuffer:: Number of rows: 1 
[00] {2} 80 : 10

Detected OOK package
Analyzing pulses...
Total count:    5,  width:   292 ( 1.2 ms)
Pulse width distribution:
 [ 0] count:    2,  width:    41 [39;44] ( 164 us)
 [ 1] count:    1,  width:    18 [18;18] (  72 us)
 [ 2] count:    2,  width:    14 [14;14] (  56 us)
Gap width distribution:
 [ 0] count:    3,  width:    33 [29;36] ( 132 us)
 [ 1] count:    1,  width:    64 [64;64] ( 256 us)
Pulse period distribution:
 [ 0] count:    3,  width:    74 [68;78] ( 296 us)
 [ 1] count:    1,  width:    54 [54;54] ( 216 us)
Level estimates [high, low]:   1000,     32
Frequency offsets [F1, F2]:   12443,      0 (+47.5 kHz, +0.0 kHz)
Guessing modulation: Pulse Width Modulation with startbit/delimiter
Attempting demodulation... short_limit: 16, long_limit: 29, reset_limit: 65, demod_arg: 1
pulse_demod_pwm_ternary(): Analyzer Device 
bitbuffer:: Number of rows: 2 
[00] {1} 80 : 1
[01] {3} 40 : 010

Thanks,
Matt

Matthew Rivett

unread,
Jan 20, 2017, 9:21:31 PM1/20/17
to rtl_433
I captured a fair amount of data and have added it under Oil_Watchman/08. 
https://github.com/merbanan/rtl_433_tests/tree/master/tests/oil_watchman/08

I'm now trying to figure out how to decode it.  I think having a thread that goes through and documents the process would be valuable.  I haven't found one yet.  I'm working from the following instructions.
  1. Look at the template decoder.
  2. Then run rtl_433 in -A analyzer mode.
  3. Then match the parameters so that the template decoder picks up the device you want to decode.
  4. When the decoder is able to pick up the bitstream then it is time to decode the parameters.
  5. When that is done send patches for the decoder.
My first question is what is the "template decoder"?  This must be code I need to implement?

rtl_433 -A -r gfile012.data

Test mode active. Reading samples from file: gfile012.data
Input format: uint8

Detected OOK package
Analyzing pulses...
Total count:   36,  width: 10570        (42.3 ms)
Pulse width distribution:
 [ 0] count:    1,  width:    58 [58;58]    ( 232 us)

 [ 1] count:    1,  width:    18 [18;18]    (  72 us)
 [ 2] count:   26,  width:   129 [128;133]    ( 516 us)
 [ 3] count:    8,  width:   254 [252;256]    (1016 us)
Gap width distribution:
 [ 0] count:    1,  width:    25 [25;25]    ( 100 us)
 [ 1] count:    1,  width:    20 [20;20]    (  80 us)
 [ 2] count:   25,  width:   119 [117;123]    ( 476 us)
 [ 3] count:    1,  width:   374 [374;374]    (1496 us)
 [ 4] count:    7,  width:   243 [242;244]    ( 972 us)
Pulse period distribution:
 [ 0] count:    1,  width:    83 [83;83]    ( 332 us)
 [ 1] count:    1,  width:    38 [38;38]    ( 152 us)
 [ 2] count:   20,  width:   248 [246;251]    ( 992 us)
 [ 3] count:    1,  width:   626 [626;626]    (2504 us)
 [ 4] count:   10,  width:   373 [371;377]    (1492 us)
 [ 5] count:    2,  width:   497 [497;498]    (1988 us)
Level estimates [high, low]:  15851,     64
Frequency offsets [F1, F2]:  -17565,      0    (-67.0 kHz, +0.0 kHz)
Guessing modulation: No clue...

Test mode file issued 1 packets

Thanks,
Matt

Matthew Rivett

unread,
Jan 20, 2017, 9:25:59 PM1/20/17
to rtl_433
Message has been deleted
Message has been deleted

Matthew Rivett

unread,
Jan 20, 2017, 9:52:02 PM1/20/17
to rtl_433
#define MYDEVICE_BITLEN        32
Add up the number of bits from output of -a command.  I checked a bunch of my files and they are 2 rows one with 8 bits and one with 24 bits.

#define MYDEVICE_STARTBYTE    0x02
I believe the first byte of my signal is always 8 zeros followed by another byte of 10100001 (is this the preamble?).  So the data begins at the 3rd byte and is 2 bytes long.

#define MYDEVICE_MSG_TYPE    0x10
#define MYDEVICE_CRC_POLY    0x80
#define MYDEVICE_CRC_INIT    0x00
The above 3 lines I have no clue. 
I think at this point I compile the code and see if I pickup any signals?

rtl_433 -a -r gfile.012
Test mode active. Reading samples from file: gfile012.data
Input format: uint8
*** signal_start = 35091, signal_end = 65537
signal_len = 30446,  pulses = 34
Iteration 1. t: 191    min: 129 (26)    max: 254 (8)    delta 10
Iteration 2. t: 191    min: 129 (26)    max: 254 (8)    delta 0
Distance coding: Pulse length 191

Short distance: 118, long distance: 242, packet distance: 374

p_limit: 191

bitbuffer:: Number of rows: 2
[00] {8} 00 : 00000000
[01] {24} a1 4c 10 : 10100001 01001100 00010000
Test mode file issued 1 packets

Matthew Rivett

unread,
May 22, 2017, 9:21:17 PM5/22/17
to rtl_433
I'm still overwhelmed on how to decode a signal.  Is the test data I captured usable?  Is it in a format that can be decoded by this software?  I'd be more than happy to work with someone and capture data and learn how this works.

https://github.com/merbanan/rtl_433_tests/commit/c40282f84f4e3a7adfa429d9245332166f966820


On Thursday, November 3, 2016 at 10:32:26 PM UTC-4, Robert Mahoney wrote:

Christian Zuckschwerdt

unread,
May 25, 2017, 10:52:52 AM5/25/17
to rtl_433
Hi,

yes, your captures are good (gfile001.data has two signals, use another signal at first).

Here is rundown, perhaps I should make this into a HOWTO or something? Suggestions /questions welcome.

sox -t raw -b 8 -c 2 -e unsigned-integer -r 250000 gfile002.data  -n spectrogram -c @250000 -z 50 -Z 0 -x 1024 -y 257
-> Looks like one complete and clean signal.

Import into Audacity (RAW, U8, 2C)
-> Nice, clean ASK.
Transcription: 01010101010101010110001001101001010101101001011001011010010110101010011001101010101001111

Pulse width is 130 samples @250k, thats 130*1000000/250000 = 520 us (i.e. what rtl_433's -A tells you).
Gap width is about the same. There are double wide pulses and double wide gaps.
-> Maybe Manchester encoded?
There is a 0101010101010101011000 preamble. Very likely Manchester with a desync (000).
Then a 10 01 10 10 01 01 01 01 10 10 01 01 10 01 01 10 10 01 01 10 10 10 10 01 10 01 10 10 10 10 10 01 111
decodes to 0100 1111  0011 0110  0110 0001  0100 0001 (0x4f 36 61 41) and again a desync (1111)
-> Nice. Byte-aligned!
Be warned, the last bit might be part of the desync and the first bit actually the end of the preamble, i.e. 01, not 10. (That's 0x279b30a0 in the list below.)
Now you correlate the data with manual readings...

Note that the alignment could be off or the bits inverted.
I.e. 4f 36 61 41 gives you
4f 36 61 41
27 9b 30 a0 8 (shifted by 1)
13 cd 98 50 4 (shifted by 2)
9e 6c c2 82 0 (shifted by 3)

b0 c9 9e be   (inverted)
58 64 cf 5f 0 (inverted, shifted by 1)
2c 32 67 af 8 (inverted, shifted by 2)
16 19 33 d7 c (inverted, shifted by 3)

to play with :)

HTH.

Christian Zuckschwerdt

unread,
May 25, 2017, 12:54:16 PM5/25/17
to rtl_433
Maybe try https://github.com/zuckschwerdt/sdr-spectrogram for a quick overview of your captured data.

Christian Zuckschwerdt

unread,
May 25, 2017, 1:33:56 PM5/25/17
to rtl_433
I could not resist taking a peak ;) Your ruler measurements are nearly spot on. ~1cm off:
32cm gfile 009-019
42cm gfile 021-034
51cm gfile 038-054
61cm gfile 059-073
...
There does not seem to be any temperature reading in there, not that I could make heads or tails of Fahrenheit anyway.
I'd say it's 16bit ID 7bit flags, and 9 bits depth in cm. To figure out the depth high-bit, I'd need you to record a distance greater than 255cm.
Drop me a message if you are still interested in this and I'll post you a test decoder.

Matthew Rivett

unread,
May 25, 2017, 9:58:01 PM5/25/17
to rtl_433
I am very interested.  I'll try to capture some additional data with distance greater than 255cm this weekend.  Thank you for your help.  I'll have to review what you've done to see if I can make sense of it.

Matthew Rivett

unread,
May 27, 2017, 12:10:27 PM5/27/17
to rtl_433
You can find the additional data here.  I also put in a pull request to add it into merbanan rtl_433_tests.

first readings (001-021), in freezer about 20cm, 14f, 16% humidity 
second readings (022-050), about 270cm, warming up in temperature 
third readings (051-063), about 550cm, warming up in temperature



On Thursday, May 25, 2017 at 1:33:56 PM UTC-4, Christian Zuckschwerdt wrote:

Christian Zuckschwerdt

unread,
May 30, 2017, 6:41:05 AM5/30/17
to rtl_433
Great! All readings check out. (The device has a maximum distance of about 300cm, so the last batch of readings are "0", i.e. "invalid"). The code is already merged :) https://github.com/merbanan/rtl_433/commit/bd70e

Matthew Rivett

unread,
May 31, 2017, 7:20:56 AM5/31/17
to rtl_433
Thank you!  I tested your oil standard code you wrote for fsk (on 915 MHz) but never had a chance to try the ask version.  I have it running now.  My next step will likely be finding a better antenna for 915 MHz.  The tiny receiver the rocket came with can pick up the signal but I'm having issues with the RTL-SDR antenna.  

Matthew Rivett

unread,
May 31, 2017, 11:38:43 PM5/31/17
to rtl_433
I can confirm that oil standard ask is capturing data from my beckett rocket tek377a.  A number of people have requested this so thank you for taking the time to do this!

I'll have to dig through your code to try to understand how you did this and find out more information on the other readings besides the depth.


On Tuesday, May 30, 2017 at 6:41:05 AM UTC-4, Christian Zuckschwerdt wrote:

Christian Zuckschwerdt

unread,
Jun 7, 2017, 5:00:42 AM6/7/17
to rtl_433
The Alarm-bit and (Re-)Binding-bit are known. There are 3 more flag bits which need to be correlated to some state. If you look at the Flags output it's
 0x04: (always zero?)
 0x10: (unkown toggle)
 0x20: (unkown toggle)
 0x40: (unkown toggle)
 0x80: (always zero?)

David Woodhouse

unread,
Jun 7, 2017, 5:40:48 AM6/7/17
to Christian Zuckschwerdt, rtl_433
On Wed, 2017-06-07 at 02:00 -0700, 'Christian Zuckschwerdt' via rtl_433
wrote:
At least one of those will be the battery state, I suspect.

Christian Zuckschwerdt

unread,
Jun 7, 2017, 11:38:28 AM6/7/17
to rtl_433, zan...@googlemail.com
Most likely 0x04 or 0x80 will show up when the battery is low. The other three unknown bits toggle quite often.

Robert Mahoney

unread,
Nov 4, 2017, 10:24:51 PM11/4/17
to rtl_433
> I recently purchased a Beckett Rocket that transmits at 914.6MHz.  I can't get rtl_433 to decode it.  Did you ever make any progress with this?

  I never made any progress, but I see you did!  Thanks so much for your perseverance.

I got the updated code and was able to get results last night.  A consistent reading every 7 or so minutes.

But today I'm not getting ANYTHING. I just don't get it.  Same command, the antenna hasn't moved, everything is the same as last night but today I get nothing.

Have you seen any inconsistencies from the Rocket?  My next step will be going outside and putting a magnet next to it to put it in pairing mode.

Bob

Robert Mahoney

unread,
Nov 6, 2017, 9:59:27 AM11/6/17
to rtl_433
I removed the USB stick, tightened up the antenna connections and now I am getting data again.  I'm not sure if it was just loose or the USB stick overheated and stopped working correctly.  It worked fine last night at about 9pm and this morning at 6am cron ran the query and received data back.  Let's hope that a little tightening up is all it needed.  

Antenna is a NooElec NESDR.

Bob

Robert Mahoney

unread,
Oct 25, 2018, 2:10:07 PM10/25/18
to rtl_433
I'm posting here in case anyone has the same issues that I had.  RTL_433 works just fine but it appears that my USB port stops working.  I run the rtl_433 cmd and get no data back.  It turns out that my USB port needs resetting on almost a daily basis.  I got some code that resets the port the antenna is on and about 5 minutes before I run my RTL_433 code, I run the USB reset code and everything has worked fine ever since.

Bob  
Reply all
Reply to author
Forward
0 new messages