Hello.
I started having several problems with weewx and sdr for about 1 month, in practice I can no longer get the data from my:
FineOffset WH1080 with the rtl-2832 dongle, this happened after the real updates of the RaspiOS until recently I was using weewx v3.9.2 and classic configuration:
weewx.conf
This section is for information about the station.
[Station]
# Description of the station location
location = Capannori (LU)
# Latitude and longitude in decimal degrees
latitude = 43.8757
longitude = 10.5738
# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 15, meter # Choose 'foot' or 'meter' for unit
# Set to type of station hardware. There must be a corresponding room
# in this file with a 'driver' parameter indicating the driver to be used.
station_type = SDR
# If you have a website, you may specify an URL
#station_url = http://www.example.com
# The start of the rain year (1 = January; 10 = October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1
# Start of week (0 = Monday, 6 = Sunday)
week_start = 6
Hello. I started having several problems with weewx and sdr for about 1 month, in practice I can no longer get the data from my: FineOffset WH1080 with the rtl-2832 dongle, this happened after the real updates of the RaspiOS until recently I was using weewx v3.9.2 and classic configuration: weewx.conf
WEEWX CONFIGURATION FILE
#
Copyright (c) 2009-2019 Tom Keffer tkeffer@gmail.com
See the file LICENSE.txt for your rights.
#################################################### #############################
This section is for general configuration information.
Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1
Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = / home / weewx
Whether to log successful operations
log_success = True
Whether to log unsuccessful operations
log_failure = True
How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20
Do not modify this. It is used when installing and updating weewx.
version = 4.1.1
##################################################### #############################
This section is for information about the station.
[Station]
#################################################### #############################
[SDR]
This section is for the software-defined radio driver.
##################################################### #############################
but doesn't work this the result: with v3.9.2 give weewx[14881]: sdr: MainThread: lines=[]
with 4.1.1 give weewx [14471] DEBUG user.sdr: lines = []
what i can do?
PS with sudo PYTHONPATH=bin python bin/user/sdr.py seems work perfectly that the result out:[u'{"time" : "2020-08-28 12:10:35", "model" : "Fineoffset-WHx080", "subtype" : 0, "id" : 62, "battery_ok" : 1, "temperature_C" : 27.midity" : 67, "wind_dir_deg" : 0, "wind_avg_km_h" : 0.000, "wind_max_km_h" : 0.000, "rain_mm" : 0.000, "mic" : "CRC"}\n'] out:[u'{"time" : "2020-08-28 12:11:23", "model" : "Fineoffset-WHx080", "subtype" : 0, "id" : 62, "battery_ok" : 1, "temperature_C" : 27.midity" : 66, "wind_dir_deg" : 0, "wind_avg_km_h" : 0.000, "wind_max_km_h" : 0.000, "rain_mm" : 0.000, "mic" : "CRC"}\n', u'{"time" : "28 12:11:23", "model" : "Fineoffset-WHx080", "subtype" : 0, "id" : 62, "battery_ok" : 1, "temperature_C" : 27.800, "humidity" : 66, "wind" : 0, "wind_avg_km_h" : 0.000, "wind_max_km_h" : 0.000, "rain_mm" : 0.000, "mic" : "CRC"}\n']