No updates after sensor failure and replacement

75 views
Skip to first unread message

Dan Roman

unread,
Jan 20, 2023, 2:36:26 PM1/20/23
to weewx-user
I have weewx running for over a year on a Pi 3 running debian 10.13.  I am using a Tempest sensor and the weatherflowudp.  My sensor died and I have replaced it using the replace feature, which duplicates the old sensor by duplicating the name, so all my config files can remain unchanged.  I am also using wfpiconsole and that picked up seamlessly when the new sensor came online.  I have not changed /etc/weewx/weewx.conf

I have stopped/started and rebooted, but there are no data updates.  The syslog after starting is below.  My last data update was from January 9 at 7:55 pm local time and when I look at the  /var/www/html/weewx/ folder and the FTP folder on an external webserver everything is frozen at the January 9 7:55 time.

Where can I look or what can I do to get this going again?  I don't see any errors that jump out to me in the syslog.

Thanks,

Dan

Jan 20 14:15:55 pimatrix systemd[1]: Starting LSB: weewx weather system...
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: Initializing weewx version 4.9.1
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: Using Python 3.7.3 (default, Oct 31 2022, 14:04:00) #012[GCC 8.3.0]
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: Located at /bin/python3
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: Platform Linux-5.10.103-v7+-armv7l-with-debian-10.13
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: Locale is 'en_US.UTF-8'
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: Debug is 0
Jan 20 14:15:55 pimatrix weewx[6919] INFO __main__: PID file is /var/run/weewx.pid
Jan 20 14:15:55 pimatrix weewx[6923] INFO weewx.engine: Loading station type WeatherFlowUDP (user.weatherflowudp)
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: driver version is 1.10
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: sensor map is {'outTemp': 'air_temperature.ST-00044122.obs_st', 'outHumidity': 'relative_humidity.ST-00044122.obs_st', 'pressure': 'station_pressure.ST-00044122.obs_st', 'lightning_strikes': 'lightning_strike_count.ST-00044122.obs_st', 'avg_distance': 'lightning_strike_avg_distance.ST-00044122.obs_st', 'outTempBatteryStatus': 'battery.ST-00044122.obs_st', 'windSpeed': 'wind_speed.ST-00044122.rapid_wind', 'windDir': 'wind_direction.ST-00044122.rapid_wind', 'luxXXX': 'illuminance.ST-00044122.obs_st', 'UV': 'uv.ST-00044122.obs_st', 'rain': 'rain_accumulated.ST-00044122.obs_st', 'radiation': 'solar_radiation.ST-00044122.obs_st', 'lightningXXX': 'distance.ST-00044122.evt_strike', 'lightningYYY': 'energy.ST-00044122.evt_strike'}
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: *** Sensor names per packet type
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: packet obs_air: ('time_epoch', 'station_pressure', 'air_temperature', 'relative_humidity', 'lightning_strike_count', 'lightning_strike_avg_distance', 'battery', 'report_interval')
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: packet obs_sky: ('time_epoch', 'illuminance', 'uv', 'rain_accumulated', 'wind_lull', 'wind_avg', 'wind_gust', 'wind_direction', 'battery', 'report_interval', 'solar_radiation', 'local_day_rain_accumulation', 'precipitation_type', 'wind_sample_interval')
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: packet rapid_wind: ('time_epoch', 'wind_speed', 'wind_direction')
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: packet evt_precip: time_epoch
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: packet evt_strike: ('time_epoch', 'distance', 'energy')
Jan 20 14:15:55 pimatrix /weewxd: weatherflowudp: MainThread: packet obs_st: ('time_epoch', 'wind_lull', 'wind_avg', 'wind_gust', 'wind_direction', 'wind_sample_interval', 'station_pressure', 'air_temperature', 'relative_humidity', 'illuminance', 'uv', 'solar_radiation', 'rain_accumulated', 'precipitation_type', 'lightning_strike_avg_distance', 'lightning_strike_count', 'battery', 'report_interval')
Jan 20 14:15:55 pimatrix weewx[6923] INFO weewx.engine: StdConvert target unit is 0x1
Jan 20 14:15:55 pimatrix weewx[6923] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Jan 20 14:15:55 pimatrix weewx[6923] INFO weewx.engine: Archive will use data binding wx_binding
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.engine: Record generation will be attempted in 'hardware'
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration)
Jan 20 14:15:56 pimatrix weewx[6908]: Starting weewx weather system: weewx.
Jan 20 14:15:56 pimatrix systemd[1]: Started LSB: weewx weather system.
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.restx: StationRegistry: Registration not requested.
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.restx: Wunderground: Posting not enabled.
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.restx: PWSweather: Posting not enabled.
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.restx: CWOP: Posting not enabled.
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.restx: WOW: Posting not enabled.
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.restx: AWEKAS: Posting not enabled.
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.engine: 'pyephem' not detected, extended almanac data is not available
Jan 20 14:15:56 pimatrix weewx[6923] INFO __main__: Starting up weewx version 4.9.1
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.manager: Starting backfill of daily summaries
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.manager: Daily summaries up to date
Jan 20 14:15:56 pimatrix weewx[6923] INFO weewx.engine: Starting main packet loop.
Jan 20 14:15:56 pimatrix /weewxd: weatherflowudp: MainThread: Listening for UDP broadcasts to IP address <broadcast> on port 50222, with timeout 90 and share_socket False...

