33 lines
816 B
Markdown
33 lines
816 B
Markdown
# airthings-influxdb
|
|
This tool is using the library provided by kotlarz at https://github.com/kotlarz/airthings. Thanks for the project!
|
|
|
|
## Install
|
|
```x-sh
|
|
git clone https://git.ponz.io/elia/airthings-influxdb.git && cd airthings-influxdb
|
|
virtualenv venv -p python3
|
|
source venv/bin/activate
|
|
pip install -r requirements.txt
|
|
deactivate
|
|
|
|
# configure your config.ini
|
|
cp config.ini.example config.ini
|
|
|
|
```
|
|
## Usage
|
|
```
|
|
source venv/bin/activate
|
|
|
|
./airthings-influxdb.py
|
|
Usage: airthings-influxdb.py [OPTIONS] COMMAND [ARGS]...
|
|
|
|
Options:
|
|
--debug / --no-debug
|
|
-c, --config TEXT give config file
|
|
--help Show this message and exit.
|
|
|
|
Commands:
|
|
identify Lists available sensors nearby
|
|
start Start collecting data from your airthings sensors
|
|
verify Verify your Influxdb configuration
|
|
```
|