From a05ed0b6bc8194f8682885e847bc83634fa25fc6 Mon Sep 17 00:00:00 2001 From: Heine Furubotten Date: Sun, 30 Dec 2018 23:09:47 +0100 Subject: [PATCH 1/5] Docs for nilu air_pollution platform --- .../_components/air_pollutants.nilu.markdown | 149 ++++++++++++++++++ source/images/supported_brands/nilu_logo.png | Bin 0 -> 6555 bytes 2 files changed, 149 insertions(+) create mode 100644 source/_components/air_pollutants.nilu.markdown create mode 100644 source/images/supported_brands/nilu_logo.png diff --git a/source/_components/air_pollutants.nilu.markdown b/source/_components/air_pollutants.nilu.markdown new file mode 100644 index 000000000000..32106a798247 --- /dev/null +++ b/source/_components/air_pollutants.nilu.markdown @@ -0,0 +1,149 @@ +--- +layout: page +title: "Norwegian Institute for Air Research" +description: "Instructions on how to integrate air pollution data from NILU within Home Assistant." +date: 2018-12-30 18:45 +sidebar: true +comments: false +sharing: true +footer: true +logo: nilu_logo.png +ha_category: Health +ha_iot_class: "Cloud Polling" +ha_release: 0.85 +--- + +The `nilu` air pollutants platform shows measurements of current air quality from NILU (Norsk Institutt for luftforskning/Norwegian Institute for Air Research) sensor stations within Norway. Makes data from the open api at [luftkvalitet.info](http://luftkvalitet.info/) and [nilu.no](https://nilu.no/) available in Home Assistant. + +```yaml +# Example configuration.yaml entry +air_pollutants: + - platform: nilu +``` + +{% configuration %} + latitude: + description: Manually specify latitude. By default the value will be taken from the Home Assistant configuration. + required: false + type: number + default: Provided by Home Assistant configuration + longitude: + description: Manually specify longitude. By default the value will be taken from the Home Assistant configuration. + required: false + type: number + default: Provided by Home Assistant configuration + name: + description: Name of the sensor to use in the frontend. + required: false + default: NILU + type: string + area: + description: Name of an area to get sensor stations from. See available areas below. + required: exclusive + type: string + station: + description: Name of a specific station to get measurements from. + required: exclusive + type: string + show_on_map: + description: Option to show the position of the sensor station on the map. + required: optional + default: false + type: boolean +{% endconfiguration %} + + +## {% linkable_title Health risk index explainations %} +Explainations for the `state`'s which can be showed. + +### {% linkable_title Low %} +Low or no health risk linked to measured air pollution. Outdoor activites are recommended. + +### {% linkable_title Moderate %} +Health effects may occur in some asthmatics and people with other respiratory diseases, as well as serious cardiovascular diseases. Outdoor activity can be recommended for the vast majority, but some should consider their activity in areas with high traffic or high emissions. + +### {% linkable_title High %} +Health effects may occur in asthmatics and people with other respiratory diseases, as well as serious cardiovascular disease. Children with respiratory distress (asthma, bronchitis) and adults with severe cardiac or respiratory distress should reduce outdoor activity and not stay in the most polluted areas. + +### {% linkable_title Extreamly high %} +Sensitive groups in the population can have health effects. Respiratory irritation and discomfort may occur in healthy subjects. People with heart or respiratory distress should reduce outdoor activity and not stay in the most polluted areas. + +Source: [Explainations in Norwegian](http://www.luftkvalitet.info/home/Varslingsklasser.aspx) + +## {% linkable_title Available areas %} +The `area` configuration is restricted to the areas NILU has defined. Here is the list of available areas: +- `Bergen` +- `Birkenes` +- `Bodø` +- `Brumunddal` +- `Bærum` +- `Drammen` +- `Elverum` +- `Fredrikstad` +- `Gjøvik` +- `Grenland` +- `Halden` +- `Hamar` +- `Harstad` +- `Hurdal` +- `Karasjok` +- `Kristiansand` +- `Kårvatn` +- `Lillehammer` +- `Lillesand` +- `Lillestrøm` +- `Lørenskog` +- `Mo i Rana` +- `Moss` +- `Narvik` +- `Oslo` +- `Prestebakke` +- `Sandve` +- `Sarpsborg` +- `Stavanger` +- `Sør-Varanger` +- `Tromsø` +- `Trondheim` +- `Tustervatn` +- `Zeppelinfjellet` +- `Ålesund` + +## {% linkable_title Configuration examples %} + +Example of adding health risk monitoring from sensor stations around home assistant location. + +```yaml +# Example configuration.yaml entry +# Adds all sensor stations within 20km. +- platform: nilu_air_quality +``` + +Example where the sensors are also added to the map. + +```yaml +# Example configuration.yaml entry +# Adds all sensor stations within 20km. +# Additionally adds the sensors to the map. +- platform: nilu_air_quality + show_on_map: True +``` + +Exapmle of specific station. + +```yaml +# Example configuration.yaml entry +# Monitors stations 'Alnabru' +- platform: nilu_air_quality + station: Alnabru +``` + +Example of getting stations from a specified area, giving the sensors a custom name. + +```yaml +# Example configuration.yaml entry +# Stations from specific area, 'Bergen' +# Custom name for the sensors. +- platform: nilu_air_quality + area: Bergen + name: Forurensing Bergen +``` \ No newline at end of file diff --git a/source/images/supported_brands/nilu_logo.png b/source/images/supported_brands/nilu_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..de170a7ef932a11cb5678983518e344eae1b8d80 GIT binary patch literal 6555 zcmV;M8D!>(P)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5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}5h+e4V z<*FF8wGlbGqRR2!!KiXGJ^P@In~cLcyWBF9->lBLC^4xQ%PqxaM0Sv_R+`fwoTc$w zucoN;2orejQNpghGFr+*ehVm-Z>x3ACggfp=Q}mKv!hdv>CF;KeN)5RIH}*73yRB*5v*9{{Z^+BAMrJ1BU Date: Mon, 31 Dec 2018 02:35:44 +0100 Subject: [PATCH 2/5] Updated with new location of pollution index --- source/_components/air_pollutants.nilu.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/air_pollutants.nilu.markdown b/source/_components/air_pollutants.nilu.markdown index 32106a798247..7df00594f6b2 100644 --- a/source/_components/air_pollutants.nilu.markdown +++ b/source/_components/air_pollutants.nilu.markdown @@ -54,9 +54,9 @@ air_pollutants: ## {% linkable_title Health risk index explainations %} -Explainations for the `state`'s which can be showed. +Under the attributes from a nilu station there will be a `nilu pollution index`. This indicates how polluted the air is in the area around the sensor station. Following is a longer explaination of what the indexes means. -### {% linkable_title Low %} +### {% linkable_title Low %} Low or no health risk linked to measured air pollution. Outdoor activites are recommended. ### {% linkable_title Moderate %} From 4d97db80e9c0e1e800c58bbad229744748acd6eb Mon Sep 17 00:00:00 2001 From: Heine Furubotten Date: Mon, 31 Dec 2018 02:48:13 +0100 Subject: [PATCH 3/5] Fixed stations to be plural --- source/_components/air_pollutants.nilu.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_components/air_pollutants.nilu.markdown b/source/_components/air_pollutants.nilu.markdown index 7df00594f6b2..7ad03a5565d2 100644 --- a/source/_components/air_pollutants.nilu.markdown +++ b/source/_components/air_pollutants.nilu.markdown @@ -41,7 +41,7 @@ air_pollutants: description: Name of an area to get sensor stations from. See available areas below. required: exclusive type: string - station: + stations: description: Name of a specific station to get measurements from. required: exclusive type: string @@ -134,7 +134,8 @@ Exapmle of specific station. # Example configuration.yaml entry # Monitors stations 'Alnabru' - platform: nilu_air_quality - station: Alnabru + stations: + - Alnabru ``` Example of getting stations from a specified area, giving the sensors a custom name. From 95ad50c3aa12cbf26fe26e5e83cb4913d6df1a14 Mon Sep 17 00:00:00 2001 From: Heine Furubotten Date: Sun, 13 Jan 2019 17:44:49 +0100 Subject: [PATCH 4/5] platform rename from air_pollutants to air_quality Managed to remove a commit from maintainer. Edits should be within this renaming commit. --- ...ilu.markdown => air_quality.nilu.markdown} | 56 +++++++++++-------- 1 file changed, 33 insertions(+), 23 deletions(-) rename source/_components/{air_pollutants.nilu.markdown => air_quality.nilu.markdown} (74%) diff --git a/source/_components/air_pollutants.nilu.markdown b/source/_components/air_quality.nilu.markdown similarity index 74% rename from source/_components/air_pollutants.nilu.markdown rename to source/_components/air_quality.nilu.markdown index 7ad03a5565d2..9e1f127a94e6 100644 --- a/source/_components/air_pollutants.nilu.markdown +++ b/source/_components/air_quality.nilu.markdown @@ -10,28 +10,28 @@ footer: true logo: nilu_logo.png ha_category: Health ha_iot_class: "Cloud Polling" -ha_release: 0.85 +ha_release: 0.86 --- -The `nilu` air pollutants platform shows measurements of current air quality from NILU (Norsk Institutt for luftforskning/Norwegian Institute for Air Research) sensor stations within Norway. Makes data from the open api at [luftkvalitet.info](http://luftkvalitet.info/) and [nilu.no](https://nilu.no/) available in Home Assistant. +The `nilu` air quality platform shows measurements of current air quality from NILU (Norsk Institutt for luftforskning/Norwegian Institute for Air Research) sensor stations within Norway. Makes data from the open API at [luftkvalitet.info](http://luftkvalitet.info/) and [nilu.no](https://nilu.no/) available in Home Assistant. ```yaml # Example configuration.yaml entry -air_pollutants: +air_quality: - platform: nilu ``` {% configuration %} latitude: - description: Manually specify latitude. By default the value will be taken from the Home Assistant configuration. + description: Manually specify latitude. By default, the value will be taken from the Home Assistant configuration. required: false type: number - default: Provided by Home Assistant configuration + default: Provided by Home Assistant configuration. longitude: - description: Manually specify longitude. By default the value will be taken from the Home Assistant configuration. + description: Manually specify longitude. By default, the value will be taken from the Home Assistant configuration. required: false type: number - default: Provided by Home Assistant configuration + default: Provided by Home Assistant configuration. name: description: Name of the sensor to use in the frontend. required: false @@ -47,31 +47,37 @@ air_pollutants: type: string show_on_map: description: Option to show the position of the sensor station on the map. - required: optional + required: false default: false type: boolean {% endconfiguration %} - ## {% linkable_title Health risk index explainations %} -Under the attributes from a nilu station there will be a `nilu pollution index`. This indicates how polluted the air is in the area around the sensor station. Following is a longer explaination of what the indexes means. + +Under the attributes from a NILU station, there will be a `nilu pollution index`. This indicates how polluted the air is in the area around the sensor station. Following is a longer explanation of what the indexes mean. ### {% linkable_title Low %} + Low or no health risk linked to measured air pollution. Outdoor activites are recommended. ### {% linkable_title Moderate %} + Health effects may occur in some asthmatics and people with other respiratory diseases, as well as serious cardiovascular diseases. Outdoor activity can be recommended for the vast majority, but some should consider their activity in areas with high traffic or high emissions. ### {% linkable_title High %} + Health effects may occur in asthmatics and people with other respiratory diseases, as well as serious cardiovascular disease. Children with respiratory distress (asthma, bronchitis) and adults with severe cardiac or respiratory distress should reduce outdoor activity and not stay in the most polluted areas. -### {% linkable_title Extreamly high %} +### {% linkable_title Extremely high %} + Sensitive groups in the population can have health effects. Respiratory irritation and discomfort may occur in healthy subjects. People with heart or respiratory distress should reduce outdoor activity and not stay in the most polluted areas. Source: [Explainations in Norwegian](http://www.luftkvalitet.info/home/Varslingsklasser.aspx) ## {% linkable_title Available areas %} + The `area` configuration is restricted to the areas NILU has defined. Here is the list of available areas: + - `Bergen` - `Birkenes` - `Bodø` @@ -110,12 +116,13 @@ The `area` configuration is restricted to the areas NILU has defined. Here is th ## {% linkable_title Configuration examples %} -Example of adding health risk monitoring from sensor stations around home assistant location. +Example of adding health risk monitoring from sensor stations around the Home Assistant location. ```yaml # Example configuration.yaml entry # Adds all sensor stations within 20km. -- platform: nilu_air_quality +air_quality: + - platform: nilu ``` Example where the sensors are also added to the map. @@ -124,18 +131,20 @@ Example where the sensors are also added to the map. # Example configuration.yaml entry # Adds all sensor stations within 20km. # Additionally adds the sensors to the map. -- platform: nilu_air_quality - show_on_map: True +air_quality: + - platform: nilu + show_on_map: True ``` -Exapmle of specific station. +Example of a specific station. ```yaml # Example configuration.yaml entry # Monitors stations 'Alnabru' -- platform: nilu_air_quality - stations: - - Alnabru +air_quality: + - platform: nilu + stations: + - Alnabru ``` Example of getting stations from a specified area, giving the sensors a custom name. @@ -144,7 +153,8 @@ Example of getting stations from a specified area, giving the sensors a custom n # Example configuration.yaml entry # Stations from specific area, 'Bergen' # Custom name for the sensors. -- platform: nilu_air_quality - area: Bergen - name: Forurensing Bergen -``` \ No newline at end of file +air_quality: + - platform: nilu + area: Bergen + name: Forurensing Bergen +``` From 603a9f9944feba93d180d5b53d69571392d3a19c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 27 Jan 2019 19:23:16 +0100 Subject: [PATCH 5/5] Update 'ha_release' --- source/_components/air_quality.nilu.markdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/_components/air_quality.nilu.markdown b/source/_components/air_quality.nilu.markdown index 9e1f127a94e6..458429601a4b 100644 --- a/source/_components/air_quality.nilu.markdown +++ b/source/_components/air_quality.nilu.markdown @@ -10,11 +10,15 @@ footer: true logo: nilu_logo.png ha_category: Health ha_iot_class: "Cloud Polling" -ha_release: 0.86 +ha_release: 0.87 --- The `nilu` air quality platform shows measurements of current air quality from NILU (Norsk Institutt for luftforskning/Norwegian Institute for Air Research) sensor stations within Norway. Makes data from the open API at [luftkvalitet.info](http://luftkvalitet.info/) and [nilu.no](https://nilu.no/) available in Home Assistant. +## {% linkable_title Configuration %} + +To enable this platform, add the following lines to your `configuration.yaml` file: + ```yaml # Example configuration.yaml entry air_quality: