2 unstable releases
0.2.0 | Jan 10, 2024 |
---|---|
0.1.0 | Jan 10, 2024 |
#923 in Hardware support
13KB
219 lines
aranet-rs
Read current measurements from an Aranet4 device in Rust.
Usage
let device = aranet::connect().await?;
let measurements = device.measurements().await?;
dbg!(measurements);
// [src/main.rs:6] measurements = SensorData {
// со2: 962,
// battery: 76,
// humidity: 49,
// status: GREEN,
// pressure: 1017,
// interval: 300s,
// temperature: 25.75,
// since_last_update: 127s,
// }
Refer to the documentation on docs.rs for detailed usage instructions.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Dependencies
~5–34MB
~518K SLoC