Paratmeters rtl-sdr not right

109 views
Skip to first unread message

Georg K.

unread,
Dec 28, 2024, 4:48:05 AM12/28/24
to weewx-user
Hello, I'm trying to install weewx with the sdr driver. I've now added the user weewx to various user groups. In my opinion, the driver recognizes the data packets, but doesn't assign them correctly to the data in weewx. I've probably configured something incorrectly. It would be great if someone could help me.

I installed weewx 5.1 on Ubuntu 24.10 using the deb package with python3. The sensor comes from a weather station from Lidl. I hope I haven't forgotten anything and I'd like to thank you for your help.

Regards, Georg

/etc/weewx/weewx.conf
[SDR]
# This section is for the software-defined radio driver.

# The driver to use
 driver = user.sdr
 cmd = /usr/local/bin/rtl_433 -M utc -F json
 log_unknown_sensors = True
 log_unmapped_sensors = True
 [[sensor_map]]
 windDir = wind_dir_deg.33.AlectoV1-Wind #wind_dir.0BFA.Acurite5n1Packet
 windSpeed ​​= wind_avg_m_s.33.AlectoV1-Wind # wind_speed.0BFA.Acurite5n1Packet
 windGust = wind_max_m_s.33.AlectoV1-Wind #
 batteryStatus1 = battery_ok.33.AlectoV1-Wind #
 outTemp = temperature_C.33.AlectoV1-Temperature # temperature.0BFA.Acurite5n1Packet
 outHumidity = humidity.33.AlectoV1-Temperature # humidity.0BFA.Acurite5n1Packet
 rain_total = rain_mm.202.AlectoV1-Rain # rain_total.0BFA.Acurite5n1Packet
 batteryStatus2 = battery_ok.202.AlectoV1-Rain


