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: float | None = 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: float | None

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

property uv_index_error: float | None

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

property variant: jacdac.uv_index.constants.UvIndexVariant | None

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