ERROR weewx.drivers.acurite Failed attempt 1 of 10 to get LOOP data: [Errno 32] Pipe error

176 views
Skip to first unread message

Tom Farley

unread,
Jul 27, 2025, 7:35:00 PMJul 27
to weewx-user
Earlier this month the weewx web on my raspberry stopped updating the data displayed.
This system (rpi 4b) has been operating with weewx 5 for a while, for the past year+, it's running the latest os, bookworm.
I finally got around to looking at the issue and the acurite driver seems to be unhappy.

I have rebooted the pi,  change usb ports that connect to the acurite 5-in-1 base display, power cycled  the base. The  sensor has new batteries.

suggestions  on how I can resolve this issue or additional things for me to checkwould be appreciated.
tia
twf

python --version 

Python 3.11.2


lsusb

Bus 001 Device 006: ID 24c0:0003 Chaney Instrument Model 01036 weather center

Bus 001 Device 005: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC) 

Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub

Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub



weewx.conf setup for acurite

##############################################################################


[AcuRite]

    # This section is for AcuRite weather stations.

    

    # The station model, e.g., 'AcuRite 01025' or 'AcuRite 02032C'

    model = AcuRite 01536-RX

    

    # The driver to use:

    driver = weewx.drivers.acurite




systemd startup log

sudo systemctl status weewx

* weewx.service - WeeWX

     Loaded: loaded (/lib/systemd/system/weewx.service; enabled; preset: enabled)

     Active: active (running) since Sun 2025-07-27 15:26:04 MDT; 31min ago

       Docs: https://weewx.com/docs

   Main PID: 2248 (python3)

      Tasks: 2 (limit: 698)

        CPU: 1.963s

     CGroup: /system.slice/weewx.service

             `-2248 python3 /usr/share/weewx/weewxd.py /etc/weewx/weewx.conf


Jul 27 15:56:12 weatherpi weewxd[2248]: INFO weewx.engine: 'pyephem' detected, extended almanac data is available

Jul 27 15:56:12 weatherpi weewxd[2248]: INFO __main__: Starting up weewx version 5.1.0

Jul 27 15:56:12 weatherpi weewxd[2248]: INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'

Jul 27 15:56:12 weatherpi weewxd[2248]: INFO weewx.manager: Starting backfill of daily summaries

Jul 27 15:56:12 weatherpi weewxd[2248]: INFO weewx.manager: Daily summaries up to date

Jul 27 15:56:12 weatherpi weewxd[2248]: INFO weewx.engine: Starting main packet loop.

Jul 27 15:56:12 weatherpi weewxd[2248]: ERROR weewx.drivers.acurite: Failed attempt 1 of 10 to get LOOP data: [Errno 32] Pipe error

Jul 27 15:56:42 weatherpi weewxd[2248]: ERROR weewx.drivers.acurite: Failed attempt 2 of 10 to get LOOP data: [Errno 32] Pipe error

Jul 27 15:57:12 weatherpi weewxd[2248]: ERROR weewx.drivers.acurite: Failed attempt 3 of 10 to get LOOP data: [Errno 32] Pipe error

Jul 27 15:57:42 weatherpi weewxd[2248]: ERROR weewx.drivers.acurite: Failed attempt 4 of 10 to get LOOP data: [Errno 32] Pipe error









Jeremy Markel

unread,
Aug 11, 2025, 5:11:08 PMAug 11
to weewx-user
Mine stopped on July 22 but I'm only now just getting around to dealing with it.

Seeing the same error after installing updates via apt on my PI4b that connected to the Acurite weather station. I see some python packages were installed, not sure if there is any correlation.

In the apt log:

Start-Date: 2025-07-22  10:51:25
Commandline: apt upgrade
Requested-By: jeremy (1000)
Install: python3-videodev2:arm64 (0.0.3-1, automatic), rpicam-apps-encoder:arm64 (1.8.1-1~bookworm, automatic), librpicam-app1:arm64 (1.8.1-1~bookworm, automatic), rpicam-apps-core:arm64 (1.8.1-1~bookworm, automatic), rpicam-apps-opencv-postprocess:arm64 (1.8.1-1~bookworm, automatic), rpicam-apps-preview:arm64 (1.8.1-1~bookworm, automatic)
Upgrade: initramfs-tools-core:arm64 (0.142+rpt3+deb12u3, 0.142+rpt4+deb12u3), rpi-eeprom:arm64 (28.2-1, 28.3-1), libcamera-ipa:arm64 (0.5.0+rpt20250429-1, 0.5.1+rpt20250722-1), python3-picamera2:arm64 (0.3.28-1~bookworm, 0.3.29-1), libcamera0.5:arm64 (0.5.0+rpt20250429-1, 0.5.1+rpt20250722-1), libcamera-tools:arm64 (0.5.0+rpt20250429-1, 0.5.1+rpt20250722-1), libcamera-apps:arm64 (1.7.0-1, 1.8.1-1~bookworm), initramfs-tools:arm64 (0.142+rpt3+deb12u3, 0.142+rpt4+deb12u3), python3-libcamera:arm64 (0.5.0+rpt20250429-1, 0.5.1+rpt20250722-1), rpicam-apps:arm64 (1.7.0-1, 1.8.1-1~bookworm)
End-Date: 2025-07-22  10:54:49

The weather station stopped reporting after the updates were installed.

Last Updated 22 July 2025, 10:55:00

I'll keep poking away.

Jeremy

James J Dempsey

unread,
Aug 12, 2025, 11:11:31 AMAug 12
to weewx-user
Tom, this sounds exactly like the problem I'm having, though mine started due to an install on new hardware, not a mere apt upgrade.


I'd love to hear any solutions.  I'm going to try Ubuntu on the Pi 5 in the next day or two to see if that makes a difference.

--Jim--

James J Dempsey

unread,
Aug 14, 2025, 10:18:02 AMAug 14
to weewx-user
I installed Ubuntu and weewx worked fine.  See my post in the other thread above.

Jeremy Markel

unread,
Aug 14, 2025, 12:07:29 PMAug 14
to weewx-user
I found this in the dmesg log on my PI4. It's running Raspbian; Linux 6.12.34+rpt-rpi-v8. Seems to be related to a recent kernel update?

[419125.645754] usb 1-1.5: USB disconnect, device number 5

[419128.660710] usb 1-1.2: new low-speed USB device number 6 using dwc_otg

[419128.774200] usb 1-1.2: New USB device found, idVendor=24c0, idProduct=0003, bcdDevice= 0.20

[419128.774226] usb 1-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0

[419128.774235] usb 1-1.2: Product: Chaney Instrument

[419128.775143] usbhid 1-1.2:1.0: can't add hid device: -22

[419128.775178] usbhid 1-1.2:1.0: probe with driver usbhid failed with error -22

Long story, short. I've powered cycled everything, changed cables, ports and more, and still get the same error.

I might do the same and just install Ubuntu on it and see what happens.

Jeremy


Jeremy Markel

unread,
Aug 18, 2025, 1:21:12 PMAug 18
to weewx-user
I also solved this by installing the Ubuntu image onto my PI 4 and my Acurite station connects perfectly fine.

I did back up all the config and what not and restore everything, and it's back in action so it does seem to be a kernel driver issue in Raspbian.

Jeremy
Reply all
Reply to author
Forward
0 new messages