syslog
georg@georg-Dell:~$ sudo tail -f /var/log/syslog
2024-12-28T10:04:14.303710+01:00 georg-Dell systemd[1]: Configuration file /run/systemd/system/netplan-ovs-cleanup.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
2024-12-28T10:04:16.575253+01:00 georg-Dell systemd[1]: Started weewx.service - WeeWX.
2024-12-28T10:04:16.754648+01:00 georg-Dell weewxd[3940]: INFO __main__: Initializing weewxd version 5.1.0
2024-12-28T10:04:16.754987+01:00 georg-Dell weewxd[3940]: INFO __main__: Command line: /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf
2024-12-28T10:04:16.755409+01:00 georg-Dell weewxd[3940]: INFO __main__: Using Python: 3.12.7 (main, Nov  6 2024, 18:29:01) [GCC 14.2.0]
2024-12-28T10:04:16.755502+01:00 georg-Dell weewxd[3940]: INFO __main__: Located at:   /usr/bin/python3
2024-12-28T10:04:16.761753+01:00 georg-Dell weewxd[3940]: INFO __main__: Platform:     Linux-6.11.0-13-generic-x86_64-with-glibc2.40
2024-12-28T10:04:16.761929+01:00 georg-Dell weewxd[3940]: INFO __main__: Locale:       'de_DE.UTF-8'
2024-12-28T10:04:16.762026+01:00 georg-Dell weewxd[3940]: INFO __main__: Entry path:   /usr/share/weewx/weewxd.py
2024-12-28T10:04:16.762125+01:00 georg-Dell weewxd[3940]: INFO __main__: WEEWX_ROOT:   /etc/weewx
2024-12-28T10:04:16.762213+01:00 georg-Dell weewxd[3940]: INFO __main__: Config file:  /etc/weewx/weewx.conf
2024-12-28T10:04:16.762295+01:00 georg-Dell weewxd[3940]: INFO __main__: User module:  /etc/weewx/bin/user
2024-12-28T10:04:16.762378+01:00 georg-Dell weewxd[3940]: INFO __main__: Debug:        1
2024-12-28T10:04:16.762844+01:00 georg-Dell weewxd[3940]: INFO __main__: User:         weewx
2024-12-28T10:04:16.763444+01:00 georg-Dell weewxd[3940]: INFO __main__: Group:        weewx
2024-12-28T10:04:16.764184+01:00 georg-Dell weewxd[3940]: INFO __main__: Groups:       adm dialout cdrom sudo audio video plugdev games users netdev weewx render input
2024-12-28T10:04:16.764348+01:00 georg-Dell weewxd[3940]: DEBUG __main__: loop_on_init: False
2024-12-28T10:04:16.764454+01:00 georg-Dell weewxd[3940]: DEBUG __main__: Initializing engine
2024-12-28T10:04:16.764594+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: Loading station type SDR (user.sdr)
2024-12-28T10:04:16.776463+01:00 georg-Dell weewxd[3940]: INFO user.sdr: driver version is 0.87
2024-12-28T10:04:16.776629+01:00 georg-Dell weewxd[3940]: INFO user.sdr: model is SDR
2024-12-28T10:04:16.776730+01:00 georg-Dell weewxd[3940]: INFO user.sdr: sensor map is {'windDir': 'wind_dir_deg.33.AlectoV1-Wind', 'windSpeed': 'wind_avg_m_s.33.AlectoV1-Wind', 'windGust': 'wind_max_m_s.33.AlectoV1-Wind', 'batteryStatus1': 'battery_ok.33.AlectoV1-Wind', 'outTemp': 'temperature_C.33.AlectoV1-Temperature', 'outHumidity': 'humidity.33.AlectoV1-Temperature', 'rain_total': 'rain_mm.202.AlectoV1-Rain', 'batteryStatus2': 'battery_ok.202.AlectoV1-Rain'}
2024-12-28T10:04:16.776825+01:00 georg-Dell weewxd[3940]: INFO user.sdr: deltas is {'rain': 'rain_total', 'strikes': 'strikes_total'}
2024-12-28T10:04:16.776966+01:00 georg-Dell weewxd[3940]: INFO user.sdr: startup process '/usr/local/bin/rtl_433 -M utc -F json'
2024-12-28T10:04:16.778444+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: start async reader for stdout-thread
2024-12-28T10:04:16.779323+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: start async reader for stderr-thread
2024-12-28T10:04:16.779415+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
2024-12-28T10:04:16.779502+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
2024-12-28T10:04:16.779581+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.engine.StdConvert
2024-12-28T10:04:16.779667+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: StdConvert target unit is 0x1
2024-12-28T10:04:16.779741+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
2024-12-28T10:04:16.779828+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
2024-12-28T10:04:16.779923+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
2024-12-28T10:04:16.780012+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.engine.StdQC
2024-12-28T10:04:16.780102+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
2024-12-28T10:04:16.780187+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
2024-12-28T10:04:16.780650+01:00 georg-Dell weewxd[3940]: INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
2024-12-28T10:04:16.861709+01:00 georg-Dell weewxd[3940]: DEBUG weewx.manager: Daily summary version is 4.0
2024-12-28T10:04:16.861865+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
2024-12-28T10:04:16.861960+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
2024-12-28T10:04:16.863715+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
2024-12-28T10:04:16.863844+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
2024-12-28T10:04:16.863933+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
2024-12-28T10:04:16.864010+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
2024-12-28T10:04:16.864101+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
2024-12-28T10:04:16.864184+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
2024-12-28T10:04:16.864253+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
2024-12-28T10:04:16.864329+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.engine.StdArchive
2024-12-28T10:04:16.866265+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: Archive will use data binding wx_binding
2024-12-28T10:04:16.866411+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: Record generation will be attempted in 'software'
2024-12-28T10:04:16.866485+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: Using archive interval of 300 seconds (software record generation)
2024-12-28T10:04:16.866578+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
2024-12-28T10:04:16.866653+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
2024-12-28T10:04:16.866734+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
2024-12-28T10:04:16.889749+01:00 georg-Dell weewxd[3940]: INFO weewx.restx: StationRegistry: Registration not requested.
2024-12-28T10:04:16.889919+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
2024-12-28T10:04:16.890113+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
2024-12-28T10:04:16.890207+01:00 georg-Dell weewxd[3940]: INFO weewx.restx: Wunderground: Posting not enabled.
2024-12-28T10:04:16.890293+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
2024-12-28T10:04:16.890377+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
2024-12-28T10:04:16.890455+01:00 georg-Dell weewxd[3940]: INFO weewx.restx: PWSweather: Posting not enabled.
2024-12-28T10:04:16.890528+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
2024-12-28T10:04:16.890599+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
2024-12-28T10:04:16.890677+01:00 georg-Dell weewxd[3940]: INFO weewx.restx: CWOP: Posting not enabled.
2024-12-28T10:04:16.890756+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
2024-12-28T10:04:16.890853+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.restx.StdWOW
2024-12-28T10:04:16.890946+01:00 georg-Dell weewxd[3940]: INFO weewx.restx: WOW: Posting not enabled.
2024-12-28T10:04:16.891024+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
2024-12-28T10:04:16.891102+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
2024-12-28T10:04:16.891186+01:00 georg-Dell weewxd[3940]: INFO weewx.restx: AWEKAS: Posting not enabled.
2024-12-28T10:04:16.891270+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
2024-12-28T10:04:16.891349+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.engine.StdPrint
2024-12-28T10:04:16.891434+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
2024-12-28T10:04:16.891512+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Loading service weewx.engine.StdReport
2024-12-28T10:04:16.898331+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available
2024-12-28T10:04:16.898546+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
2024-12-28T10:04:16.898639+01:00 georg-Dell weewxd[3940]: INFO __main__: Starting up weewx version 5.1.0
2024-12-28T10:04:16.898733+01:00 georg-Dell weewxd[3940]: DEBUG weewx.engine: Station does not support reading the time
2024-12-28T10:04:16.898831+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx'
2024-12-28T10:04:16.900082+01:00 georg-Dell weewxd[3940]: INFO weewx.manager: Starting backfill of daily summaries
2024-12-28T10:04:16.900285+01:00 georg-Dell weewxd[3940]: INFO weewx.manager: Empty database
2024-12-28T10:04:16.901330+01:00 georg-Dell weewxd[3940]: INFO weewx.engine: Starting main packet loop.
2024-12-28T10:05:01.850322+01:00 georg-Dell CRON[3952]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
2024-12-28T10:05:12.299443+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:05:12.300207+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:05:08", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.000, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:05:43.239886+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:05:43.240974+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:05:39", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.200, "wind_dir_deg" : 135, "mic" : "CHECKSUM"}#012'
2024-12-28T10:06:14.173246+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Temperature
2024-12-28T10:06:14.174373+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:06:10", "model" : "AlectoV1-Temperature", "id" : 33, "channel" : 1, "battery_ok" : 1, "temperature_C" : -2.200, "humidity" : 51, "mic" : "CHECKSUM"}#012'
2024-12-28T10:06:36.190922+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Rain
2024-12-28T10:06:36.191753+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:06:31", "model" : "AlectoV1-Rain", "id" : 202, "channel" : 0, "battery_ok" : 1, "rain_mm" : 54.750, "mic" : "CHECKSUM"}#012'
2024-12-28T10:06:45.628001+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:06:45.629139+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:06:41", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.000, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:07:16.561705+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:07:16.562787+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:07:12", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.400, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:07:20.569032+01:00 georg-Dell systemd[1]: Starting systemd-tmpfiles-clean.service - Cleanup of Temporary Directories...
2024-12-28T10:07:20.608478+01:00 georg-Dell systemd-tmpfiles[3959]: /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring.
2024-12-28T10:07:20.659409+01:00 georg-Dell systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
2024-12-28T10:07:20.660020+01:00 georg-Dell systemd[1]: Finished systemd-tmpfiles-clean.service - Cleanup of Temporary Directories.
2024-12-28T10:07:20.674738+01:00 georg-Dell systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.
2024-12-28T10:07:50.115350+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:07:50.116535+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:07:43", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 0.600, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:07:50.116862+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Rain
2024-12-28T10:07:50.117141+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:07:45", "model" : "AlectoV1-Rain", "id" : 202, "channel" : 0, "battery_ok" : 1, "rain_mm" : 54.750, "mic" : "CHECKSUM"}#012'
2024-12-28T10:08:18.427877+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:08:18.441000+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:08:14", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.400, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:08:49.360981+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:08:49.362095+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:08:45", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.200, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:09:01.106313+01:00 georg-Dell CRON[3967]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
2024-12-28T10:09:01.111401+01:00 georg-Dell systemd[1]: Starting phpsessionclean.service - Clean php session files...
2024-12-28T10:09:01.679339+01:00 georg-Dell systemd[1]: phpsessionclean.service: Deactivated successfully.
2024-12-28T10:09:01.679732+01:00 georg-Dell systemd[1]: Finished phpsessionclean.service - Clean php session files.
2024-12-28T10:09:20.815103+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Temperature
2024-12-28T10:09:20.816180+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:09:16", "model" : "AlectoV1-Temperature", "id" : 33, "channel" : 1, "battery_ok" : 1, "temperature_C" : -2.100, "humidity" : 51, "mic" : "CHECKSUM"}#012'
2024-12-28T10:09:51.748604+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:09:51.749841+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:09:47", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.400, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:10:00.573395+01:00 georg-Dell systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
2024-12-28T10:10:00.633386+01:00 georg-Dell systemd[1]: sysstat-collect.service: Deactivated successfully.
2024-12-28T10:10:00.633914+01:00 georg-Dell systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
2024-12-28T10:10:17.964039+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Rain
2024-12-28T10:10:17.965016+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:10:13", "model" : "AlectoV1-Rain", "id" : 202, "channel" : 0, "battery_ok" : 1, "rain_mm" : 54.750, "mic" : "CHECKSUM"}#012'
2024-12-28T10:10:22.681603+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:10:22.682379+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:10:18", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.600, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:10:44.734517+01:00 georg-Dell rtkit-daemon[1727]: Successfully made thread 2829 of process 2796 owned by '1000' high priority at nice level 0.
2024-12-28T10:10:44.735150+01:00 georg-Dell rtkit-daemon[1727]: Supervising 7 threads of 4 processes of 1 users.
2024-12-28T10:10:44.772347+01:00 georg-Dell rtkit-daemon[1727]: Supervising 6 threads of 3 processes of 1 users.
2024-12-28T10:10:44.773201+01:00 georg-Dell rtkit-daemon[1727]: Supervising 6 threads of 3 processes of 1 users.
2024-12-28T10:10:44.779105+01:00 georg-Dell rtkit-daemon[1727]: Successfully made thread 2829 of process 2796 owned by '1000' RT at priority 20.
2024-12-28T10:10:44.779255+01:00 georg-Dell rtkit-daemon[1727]: Supervising 7 threads of 4 processes of 1 users.
2024-12-28T10:10:44.798726+01:00 georg-Dell update-notifier[3653]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
2024-12-28T10:10:53.615033+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:10:53.616174+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:10:49", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 1.000, "wind_max_m_s" : 1.200, "wind_dir_deg" : 225, "mic" : "CHECKSUM"}#012'
2024-12-28T10:11:24.549037+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:11:24.549610+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:11:20", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 1.000, "wind_max_m_s" : 1.200, "wind_dir_deg" : 315, "mic" : "CHECKSUM"}#012'
2024-12-28T10:11:56.003455+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:11:56.004609+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:11:51", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 1.000, "wind_max_m_s" : 1.400, "wind_dir_deg" : 135, "mic" : "CHECKSUM"}#012'
2024-12-28T10:12:26.936031+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Temperature
2024-12-28T10:12:26.936685+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:12:22", "model" : "AlectoV1-Temperature", "id" : 33, "channel" : 1, "battery_ok" : 1, "temperature_C" : -2.100, "humidity" : 51, "mic" : "CHECKSUM"}#012'
2024-12-28T10:12:45.811843+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Rain
2024-12-28T10:12:45.812719+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:12:41", "model" : "AlectoV1-Rain", "id" : 202, "channel" : 0, "battery_ok" : 1, "rain_mm" : 54.750, "mic" : "CHECKSUM"}#012'
2024-12-28T10:12:57.869761+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:12:57.870542+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:12:53", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.600, "wind_max_m_s" : 1.000, "wind_dir_deg" : 90, "mic" : "CHECKSUM"}#012'
2024-12-28T10:13:28.803174+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:13:28.830322+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:13:24", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.600, "wind_max_m_s" : 0.400, "wind_dir_deg" : 135, "mic" : "CHECKSUM"}#012'
2024-12-28T10:13:59.736365+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:13:59.737481+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:13:55", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.400, "wind_max_m_s" : 0.600, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:14:30.669687+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:14:30.671002+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:14:26", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.600, "wind_max_m_s" : 1.200, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:15:01.218309+01:00 georg-Dell CRON[4075]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
2024-12-28T10:15:02.123663+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:15:02.124671+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:14:57", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.600, "wind_max_m_s" : 1.000, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:15:33.056640+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Temperature
2024-12-28T10:15:33.057739+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:15:28", "model" : "AlectoV1-Temperature", "id" : 33, "channel" : 1, "battery_ok" : 1, "temperature_C" : -2.100, "humidity" : 51, "mic" : "CHECKSUM"}#012'
2024-12-28T10:16:03.990380+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:16:03.991111+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:15:59", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.200, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:16:34.924046+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:16:34.925145+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:16:30", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.000, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:17:01.752446+01:00 georg-Dell CRON[4085]: (root) CMD (cd / && run-parts --report /etc/cron.hourly)
2024-12-28T10:17:05.856854+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:17:05.857820+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:17:01", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.000, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:17:36.790357+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:17:36.791546+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:17:32", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.400, "wind_dir_deg" : 225, "mic" : "CHECKSUM"}#012'
2024-12-28T10:18:08.244793+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:18:08.245957+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:18:03", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.600, "wind_max_m_s" : 0.200, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:18:39.177728+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Temperature
2024-12-28T10:18:39.204859+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:18:34", "model" : "AlectoV1-Temperature", "id" : 33, "channel" : 1, "battery_ok" : 1, "temperature_C" : -2.000, "humidity" : 51, "mic" : "CHECKSUM"}#012'
2024-12-28T10:19:10.110763+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:19:10.111919+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:19:05", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.400, "wind_max_m_s" : 1.400, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:19:33.179149+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Rain
2024-12-28T10:19:33.179580+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:19:28", "model" : "AlectoV1-Rain", "id" : 202, "channel" : 0, "battery_ok" : 1, "rain_mm" : 54.750, "mic" : "CHECKSUM"}#012'
2024-12-28T10:19:41.044455+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:19:41.045689+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:19:36", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.400, "wind_max_m_s" : 0.800, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:20:00.626048+01:00 georg-Dell systemd[1]: Starting sysstat-collect.service - system activity accounting tool...
2024-12-28T10:20:00.692772+01:00 georg-Dell systemd[1]: sysstat-collect.service: Deactivated successfully.
2024-12-28T10:20:00.693307+01:00 georg-Dell systemd[1]: Finished sysstat-collect.service - system activity accounting tool.
2024-12-28T10:20:11.977410+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:20:11.978656+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:20:07", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.600, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:20:42.910702+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:20:42.911970+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:20:38", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 0.800, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:21:14.365377+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:21:14.366573+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:21:09", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.200, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
2024-12-28T10:21:45.297084+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Temperature
2024-12-28T10:21:45.298021+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:21:41", "model" : "AlectoV1-Temperature", "id" : 33, "channel" : 1, "battery_ok" : 1, "temperature_C" : -2.000, "humidity" : 50, "mic" : "CHECKSUM"}#012'
2024-12-28T10:22:16.230602+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: parse_json: unknown model AlectoV1-Wind
2024-12-28T10:22:16.231009+01:00 georg-Dell weewxd[3940]: DEBUG user.sdr: punt unrecognized line '{"time" : "2024-12-28 09:22:12", "model" : "AlectoV1-Wind", "id" : 33, "channel" : 1, "battery_ok" : 1, "wind_avg_m_s" : 0.800, "wind_max_m_s" : 1.000, "wind_dir_deg" : 180, "mic" : "CHECKSUM"}#012'
 

