Giter Site home page Giter Site logo

beewatcher / solarlog Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.38 MB

Raspberry used to connect to thermosolar control to pull, process and publish logfiles

License: GNU General Public License v3.0

Python 79.82% Shell 20.18%
broetje gsr logfiles matplotlib-pyplot usb-connector solar

solarlog's Introduction

solarlog

tl;dr: Raspberry used to connect to thermosolar control station to pull, process and publish logfiles.

Storyline

The basic motivation for this project was to develop a workaround for manual downloading log files from our solar control station. Earlier it was always necessary to download the files standing beside the wall mounted control station & handling USB cables and laptop somehow without any table or workspace. This manual downloading was followed by showing the log files as nice graphs in a self developed VB application, taking screen dumps to show the graph to our craftsman. All this took time and didn't lead to continuity.

So, I developed the idea to connect a small computer (Raspberry, Arduino, whatever) to the solar control station and download the files every night.

It didn't take long to understand that this wouldn't work, as the solar control station always stops operation when a USB cable & computer is connected. So the challenge was, to kind of simulate plugging in and out the USB cable in the middle of the night. Whilst friend of mine proposed to build a little mechanism, that is physically doing this job, I decided to try interrupting the USB cable with a GPIO relay board.

A nice mock up of Raspberry and relay board proved feasibility of the approach. Shell script was written quickly to pull the log file of $yesterday after closing the connection and mounting the SD-card in the solar control station.

To get rid of the manual work of showing and screendumping the logs in the VB application, I made use of Python & Matplotlib to create a nice and shiny picture of the $yesterdays parameter. Finally everything is publish in my web space and copied to the NAS to get some kind of backup.

Feel free to improve the idea or make use of it.

Regards, Matthias

Working Environment

  • Broetje Solarregler GSR 2014 Firmware 2.27
  • Raspberry 3B+
  • GPIO Relais Board

solarlog's People

Contributors

beewatcher avatar

Stargazers

 avatar

Watchers

 avatar

solarlog's Issues

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.