Package: Davis

Author: HCA Central
Version: 1
Added to Library: 10-Nov-23
HCAVersion needed: 17.0.42
Keywords: Class

Requirements: See technical note #616 for details on how to use
Extra Info Link: Here

Package Description:
Weather Class for Davis Weather Stations. Uses WeatherLink Live Local API

Program: Weather

Program Description:
Davis weather class that gets data from the WeatherLink Live Local API.

See: https://weatherlink.github.io/

Uses a tag named StationIPAddress to provide the IP address of the WeatherLink Live unit

Program: WeatherSet

Program Description:
Used by the Davis weather class to pass observation data into HCA using _WeatherSet

First looks at all tags that start with "Omit" to determine if the named item should be used or ignored. Anything listed in an Omit tag is ignored

Ignores any data whose value is "null"

Uses tags to determine the type of data passed to the 4th argument of _WeatherSet. If there is a tag whose name matches the item, the tag value contains the type.

Finally, rain counts are converted to inches where 1 count = .01 inches.

Parameters:

Name Type Description Default
ClassName Value Name of the weather class  
ItemName Value Name of item from the observation  
Value Value Value of the item