Weather Station Hardware > Ambient Weather and Ecowitt and other Fine Offset clones

EasyWeatherIP and WS1001 Protocol

(1/13) > >>

Aussie Susan:
I just fired up the EasyWeatherIP program on my iMac to was amazed that it found and connected to my WS1001 (clone running 2.3.3 firmware).
I particularly like that it can do this while the WS1001 is still connected directly to WU and reporting there.
I would live to do this with a program on one of my Raspberry PIs (2 or 3).
I can see the packets going back and forth between the iMac and the WS1001 but I really don't want to start reverse engineering the communications involved.
Is EasyWestherIP open source (I've looked but couldn't find anything through Google)?
Is the protocol used by EasyWeatherIP documented anywhere (i.e. the ports it can access, the command formats and responses etc.)?
Alternatively is there an equivalent program that runs on a Raspberry Pi (i.e. Linux)?
Thanks
Susan

wx5020:
I wrote a Perl program that gets the real-time weather data from the Ambient WS1001 console and writes an
output file that can be read by the Cumulus weather station program. The program establishes a TCP connection with the console and reliably gets the real-time data.

See:

https://github.com/wrbelfield/ws1001wxdata

Bill

Dr__Bob:
Hi Bill,

thanks!  Your program works great.  Well, it does after I added "Broadcast => 1" to the UDP socket creation, as otherwise I couldn't broadcast on it.  That might be a difference between Windows and Unix.

How did you go about decoding the data?

wx5020:
Hi,

It's good to hear that it's working for you. I haven't yet tried running it on my Linux system. Initially I looked at an approach based on redirecting the console WU data to my local server. But this didn't work. So I contacted Ambient customer support and they sent me some limited documentation, which was enough to help me get started. The console messages are in the form of C++ structures. After some experimenting, I learned how to unpack them in Perl. The program was running for over a week without any lost data, until an MS update required a PC restart.

Bill

brushwood69:
Hey Bill,

used your script and need a little help I think?? I get the wind data and pressure all great but the temp is all over the place?? My actual temp is 11.2 cent positive and indoor 20.8 cent positive humidity all correct. The data below is a copy of the script output??

TIA

x x x 2016-12-23 18:35:20 x 58 -6.22222264607747 98 -11.5555556615194 -11.7222224341498 -11.5555556615194 x 34331.2214066223 0.491744010658264 x 1.1176 x x SE x x x 0 x x x 0 0 0 x x x x x x

Navigation

[0] Message Index

[#] Next page

Go to full version