jacdac.weight_scale.client
Module Contents
Classes
A weight measuring sensor. |
- class jacdac.weight_scale.client.WeightScaleClient(bus: jacdac.bus.Bus, role: str, *, missing_weight_value: Optional[float] = None)
Bases:
jacdac.bus.SensorClient
A weight measuring sensor. Implements a client for the Weight Scale service.
- property weight_error Optional[float]
(Optional) The estimate error on the reported reading., _: kg
- property zero_offset Optional[float]
(Optional) Calibrated zero offset error on the scale, i.e. the measured weight when nothing is on the scale. You do not need to subtract that from the reading, it has already been done., _: kg
- property weight_resolution Optional[float]
(Optional) Smallest, yet distinguishable change in reading., _: kg
- property variant Optional[jacdac.weight_scale.constants.WeightScaleVariant]
(Optional) The type of physical scale,