Air Quality Index (AQI) in your city
Use with Home Assistant
Air Quality Index (AQI) in your city
- 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)
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
- 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.
-
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.
-
Do not forget to download the icon mentioned in the project.
If you have any questions, please contact me on Discord at megadimich.
Sign in to view and copy the code of this flow.
These icons are attached to the flow. Send them to your AWTRIX separately; they are not included in the script installation.
8×8 px
Sign in to download these icons or send them to your AWTRIX.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More flows for Home Assistant or Social
Something wrong with this flow? Report it.
Have an idea?
Sign in to ask questions and join the conversation.