From cb31072e92a4accd1978146af4e98411207470a0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Jun 2015 10:33:03 +0200 Subject: [PATCH] add details about the api key --- source/components/sensor.openweathermap.markdown | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/components/sensor.openweathermap.markdown b/source/components/sensor.openweathermap.markdown index 0f529d6ab69..168218d5b12 100644 --- a/source/components/sensor.openweathermap.markdown +++ b/source/components/sensor.openweathermap.markdown @@ -12,12 +12,16 @@ footer: true The openweathermap platform uses [OpenWeatherMap](http://openweathermap.org/) as a source for meteorological data for your location. +You need an API key which is free but requires a [registration](http://home.openweathermap.org/users/sign_up). + +To add OpenWeatherMap to your installation, add the following to your `configuration.yaml` file: + ```yaml # Example configuration.yaml entry sensor: platform: openweathermap api_key: YOUR_API_KEY - monitored_variables: + monitored_conditions - type: 'weather' - type: 'temperature' - type: 'wind_speed' @@ -27,4 +31,4 @@ sensor: - type: 'rain' - type: 'snow' ``` - +Details about the API are available in the (OpenWeatherMap documentation)[http://bugs.openweathermap.org/projects/api/wiki].