A library for connecting to Xiaomi Mijia 2 Bluetooth temperature/humidity sensors.
Currently only supports running on Linux, as it depends on BlueZ for Bluetooth.
Start by creating a
Configuration which determines when the sensor displays a happy face.
A historical temperature/humidity record stored by a sensor.
A wrapper around a Bluetooth session which adds some methods for dealing with Mijia sensors. This is the main entry point to the library.
A set of readings from a Mijia sensor.
The MAC address and opaque connection ID of a Mijia sensor which was discovered.
A duration which may be negative.
An error decoding a property from a sensor.
An error encoding a property to be sent to a sensor.
An error interacting with a Mijia sensor.
An event from a Mijia sensor.
The temperature unit which a Mijia sensor uses for its display.