home-assistant.io/source/_components/opensensemap.markdown
2019-04-03 10:16:08 -07:00

1.4 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class, redirect_from, redirect_from
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class redirect_from redirect_from
page OpenSenseMap Instructions on how to setup openSenseMap sensors in Home Assistant. 2018-12-15 00:00 true false true true opensensemap.png Health 0.85 Cloud Polling /components/air_pollutants.opensensemap/
/components/air_quality.opensensemap/

The opensensemap air quality platform will query the open data API of openSenseMap.org to monitor air quality sensor station.

{% linkable_title Setup %}

To get the ID of a station you need to select it on the openSense map and find it in the addressbar of your browser. It's the last part of the URL, e.g., 5b450e565dc1ec001bf7cd1d https://opensensemap.org/explore/5b450e565dc1ec001bf7cd1d.

{% linkable_title Manual Configuration %}

To enable this platform, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
air_quality:
  - platform: opensensemap
    station_id: STATION_ID

{% configuration %} station_id: description: The ID of the station to monitor. required: true type: string name: description: Name of the sensor to use in the frontend. required: false default: Station name type: string {% endconfiguration %}