On Thursday, April 11, 2019 at 12:35:22 PM UTC-7, Hiljo Lodewijk wrote: > > I've managed to get the WS2800 driver working by doing the same as > Bernhard has done: > > Then to fix error with backend driver missing you need to help the /home/ > weewx/bin/weewx/drivers/wmr200.py driver file find the installed usb > driver: > > import usb > > import usb.backend.libusb1 > backend = usb.backend.libusb1.get_backend(find_library=lambda x: > "/usr/lib/libusb-1.0.so > <http://www.google.com/url?q=http%3A%2F%2Flibusb-1.0.so&sa=D&sntz=1&usg=AFQjCNG8hxm34VxHmJU_T8SZr1lt2jYJ-w> > ") > > > That is going to be a problem when somebody uses a different version of the library or runs on a different operating system. Hard-coding things like this in a 'one size fits all' piece of software is rarely a good idea.....
-- 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.
