Giter VIP home page Giter VIP logo

gridradar2influx's Introduction

gridradar2influx

gridradar2influx is a tiny daemon written to fetch data from the gridradar.net-API and writes it to an InfluxDB instance.

Requirements

  • python3.6 or newer
  • influxdb

Setup

  • here we assume we install in /opt

Run with Docker

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.

Example:

  • starting the influx container docker run --name=influxdb -d -p 8086:8086 influxdb
  • set influxdb host in config.ini to influxdb
  • run docker container docker run --link influxdb -d -v /PATH/TO/config.ini:/app/config.ini --name gridradar2influx gridradar2influx

Grafana

Use grafana_dashboard_gridradar2influx.json to import this dashboard.

Grafana Dashboard

Configure more attributes

check here to find a overview of more attributes which probaly could be added https://service.gridradar.net/index.php?menu=doc

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

gridradar2influx's People

Contributors

wuifi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.