Page 1 of 1

Beginner Question: Weatherlink IP, how to aquire data?

Posted: Mon 17 Feb 2014 12:05 pm
by jwka
Hi all,

I am new to this site and to weather stations at all.

I run a home automatipon system that allows me to programm individual code (in PHP) and I am in search for a method to get the data of a weather station (not bought, but look into a Davis Envoy, simple Sensor Unit and Weatherlink IP).

As my home automation system allows for individual programming as well as support for socket communication (all standard PHP extensions), in priciple I should be able to acquire the data directly from the Davis Weatherlink IP gateway.

Unfortunaltely, I have not found any documentation of the communication port so far.

Now, I guess that Cumulus could help me ... being the gateway on the domotic server side to acquire the data that I will read out thereafter with my domotic system.

Can anybody direct me, how to best set up this (or maybe help me to find the communication protocol of the Davis Weatherlink IP)?

Thanks in advance!
jwka

Re: Beginner Question: Weatherlink IP, how to aquire data?

Posted: Mon 17 Feb 2014 12:15 pm
by steve
Cumulus has support for the xAP protocol for home automation. If that isn't any use, and the other methods of getting data out of Cumulus aren't any use to you, the Davis communication protocol is specified in one of the many documents available for download from the Davis web site. The communications spec is the first document on this page: http://www.davisnet.com/support/weather ... dllsdk.asp

Re: Beginner Question: Weatherlink IP, how to aquire data?

Posted: Tue 18 Feb 2014 10:55 am
by jwka
Thanks for the quick reply.

I need a "native" communication protocol as I want to access the device by PHP, Java and Python.

I already downloaded that document you mentionned prior to my request, but unfortunalely (maybe I overlooked something when reading just quick and a bit superficially, but in Section I it states: "This document explains the serial data protocol ...") I found that this document only describes the SERIAL communication with the Davis unit. Just scanned again, but I am quite sure it is not what In need - at least not all.

As I want to access the Envoy via IP, there seems to be a (big) missing piece.

Maybe they just "wrap" the exact same serial data & comms into IP, but I need to know about the wrapper and about toe IP commands thet the Envoy will accept.

Anyone can direct me?

Thanks in Advance

Re: Beginner Question: Weatherlink IP, how to aquire data?

Posted: Tue 18 Feb 2014 12:32 pm
by steve
It's exactly the same protocol. Instead of opening serial port, you open a socket, and send exactly the same commands. The responses you get back are exactly the same.