Monitor weather with the WeatherUnderground.com API
This datasource uses the Weather Underground API to monitor weather conditions for multiple locations. This will require a Free Weather Underground API key. This key should be added as a device properties weather.api.key
The datasource exchange locator is KT6NLM
I have an example setup to monitor Austin, TX, Jupiter, FL, and Santa Barbara, CA
To get started, add a new device under Expert mode and in the “Link to a URL” box add in api.wunderground.com
Once the URL has been added to LogicMonitor click on “Add Monitored Instance”. Add the weatherdeatails datasource and an instance of your choice. In my example I used TX/austin.
You can add in other locations under the instances tab.
For a better understanding on what the Instances Values should be, a complete API URL for Santa Barbara is
http://api.wunderground.com/api/Your_Key/conditions/q/ca/santa_barbara.json
The data source is using an HTTP GET appended to the host URL
GET /api/##weather.api.key##/conditions/q/##WILDVALUE##.json HTTP/1.1
Host:##HOSTNAME##
The instance values is just the STATE/city part of the API URL.