gridradar2influx is a tiny daemon written to fetch data from the gridradar.net-API and writes it to an InfluxDB instance.
- python3.6 or newer
- influxdb
- here we assume we install in
/opt
git clone <this_repo_url>
cd gridradar2influx
Copy the config from the example to config.ini
and edit
the settings.
Now you should be able to build and run the image with following commands
docker build -t gridradar2influx .
docker run -d -v /PATH/TO/config.ini:/app/config.ini --name gridradar2influx gridradar2influx
You can alternatively use the provided docker-compose.yml:
docker-compose up -d
If you're running the influxdb in a docker on the same host you need to add --link
to the run command.
- starting the influx container
docker run --name=influxdb -d -p 8086:8086 influxdb
- set influxdb host in
config.ini
toinfluxdb
- run docker container
docker run --link influxdb -d -v /PATH/TO/config.ini:/app/config.ini --name gridradar2influx gridradar2influx
Use grafana_dashboard_gridradar2influx.json
to import this dashboard.
check here to find a overview of more attributes which probaly could be added https://service.gridradar.net/index.php?menu=doc
You can check out the full license here
This project is licensed under the terms of the MIT license.