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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
06-21-2010, 01:26 AM
|
#16
|
|
LQ Newbie
Registered: May 2010
Posts: 7
Rep:
|
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.
|
|
|
|
06-21-2010, 02:33 AM
|
#17
|
|
LQ Newbie
Registered: Jun 2010
Location: Sydney, Australia
Distribution: Centos
Posts: 3
Rep:
|
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.
|
|
|
|
09-18-2011, 08:33 PM
|
#18
|
|
LQ Newbie
Registered: Sep 2011
Posts: 1
Rep: 
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|