Air Quality Index from specific site in London
On your display
Scrolls through all valid measurements reported by specific site.
- Topic
- Smarthome
- Includes
- Script
Runs on
- Runs on 32×8 (TC001 & DIY)
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Is this your script?
If you created this script, 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.
Script description
You only need to set the Site Code (e.g. BT8) in the app settings. To find it: open the London Air index page, find the site on the map, click View monitoring data, and take the value of the site parameter from the resulting URL.
FYI: Script will then fetch the Air Quality data from this API endpoint:
http://api.erg.ic.ac.uk/AirQuality/Hourly/MonitoringIndex/SiteCode=<SITE_CODE>/Json
It uses http instead of https to save on resources.
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
Have an idea?
Sign in to ask questions and join the conversation.