Maybe on the new router the system is running in some kind of sandbox, where the USB-Devices are not passed through?
[email protected] schrieb am Sonntag, 21. März 2021 um 19:33:49 UTC+1: > Hi > > I have weather station WH2080 and have been using it for few years. > Station is connected to wifi router wr1043nd with OpenWrt system. On router > I have python 2.7 and weewx which collect data from weather station and > using mqtt sends data to domoticz. Last week I bought new router R6220 and > for last few days I have been trying to connect weather station wh2080 to > it. I try with python 2.7 and 3.7 without success. I follow official weewx > installation guide. I installed all required packages without PIL / PILLOW. > I get some error during PILL installation and I am not sure if it can > cause my main problem which is that data is not downloaded from the > station. When I connect station and run weewx nothing happens. Here is log > file which shows some problem: > > Sun Mar 21 19:03:54 2021 kern.info kernel: [ 1775.788373] usb 1-2.1: new > low-speed USB device number 4 using xhci-mtk > > Sun Mar 21 19:04:44 2021 user.info weewx[5119] INFO __main__: > Initializing weewx version 4.4.0 > > Sun Mar 21 19:04:44 2021 user.info weewx[5119] INFO __main__: Using > Python 3.7.10 (default, Mar 20 2021, 12:44:44) [GCC 7.5.0] > > Sun Mar 21 19:04:44 2021 user.info weewx[5119] INFO __main__: Platform > Linux-4.14.216-mips-with-glibc2.0 > > Sun Mar 21 19:04:44 2021 user.info weewx[5119] INFO __main__: Locale is > 'C.UTF-8;C;C;C;C;C' > > Sun Mar 21 19:04:44 2021 user.info weewx[5119] INFO __main__: Using > configuration file /home/weewx/weewx.conf > > Sun Mar 21 19:04:44 2021 user.info weewx[5119] INFO __main__: Debug is 0 > > Sun Mar 21 19:04:44 2021 user.info weewx[5119] INFO weewx.engine: Loading > station type FineOffsetUSB (weewx.drivers.fousb) > > Sun Mar 21 19:04:45 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > driver version is 1.20 > > Sun Mar 21 19:04:45 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > polling mode is PERIODIC > > Sun Mar 21 19:04:45 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > polling interval is 60 > > Sun Mar 21 19:04:46 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > found station on USB bus= device= > > Sun Mar 21 19:04:46 2021 user.info weewx[5119] INFO weewx.engine: > StdConvert target unit is 0x1 > > Sun Mar 21 19:04:46 2021 user.info weewx[5119] INFO weewx.manager: > Created and initialized table 'archive' in database 'weewx.sdb' > > Sun Mar 21 19:04:46 2021 user.info weewx[5119] INFO weewx.manager: > Created daily summary tables > > Sun Mar 21 19:04:46 2021 user.info weewx[5119] INFO weewx.engine: Archive > will use data binding wx_binding > > Sun Mar 21 19:04:46 2021 user.info weewx[5119] INFO weewx.engine: Record > generation will be attempted in 'software' > > Sun Mar 21 19:04:46 2021 user.info weewx[5119] INFO weewx.engine: Using > archive interval of 300 seconds (software record generation) > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.restx: > StationRegistry: Registration not requested. > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.restx: > Wunderground: Posting not enabled. > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.restx: > PWSweather: Posting not enabled. > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.restx: CWOP: > Posting not enabled. > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.restx: WOW: > Posting not enabled. > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.restx: AWEKAS: > Posting not enabled. > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO __main__: Starting up > weewx version 4.4.0 > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.engine: Using > binding 'wx_binding' to database 'weewx.sdb' > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.manager: > Starting backfill of daily summaries > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.manager: Empty > database > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > unstable read: blocks differ for ptr 0x000000 > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > unstable read: blocks differ for ptr 0x000000 > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > unstable read: blocks differ for ptr 0x000020 > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > unstable read: blocks differ for ptr 0x0000c0 > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > unstable read: blocks differ for ptr 0x0000c0 > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > unstable read: blocks differ for ptr 0x0000e0 > > Sun Mar 21 19:04:47 2021 user.info weewx[5119] INFO weewx.drivers.fousb: > unstable read: blocks differ for ptr 0x0000e0 > > Sun Mar 21 19:04:47 2021 user.err weewx[5119] ERROR weewx.drivers.fousb: > unrecognised magic number a100 > > Sun Mar 21 19:04:47 2021 user.err weewx[5119] ERROR weewx.drivers.fousb: > get_records failed: list index out of range > > > > I haven’t any clue where to look for solution. Thanks in advance on any > help. > > Cheers, Tomasz > -- 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 on the web visit https://groups.google.com/d/msgid/weewx-user/3706216f-f260-4100-b774-2fa7774a7fc2n%40googlegroups.com.
