RTL_433(1) | rtl_433 Commands | RTL_433(1) |
NAME
rtl_433 - Generic RF data receiver and decoder for ISM band devices using RTL-SDR and SoapySDR.
DESCRIPTION
This manual page documents briefly the rtl_433 command.
rtl_433 is a generic data receiver, mainly for the 433.92 MHz, 868 MHz (SRD), 315 MHz, and 915 MHz ISM bands. It works with RTL-SDR and/or SoapySDR. Actively tested and supported are Realtek RTL2832 based DVB dongles (using RTL-SDR) and LimeSDR (LimeSDR USB and LimeSDR mini engineering samples kindly provided by MyriadRf), PlutoSDR, HackRF One (using SoapySDR drivers), as well as SoapyRemote.
SYNOPSIS
rtl_433 [OPTION]... FILE...
OPTIONS
A summary of options is included below. Detailed information on some options follows.
A "rtl_433.conf" file is searched in "./",
XDG_CONFIG_HOME e.g. "$HOME/.config/rtl_433/",
SYSCONFDIR e.g. "/usr/local/etc/rtl_433/", then command line args
will be parsed in order.
General options
- [ -V ]
- Output the version string and exit
- [ -v ]
- Increase verbosity (can be used multiple times).
-v : verbose notice, -vv : verbose info, -vvv : debug, -vvvv : trace. - [ -c <path> ]
- Read config options from a file
Tuner options
- [ -d <RTL-SDR USB device index> | :<RTL-SDR USB device serial> | <SoapySDR device query> | rtl_tcp | help ]
- [-g <gain> | help] (default: auto)
- [ -t <settings> ]
- apply a list of keyword=value settings to the SDR device
e.g. for SoapySDR -t "antenna=A,bandwidth=4.5M,rfnotch_ctrl=false"
for RTL-SDR use "direct_samp[=1]", "offset_tune[=1]", "digital_agc[=1]", "biastee[=1]" - [ -f <frequency> ]
- Receive frequency(s) (default: 433920000 Hz)
- [ -H <seconds> ]
- Hop interval for polling of multiple frequencies (default: 600 seconds)
- [ -p <ppm_error> ]
- Correct rtl-sdr tuner frequency offset error (default: 0)
- [ -s <sample rate> ]
- Set sample rate (default: 250000 Hz)
- [ -D restart | pause | quit | manual ]
- Input device run mode options.
Demodulator options
- [ -R <device> | help ]
- Enable only the specified device decoding protocol (can be used multiple
times)
Specify a negative number to disable a device decoding protocol (can be used multiple times) - [ -X <spec> | help ]
- Add a general purpose decoder (prepend -R 0 to disable all decoders)
- [ -Y auto | classic | minmax ]
- FSK pulse detector mode.
- [ -Y level=<dB level> ]
- Manual detection level used to determine pulses (-1.0 to -30.0) (0=auto).
- [ -Y minlevel=<dB level> ]
- Manual minimum detection level used to determine pulses (-1.0 to -99.0).
- [ -Y minsnr=<dB level> ]
- Minimum SNR to determine pulses (1.0 to 99.0).
- [ -Y autolevel ]
- Set minlevel automatically based on average estimated noise.
- [ -Y squelch ]
- Skip frames below estimated noise level to reduce cpu load.
- [ -Y ampest | magest ]
- Choose amplitude or magnitude level estimator.
Analyze/Debug options
- [ -A ]
- Pulse Analyzer. Enable pulse analysis and decode attempt.
Disable all decoders with -R 0 if you want analyzer output only. - [ -y <code> ]
- Verify decoding of demodulated test data (e.g. "{25}fb2dd58") with enabled devices
File I/O options
- [ -S none | all | unknown | known ]
- Signal auto save. Creates one file per signal.
Note: Saves raw I/Q samples (uint8 pcm, 2 channel). Preferred mode for generating test files. - [ -r <filename> | help ]
- Read data from input file instead of a receiver
- [ -w <filename> | help ]
- Save data stream to output file (a '-' dumps samples to stdout)
- [ -W <filename> | help ]
- Save data stream to output file, overwrite existing file
Data output options
- [ -F log | kv | json | csv | mqtt | influx | syslog | trigger | 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 - [ -M time[:<options>] | protocol | level | noise[:<secs>] | stats | bits | help ]
- Add various meta data to each output.
- [ -K FILE | PATH | <tag> | <key>=<tag> ]
- Add an expanded token or fixed tag to every output line.
- [ -C native | si | customary ]
- Convert units in decoded output.
- [ -n <value> ]
- Specify number of samples to take (each sample is an I/Q pair)
- [ -T <seconds> ]
- Specify number of seconds to run, also 12:34 or 1h23m45s
- [ -E hop | quit ]
- Hop/Quit after outputting successful event(s)
- [ -h ]
- Output this usage help and exit
Use -d, -g, -R, -X, -F, -M, -r, -w, or -W without argument for more help
Input device selection
- [ -d <RTL-SDR USB device index> ]
- (default: 0)
- [ -d :<RTL-SDR USB device serial (can be set with rtl_eeprom -s)> ]
- [ -d "" ]
- Open default SoapySDR device
- [ -d driver=rtlsdr ]
- Open e.g. specific SoapySDR device
- [ -d rtl_tcp[:[//]host[:port] ]
- (default: localhost:1234)
Gain option
- [ -g <gain> ]
- (default: auto)
Flex decoder spec
Use -X <spec> to add a flexible general purpose decoder.
<spec> is "key=value[,key=value...]" Common keys are:
long: Nominal width of bit period [us] PPM short: Nominal width of '0' gap [us]
long: Nominal width of '1' gap [us] PWM short: Nominal width of '1' pulse [us]
long: Nominal width of '0' pulse [us]
sync: Nominal width of sync pulse [us] (optional) common gap: Maximum gap size before new row of bits [us]
reset: Maximum gap size before End Of Message [us]
tolerance: Maximum pulse deviation [us] (optional). Available options are:
E.g. -X "n=doorbell,m=OOK_PWM,s=400,l=800,r=7000,g=1000,match={24}0xa9878c,repeats>=3"
Output format option
- [ -F log|kv|json|csv|mqtt|influx|syslog|trigger|null ]
- Produce decoded output in given format.
events: posts JSON event data
states: posts JSON state data
devices: posts device and sensor info in nested topics
Additional parameter -M time:unix:usec:utc for correct timestamps in InfluxDB recommended
Meta information option
- [ -M time[:<options>]|protocol|level|noise[:<secs>]|stats|bits ]
- Add various metadata to every output line.
level 0: no report, 1: report successful devices, 2: report active devices, 3: report all
Read file option
- [ -r <filename> ]
- Read data from input file instead of a receiver
'Hz', 'kHz', 'MHz', or 'GHz'.
'sps', 'ksps', 'Msps', or 'Gsps'.
'cu8', 'cs16', 'cf32' ('IQ' implied), and 'am.s16'.
Write file option
- [ -w <filename> ]
- Save data stream to output file (a '-' dumps samples to stdout)
- [ -W <filename> ]
- Save data stream to output file, overwrite existing file
'cu8', 'cs8', 'cs16', 'cf32' ('IQ' implied),
'am.s16', 'am.f32', 'fm.s16', 'fm.f32',
'i.f32', 'q.f32', 'logic.u8', 'ook', and 'vcd'.
RESOURCES
Project web site: https://github.com/merbanan/rtl_433
COPYING
Copyright © 2012-2019 Benjamin Larsson, Christian W.
Zuckschwerdt, and many contributors.
Free use of this software is granted under the terms of the GPL-2+
License.
2019-08-21 | rtl_433 |