SMHI weather service (#6375)

* SMHI weather service

* Added logo

* Added component docs as well

* ✏️ Spelling & grammar

* Changed realease to 0.81 and removed redundant information
This commit is contained in:
Tomas Hellström 2018-10-09 07:43:41 +02:00 committed by Martin Hjelmare
parent 6c7d0a244a
commit 1e62ae25eb
3 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1,54 @@
---
layout: page
title: "SMHI"
description: "Instructions on how to integrate SMHI forecasts within Home Assistant."
date: 2018-09-23 20:00
sidebar: true
comments: false
sharing: true
footer: true
featured: true
logo: smhi.png
ha_category: Hub
ha_release: 0.81
ha_iot_class: "Cloud Polling"
---
The `smhi` component adds support for the [SMHI.se](https://www.smhi.se/) web service as a source for meteorological data for your location.
## {% linkable_title Configuration %}
The SMHI weather service is free under the Creative Commons Attribution 4.0, international license. Weather data will be pulled once every 30 minutes.
To add SMHI weather forecast to your installation, go to the Integrations page inside the config panel and add a location by providing the longitude and latitude of your location.
If the location is configured in Home Assistant, it will be selected as the default location. After that, you can add additional locations.
<p class='note warning'>
You can only add locations through the integrations page, not in configuration files.
</p>
<p class='note warning'>
Only location close to Sweden can be added. See [SMHI.se area](http://opendata.smhi.se/apidocs/metfcst/geographic_area.html) for more details what locations are supported.
</p>
{% configuration %}
latitude:
description: Manually specify latitude.
required: false
type: number
default: Provided by Home Assistant configuration
longitude:
description: Manually specify longitude.
required: false
type: number
default: Provided by Home Assistant configuration
name:
description: Name to use in the frontend.
required: false
type: string
default: Home
{% endconfiguration %}
Details about the API are available in the [SMHI API documentation](http://opendata.smhi.se/apidocs/metfcst/index.html).

View File

@ -0,0 +1,21 @@
---
layout: page
title: "SMHI Weather"
description: "Instructions on how to integrate SMHI forecasts within Homeassistant."
date: 2018-09-23 20:00
sidebar: true
comments: false
sharing: true
footer: true
featured: true
logo: smhi.png
ha_category: Weather
ha_release: 0.81
ha_iot_class: "Cloud Polling"
---
The `smhi` platform uses the [SMHI.se](https://www.smhi.se/) web service as a source for meteorological data for your location.
## {% linkable_title Configuration %}
Please see the [component](/components/smhi/) documentation for details and configuration.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB