PHP Classes

Davis Weather: Communicate with Davis weather stations

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 339 All time: 7,080 This week: 146Up
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
  Performance   Level  
Name: Leigh Edwards <contact>
Classes: 7 packages by
Country: Canada Canada
Age: 48
All time rank: 65220 in Canada Canada
Week rank: 200 Up3 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:339
This week:0
All time:7,080
This week:146Up
 User Ratings  
 
 All time
Utility:56%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:37%StarStar
Tests:-
Videos:-
Overall:36%StarStar
Rank:4051