From 7a836e3adb3feeee30dce0a97c7c71568ac4b06e Mon Sep 17 00:00:00 2001 From: "Christian W. Zuckschwerdt" Date: Fri, 6 Oct 2023 17:14:03 +0200 Subject: [PATCH] minor: update docs --- README.md | 4 +++- conf/rtl_433.example.conf | 3 ++- man/man1/rtl_433.1 | 4 ++++ src/devices/simplisafe.c | 3 ++- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c594efe4a..dcd661ee0 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,8 @@ See [CONTRIBUTING.md](./docs/CONTRIBUTING.md). ``` + A "rtl_433.conf" file is searched in "./", XDG_CONFIG_HOME e.g. "$HOME/.config/rtl_433/", + "/usr/local/etc/rtl_433/", "/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). @@ -328,7 +330,7 @@ See [CONTRIBUTING.md](./docs/CONTRIBUTING.md). [242]* Baldr / RainPoint rain gauge. [243] Celsia CZC1 Thermostat [244] Fine Offset Electronics WS90 weather station - [245]* ThermoPro TX-2C Thermometer + [245]* ThermoPro TX-2C Thermometer and Humidity sensor [246] TFA 30.3151 Weather Station * Disabled by default, use -R n or a conf file to enable diff --git a/conf/rtl_433.example.conf b/conf/rtl_433.example.conf index a24db4009..3749c2708 100644 --- a/conf/rtl_433.example.conf +++ b/conf/rtl_433.example.conf @@ -471,7 +471,8 @@ stop_after_successful_events false # protocol 242 # Baldr / RainPoint rain gauge. protocol 243 # Celsia CZC1 Thermostat protocol 244 # Fine Offset Electronics WS90 weather station -# protocol 245 # ThermoPro TX-2C Thermometer +# protocol 245 # ThermoPro TX-2C Thermometer and Humidity sensor + protocol 246 # TFA 30.3151 Weather Station ## Flex devices (command line option "-X") diff --git a/man/man1/rtl_433.1 b/man/man1/rtl_433.1 index e3f40db9d..66481a1f9 100644 --- a/man/man1/rtl_433.1 +++ b/man/man1/rtl_433.1 @@ -37,6 +37,10 @@ PlutoSDR, HackRF One (using SoapySDR drivers), as well as SoapyRemote. A summary of options is included below. Detailed information on some options follows. .\" body + + + A "rtl_433.conf" file is searched in "./", XDG_CONFIG_HOME e.g. "$HOME/.config/rtl_433/", + "/usr/local/etc/rtl_433/", "/etc/rtl_433/", then command line args will be parsed in order. .SS "General options" .TP [ \fB\-V\fI\fP ] diff --git a/src/devices/simplisafe.c b/src/devices/simplisafe.c index 17306c010..d21f46b36 100644 --- a/src/devices/simplisafe.c +++ b/src/devices/simplisafe.c @@ -77,7 +77,8 @@ static int ss_sensor_parser(r_device *decoder, bitbuffer_t *bitbuffer, int row) } else if (state == 3) { snprintf(extradata, sizeof(extradata), "Alarm Off"); } else { - snprintf(extradata, sizeof(extradata), ""); + //snprintf(extradata, sizeof(extradata), ""); + *extradata = '\0'; } /* clang-format off */