driusan / aranet4linux

An Aranet4 Client for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aranet4Linux

Unofficial Linux client for the Aranet4 Wireless Air Quality Monitor.

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
Aranet4
CO2: 689
Temperature: 23.4C
Pressure: 1008hPa
Humidity: 44%
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.

About

An Aranet4 Client for Linux

License:MIT License


Languages

Language:C 98.8%Language:Nix 1.2%