svijee / kostal-dataexporter

Python Script which exports Kostal Inverter Data into a PostgreSQL and Influx Database
MIT License
8 stars 6 forks source link

Kostal Piko Dataexporter

This Python scripts grabs content of the REST API of a Kostal PIKO 7.0 and exports the data either to PostgreSQL Database, InfluxDB v1 or InfluxDB v2).

Setup

There's also a Docker Image available on GitLab's project Container Registry.

Grafana

By logging the data with this script it's easily possible to create a nice Grafana Dashboard to display some of the interesting data:

My dashboard on a sunny day in Germany

You can import the dashboard-postgresql.json for PostgreSQL, dashboard-influx.json for influxdb v1 or dashboard-influxdb2.json to use it in your Grafana instance.

Note

This is just a quick-and-dirty script to grab to content of the REST-API of my Kostal Piko 7.0 Inverter. This might be usable on other Inverters aswell.