matthew wall

unread,
Dec 28, 2024, 12:02:16 PM12/28/24
to weewx-user
On Saturday, December 28, 2024 at 4:48:05 AM UTC-5 funk...@gmail.com wrote:
Hello, I'm trying to install weewx with the sdr driver. I've now added the user weewx to various user groups. In my opinion, the driver recognizes the data packets, but doesn't assign them correctly to the data in weewx. I've probably configured something incorrectly. It would be great if someone could help me.

I installed weewx 5.1 on Ubuntu 24.10 using the deb package with python3. The sensor comes from a weather station from Lidl. I hope I haven't forgotten anything and I'd like to thank you for your help.

Regards, Georg

please try installing the latest weewx-sdr (version 0.95 as of 28dec2024) - the AlectoV1 mappings have been updated to match the latest (i think) rtl_433 output


i also rolled in the *many* changes that have been languishing as merge requests.  some of them were easy to check, others not so much.

thank you, thank you, thank you to those who contributed, including:

peted-davis
gedakc
mfraser
mrpenner
sar6e
olpayras
jaredmales
bohruska
modu
promy
farmabep
fankyy
modussiam

and especially andylittle for curating many of the patches over the past two years!

maintaining weewx-sdr used to be especially difficult because i had to maintain backward compatibility with so many different parts - text vs json output, unstable rtl_433 output, changing sensor firmware/versions, rapidly growing list of sensors.  thankfully things are more stable now than 8-10 years ago!

