jacdac.uv_index

Submodules

Package Contents

Classes

UvIndexClient

The UV Index is a measure of the intensity of ultraviolet (UV) rays from the Sun.

class jacdac.uv_index.UvIndexClient(bus: jacdac.bus.Bus, role: str, *, missing_uv_index_value: Optional[float] = None)

Bases: jacdac.bus.SensorClient

The UV Index is a measure of the intensity of ultraviolet (UV) rays from the Sun. Implements a client for the UV index service.

property uv_index Optional[float]

Ultraviolet index, typically refreshed every second., _: uv

property uv_index_error Optional[float]

(Optional) Error on the UV measure., _: uv

property variant Optional[jacdac.uv_index.constants.UvIndexVariant]

(Optional) The type of physical sensor and capabilities.,