thanks for answering my question
The driver configuration in weewx.conf is:
SDR]
# This section is for the software-defined radio driver.
# The driver to use
driver = user.sdr
#path = /home/pi/rtl_433
cmd = rtl_433 -f 868M -s 1024k -M utc -F jons
#path = /opt/rtl-433/bin
#ld_library_path = /opt/libusb-1.0.20/lib:/opt/rtl-sdr/lib[[sensor_map]]
outTemp = temperature.*.FOWHx080Packet
windSpeed = wind_avg_km_h.*.FOWHx080Packet
windDir = wind_dir_deg.*.FOWHx080Packet
outHumidity = humidity.*.FOWHx080Packet
rain = rain_mm.*.FOWHx080Packet
this is what appears now in weewx load tracking:
pi@meteo:~ $ sudo /etc/init.d/weewx start;sudo tail -f /var/log/syslog
[ ok ] Starting weewx (via systemctl): weewx.service.
Mar 9 01:25:27 meteo systemd[1]: Starting LSB: weewx weather system...
Mar 9 01:25:29 meteo weewx[4272]: engine: Initializing weewx version 3.9.2
Mar 9 01:25:29 meteo weewx[4272]: engine: Using Python 2.7.9 (default, Sep 16
2019, 18:29:54) #012[GCC 4.9.2]
Mar 9 01:25:29 meteo weewx[4272]: engine: Platform
Linux-4.4.45+-armv6l-with-debian-8.0
Mar 9 01:25:29 meteo weewx[4272]: engine: Locale is 'es_ES.UTF-8'
Mar 9 01:25:29 meteo weewx[4272]: engine: pid file is /var/run/weewx.pid
Mar 9 01:25:29 meteo weewx[4262]: Starting weewx weather system: weewx.
Mar 9 01:25:29 meteo systemd[1]: Started LSB: weewx weather system.
Mar 9 01:25:29 meteo weewx[4276]: engine: Using configuration file
/home/weewx/weewx.conf
Mar 9 01:25:29 meteo weewx[4276]: engine: Loading station type SDR (user.sdr)
Mar 9 01:25:30 meteo weewx[4276]: sdr: MainThread: driver version is 0.77
Mar 9 01:25:30 meteo weewx[4276]: sdr: MainThread: sensor map is {'outTemp':
'temperature.*.FOWHx080Packet', 'windSpeed': 'wind_avg_km_h.*.FOWHx080Packet',
'windDir': 'wind_dir_deg.*.FOWHx080Packet', 'outHumidity':
'humidity.*.FOWHx080Packet', 'rain': 'rain_mm.*.FOWHx080Packet'}
Mar 9 01:25:30 meteo weewx[4276]: sdr: MainThread: deltas is {'strikes':
'strikes_total', 'rain': 'rain_total'}
Mar 9 01:25:30 meteo weewx[4276]: sdr: MainThread: startup process 'rtl_433 -f
868M -s 1024k -M utc -F jons'
Mar 9 01:25:30 meteo weewx[4276]: engine: Import of driver failed: failed to
start process 'rtl_433 -f 868M -s 1024k -M utc -F jons': [Errno 2] No existe el
fichero o el directorio (<class 'weewx.WeeWxIOError'>)
Mar 9 01:25:30 meteo weewx[4276]: engine: Unable to load driver: failed to
start process 'rtl_433 -f 868M -s 1024k -M utc -F jons': [Errno 2] No existe el
fichero o el directorio
Mar 9 01:25:30 meteo weewx[4276]: **** Exiting...
The drivers are installed in:
/home/pi/
any other suggestions?
Thanks.
El lunes, 9 de marzo de 2020, 1:12:27 (UTC+1), vince escribió:
>
> On Sunday, March 8, 2020 at 3:08:02 PM UTC-7, Juan EC7D wrote:
>>
>> Mar 8 22:53:15 meteo weewx[16097]: **** File
>> "/usr/lib/python2.7/dist-packages/configobj.py", line 554, in __getitem__
>> Mar 8 22:53:15 meteo weewx[16097]: **** val =
>> dict.__getitem__(self, key)
>> Mar 8 22:53:15 meteo weewx[16097]: **** KeyError: 'driver'
>> Mar 8 22:53:15 meteo weewx[16097]: **** Exiting.
>>
>>
> Weewx is not finding the driver you have specified in weewx.conf
> The "differences in file locations" you mention is likely the cause.
>
> What is your driver setting in weewx.conf ?
>
> Where do you have the driver(s) installed ?
>
>
--
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/7e468308-0283-4da5-a6dc-c42e3e7b2d46%40googlegroups.com.