Login   Register  
PHP Classes
elePHPant
Icontem

Davis Weather: Communicate with Davis weather stations

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-04-26 (6 months ago) RSS 2.0 feedNot enough user ratingsTotal: 253 All time: 6,892 This week: 957Up
Version Licenses PHP version Categories  
davis-weather 1.01Artistic License, BSD L...5Networking, PHP 5, Databases, Hardware, W...
Description Author  

This class can communicate with Davis weather stations.

It can establish a TCP connection with a Davis station on a given IP address and port.

The class send commands to retrieve weather information like temperature, preassure, wind speed, humidity, etc..

It can also store retrieved information in a MySQL database.

Innovation Award  
PHP Programming Innovation award nominee
December 2012
Number 8


Prize: One downloadable copy of CodeLobster Professional
Weather stations are hardware devices which are useful to retrieve data of the many types of information about the weather in the local where the devices are installed.

This class provides a way to retrieve weather information collected by a Davis weather station by connecting to the device via a TCP connection.

Manuel Lemos
Picture of Leigh Edwards
Name: Leigh Edwards <contact>
Classes: 7 packages by
Country: Canada Canada
Age: 38
All time rank: 82921 in Canada Canada
Week rank: 192 Up2 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file api.php Example the api interface to the class
Plain text file class.davis.php Class main class
Plain text file class.mysql.v.1.55.php Class my sql class I used when I wrote this
Accessible without login Plain text file commands.php Conf. defined constants
Accessible without login Plain text file cron.php Example file to run as cron to collect the data

 Version Control Unique User Downloads Download Rankings  
 0%Total:253All time:6,892
 This week:0This week:957Up