Nobody out there willing to help me and Scott? We seem to have the same problem....
What can we do or try and how?
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
Dec 26 14:01:28 raspberrypi weewx[2333]: **** File "/usr/share/weewx/weewx/drivers/wmr300.py", line 1230, in get_historyDec 26 14:01:28 raspberrypi weewx[2333]: **** self.finish_history()Dec 26 14:01:28 raspberrypi weewx[2333]: **** File "/usr/share/weewx/weewx/drivers/wmr300.py", line 1129, in finish_historyDec 26 14:01:28 raspberrypi weewx[2333]: **** self.station.write(cmd)Dec 26 14:01:28 raspberrypi weewx[2333]: **** File "/usr/share/weewx/weewx/drivers/wmr300.py", line 1465, in writeDec 26 14:01:28 raspberrypi weewx[2333]: **** return self._write(buf)Dec 26 14:01:28 raspberrypi weewx[2333]: **** File "/usr/share/weewx/weewx/drivers/wmr300.py", line 1458, in _writeDec 26 14:01:28 raspberrypi weewx[2333]: **** sent = self.handle.interruptWrite(Station.EP_OUT, buf, self.timeout)Dec 26 14:01:28 raspberrypi weewx[2333]: **** USBError: could not detach kernel driver from interface 0: No data availableDec 26 14:01:28 raspberrypi weewx[2333]: **** Exiting.
I am testing new mwall driver 0.19RC1 (Thanks a lot mwall). But I have problems with it:
Thanks!!! I will test as soon as possible and I will inform here.
wmr300 version 0.19rc2 has been running reliably now on armhf ubuntu 16.04.03
dpkg --list | grep usb
ii libusb-0.1-4:armhf 2:0.1.12-28 armhf userspace USB programming library
ii libusb-1.0-0:armhf 2:1.0.20-1 armhf userspace USB programming library
ii python-usb 1.0.0~b2-2 all USB interface for Python
ii usbutils 1:007-4 armhf Linux USB utilities
feedback from users with these systems would be helpful:
any x86_64 systems
any armel systems
python-usb 0.4.x
libusb-0.1 (no libusb-1.x installed) pi@raspberrypi:~ $ dpkg -l | grep usbii libusb-0.1-4:armhf 2:0.1.12-25 armhf userspace USB programming libraryii libusb-1.0-0:armhf 2:1.0.19-1 armhf userspace USB programming libraryii libusbmuxd2:armhf 1.0.9-1 armhf USB multiplexor daemon for iPhone and iPod Touch devices - libraryii python-usb 0.4.3-1 armhf USB interface for Pythonii usb-modeswitch 2.2.0+repack0-2 armhf mode switching tool for controlling "flip flop" USB devicesii usb-modeswitch-data 20150115-1 all mode switching data for usb-modeswitchii usbutils 1:007-2 armhf Linux USB utilities
pi@raspberrypi:~ $ sudo /etc/init.d/weewx status -l● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx) Active: active (exited) since Thu 1970-01-01 01:00:40 CET; 48 years 0 months ago Process: 581 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
Jan 01 01:00:40 raspberrypi systemd[1]: Started LSB: weewx weather system.Jan 01 16:49:11 raspberrypi weewx[882]: engine: Using configuration file /etc/weewx/weewx.confJan 01 16:49:11 raspberrypi weewx[882]: engine: Loading station type WMR300 (weewx.drivers.wmr300)Jan 01 16:49:11 raspberrypi weewx[882]: wmr300: driver version is 0.19rc2Jan 01 16:49:11 raspberrypi weewx[882]: wmr300: usb info: pyusb_version=0.4.xJan 01 16:49:11 raspberrypi weewx[882]: wmr300: sensor map is {'outHumidity': 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill'... 'extraDJan 01 16:49:11 raspberrypi weewx[882]: wmr300: history limit is 20%Jan 01 16:49:12 raspberrypi weewx[882]: import of driver failed: Connection timed out (<class 'usb.USBError'>)Jan 01 16:49:12 raspberrypi weewx[882]: engine: Unable to load driver: Connection timed outJan 01 16:49:12 raspberrypi weewx[882]: **** Exiting...
I am testing RC3 and it works well! The previous error has been corrected.
Thank you very much!