To detect problems like a broken light in a pool or unexpected lights in a server room, you can use luminance sampling. You [create a trigger](https://help.camio.com/hc/en-us/articles/9794061222292-Luminance-Sampling#h_01GEDMJZYDY640VRF8RN5AQ2DA), review [dashboards](https://help.camio.com/hc/en-us/articles/9794061222292-Luminance-Sampling#h_01GEDN264VYE6TEQJ510D5CJ6V), and use [search and alerts](https://help.camio.com/hc/en-us/articles/9794061222292-Luminance-Sampling#h_01GEDMKCAZXZCN9451HEB3SHSY) to review incidents.

# Creating a Trigger

The sampling is triggered anytime an Event matches the query you associate with the trigger. For example, to sample luminance of the pool every 5 minutes only between 12am and 3am, your Trigger query would be:

**pool every 5 minutes**

For example, this is the trigger to sample both luminance and occupancy every 1 minute in the Server Room:

# Luminance Dashboard

Review the trends over time with the dashboard:

[https://camio.com/dashboard?counter=analysis\_results\_luminance](/content/dashboard?counter=analysis_results_luminance/index.html)

# Search & Alerts

You can search by the luminance of the overall scene and by individual zone in searches like these:

- luminance under 30 in pool
- luminance over 40 in server room
- luminance less than 33

Any query you pin becomes an [alert](https://help.camio.com/hc/en-us/articles/206213746).
