weewx sdr driver issue

80 views
Skip to first unread message

KD9JLZ

unread,
Mar 9, 2021, 10:00:51 AM3/9/21
to weewx-user
Here is the log. I am running this on the raspberry Pi 4b 8 gigs of ram and the latest raspbian os. hopefully someone has some insight or has similar issues
Mar  8 15:34:04 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Mar  8 15:34:05 raspberrypi weewx[15172] INFO __main__: Initializing weewx version 4.4.0
Mar  8 15:34:05 raspberrypi weewx[15172] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0]
Mar  8 15:34:05 raspberrypi weewx[15172] INFO __main__: Platform Linux-5.10.17-v7l+-armv7l-with-debian-10.8
Mar  8 15:34:05 raspberrypi weewx[15172] INFO __main__: Locale is 'en_US.UTF-8'
Mar  8 15:34:05 raspberrypi weewx[15172] INFO __main__: PID file is /var/run/weewx.pid
Mar  8 15:34:05 raspberrypi weewx[15176] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Mar  8 15:34:05 raspberrypi weewx[15176] INFO __main__: Debug is 0
Mar  8 15:34:05 raspberrypi weewx[15176] INFO weewx.engine: Loading station type SDR (user.sdr)
Mar  8 15:34:05 raspberrypi weewx[15160]: Starting weewx weather system: weewx.
Mar  8 15:34:05 raspberrypi systemd[1]: Started LSB: weewx weather system.
Mar  8 15:34:05 raspberrypi weewx[15176] INFO user.sdr: driver version is 0.78
Mar  8 15:34:05 raspberrypi weewx[15176] INFO user.sdr: sensor map is {}
Mar  8 15:34:05 raspberrypi weewx[15176] INFO user.sdr: deltas is {'rain': 'rain_total', 'strikes': 'strikes_total'}
Mar  8 15:34:05 raspberrypi weewx[15176] INFO user.sdr: startup process 'rtl_433 -M utc -F json'
Mar  8 15:34:05 raspberrypi weewx[15176] ERROR weewx.engine: Import of driver failed: failed to start process 'rtl_433 -M utc -F json': [Errno 2] No such file or directory: 'rtl_433': 'rtl_433' (<class 'weewx.WeeWxIOError'>)
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/user/sdr.py", line 198, in startup
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****      stderr=subprocess.PIPE)
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****    File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****      restore_signals, start_new_session)
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****    File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****      raise child_exception_type(errno_num, err_msg, err_filename)
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****  FileNotFoundError: [Errno 2] No such file or directory: 'rtl_433': 'rtl_433'
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****  
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****  During handling of the above exception, another exception occurred:
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****  
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****  Traceback (most recent call last):
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****      self.console = loader_function(config_dict, self)
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/user/sdr.py", line 147, in loader
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****      return SDRDriver(**config_dict[DRIVER_NAME])
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/user/sdr.py", line 2674, in __init__
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****      self._mgr.startup(cmd, path, ld_library_path)
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****    File "/usr/share/weewx/user/sdr.py", line 207, in startup
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****      (cmd, e))
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL weewx.engine:     ****  weewx.WeeWxIOError: failed to start process 'rtl_433 -M utc -F json': [Errno 2] No such file or directory: 'rtl_433': 'rtl_433'
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL __main__: Unable to load driver: failed to start process 'rtl_433 -M utc -F json': [Errno 2] No such file or directory: 'rtl_433': 'rtl_433'
Mar  8 15:34:05 raspberrypi weewx[15176] CRITICAL __main__:     ****  Exiting...

KD9JLZ

unread,
Mar 9, 2021, 10:07:54 AM3/9/21
to weewx...@googlegroups.com
also I do have rtl_433 installed as well.


Thank you
Chester L. Garrett IV


--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/wznGOWOgNuA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8f126d8c-ffda-4cff-a391-641ef2495c0fn%40googlegroups.com.

sbar...@gmail.com

unread,
Mar 9, 2021, 10:12:28 AM3/9/21
to weewx-user
wield guess : 
When running the same command line from you prompt rtl starts, or does it need a full path? maybe it's a path issue you have here.

If you try to give the full path to rtl_433 in the driver options (there is one for that IIRC), does it start better?

KD9JLZ

unread,
Mar 9, 2021, 1:59:10 PM3/9/21
to weewx...@googlegroups.com
I can run the rtl_433 and rtl_sdr on the terminal. I can run it when I am here pi@raspberrypi:~ $ with no issues.

Thank you
Chester L. Garrett IV

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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1535608f-8e6c-4aec-a63c-38c7d04fc280n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages