PHP Classes

Davis Weather: Communicate with Davis weather stations

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 277 This week: 1All time: 7,054 This week: 1,063Up
Version Licenses PHP version Categories  
davis-weather 1.01Artistic License, B...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: 39
All time rank: 73822 in Canada Canada
Week rank: 329 Up8 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:277All time:7,054
 This week:1This week:1,063Up