Git Product home page Git Product logo

solarhome's Introduction

ReckSolarHome

This project uses simple python scripts to read the values from a solar inverter and battery system and feed the values into an Influx database. Current setup is tested to support:

Additionally a grafana configuration is included to depict the values. grafana kostal and varta

A cronjob can be used to retrieve the information from the monitored systems and pass it to the influxdb:

*/5    *  *  *  *   /usr/bin/python3 /root/bin/vartaElement2influxdb.py 2>&1 >> /var/log/varta2db.log
*/5    *  *  *  *   /usr/bin/python3 /root/bin/kostal2influxdb.py 2>&1 >> /var/log/kostal2db.log

I'm running this in a RaspberryPI locally.

I wrote these scripts, since I did not find equal functionality searching the internet. For the Kostal system there are many code fragments and code to read the modbus interface, but none complete using the UI API.

TODOs:

  • in grafana aggregate the values to a daily production and consumption graphs.
  • in the python scripts possibly compare the current values with the previously recorded measurements and thin the values written out to contain only the changed ones.
  • in the influxdb aggregate values after a year into daily and monthly values and delete the single ingestions to limit the storage consumption.

Please let me know if it was useful to you and if you see any further desirable improvements.

solarhome's People

Contributors

ch-reck avatar

Stargazers

 avatar  avatar  avatar  avatar  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.