I have a weewx system that has been running well for several years on a 
raspberry pi using raspbian (bookworm currently). But recently it stopped 
reading from the console. I cannot figure out what went sideways. 

The errors in the log:
ct 11 11:18:49 weather weewxd[844]: INFO __main__: retrying... Oct 11 
11:18:49 weather weewxd[844]: DEBUG __main__: Initializing engine Oct 11 
11:18:49 weather weewxd[844]: INFO weewx.engine: Loading station type 
AcuRite (weewx.drivers.acurite) Oct 11 11:18:49 weather weewxd[844]: INFO 
weewx.drivers.acurite: driver version is 0.4 Oct 11 11:18:49 weather 
weewxd[844]: INFO weewx.drivers.acurite: R2 will be decoded using sensor 
constants Oct 11 11:18:49 weather weewxd[844]: DEBUG weewx.engine: Loading 
service weewx.engine.StdTimeSynch Oct 11 11:18:49 weather weewxd[844]: 
DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch Oct 
11 11:18:49 weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.engine.StdConvert Oct 11 11:18:49 weather weewxd[844]: INFO 
weewx.engine: StdConvert target unit is 0x1 Oct 11 11:18:49 weather 
weewxd[844]: DEBUG weewx.engine: Finished loading service 
weewx.engine.StdConvert Oct 11 11:18:49 weather weewxd[844]: DEBUG 
weewx.engine: Loading service weewx.engine.StdCalibrate Oct 11 11:18:49 
weather weewxd[844]: DEBUG weewx.engine: Finished loading service 
weewx.engine.StdCalibrate Oct 11 11:18:49 weather weewxd[844]: DEBUG 
weewx.engine: Loading service weewx.engine.StdQC Oct 11 11:18:49 weather 
weewxd[844]: DEBUG weewx.engine: Finished loading service 
weewx.engine.StdQC Oct 11 11:18:49 weather weewxd[844]: DEBUG weewx.engine: 
Loading service weewx.wxservices.StdWXCalculate Oct 11 11:18:49 weather 
weewxd[844]: INFO weewx.wxservices: StdWXCalculate will use data binding 
wx_binding Oct 11 11:18:50 weather weewxd[844]: DEBUG weewx.manager: Daily 
summary version is 1.0 Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate Oct 
11 11:18:50 weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdWXXTypes Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes Oct 11 
11:18:50 weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdPressureCooker Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker Oct 
11 11:18:50 weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdRainRater Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater Oct 11 
11:18:50 weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.wxxtypes.StdDelta Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Finished loading service weewx.wxxtypes.StdDelta Oct 11 
11:18:50 weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.engine.StdArchive Oct 11 11:18:50 weather weewxd[844]: INFO 
weewx.engine: Archive will use data binding wx_binding Oct 11 11:18:50 
weather weewxd[844]: INFO weewx.engine: Record generation will be attempted 
in 'hardware' Oct 11 11:18:50 weather weewxd[844]: INFO weewx.engine: Using 
archive interval of 300 seconds (specified in weewx configuration) Oct 11 
11:18:50 weather weewxd[844]: DEBUG weewx.engine: Use LOOP data in hi/low 
calculations: 1 Oct 11 11:18:50 weather weewxd[844]: DEBUG weewx.engine: 
Finished loading service weewx.engine.StdArchive Oct 11 11:18:50 weather 
weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.restx.StdStationRegistry Oct 11 11:18:50 weather weewxd[844]: INFO 
weewx.restx: StationRegistry: Registration not requested. Oct 11 11:18:50 
weather weewxd[844]: DEBUG weewx.engine: Finished loading service 
weewx.restx.StdStationRegistry Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Loading service weewx.restx.StdWunderground Oct 11 11:18:50 
weather weewxd[844]: INFO weewx.restx: Wunderground: Posting not enabled. Oct 
11 11:18:50 weather weewxd[844]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdWunderground Oct 11 11:18:50 weather weewxd[844]: 
DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather Oct 11 
11:18:50 weather weewxd[844]: INFO weewx.restx: PWSweather: Posting not 
enabled. Oct 11 11:18:50 weather weewxd[844]: DEBUG weewx.engine: Finished 
loading service weewx.restx.StdPWSweather Oct 11 11:18:50 weather 
weewxd[844]: DEBUG weewx.engine: Loading service weewx.restx.StdCWOP Oct 11 
11:18:50 weather weewxd[844]: INFO weewx.restx: CWOP: Posting not enabled. Oct 
11 11:18:50 weather weewxd[844]: DEBUG weewx.engine: Finished loading 
service weewx.restx.StdCWOP Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Loading service weewx.restx.StdWOW Oct 11 11:18:50 weather 
weewxd[844]: INFO weewx.restx: WOW: Posting not enabled. Oct 11 11:18:50 
weather weewxd[844]: DEBUG weewx.engine: Finished loading service 
weewx.restx.StdWOW Oct 11 11:18:50 weather weewxd[844]: DEBUG weewx.engine: 
Loading service weewx.restx.StdAWEKAS Oct 11 11:18:50 weather weewxd[844]: 
INFO weewx.restx: AWEKAS: Posting not enabled. Oct 11 11:18:50 weather 
weewxd[844]: DEBUG weewx.engine: Finished loading service 
weewx.restx.StdAWEKAS Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Loading service user.mqtt.MQTT Oct 11 11:18:50 weather 
weewxd[844]: INFO user.mqtt: service version is 0.24 Oct 11 11:18:50 
weather weewxd[844]: INFO user.mqtt: binding to archive Oct 11 11:18:50 
weather weewxd[844]: INFO user.mqtt: data_binding is wx_binding Oct 11 
11:18:50 weather weewxd[844]: INFO user.mqtt: topic is weather Oct 11 
11:18:50 weather weewxd[844]: INFO user.mqtt: data will be uploaded to 
mqtt://mqttuser:[email protected]:yyy/ Oct 11 11:18:50 weather weewxd[844]: 
DEBUG weewx.engine: Finished loading service user.mqtt.MQTT Oct 11 11:18:50 
weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.engine.StdPrint Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Finished loading service weewx.engine.StdPrint Oct 11 
11:18:50 weather weewxd[844]: DEBUG weewx.engine: Loading service 
weewx.engine.StdReport Oct 11 11:18:50 weather weewxd[844]: INFO 
weewx.engine: 'pyephem' detected, extended almanac data is available Oct 11 
11:18:50 weather weewxd[844]: DEBUG weewx.engine: Finished loading service 
weewx.engine.StdReport Oct 11 11:18:50 weather weewxd[844]: INFO __main__: 
Starting up weewx version 5.1.0 Oct 11 11:18:50 weather weewxd[844]: DEBUG 
weewx.engine: Station does not support reading the time Oct 11 11:18:50 
weather weewxd[844]: INFO weewx.engine: Using binding 'wx_binding' to 
database 'weewx' Oct 11 11:18:50 weather weewxd[844]: INFO weewx.manager: 
Starting backfill of daily summaries Oct 11 11:18:50 weather weewxd[844]: 
INFO weewx.manager: Daily summaries up to date Oct 11 11:18:50 weather 
weewxd[844]: INFO weewx.engine: Starting main packet loop. Oct 11 11:18:50 
weather weewxd[844]: DEBUG weewx.drivers.acurite: Found station at *bus= 
device= * Oct 11 11:18:50 weather weewxd[844]: ERROR weewx.drivers.acurite: 
Failed attempt 1 of 10 to get LOOP data: [Errno 32] Pipe error Oct 11 
11:18:50 weather weewxd[844]: DEBUG weewx.manager: Daily summary version is 
1.0 Oct 11 11:19:20 weather weewxd[844]: DEBUG weewx.drivers.acurite: Found 
station at bus= device= Oct 11 11:19:20 weather weewxd[844]: ERROR 
weewx.drivers.acurite: Failed attempt 2 of 10 to get LOOP data: [Errno 32] 
Pipe error Oct 11 11:19:50 weather weewxd[844]: DEBUG 
weewx.drivers.acurite: Found station at bus= device= Oct 11 11:19:50 
weather weewxd[844]: ERROR weewx.drivers.acurite: Failed attempt 3 of 10 to 
get LOOP data: [Errno 32] Pipe error Oct 11 11:20:20 weather weewxd[844]: 
DEBUG weewx.drivers.acurite: Found station at bus= device= Oct 11 11:20:20 
weather weewxd[844]: ERROR weewx.drivers.acurite: Failed attempt 4 of 10 to 
get LOOP data: [Errno 32] Pipe error Oct 11 11:20:50 weather weewxd[844]: 
DEBUG weewx.drivers.acurite: Found station at bus= device= Oct 11 11:20:51 
weather weewxd[844]: ERROR weewx.drivers.acurite: Failed attempt 5 of 10 to 
get LOOP data: [Errno 110] Operation timed out Oct 11 11:21:21 weather 
weewxd[844]: DEBUG weewx.drivers.acurite: Found station at bus= device= Oct 
11 11:21:21 weather weewxd[844]: ERROR weewx.drivers.acurite: Failed 
attempt 6 of 10 to get LOOP data: [Errno 32] Pipe error Oct 11 11:21:51 
weather weewxd[844]: DEBUG weewx.drivers.acurite: Found station at bus= 
device= Oct 11 11:21:52 weather weewxd[844]: ERROR weewx.drivers.acurite: 
Failed attempt 7 of 10 to get LOOP data: [Errno 110] Operation timed out Oct 
11 11:22:22 weather weewxd[844]: DEBUG weewx.drivers.acurite: Found station 
at bus= device= Oct 11 11:22:22 weather weewxd[844]: ERROR 
weewx.drivers.acurite: Failed attempt 8 of 10 to get LOOP data: [Errno 32] 
Pipe error Oct 11 11:22:52 weather weewxd[844]: DEBUG 
weewx.drivers.acurite: Found station at bus= device= Oct 11 11:22:52 
weather weewxd[844]: ERROR weewx.drivers.acurite: Failed attempt 9 of 10 to 
get LOOP data: [Errno 32] Pipe error Oct 11 11:23:22 weather weewxd[844]: 
DEBUG weewx.drivers.acurite: Found station at bus= device= Oct 11 11:23:22 
weather weewxd[844]: ERROR weewx.drivers.acurite: Failed attempt 10 of 10 
to get LOOP data: [Errno 32] Pipe error Oct 11 11:23:52 weather 
weewxd[844]: ERROR weewx.drivers.acurite: Max retries (10) exceeded for 
LOOP data Oct 11 11:23:52 weather weewxd[844]: INFO weewx.engine: Main loop 
exiting. Shutting engine down. Oct 11 11:23:52 weather weewxd[844]: DEBUG 
weewx.restx: Shut down MQTT thread. Oct 11 11:23:52 weather weewxd[844]: 
CRITICAL __main__: Caught WeeWxIOError: Max retries (10) exceeded for LOOP 
data Oct 11 11:23:52 weather weewxd[844]: CRITICAL __main__: **** Waiting 
60.0 seconds then retrying... 