Dan Roman

unread,
Jan 20, 2023, 2:44:09 PM1/20/23
to weewx-user
With debug on:

Jan 20 14:41:27 pimatrix systemd[1]: Starting LSB: weewx weather system...
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: Initializing weewx version 4.9.1
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: Using Python 3.7.3 (default, Oct 31 2022, 14:04:00) #012[GCC 8.3.0]
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: Located at /bin/python3
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: Platform Linux-5.10.103-v7+-armv7l-with-debian-10.13
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: Locale is 'en_US.UTF-8'
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: Debug is 1
Jan 20 14:41:28 pimatrix weewx[7544] INFO __main__: PID file is /var/run/weewx.pid
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG __main__: Initializing engine
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: Loading station type WeatherFlowUDP (user.weatherflowudp)
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: driver version is 1.10
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: sensor map is {'outTemp': 'air_temperature.ST-00044122.obs_st', 'outHumidity': 'relative_humidity.ST-00044122.obs_st', 'pressure': 'station_pressure.ST-00044122.obs_st', 'lightning_strikes': 'lightning_strike_count.ST-00044122.obs_st', 'avg_distance': 'lightning_strike_avg_distance.ST-00044122.obs_st', 'outTempBatteryStatus': 'battery.ST-00044122.obs_st', 'windSpeed': 'wind_speed.ST-00044122.rapid_wind', 'windDir': 'wind_direction.ST-00044122.rapid_wind', 'luxXXX': 'illuminance.ST-00044122.obs_st', 'UV': 'uv.ST-00044122.obs_st', 'rain': 'rain_accumulated.ST-00044122.obs_st', 'radiation': 'solar_radiation.ST-00044122.obs_st', 'lightningXXX': 'distance.ST-00044122.evt_strike', 'lightningYYY': 'energy.ST-00044122.evt_strike'}
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: *** Sensor names per packet type
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: packet obs_air: ('time_epoch', 'station_pressure', 'air_temperature', 'relative_humidity', 'lightning_strike_count', 'lightning_strike_avg_distance', 'battery', 'report_interval')
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: packet obs_sky: ('time_epoch', 'illuminance', 'uv', 'rain_accumulated', 'wind_lull', 'wind_avg', 'wind_gust', 'wind_direction', 'battery', 'report_interval', 'solar_radiation', 'local_day_rain_accumulation', 'precipitation_type', 'wind_sample_interval')
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: packet rapid_wind: ('time_epoch', 'wind_speed', 'wind_direction')
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: packet evt_precip: time_epoch
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: packet evt_strike: ('time_epoch', 'distance', 'energy')
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: packet obs_st: ('time_epoch', 'wind_lull', 'wind_avg', 'wind_gust', 'wind_direction', 'wind_sample_interval', 'station_pressure', 'air_temperature', 'relative_humidity', 'illuminance', 'uv', 'solar_radiation', 'rain_accumulated', 'precipitation_type', 'lightning_strike_avg_distance', 'lightning_strike_count', 'battery', 'report_interval')
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: StdConvert target unit is 0x1
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.engine.StdQC
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Jan 20 14:41:28 pimatrix weewx[7533]: Starting weewx weather system: weewx.
Jan 20 14:41:28 pimatrix systemd[1]: Started LSB: weewx weather system.
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.manager: Daily summary version is 4.0
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: Archive will use data binding wx_binding
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: Record generation will be attempted in 'hardware'
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration)
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.restx: StationRegistry: Registration not requested.
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.restx: Wunderground: Posting not enabled.
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.restx: PWSweather: Posting not enabled.
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.restx: CWOP: Posting not enabled.
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.restx: WOW: Posting not enabled.
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.restx: AWEKAS: Posting not enabled.
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: 'pyephem' not detected, extended almanac data is not available
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Jan 20 14:41:28 pimatrix weewx[7549] INFO __main__: Starting up weewx version 4.9.1
Jan 20 14:41:28 pimatrix weewx[7549] DEBUG weewx.engine: Station does not support reading the time
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.manager: Starting backfill of daily summaries
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.manager: Daily summaries up to date
Jan 20 14:41:28 pimatrix weewx[7549] INFO weewx.engine: Starting main packet loop.
Jan 20 14:41:28 pimatrix /weewxd: weatherflowudp: MainThread: Listening for UDP broadcasts to IP address <broadcast> on port 50222, with timeout 90 and share_socket False...
  

