LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-21-2010, 01:26 AM   #16
frankv
LQ Newbie
 
Registered: May 2010
Posts: 7

Rep: Reputation: 0

I'm still working on putting things together in a neat package, but FWIW, here's the first bit of the README

Quote:
BASIC WEATHER STATION TO DATABASE SETUP
=======================================
1. First thing you need to do is to give yourself access to the Weather Station device... either you can do everything
as root (not a good idea), or copy the following line to a file called /etc/udev/rules.d/39-weather.rules

SYSFS{idProduct}=="8021", SYSFS{idVendor}=="1941", MODE="660", GROUP="plugdev"

You'll need root access to create that file.

2. Copy all the files in this archive into a directory (e.g. ~/weather)

3. Compile the first simple utility:

gcc -Wall WS_mem.c /usr/lib/libusb.so -o WS_mem

If any error messages come up, go back and check you've got gcc and libusb-dev installed properly.

4. Try out the utility...

./WS_mem

should bring up a usage message

5. Try to read data from address 0 of the weather station

./WS_mem 0

You should see something like this...

0000: 55 aa ff ff ff ff ff ff - ff ff ff ff ff ff ff ff
0010: 05 20 02 83 09 00 00 00 - 92 00 00 0f 00 00 30 17

If those first 2 bytes aren't 55 and aa, then there's something wrong. Otherwise, you're successfully communicating with your weather station!
Until I get it neatly packaged, go to http://forum.pendec.dk/viewtopic.php?f=31&t=55 to get the source code.

There's also the pywws@googlegroups.com Group which has a complete solution written in Python.
 
Old 06-21-2010, 02:33 AM   #17
tumutbound
LQ Newbie
 
Registered: Jun 2010
Location: Sydney, Australia
Distribution: Centos
Posts: 3

Rep: Reputation: 0
I have a WH-1080 weather station that I'm running successfully with some python scripts called pywws.

It doesn't provide the same features as the weather software you mentioned
but it does provide all the data as a series of text files.

[It just occurred to me that you could run the Windows weather software under a virtual machine as long as USB can be accessed from it. Must give this a try with VMware]

EDIT: I just tried out the Cumulus software and it works in a VMware session. Guest is running Windows XP

Last edited by tumutbound; 06-21-2010 at 03:18 AM.
 
Old 09-18-2011, 08:33 PM   #18
gunterhausfrau
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
I'm just finding this, and trying to get the easyweather software to work in Linux (Ubuntu 10.04).

I can get the software going just fine in wine, I've got the hardware talking to my Linux, but don't have the fiddly bits that make the hardware talk to the easyweather software. Has anyone got this going?

Just a note, in case someone else gets stuck. The complilation above didn't quite work as described (newbie here as well) I had to get libusb-dev (as it wasn't installed, get it though the synaptic package manager) then had to change the compile to
gcc -o wssr wwsr.c /usr/lib/libusb-0.1.so.4

Then all (well, most) was well.

Thanks
 
  


Reply

Tags
station, usb, weather


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Wanting to Setup Weather Station Server headlesschicken2511 Linux - Newbie 3 11-04-2009 03:11 PM
Loaded Ubuntu 7.04. Mobile phone connected with cable via usb. Phone is seen, Hec Linux - Newbie 1 02-09-2008 04:46 AM
Getting connected with a ASUS USB, Philips Wireless Base station running Suse 10.1 Rob_scared of Vista Linux - Wireless Networking 0 12-21-2007 09:52 AM
Booting from USB when BIOS does not recognise USB devices zani Linux - General 8 08-21-2007 01:58 PM
test26.s doesn't recognise DVD drive, other kernels won't recognise HDD v@ny@ Slackware - Installation 15 05-31-2007 06:03 AM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration