matthewwall / weewx-sdr

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

stuck on step 4 #176

Closed kjames79 closed 1 year ago

kjames79 commented 1 year ago

/etc/weewx# sudo PYTHONPATH=bin python3 /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json" Traceback (most recent call last): File "/usr/share/weewx/user/sdr.py", line 106, in import weewx.drivers ModuleNotFoundError: No module named 'weewx'

kjames79 commented 1 year ago

made a little progress modifying the first command

sudo PYTHONPATH=/usr/share/weewx python3 /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M -F json" err: rtl_433 version unknown inputs file rtl_tcp RTL-SDR SoapySDR err: Use -h for usage help and see https://triq.org/ for documentation. err: Trying conf file at "rtl_433.conf"... err: Trying conf file at "/root/.config/rtl_433/rtl_433.conf"... err: Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"... err: Trying conf file at "/etc/rtl_433/rtl_433.conf"... err: Registered 145 out of 175 device decoding protocols [ 1-4 8 11-12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-168 170-175 ] err: Opening file: json failed!

kjames79 commented 1 year ago

everything seems to be working even though I received those errors