GithubHelp home page GithubHelp logo

photovoltaic-monitoring-project-overview's Introduction

Photovoltaic Monitoring Project

Monitor 5 photovoltaic plants for issues and, in case, send alerts.

screenshot-grafana.png Excerpt of one Grafana dashboard with some reported metrics

screenshot-slack.png Excerpt of a Slack error notification with the rule which failed and details why it failed

Project parts

  • Datalogger for Kaco Inverter using ESP8266 and Softuart to talk to GSM modem (remote location)
  • Upgraded Datalogger to use Raspberry PIs to be able to remotely updated software and fix bugs
  • Webserver running InfluxDB and Grafana setup with Ansible
  • Using Ansible managed reverse NGINX and letsencrypt for SSL protected access to Grafana
  • Script on web server doing some tests every day and sending alerts in Telegram, Mail or Slack with overview of failed tests. Initially built with Kapacitor, but did not support calculation on separate series at the time. Furthermore Grafana did not support alerts at the time and later could not calculate the results, because InfluxDB's query language could not compare different series.

Biggest Learnings (2015 to 2019)

Effort building vs maintaining

The time it takes to build versus the time it takes to maintain is very important to keep in mind.

  • In the beginning at every device failure, had to drive half an hour to fix issues
  • It took a lot of effort to fix every bug until it is now running flawlessly since 3 years
  • Still, maintaining the web server, even mostly automated (upgrades, letsencrypt, etc) requires some work form time to time
  • Overall effort until now was maybe 10x what I initially anticipated

Bugs in interfaces

The SMA interface is quite complex: Several issues require workarounds as well as retries in case of sudden random failures.

Limitations of new "hip" software, e.g. InfluxDB

InfluxDB was released with a big splash and used by many companies already, when I started this project. It was the "cool" new IoT database on the height of the IoT hype back then. Unfortunately, many key features were still missing after several years (calculation between series). Learning: Be skeptical of new technology and check key requirements first

photovoltaic-monitoring-project-overview's People

Contributors

plieningerweb avatar

Watchers

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