vince

unread,
Jan 20, 2023, 2:58:39 PM1/20/23
to weewx-user
Each Tempest has a unique ID. If you replaced your Tempest sensor, your ST-00044122 is now incorrect and you need to edit weewx.conf to use the new sensor's device ID so the driver looks for readings from 'that' new device.

Dan Roman

unread,
Jan 20, 2023, 10:27:02 PM1/20/23
to weewx-user
Thanks Vince, but the Tempest phone app has a replacement feature that renames the new unit to the old sensor so that history is not lost.  My new sensor is now also  ST-00044122 when I look at it in the phone app, and as I mentioned, the wfpiconsole works like a charm without any changes to the configuration, just left it as  ST-00044122 and it works fine.  Something else is going on.

Dan

vince

unread,
Jan 21, 2023, 2:08:13 AM1/21/23
to weewx-user
If you're running weewx with the reference driver, you're listening to the UDP which has the sensor id in it.

If you're running wfpiconsole, you're connecting to the WF REST interface for your station.  I think they're different.

Just for grins, substitute in the new tempest id in weewx, restart weewx, and see if magic happens.  It's already not working, so you can't break anything by doing a quick test.  Alternately run my listener program and see what UDP is coming across the LAN (or run a sniffer or equivalent).

Dan Roman

unread,
Jan 21, 2023, 4:23:50 PM1/21/23
to weewx...@googlegroups.com
Yep, you were right Vince.  Once I used your listener to see the packets it is indeed using the serial number burned into the firmware and not the "name" of the device, which was renamed to the serial number of my old device.  Weewx is collecting data again.

Thanks!

Dan


--
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/xFQzEcRbNHo/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/40d3450e-e626-4b79-bd4a-af6599fb947an%40googlegroups.com.


--
Dan Roman
 
Reply all
Reply to author
Forward
0 new messages