Page 1 of 1

Reading WS 1080 weather station directly via usb

Posted: Sat 07 Jan 2012 8:10 am
by tweedie
Hi,
I've downloaded Cumulus and it runs fine and looks quite good. It would have been nice if I had known about it before I started writing my own weather station monitor. However, that's what I have done and I am quite proud of it except for the very important aspect of reading the weather station data directly, which Cumulus obviously can do. I have downloaded the C++ fowsr code and have tried to compile it with MS Visual Studio 8 and 6 C++, but without success. I only know vb6 and do not understand C++. How do I arrive at compiled code to incorporate in my vb6 source code?
I would be grateful for any help solving this last remaining problem
kind regards
Uwe

Re: Reading WS 1080 weather station directly via usb

Posted: Wed 14 Mar 2012 3:48 pm
by TomV
Hi tweedie,
I don't know if you had any success with your project?

I tried compiling fowsr on Ubuntu Linux, I am a C++ programmer and I didn't even succeed :)

Anyway, I think if you want to do this in VB, you'll have to first look at the basics of USB communication - what libraries you need, how you connect to a device, how you read data from it.

Once you figured out how you get the raw data out, then it's time to look at the protocol. Then you can look at fowsr project to see how the binary data is constructed and how this translates to each of the measured values.

It's complex stuff... I'm working on a project myself to read out the fine offset. On Ubuntu Linux, written in C++, but so far it has given me a lot of head ache. So much head ache I've uninstalled the ubuntu and put windows back and installed cumulus :D
I feel better now, seeing there *is* actually software that reads the fine offset perfectly fine. Too bad it's not open source.

Cumulus does the trick for me, only it does much more + I like to have the whole thing running on a lowpower/embedded device at some point, which will not fit a windows.

Re: Reading WS 1080 weather station directly via usb

Posted: Wed 14 Mar 2012 10:25 pm
by tweedie
Hi TomV,
thank you for your 1 and only reply. I tried the same and got nowhere. I even installed Python and the Cygwin terminal, following the instructions explicitly without success. However it obviously works on XP as Cumulus does it without any bother. I have tried to compile flowsr and it compiled under XP, but of course I do not know how to call it and I have not yet modified it to my purposes. After all it is C++ code and should compile under Windows and it does! This is now on a backburner, while I fix up other minor issues.
kind regards
Uwe