I have three instances running in multi (weewx, sdr, wflow) but the
sdr.instance throws this error:
>
> May 31 15:29:38 NUC2498 weewx-sdr[4919]: import of driver failed: failed
to start process 'rtl_433 -M utc -F json -G': [Errno 2] No such file or
directory (<class 'weewx.WeeWxIOError'>)
which rtl_433
/usr/local/bin/rtl_433
Running sdr.conf manually works fine: sudo bin/weewxd sdr.conf
Can someone point me to what is causing this?
May 31 15:29:38 NUC2498 weewx-sdr[4915]: engine: Initializing weewx version
3.9.1
May 31 15:29:38 NUC2498 weewx-sdr[4915]: engine: Using Python 2.7.13 (
default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
May 31 15:29:38 NUC2498 weewx-sdr[4915]: engine: Platform Linux-4.9.0-12-
amd64-x86_64-with-debian-9.12
May 31 15:29:38 NUC2498 weewx-sdr[4915]: engine: Locale is 'en_US.UTF-8'
May 31 15:29:38 NUC2498 weewx-sdr[4915]: engine: pid file is /var/run/weewx-
sdr.pid
May 31 15:29:38 NUC2498 weewx-sdr[4919]: engine: Using configuration file /
home/weewx/sdr.conf
May 31 15:29:38 NUC2498 weewx-sdr[4919]: engine: Debug is 1
May 31 15:29:38 NUC2498 weewx-sdr[4919]: engine: Initializing engine
May 31 15:29:38 NUC2498 weewx-sdr[4919]: engine: Loading station type SDR (
user.sdr)
May 31 15:29:38 NUC2498 weewx-sdr[4919]: sdr: MainThread: driver version is
0.64
May 31 15:29:38 NUC2498 weewx-sdr[4919]: sdr: MainThread: sensor map is {
'extraTemp2': 'temperature.*.AmbientF007THPacket', 'extraTemp3':
'temperature.001A.AcuriteLightningPacket', 'soilTemp1':
'strikes_total.001A.AcuriteLightningPacket', 'soilTemp2':
'distance.001A.AcuriteLightningPacket', 'leafTemp2': 'depth.*.TSFT002Packet'
}
May 31 15:29:38 NUC2498 weewx-sdr[4919]: sdr: MainThread: deltas is {
'strikes': 'strikes_total', 'rain': 'rain_total'}
May 31 15:29:38 NUC2498 weewx-sdr[4919]: sdr: MainThread: startup process
'rtl_433
-M utc -F json -G'
May 31 15:29:38 NUC2498 weewx-sdr[4919]: import of driver failed: failed to
start process 'rtl_433 -M utc -F json -G': [Errno 2] No such file or
directory (<class 'weewx.WeeWxIOError'>)
May 31 15:29:38 NUC2498 weewx-sdr[4919]: engine: Unable to load driver:
failed to start process 'rtl_433 -M utc -F json -G': [Errno 2] No such file
or directory
May 31 15:29:38 NUC2498 weewx-sdr[4919]: **** Waiting 60 seconds then
retrying...
May 31 15:29:40 NUC2498 weewx[4249]: sdr: MainThread: lines=[]
May 31 15:29:46 NUC2498 weewx[4249]: sdr: MainThread: lines=['{"time" :
"2020-05-31 19:29:42", "model" : "Ambient Weather F007TH
Thermo-Hygrometer", "device" : 97, "channel" : 1, "battery" : "OK",
"temperature_F" : 89.900, "humidity" : 41, "mic" : "CRC"}\n']
May 31 15:29:46 NUC2498 weewx[4249]: sdr: MainThread: packet={'extraTemp2':
89.9, 'usUnits': 1, 'dateTime': 1590953382}
May 31 15:29:49 NUC2498 weewx[4249]: sdr: MainThread: lines=[]
May 31 15:29:53 NUC2498 weewx[4249]: sdr: MainThread: lines=['{"time" :
"2020-05-31 19:29:49", "model" : "TS-FT002", "id" : 127, "depth_cm" : 216,
"temperature_C" : 39.000, "transmit_s" : 180, "flags" : 8, "mic" :
"CHECKSUM"}\n', '{"time" : "2020-05-31 19:29:50", "model" : "TS-FT002",
"id" : 127, "depth_cm" : 216, "temperature_C" : 39.000, "transmit_s" : 180,
"flags" : 8, "mic" : "CHECKSUM"}\n']
May 31 15:29:53 NUC2498 weewx[4249]: sdr: MainThread: parse_json: unknown
model TS-FT002
May 31 15:29:53 NUC2498 weewx[4249]: sdr: MainThread: punt unrecognized
line '{"time" : "2020-05-31 19:29:49", "model" : "TS-FT002", "id" : 127,
"depth_cm" : 216, "temperature_C" : 39.000, "transmit_s" : 180, "flags" :
8, "mic" : "CHECKSUM"}#012'
May 31 15:29:53 NUC2498 weewx[4249]: sdr: MainThread: parse_json: unknown
model TS-FT002
May 31 15:29:53 NUC2498 weewx[4249]: sdr: MainThread: punt unrecognized
line '{"time" : "2020-05-31 19:29:50", "model" : "TS-FT002", "id" : 127,
"depth_cm" : 216, "temperature_C" : 39.000, "transmit_s" : 180, "flags" :
8, "mic" : "CHECKSUM"}#012'
NUC running Debian 9
WeeWx 3.9.1
--
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/17829482-5680-4bab-80a0-b5fac4874eb1%40googlegroups.com.