Nick Norman
unread,Aug 10, 2020, 7:29:05 AM8/10/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to weewx-user
Afternoon all,
Setup:
Weewx 4.1.1
OS Centos 7 - updated (except kernel for $REASONS)
Kernel 4.4.108-1.el7.elrepo.x86_64
i5 processor: Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
Memory 8G
Weather console connected via D0Link DUB-H7
Located in the loft - hence warm-ish (currently 37c)
Been working 100% - allowing for the occasional lock-up due to the usb
getting tangled - cured by the powercycle script.
Today at about 10:35 it has stopped working.
The powercycle script fires off as it should but the result is still a
failure to connect (well the system says it's not there).
I have manually disconnected the hub and the station and re-connected
and still the error persists.
sections from the log file:
<code>
powercycling: USB port
Aug 10 12:10:59 bragi kernel: usb 1-1.2.4: USB disconnect, device number 57
Aug 10 12:10:59 bragi kernel: usb 1-1.2.4: new low-speed USB device
number 58 using ehci-pci
Aug 10 12:10:59 bragi kernel: usb 1-1.2.4: New USB device found,
idVendor=1941, idProduct=8021
Aug 10 12:10:59 bragi kernel: usb 1-1.2.4: New USB device strings:
Mfr=0, Product=0, SerialNumber=0
Aug 10 12:10:59 bragi kernel: hid-generic 0003:1941:8021.0033:
hiddev0,hidraw1: USB HID v1.00 Device [HID 1941:8021] on
usb-0000:00:1a.0-1.2.4/input0
Aug 10 12:11:29 bragi journal: weewx[10672]/ERROR weewx.drivers.fousb:
get_observations failed: [Errno 19] No such device (it may have been
disconnected
</code>
lsusb reckons it is there
Bus 001 Device 059: ID 1941:8021 Dream Link WH1080 Weather Station / USB
Missile Launcher
Here is the full log since a start with debug=1
<code>
Aug 10 12:21:46 bragi journal: weewx[11432] INFO __main__: PID file is
/var/run/weewx.pid
Aug 10 12:21:46 bragi journal: weewx[11443] INFO __main__: Using
configuration file /etc/weewx/weewx.conf
Aug 10 12:21:46 bragi systemd: Started SYSV: start and stop the weewx
weather system.
Aug 10 12:21:46 bragi journal: weewx[11443] INFO __main__: Debug is 1
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.engine: Loading
station type FineOffsetUSB (weewx.drivers.fousb)
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.drivers.fousb:
driver version is 1.20
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.drivers.fousb:
polling mode is PERIODIC
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.drivers.fousb:
polling interval is 60
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.drivers.fousb:
found station on USB bus= device=
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.engine:
StdConvert target unit is 0x1
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.wxservices: The
following values will be calculated: pressure=prefer_hardware,
barometer=software, altimeter=prefer_hardware, windchill=software,
heatindex=prefer_hardware, dewpoint=software,
inDewpoint=prefer_hardware, rainRate=prefer_hardware,
maxSolarRad=prefer_hardware, cloudbase=prefer_hardware,
humidex=prefer_hardware, appTemp=prefer_hardware, ET=prefer_hardware,
windrun=prefer_hardware
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.wxservices: The
following algorithms will be used for calculations: altimeter=aaASOS,
maxSolarRad=RS
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.engine: Archive
will use data binding wx_binding
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.engine: Record
generation will be attempted in 'software'
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.engine: Using
archive interval of 300 seconds (software record generation)
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.restx:
StationRegistry: Station will be registered.
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.restx:
Wunderground-PWS: Data for station INORFOLK21 will be posted
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.restx:
PWSweather: Posting not enabled.
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.restx: CWOP:
Posting not enabled.
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.restx: WOW:
Posting not enabled.
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.restx: AWEKAS:
Posting not enabled.
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO __main__: Starting up
weewx version 4.1.1
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.engine: Using
binding 'wx_binding' to database 'weewx.sdb'
Aug 10 12:21:46 bragi journal: weewx[11443]/INFO weewx.manager: Starting
backfill of daily summaries
Aug 10 12:21:47 bragi journal: weewx[11443]/INFO weewx.drivers.fousb:
synchronising to the weather station (quality=0)
Aug 10 12:23:40 bragi journal: weewx[11443]/INFO weewx.drivers.fousb:
unstable read: blocks differ for ptr 0x002740
Aug 10 12:23:41 bragi journal: weewx[11443]/INFO weewx.engine: Starting
main packet loop.
Aug 10 12:23:44 bragi journal: weewx[11443]/INFO weewx.drivers.fousb:
station status {'unknown': 0, 'lost_connection': 64, 'rain_overflow': 0}
(64)
Aug 10 12:23:44 bragi monitorlockup: Error No 110 or lost connection 64
Observed in weewx.log
Aug 10 12:23:44 bragi bash: Current status for hub 1-1.2 [2001:f103, USB
2.00, 7 ports]
Aug 10 12:23:44 bragi bash: Port 4: 0303 power lowspeed enable connect
[1941:8021]
Aug 10 12:23:44 bragi bash: Sent power off request
Aug 10 12:23:44 bragi bash: New status for hub 1-1.2 [2001:f103, USB
2.00, 7 ports]
Aug 10 12:23:44 bragi bash: Port 4: 0000 off
Aug 10 12:24:14 bragi bash: Current status for hub 1-1.2 [2001:f103, USB
2.00, 7 ports]
Aug 10 12:24:14 bragi bash: Port 4: 0000 off
Aug 10 12:24:14 bragi bash: Sent power on request
Aug 10 12:24:14 bragi bash: New status for hub 1-1.2 [2001:f103, USB
2.00, 7 ports]
Aug 10 12:24:14 bragi bash: Port 4: 0100 power
Aug 10 12:24:14 bragi powercycling: USB port
Aug 10 12:24:14 bragi kernel: usb 1-1.2.4: USB disconnect, device number 59
Aug 10 12:24:14 bragi kernel: usb 1-1.2.4: new low-speed USB device
number 60 using ehci-pci
Aug 10 12:24:14 bragi kernel: usb 1-1.2.4: New USB device found,
idVendor=1941, idProduct=8021
Aug 10 12:24:14 bragi kernel: usb 1-1.2.4: New USB device strings:
Mfr=0, Product=0, SerialNumber=0
Aug 10 12:24:14 bragi kernel: hid-generic 0003:1941:8021.0035:
hiddev0,hidraw1: USB HID v1.00 Device [HID 1941:8021] on
usb-0000:00:1a.0-1.2.4/input0
Aug 10 12:24:44 bragi journal: weewx[11443]/ERROR weewx.drivers.fousb:
get_observations failed: [Errno 19] No such device (it may have been
disconnected)
</code>
Ideas?
Many thanks in advance, any questions - ask.
Regards & stay safe all,
Nick
M0HGU
--
No wizard would normally dream of giving a colleague a leg up unless it
was in order to catch them on the hop.
(Sourcery)
12:10:01 up 1 day, 19:08, 9 users, load average: 6.02, 5.83, 5.79