openSenseMap


The opensensemap air quality integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] 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 integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more], add the following lines to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file. After changing the configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file, restart Home Assistant to apply the changes. To view the changes, go to Settings > Devices & services > Entities.

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

Configuration Variables

station_id string Required

The ID of the station to monitor.

name string (Optional, default: Station name)

Name of the sensor to use in the frontend.