jacdac.illuminance

Submodules

Package Contents

Classes

IlluminanceClient

Detects the amount of light falling onto a given surface area.

class jacdac.illuminance.IlluminanceClient(bus: jacdac.bus.Bus, role: str, *, missing_illuminance_value: float | None = None)

Bases: jacdac.bus.SensorClient

Detects the amount of light falling onto a given surface area.
  • Note that this is different from _luminance_, the amount of light that passes through, emits from, or reflects off an object.

Implements a client for the Illuminance service.

property illuminance: float | None

The amount of illuminance, as lumens per square metre., _: lux

property illuminance_error: float | None

(Optional) Error on the reported sensor value., _: lux