jacdac.temperature

Submodules

Package Contents

Classes

TemperatureClient

A thermometer measuring outside or inside environment.

class jacdac.temperature.TemperatureClient(bus: jacdac.bus.Bus, role: str, *, missing_temperature_value: Optional[float] = None)

Bases: jacdac.bus.SensorClient

A thermometer measuring outside or inside environment. Implements a client for the Temperature service.

property temperature Optional[float]

The temperature., _: °C

property min_temperature Optional[float]

Lowest temperature that can be reported., _: °C

property max_temperature Optional[float]

Highest temperature that can be reported., _: °C

property temperature_error Optional[float]

(Optional) The real temperature is between temperature - temperature_error and temperature + temperature_error., _: °C

property variant Optional[jacdac.temperature.constants.TemperatureVariant]

(Optional) Specifies the type of thermometer.,