Skip to content

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

Sign in
Air Quality (CN) shown on an AWTRIX display
Air Quality (CN), as Golevka2001 runs it.

Air Quality (CN)

Current AQI for your city, with the colour and icon of its AQI band — green at 50 and below, shading to purple past 300.

AWTRIX NG Scripts AWTRIX NG
About this flow
Specifications
System AWTRIX NG Scripts
AWTRIX version AWTRIX NG
Topic Smarthome
Built by Golevka2001
File 7ruuDQPaRgdo.ax · 4.3 KB
Icons 7
Published 30 Aug 2026 · updated 2 Sep 2026
Downloads 48
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

Current AQI for your city, with the colour and icon of its AQI band — green at 50 and below, shading to purple past 300.

Press the select button for an instant refresh.

Setup: get a key at https://tianapi.com — register, activate the 空气质量指数 (air quality index) interface in your console, then copy your API key into settings. Enter the city name in Chinese (南京, 上海).

Heads-up: the Tianapi AQI interface covers mainland China only.

Setting Value
API Key Your tianapi.com API key
City Chinese city name, e.g. 南京, 上海 (default 北京)
Refresh Refresh interval in minutes (min 1)

The six band icons are fixed IDs (47651–47657), not configurable, and must be installed on your device.

Learn more at https://github.com/Golevka2001/awtrix-scripts.

Community

Discussion 0

Ask a question, suggest a change or share how you use it.

No comments yet. Start the conversation.

More flows for AWTRIX NG Scripts or Smarthome

Something wrong with this flow? Report it.