matthewwall / weewx-sdr

weewx driver for software-defined radio
GNU General Public License v3.0
115 stars 74 forks source link

Change -a and -G option to discourage usage issue #72

Closed Jocker666z closed 4 years ago

Jocker666z commented 4 years ago

Bellow change in rtl_433 causing fail https://github.com/merbanan/rtl_433/commit/081b4b475fa5252f45a952b417b02ba6a0e55168

weewx[21323]: sdr: MainThread: err: ['rtl_433 version 19.08-185-g71f86a4 branch master at 202002031618 inputs file rtl_tcp RTL-SDR\n', 'Use -h for usage help and see https://triq.org/ for documentation.\n', "rtl_433: option requires an argument -- 'G'\n", 'Trying conf file at "rtl_433.conf"...\n', 'Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...\n', 'Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...\n', 'Trying conf file at "/etc/rtl_433/rtl_433.conf"...\n', "rtl_433: option requires an argument -- 'G'\n", '\n', '\tUse -G for testing only. Enable with -G 4 if you really mean it.\n', '\n']
Feb  3 20:28:35 yukikaze-debian-server-3 weewx[21323]: engine: Main loop exiting. Shutting engine down.
Feb  3 20:28:35 yukikaze-debian-server-3 weewx[21323]: sdr: MainThread: shutdown process rtl_433 -M utc -F json -G
Feb  3 20:28:35 yukikaze-debian-server-3 weewx[21323]: engine: Caught WeeWxIOError: rtl_433 process is not running
Feb  3 20:28:35 yukikaze-debian-server-3 weewx[21323]:     ****  Waiting 60 seconds then retrying...
matthewwall commented 4 years ago

fixed at commit aa17803