Try running as root:

sudo wee_device --set-interval=5


-tk

On Sat, Aug 20, 2016 at 9:14 AM, David Bernstein <[email protected]>
wrote:

> I am trying to change the logging interval for my WS-2080 using FOUSB, but
> wee_device is giving me errors. Here is what it said:
>
> pi@raspberrypi /etc/weewx $ wee_device --set-interval=5
>> Using configuration file /etc/weewx/weewx.conf
>> Using FineOffsetUSB driver version 1.8 (weewx.drivers.fousb)
>> Traceback (most recent call last):
>>   File "/usr/bin/wee_device", line 54, in <module>
>>     main()
>>   File "/usr/bin/wee_device", line 51, in main
>>     device.configure(config_dict)
>>   File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in
>> configure
>>     self.do_options(options, parser, config_dict, prompt)
>>   File "/usr/share/weewx/weewx/drivers/fousb.py", line 375, in do_options
>>     self.station = FineOffsetUSB(**config_dict[DRIVER_NAME])
>>   File "/usr/share/weewx/weewx/drivers/fousb.py", line 981, in __init__
>>     self.openPort()
>>   File "/usr/share/weewx/weewx/drivers/fousb.py", line 1050, in openPort
>>     raise weewx.WeeWxIOError(e)
>> weewx.WeeWxIOError: could not claim interface 0: Operation not permitted
>
>
> Any ideas on what I can do?
>
>
> Thanks!!
>
> --
> 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.
>

-- 
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