|









| |
VejrStationen / WetterStation / WeatherStation
Image of the weather station in action.
a very popular and widely sold semi pro wireless weatherstation
with names like
The weather station Watson W-8681(UK)
Scientific Sales Pro Touch Screen Weather Station(US)
TOPCOM NATIONAL GEOGRAPHIC 265NE(BE)
WH-1080PC / WH1080(Denmark / Germany)
This product is made by Fine Offset Electronics Co.LTD and branded by several
companies, some with label logo on the front of the device and some are without.
The weatherstation lack support of linux, so i decided to investigate if it was
possible to get readouts from this device on a linux box. I found the usbsnoop
made for windows to gather communication between the device and applications and
logs into a file. Another application for linux, usbsnoop.pl
The usbsnoop.pl converts the communication commands to C code, which can be
executed to produce a very simple driver for a usb device on linux.
Due to the fact it does not know what the command/return information means, it
has not been so easy to translate all command data from the device. Meaning that
the rain statistics are not missing, but are incorrect as the reported
values back from the device do not match the information on the lcd display.
People could add the function
of reading the information from a linux platform, and the the reading to their
webpages without transferring the csv file to the platform from the unstable
windows software that comes with the station.
I have made a very small tool to get the readings from this weather through its
USB interface, and by using simple command line parameters.
As its in early stage of development, no PHP scripts are made, or any scripts
comes with the application.
If you wish to discuss the application, visit my forum page in your left pane.
Known issues with currect version;
- Rain statistics are +4.8mm more than device reports in data, so its
matches the display (on my side at least), can cause incorrect reading on other
people rain statistics.
Update: 25.12.2007
I have received information on a Dreambox edition for those with a dreambox 7000
series edition, with USB ports. This release is found under the Downloads
page as well, its just the binary for the dreambox, but it has been confirmed to
run fine on a gemini image edition as well.
Instructions on how to compile it for dreambox, if you wish to try it out, are;
- use a cross-compiler (i.e.
http://www.kegel.com/crosstool, next
- download the libusb-0.1.12 source from
http://libusb.sourceforge.net/ ,
- copy all the .c and .h files to the folder where you copied the wwsr.c source.
- edit the usb.c source, and #include all files here needed for the usb.c source.
- edit the wwsr.c source and include the usb.c source
- compile for ppc, and that should be it, binary will be a bit larger, as you
include the libusb as well.
Thanks goes to Nicolas Dupont for the
information/binary for dreambox.
Download wwsr (Wireless Weather Station Reader) from the Downloads page.
Snapshot temperature in South Denmark right now
My weatherstation is currently not connected to the linux box, sorry.
|