Testweatherstation

145 views
Skip to first unread message

Ellastonepaul

unread,
May 10, 2020, 4:01:46 AM5/10/20
to pywws

This is my first attempt with Python...so please bear with me!

I have a Bresser 6-in-1 Model No 7002570 which I would like to connect to a Raspberry pi running Python 2.7.16 and upload data to WeatherCloud.  The User Guide is excellent, and I used the "Easy Installation" approach but I seem to have fallen at the first hurdle, the "Testweathertation" fails.  I am not sure if it is an error in the USBlib (I followed the Dependancies notes and libusb1 seemed to load OK) or whether the console is not recognised.  The error log is attached. Any guidance would be welcomed.

Thanks

Ellastonepaul


log.txt

Jim Easterbrook

unread,
May 10, 2020, 4:11:43 AM5/10/20
to py...@googlegroups.com
On 10/05/2020 00:28, Ellastonepaul wrote:
>
> I have a Bresser 6-in-1 Model No 7002570 which I would like to connect
> to a Raspberry pi running Python 2.7.16 and upload data to
> WeatherCloud.  The User Guide is excellent, and I used the "Easy
> Installation" approach but I seem to have fallen at the first hurdle,
> the "Testweathertation" fails.  I am not sure if it is an error in the
> USBlib (I followed the Dependancies notes and libusb1 seemed to load OK)
> or whether the console is not recognised.  The error log is attached.
> Any guidance would be welcomed.

pywws-testweatherstation
23:46:50:pywws.logger:pywws version 20.1.0, build 1673 (92d8868)
Traceback (most recent call last):
File "/usr/local/bin/pywws-testweatherstation", line 10, in <module>
sys.exit(main())
File
"/usr/local/lib/python2.7/dist-packages/pywws/testweatherstation.py",
line 117, in main
ws = pywws.weatherstation.WeatherStation()
File
"/usr/local/lib/python2.7/dist-packages/pywws/weatherstation.py", line
464, in __init__
self.cusb = CUSBDrive()
File
"/usr/local/lib/python2.7/dist-packages/pywws/weatherstation.py", line
318, in __init__
self.dev = USBDevice(0x1941, 0x8021)
File
"/usr/local/lib/python2.7/dist-packages/pywws/device_libusb1.py", line
77, in __init__
self.dev = self.context.openByVendorIDAndProductID(idVendor, idProduct)
File "/home/pi/.local/lib/python2.7/site-packages/usb1/__init__.py",
line 2403, in openByVendorIDAndProductID
return result.open()
File "/home/pi/.local/lib/python2.7/site-packages/usb1/__init__.py",
line 2171, in open
mayRaiseUSBError(libusb1.libusb_open(self.device_p, byref(handle)))
File "/home/pi/.local/lib/python2.7/site-packages/usb1/__init__.py",
line 133, in mayRaiseUSBError
__raiseUSBError(value)
File "/home/pi/.local/lib/python2.7/site-packages/usb1/__init__.py",
line 125, in raiseUSBError
raise __STATUS_TO_EXCEPTION_DICT.get(value, __USBError)(value)
usb1.USBErrorAccess: LIBUSB_ERROR_ACCESS [-3]

The error is LIBUSB_ERROR_ACCESS, which could be a permissions problem.
As it says in the documentation, try running pywws-testweatherstation as
root (use sudo).

However, the Bresser 7002570 looks nothing like the Fine Offset stations
that I've seen before, and it doesn't seem to use EasyWeather software,
so I don't expect it to work with pywws. With it plugged into your pi
use the 'lsusb' command to see its ID. If it's not '1941:8021' then it's
not a pywws compatible station.

--
Jim Easterbrook <http://www.jim-easterbrook.me.uk/>

Ellastonepaul

unread,
May 11, 2020, 1:24:50 AM5/11/20
to pywws
Jim,,

Thanks for prompt reply.  It was not looking hopeful but, as suggested, I have checked the ID and got the following

ID 1941:8021 Dream Link WH1080 Weather station  which is OK?

Bresser do supply  Windows Sodtware branded Weather Tool. It can be found at https://bit.ly/2L36v30 Is this of any help?

Thanks again

Ellastonepaul

Ellastonepaul

unread,
May 11, 2020, 1:25:03 AM5/11/20
to pywws
Jim
,

Thanks for your prompt reply. Fearing the worst  I checked the ID, as you suggested, and got the following

 

ID 1941:8021 Dream Link WH1080 Weather Station.   which seems a little more hopeful.?


Bresser do supply software branded as Weather Tool.  It can be found at https://bit.ly/2L36v30 Does this help in anyway identifying the appropriate drivers?


Ellastonepaul




On Sunday, 10 May 2020 09:01:46 UTC+1, Ellastonepaul wrote:

Ellastonepaul

unread,
May 11, 2020, 1:25:03 AM5/11/20
to pywws


On Sunday, 10 May 2020 09:01:46 UTC+1, Ellastonepaul wrote:

Jim Easterbrook

unread,
May 11, 2020, 1:59:56 AM5/11/20
to py...@googlegroups.com
On 10/05/2020 23:22, Ellastonepaul wrote:
>
> Thanks for your prompt reply. Fearing the worst  I checked the ID, as
> you suggested, and got the following
>
> /*ID 1941:8021 Dream Link WH1080 Weather Station.*/   which seems a
> little more hopeful.?

Maybe. Given that they reused the USB ID of a toy missile launcher for
the original weather stations it's possible they would keep the same ID
even if they totally changed the rest of the software.

> Bresser do supply software branded as Weather Tool.  It can be found
> at https://bit.ly/2L36v30 Does this help in anyway identifying the
> appropriate drivers?

Not really, unless you want me to boot up an old Windows machine,
install it, then test it with my weather station.

It might use the same USB communications as EasyWeather or it might not.
Your station either works with pywws or it doesn't.
Reply all
Reply to author
Forward
0 new messages