Hi,

I use Weewx since 2017 with Excelvan WH2310 without problem.
Last week, I decided to update raspian up to buster and since this, I got 
problems with Weewx.

Daemon weewxd can not communicate with USB station after start or after 
some times... I unplugged/replugged the USB cable and after, data read 
seems to work again...

I used WH2310 add-on update for Python3 from git otherwise weewx does not 
start (I tried standard wh23xx driver in vain, even with last updates 0.41 
from git).

*Dec 14 16:54:54 pi3b weewx[1954] INFO weewx.engine: Main loop exiting. 
Shutting engine down.*

*Dec 14 16:54:54 pi3b weewx[1954] CRITICAL __main__: Caught WeeWxIOError: 
read failed: max retries (5) exceeded*

*Dec 14 16:54:54 pi3b weewx[1954] CRITICAL __main__:     ****  Waiting 60 
seconds then retrying...*

*Dec 14 16:55:54 pi3b weewx[1954] INFO __main__: retrying...*

*Dec 14 16:55:54 pi3b weewx[1954] INFO __main__: Using configuration file 
/etc/weewx/weewx.conf*

*Dec 14 16:55:54 pi3b weewx[1954] INFO __main__: Debug is 0*

*Dec 14 16:55:54 pi3b weewx[1954] INFO weewx.engine: Loading station type 
WH23xx (user.wh23xx)*

*Dec 14 16:55:54 pi3b /weewxd: wh23xx: driver version is 0.14*

*Dec 14 16:55:54 pi3b /weewxd: wh23xx: usb info: pyusb_version=1.0.2*

*Dec 14 16:55:54 pi3b /weewxd: wh23xx: poll interval is 15*

*Dec 14 16:55:54 pi3b /weewxd: wh23xx: Found device on USB bus= device=*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.engine: StdConvert target unit 
is 0x1*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.engine: Archive will use data 
binding wx_binding*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.engine: Record generation will 
be attempted in 'software'*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.engine: Using archive interval 
of 300 seconds (software record generation)*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.restx: StationRegistry: 
Station will be registered.*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.restx: Wunderground-PWS: Data 
for station IMONTA110 will be posted*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.restx: PWSweather: Posting not 
enabled.*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.restx: CWOP: Posting not 
enabled.*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.restx: WOW: Posting not 
enabled.*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.restx: AWEKAS: Posting not 
enabled.*

*Dec 14 16:55:55 pi3b weewx[1954] INFO __main__: Starting up weewx version 
4.2.0*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.engine: Using binding 
'wx_binding' to database 'weewx.sdb'*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.manager: Starting backfill of 
daily summaries*

*Dec 14 16:55:55 pi3b weewx[1954] INFO weewx.engine: Starting main packet 
loop.*

*Dec 14 16:55:55 pi3b /weewxd: wh23xx: read_record: write: 02 02 04 04 
(len=4)*

*Dec 14 16:55:56 pi3b /weewxd: wh23xx: get_current: failed attempt 1 of 5: 
[Errno 110] Operation timed out*

*Dec 14 16:56:06 pi3b /weewxd: wh23xx: read_record: write: 02 02 04 04 
(len=4)*

*Dec 14 16:56:07 pi3b /weewxd: wh23xx: get_current: failed attempt 2 of 5: 
[Errno 110] Operation timed out*

*Dec 14 16:56:17 pi3b /weewxd: wh23xx: read_record: write: 02 02 04 04 
(len=4)*

*Dec 14 16:56:18 pi3b /weewxd: wh23xx: get_current: failed attempt 3 of 5: 
[Errno 110] Operation timed out*

*Dec 14 16:56:28 pi3b /weewxd: wh23xx: read_record: write: 02 02 04 04 
(len=4)*

*Dec 14 16:56:29 pi3b /weewxd: wh23xx: get_current: failed attempt 4 of 5: 
[Errno 110] Operation timed out*

*Dec 14 16:56:39 pi3b /weewxd: wh23xx: read_record: write: 02 02 04 04 
(len=4)*

*Dec 14 16:56:40 pi3b /weewxd: wh23xx: get_current: failed attempt 5 of 5: 
[Errno 110] Operation timed out*

*Dec 14 16:56:50 pi3b /weewxd: wh23xx: read failed: max retries (5) 
exceeded*

*Dec 14 16:56:50 pi3b weewx[1954] INFO weewx.engine: Main loop exiting. 
Shutting engine down.*

*Dec 14 16:56:50 pi3b weewx[1954] CRITICAL __main__: Caught WeeWxIOError: 
read failed: max retries (5) exceeded*

*Dec 14 16:56:50 pi3b weewx[1954] CRITICAL __main__:     ****  Waiting 60 
seconds then retrying...*

Weewx had crashed this morning at 3:05 and it missed data acquisition for 
several hours. I did an import yesterday for same problem (connect the usb 
on PC to retrieve 10 days of data via SmartWeather tool, export to CSV, 
import data on Pi ....).  I have to do it again :-(

At this time, nothing is stable. So I* add weewx monitoring tool by cron 
which check time of last modification of daily pictures and if too old 
(6mins), I restart weewx after reseting USB device. :-/*

Any idea with USB problem ?

Regards

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/33a61873-9eaa-4145-97cc-2d6ccf8efc73n%40googlegroups.com.

Reply via email to