Thanks for the help. I can’t believe that I didn’t catch on to that. It is working now.
Thanks again Dave From: [email protected] <[email protected]> On Behalf Of gjr80 Sent: Wednesday, September 29, 2021 5:25 PM To: weewx-user <[email protected]> Subject: [weewx-user] Re: SDR Help Hi, Likely a python 2/3 problem. When you run the driver directly you need to use the same major python version that WeeWX uses, ie python2 or python3. The python version run when using the command ‘python’ varies from system to system. Check the WeeWX log (assuming you have run WeeWX) and just after startup it should log the python version used by WeeWX. If it’s python 3.x try using ‘python3’ instead of ‘python’ in the above command. Otherwise try ‘python2’. If you haven’t started WeeWX yet have a look at the first line of any of the WeeWX utilities, say wee_databae, and see what the shebang is. wee_database will be in /home/weewx/bin or /usr/share/weewx. Gary On Thursday, 30 September 2021 at 08:55:30 UTC+10 [email protected] <mailto:[email protected]> wrote: Ok, after playing around with the interceptor driver and not being able to make it work, I have decided to go the SDR route. I have been following the documentation from https://github.com/matthewwall/weewx-sdr. I was able to get the driver install and configured for weewx but when I run the driver directly using the command sudo PYTHONPATH=bin python bin/user/sdr.py –cmd”rtl_433 -M utc -F json” I get the following python error: Traceback (most recent call last): File "bin/user/sdr.py", line 92, in <module> import weewx.units File "/home/weewx/bin/weewx/units.py", line 24, in <module> import weeutil.weeutil File "/home/weewx/bin/weeutil/weeutil.py", line 27, in <module> from weeutil.config import accumulateLeaves, search_up File "/home/weewx/bin/weeutil/config.py", line 11, in <module> import configobj ImportError: No module named configobj To make that says that configobj library is not install but it is. This is a brand-new install of Raspbian 10 and everything else. I can sudo rtl_433 -M utc -F json and I do get output from my weather station. Anyone know how to fix the sdr.py issue that I stated above? Thanks Dave -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]> . To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8c005628-3505-499e-845d-057dc92da6b7n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/8c005628-3505-499e-845d-057dc92da6b7n%40googlegroups.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/006601d7b589%249ba1d3e0%24d2e57ba0%24%40gmail.com.
