elcombato / aranet2influx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aranet4 to InfluxDB

Prerequisites

.env file:

ARANET_ADDRESS=...
INFLUX_URL=...
INFLUX_ORG=...
INFLUX_BUCKET=...
INFLUX_TOKEN=...
LOGGING_FILE=...
READ_INTERVAL=...

Run

pipenv install
pipenv run python src/main.py

Bluetooth Connection

bluetoothctl
scan on
pair <aranet-mac-address>
scan off
source ./venv/bin/activate
aranetctl --scan
aranetctl <aranet-mac-address>

About


Languages

Language:Python 100.0%