PHP Classes

Davis Weather: Communicate with Davis weather stations

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 339 All time: 7,079 This week: 146Up
Version Licenses PHP version Categories
davis-weather 1.01Artistic License, B...5Networking, PHP 5, Databases, Hardware, W...


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
  Performance   Level  
Name: Leigh Edwards <contact>
Classes: 7 packages by
Country: Canada Canada
Age: 47
All time rank: 65220 in Canada Canada
Week rank: 89 Up4 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  
This week:0
All time:7,079
This week:146Up
 User Ratings  
 All time