# Air quality and UV index

> An air quality and UV index screen is digital signage that shows today's UV level and outdoor air quality, live from a weather or air quality service, where people head outside.

An air quality and UV index screen is a digital signage screen by a door to a courtyard, a pool or a sports field that shows the current UV index, how long it stays high, and the outdoor air quality. People decide on sunscreen, a hat or a run outdoors at the door, not after checking an app.

Page: https://www.screenly.io/use-cases/air-quality-and-uv-index/
Updated: 2026-11-26

What the screen shows: Courtyard screen: UV index 7, high until 4:00 PM; air quality 42, good; sunscreen advised outdoors

Industries: Education, Offices, Hospitality

## At a glance

- Audience: Students, staff and guests heading outdoors
- Data: A weather or air quality service's API
- Owner: Facilities
- Places: Doors to courtyards, pools and sports fields, building exits

## What is on the screen

- The UV index now, large, with how long it stays at that level.
- Outdoor air quality, as a number and a word such as good or moderate.
- One line on what to do, such as sunscreen advised.

## How to do it in Screenly

UV and air quality change through the day, so the screen needs a live source and a way to go quiet when that source stops.

### An app: the best fit

For UV and air quality from a weather or air quality service. Build your own app, or pick one from the app store if one shows both. An app decides what to do when the service is unreachable, such as hiding the numbers rather than showing this morning's UV at 3:00 PM.

### A web page: a good fit

For a public air quality page, or your own weather station's page, that reads well at a distance. It refreshes on its own. If the page cannot load, the screen skips it until it can.

### An image: not a fit

A UV reading on an image is wrong within the hour.

### A video: not a fit

Nothing about today's conditions can be made in advance.


## Keeping it right

### Each site its own readings

Screens are grouped by site, and each shows the conditions where it is.

### Only when it matters

A schedule keeps the screen in the loop during daylight hours, or only in summer, and leaves it out at night.

### An old number goes away

When the service stops answering, the app stops showing a reading rather than a stale one.


## Security

The weather or air quality service's API key is stored as a secret, encrypted for each screen, and never appears in the page source.

## Sources

- [Apps](https://www.screenly.io/docs/content/types/apps/): what an app does when its source is unreachable
- [Web pages](https://www.screenly.io/docs/content/web-pages/): how pages are shown, refreshed and signed in to
- [Writing a schedule rule](https://www.screenly.io/docs/scheduling/rules/writing-a-rule/): showing it by season or hour

## Related use cases

- [Local weather](https://www.screenly.io/use-cases/local-weather/): Current conditions and forecast for the site.
- [UV and air quality for outdoor play](https://www.screenly.io/use-cases/uv-and-air-quality-for-outdoor-play/): Whether break and sport can stay outside today.
- [UV index for pool guests](https://www.screenly.io/use-cases/uv-index-for-pool-guests/): UV and air quality by the pool and terrace.

