Ultraviolet light is outputted in a space by one or more ultraviolet light sources. The presence of one or more people in the space is detected by one or more sensors. An ultraviolet light level delivered in the space while the space is occupied with one or more people is calculated based on a first output of the one or more ultraviolet light sources and a second output of the one or more sensors.