Fritz InfluxDb is a tiny daemon written in python to fetch data from a fritz box router and writes it to Influxdb2.
- python3.11 or newer
- fritzconnection==1.11.0
- influxdb-client[ciso]==v1.36.0
git clone https://github.com/pbdger/fritzinfluxdb
cd fritzinfluxdb
pip3 install -r requirements.txt
Copy the config from the example to fritzinfluxdb.ini
and edit
the settings.
For security reasons you have to set the following secrets as environment variables.
FRITZBOX_PASSWORD=mysecretpassword
INFLUXDB_V2_TOKEN=mytoken
check here to find a overview of more attributes which probaly could be added https://wiki.fhem.de/w/index.php?title=FRITZBOX
./fritzinfluxdb.py
git clone <this_repo_url>
cd fritzinfluxdb
docker build -t fritzinfluxdb2 .
docker run -d -v /PATH/TO/fritzinfluxdb.ini:/app/fritzinfluxdb.ini --name fritzinfluxdb fritzinfluxdb
You find a default Grafana board in the subfolder grafana.
You find an image here: https://hub.docker.com/repository/docker/pbdger/keba-rest-api
You can check out the full license here
This project is licensed under the terms of the MIT license.