From 1e62ae25eb525abf2a0162420d43efc6d140a6d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomas=20Hellstr=C3=B6m?= Date: Tue, 9 Oct 2018 07:43:41 +0200 Subject: [PATCH] SMHI weather service (#6375) * SMHI weather service * Added logo * Added component docs as well * :pencil2: Spelling & grammar * Changed realease to 0.81 and removed redundant information --- source/_components/smhi.markdown | 54 +++++++++++++++++++++++ source/_components/weather.smhi.markdown | 21 +++++++++ source/images/supported_brands/smhi.png | Bin 0 -> 1687 bytes 3 files changed, 75 insertions(+) create mode 100644 source/_components/smhi.markdown create mode 100644 source/_components/weather.smhi.markdown create mode 100644 source/images/supported_brands/smhi.png diff --git a/source/_components/smhi.markdown b/source/_components/smhi.markdown new file mode 100644 index 00000000000..e2a7d2dd440 --- /dev/null +++ b/source/_components/smhi.markdown @@ -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. + +

+You can only add locations through the integrations page, not in configuration files. +

+ +

+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. +

+ + +{% 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). diff --git a/source/_components/weather.smhi.markdown b/source/_components/weather.smhi.markdown new file mode 100644 index 00000000000..4eb17355a5b --- /dev/null +++ b/source/_components/weather.smhi.markdown @@ -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. \ No newline at end of file diff --git a/source/images/supported_brands/smhi.png b/source/images/supported_brands/smhi.png new file mode 100644 index 0000000000000000000000000000000000000000..4608ecd8b2a4b16fc1d0e51b403c784c08e914ac GIT binary patch literal 1687 zcmV;I259+-P)(#Q1n4m)EDtVA4G~Ec_;|RuNT2;iwaV;X-i|UYSL(m4J5X=g zKNcN8FYqt&qnaFJzl;Qi3G6&8A;uqNhOJ8)r2{gfjFf37T8CHO92YsUBU;i9hr7DQaT!Gr!>65Ig1jYOeY!iS4K4~fRZSP5L@L4Pg@ z?#7RG#i0&AE*kW1+J}3F91>gy^pxRV7b6pWAJ7r(!##r#oV6z_8wx-tdY9)LK0Smk zlJ;f6jijGTR}AWbJ01I;1@-}dBk9NX1bH9hZxLBqFo+c&^QiBfp@8IXcdr^A{&eVhhnaOg1G&$(0Sicx=Qd`&$@F(ux&um3M@&G`4(ATJgc1Z>7qg0 zbP=7Nb?1uU)0TZ2fY%J=#@1dmM4WJ-~l4a-RmD&G^YO zsVEZM#9Xp{AZ?Jf26$3)z8urh5`2XF;`k2CqSvb}^`0=084Yx=Gt@U_asOYHXLnif z_j#mV@c&N7h#@v2r8>7I$k~p+BL*_dfb)r8T`J-bc0*BaTy%lC{~<1D1HJ^FCOXAu zJN}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