mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-13 12:26:50 +00:00
Add openSenseMap docs
This commit is contained in:
parent
807a15e8bd
commit
1afe322e6a
44
source/_components/air_pollutants.opensensemap.markdown
Normal file
44
source/_components/air_pollutants.opensensemap.markdown
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "OpenSenseMap"
|
||||||
|
description: "Instructions on how to setup openSenseMap sensors in Home Assistant."
|
||||||
|
date: 2018-12-15 00:00
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: opensensemap.png
|
||||||
|
ha_category: Health
|
||||||
|
ha_release: 0.85
|
||||||
|
ha_iot_class: "Cloud Polling"
|
||||||
|
---
|
||||||
|
|
||||||
|
The `opensensemap` air pollutants platform will query the open data API of [openSenseMap.org](https://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](https://opensensemap.org/) 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](https://opensensemap.org/explore/5b450e565dc1ec001bf7cd1d).
|
||||||
|
|
||||||
|
## {% linkable_title Manual Configuration %}
|
||||||
|
|
||||||
|
To enable this platform, add the following lines to your `configuration.yaml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry
|
||||||
|
air_pollutants:
|
||||||
|
- 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 %}
|
||||||
|
|
BIN
source/images/supported_brands/opensensemap.png
Normal file
BIN
source/images/supported_brands/opensensemap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Loading…
x
Reference in New Issue
Block a user