Hi mwall,

I am testing rc2 driver, this is mi configuration

pi@raspberrypi:~ $ dpkg -l | grep usb
ii  libusb-0.1-4:armhf                    2:0.1.12-25                       
        armhf        userspace USB programming library
ii  libusb-1.0-0:armhf                    2:1.0.19-1                       
         armhf        userspace USB programming library
ii  libusbmuxd2:armhf                     1.0.9-1                           
        armhf        USB multiplexor daemon for iPhone and iPod Touch 
devices - library
ii  python-usb                            0.4.3-1                           
        armhf        USB interface for Python
ii  usb-modeswitch                        2.2.0+repack0-2                   
        armhf        mode switching tool for controlling "flip flop" USB 
devices
ii  usb-modeswitch-data                   20150115-1                       
         all          mode switching data for usb-modeswitch
ii  usbutils                              1:007-2                           
        armhf        Linux USB utilities


And I have this error when I restart my raspberry:

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.conf
Jan 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.19rc2
Jan 01 16:49:11 raspberrypi weewx[882]: wmr300: usb info: 
pyusb_version=0.4.x
Jan 01 16:49:11 raspberrypi weewx[882]: wmr300: sensor map is 
{'outHumidity': 'humidity_1', 'extraDewpoint6': 'dewpoint_7', 
'windchill'... 'extraD
Jan 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 out
Jan 01 16:49:12 raspberrypi weewx[882]: ****  Exiting...


After that, if I restar weewx it works well.

Thank you very much and happy new year!


El domingo, 31 de diciembre de 2017, 17:24:32 (UTC+1), mwall escribió:
>
> On Tuesday, December 26, 2017 at 1:06:24 PM UTC-5, Alberto Sánchez wrote:
>>
>> 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) 
>
> libusb-1.0.11 (ships with debian 7) 
>
> you can download the driver directly from github:
>
>
> https://raw.githubusercontent.com/weewx/weewx/master/bin/weewx/drivers/wmr300.py
>
> this incorporates cameron's history flushing and handles usb non-errors 
> and timeouts.  there is not yet any known method for automatically 
> resetting the rain counter, but this driver will make a log entry once each 
> day if the rain counter has reached its maximum value.
>
> if anyone has been able to use software to reset the rain counter, please 
> do some usb captures of the process and post them to weewx-user so that we 
> can incorporate that into the driver.
>
> thanks to all of the wmr300 owners who have helped make this driver 
> possible!
>
> m
>
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to