The luftdaten integration will query the open data API of to monitor air quality and other weather data from a specific (self build) sensor station.


  • To get the ID of a particle sensor you need to select it on the Feinstaub map and find it in the sidebar (Column “Sensor ID”).
  • To get the ID of a temperature/humidity sensor you need to find it on the map hosted on Madavi.


Adding Luftdaten to your Home Assistant instance can be done via the user interface, by taking the following steps:

  • Browse to your Home Assistant instance.

  • In the sidebar click on Configuration.

  • From the configuration menu select: Integrations.

  • In the bottom right, click on the Add Integration button.

  • From the list, search and select “Luftdaten”.

  • Follow the instruction on screen to complete the set up.

After completing, the Luftdaten integration will be immediately available for use.

Manual Configuration

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

# Example configuration.yaml entry

Configuration Variables

sensor_id string Required

The ID of the sensor.

show_on_map boolean (Optional, default: false)

Option to show the position of the sensor on the map.

scan_interval integer (Optional, default: 1800)

the frequency (in seconds) between data updates.

sensors map (Optional)

The sensor-related configuration options.

monitored_conditions list Required

A list of conditions you want to monitor.


Show the particle sensors (particles 10 microns and below).


Show the particle sensors (particles 2.5 microns and below).


Display the temperature from the sensor.


Display the humidity from the sensor.


Display the pressure from the sensor.

If you set show_on_map to true then the location attributes are named latitude and longitude. The default name of the location attributes is lat and long to avoid showing them on the map.

Not all sensors provide all conditions. Also, it’s possible that the sensor values are not available all the time. To check what a sensor is publishing use curl:


Full example

This example would use the sensor with the ID 155, show it on the map and would monitor temperature and humidity.

# Example configuration.yaml entry
  sensor_id: 155
  show_on_map: true
      - temperature
      - humidity


The luftdaten sensor platform will query the open data API of to monitor air quality and other weather data from a specific (self build) sensor station.

You must have the luftdaten integration (from above) configured to use this platform. After configuring that component, sensors will automatically appear.