home-assistant.io/source/_integrations/opensensemap.markdown
2024-11-27 18:57:16 +01:00

1.4 KiB

title description ha_category ha_release ha_iot_class ha_domain ha_platforms ha_integration_type related ha_quality_scale
openSenseMap Instructions on how to setup openSenseMap sensors in Home Assistant.
Health
0.85 Cloud Polling opensensemap
air_quality
integration
docs title
/docs/configuration/ Configuration file
legacy

The opensensemap air quality {% term integration %} will query the open data API of openSenseMap.org to monitor air quality sensor station.

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.

Manual configuration

To enable this {% term integration %}, add the following lines to your {% term "configuration.yaml" %} file. {% include integrations/restart_ha_after_config_inclusion.md %}

# 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 %}