On Thursday, December 22, 2016 at 11:41:46 AM UTC-5, Moreno Simonetti wrote:
>
> hello . can help me.?
>

Dec 22 17:23:07 raspberrypi weewx[1255]: wmr300: e.errno=None 
e.strerror=None e.message=could not detach kernel driver from interface 0: 
Nessun dato disponibile repr=USBError('could not detach kernel driver from 
interface 0: Nessun dato disponibile',)
Dec 22 17:23:07 raspberrypi weewx[1255]: wmr300: e.errno=None 
e.strerror=None e.message=could not detach kernel driver from interface 0: 
Nessun dato disponibile repr=USBError('could not detach kernel driver from 
interface 0: Nessun dato disponibile',)
Dec 22 17:23:07 raspberrypi weewx[1255]: wmr300: usb failure: could not 
detach kernel driver from interface 0: Nessun dato disponibile
 

please do the following:

1) save a copy of your existing driver:

cd /home/weewx
cp bin/weewx/drivers/wmr300.py bin/weewx/drivers/wmr300.py-orig

2) modify the new driver to recognize italian 'no data available' messages

modify the file bin/weewx/drivers/wmr300.py
change 'No data available' to 'Nessun dato disponibile' and change 'No 
error' to 'Nessun errore'
this happens in 3 places: lines 901, 970, and 1115

3) start weewx as usual

please post the results!

m

Reply via email to