to those who have changes for weewx-sdr, please keep the changes in small chunks, e.g., only changes for a single sensor type, or specific functionality.  since i have no automated testing infrastructure for the wide variety of sensors recognized by rtl_433, for the most part i can only do visual inspection of the code and some really basic python checks.

m

Georg K.

unread,
Dec 28, 2024, 3:11:12 PM12/28/24
to weewx-user
Hello Matthew

I have installed the new version. I have not changed the weewx.conf except for the report on neowx-material. However, I don't understand it. It puts the rain_mm and outside humidity into the database. Could you take another look at my configuration to see if there is an error?
Best regards Michael

2024-12-28T21:00:43.124612+01:00 georg-Dell weewxd[5715]: INFO weewx.cheetahgenerator: Generated 12 files for report StandardReport in 19.40 seconds
2024-12-28T21:00:43.124801+01:00 georg-Dell weewxd[5715]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
2024-12-28T21:00:43.124901+01:00 georg-Dell weewxd[5715]: DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
2024-12-28T21:00:43.125002+01:00 georg-Dell weewxd[5715]: DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
2024-12-28T21:00:53.421515+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'rain_total': 54.75, 'dateTime': 1735416048, 'usUnits': 17}
2024-12-28T21:00:53.424113+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'outHumidity': 53.0, 'dateTime': 1735416049, 'usUnits': 17}
2024-12-28T21:01:24.877140+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'windDir': 180, 'windSpeed ​​\u200b\u200b': 0.2, 'windGust': 1.0, 'dateTime': 1735416080, 'usUnits': 17}
2024-12-28T21:01:29.596359+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'rain_total': 54.75, 'dateTime': 1735416085, 'usUnits': 17}
2024-12-28T21:01:55.810263+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'windDir': 135, 'windSpeed ​​\u200b\u200b': 0.4, 'windGust': 1.0, 'dateTime': 1735416111, 'usUnits': 17}
2024-12-28T21:02:06.818897+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'rain_total': 54.75, 'dateTime': 1735416122, 'usUnits': 17}
2024-12-28T21:02:26.742210+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'windDir': 135, 'windSpeed ​​\u200b\u200b': 0.6, 'windGust': 0.6, 'dateTime': 1735416142, 'usUnits': 17}
2024-12-28T21:02:43.520641+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'rain_total': 54.75, 'dateTime': 1735416159, 'usUnits': 17}
2024-12-28T21:02:57.676375+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'windDir': 135, 'windSpeed ​​\u200b\u200b': 0.6, 'windGust': 0.0, 'dateTime': 1735416173, 'usUnits': 17}
2024-12-28T21:03:20.743774+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'rain_total': 54.75, 'dateTime': 1735416196, 'usUnits': 17}
2024-12-28T21:03:28.609571+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'windDir': 135, 'windSpeed ​​\u200b\u200b': 0.4, 'windGust': 0.0, 'dateTime': 1735416204, 'usUnits': 17}
2024-12-28T21:03:59.542235+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'rain_total': 54.75, 'dateTime': 1735416233, 'usUnits': 17}
2024-12-28T21:03:59.544485+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'outHumidity': 53.0, 'dateTime': 1735416235, 'usUnits': 17}
2024-12-28T21:04:30.997328+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'windDir': 0, 'windSpeed ​​\u200b\u200b': 0.2, 'windGust': 0.8, 'dateTime': 1735416266, 'usUnits': 17}
2024-12-28T21:04:34.663933+01:00 georg-Dell weewxd[5715]: DEBUG user.sdr: packet={'rain_total': 54.75, 'dateTime': 1735416270, 'usUnits': 17}

matthew wall

unread,
Dec 28, 2024, 4:35:03 PM12/28/24
to weewx-user
On Saturday, December 28, 2024 at 3:11:12 PM UTC-5 funk...@gmail.com wrote:
I have installed the new version. I have not changed the weewx.conf except for the report on neowx-material. However, I don't understand it. It puts the rain_mm and outside humidity into the database. Could you take another look at my configuration to see if there is an error?

the old rtl_433 used to emit 'rain_total' for the ElectoV1.  now it appears to emit 'rain_mm' (based on the JSON you posted).  so you'll need a 'deltas' section in your sdr sensor map, something like this:

[SDR]
    ...
    [[sensor_map]]
        ...
    [[deltas]]
        rain = rain_mm


Reply all
Reply to author
Forward
0 new messages