Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

FlowAWTRIX 3

Air Quality Index (AQI) in your city

On an AWTRIX display
Air Quality Index (AQI) in your city shown on an AWTRIX display
Air Quality Index (AQI) in your city · by Dmytro Sudakevych (megadimich)

Use with Home Assistant

Air Quality Index (AQI) in your city

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Social
Includes
Flow · 1 icon

Runs on

  • Does not run on 32×8 (TC001 & DIY) Made for AWTRIX 3.
  • Does not run on 52×16 (TC002) Made for AWTRIX 3.
  • Runs on 32×8 with AWTRIX 3 (TC001 & DIY)
Download flow

Follow the author’s setup instructions below.

Is this your flow?

If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.

Flow description

  1. You need to create a sensor in the configuration.yaml file or add a link to a file containing an AQI sensor and a sensor to change the color of the message text.
    In my case, I added the following lines to the configuration.yaml:

homeassistant:
packages: !include_dir_merge_named includes/packages

Place the api_waqi_info_sensors.yaml file in the packages folder.
At https://aqicn.org/data-platform/token/ you must create your token according to the instructions on that site.
Then you should enter this token in the file api_waqi_info_sensors.yaml in resource_template instead of YOURS_TOKEN and instead of A195973 enter your city, for example kyiv or better Air quality monitoring station: A + station code - mine is A195973.

  1. Create your automation. I added my automation to the automations.yaml file. In this file, set your AWTRIX MQTT prefix in topic: instead of awtrix_565c3c.

  2. Do not forget to download the icon mentioned in the project.

If you have any questions, please contact me on Discord at megadimich.

More flows for Home Assistant or Social

Something wrong with this flow? Report it.