An Aranet4 Client for Linux
| configure | ||
| default.nix | ||
| LICENSE | ||
| main.c | ||
| README.md | ||
Aranet4Linux
Unofficial Linux client for the Aranet4 Wireless Air Quality Monitor.
Fork
Forked by TudbuT, with the following additions:
- Nicer output
- Fixing of the nix file
Building
./configure
make
or for NixOS users:
nix-build
Usage
Your device must be already paired to your computer via an external bluetooth manager.
Assuming your Aranet4 is paired, the program will connect to the Aranet4 device with the bluetooth
address from the ARANET4_ADDRESS environment variable, read the current values from
the sensor, and print the values to stdout. ie.
$ export ARANET4_ADDRESS="XX:XX:XX:XX:XX:XX"
$ aranet4
Device: Aranet4 3149F
CO2: 3149
Temperature: 21.4C
Pressure: 1010hPa
Humidity: 52%
Battery: 98%
(It's recommended to set ARANET4_ADDRESS in your profile)
TODO: Add support for historical data on device
Thanks
Thanks to Aranet4-Python for documenting the GATT Characteristics and output formats.