The bus/device being empty seems to indicate it can’t be seen or read from 
based on other posts. 

I can see the station using lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 
Device 003: ID 24c0:0003 Chaney Instrument Model 01036 weather center Bus 
001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub Bus 001 Device 001: ID 
1d6b:0002 Linux Foundation 2.0 root hub 

The base station is a 2064 so there is no usb mode to change, nor does the 
setup have such a setting and there is no switch I can see.

I can read from the station from a windows pc using acurite pc connection 
software so I don’t think its a station problem

On the os/config side

I have rebooted both the raspberry pi and the weather station multiple times

I have added the weewx user to lots of groups including tty dialout plugdev 
games users input render netdev spi i2c gpio 

I have also tried to add udev rules for everything I saw in the lsusb list 
after trying just the first line for the station. This was the area I was 
least familiar with so it could be the problem but I followed what others 
said in constructing it.

/etc/udev/rules.d/99-acurite.rules:
SUBSYSTEM=="usb", ATTRS{idVendor}=="24c0", ATTRS{idProduct}=="0003", 
MODE="0664", GROUP="weewx" SUBSYSTEM=="usb", ATTRS{idVendor}=="1d6b", 
ATTRS{idProduct}=="0003", MODE="0664", GROUP="weewx" SUBSYSTEM=="usb", 
ATTRS{idVendor}=="1d6b", ATTRS{idProduct}=="0002", MODE="0664", 
GROUP="weewx" SUBSYSTEM=="usb", ATTRS{idVendor}=="2109", 
ATTRS{idProduct}=="3431", MODE="0664", GROUP="weewx" 

I have a nearly identical setup in another location that is having the same 
problem and started at about the same time so I have to assume an update 
changed something but I can figure out what. What am I missing?

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/67bec06b-736a-4d7d-9dd2-df13fb059d6bn%40googlegroups.com.

Reply via email to