Coder Social home page Coder Social logo

romaindudek / pipowermeter Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 147 KB

Measure and monitor DC power out (of a solar panel or a wind turbinefor example) using a raspberry pi.

License: GNU General Public License v2.0

Python 100.00%
raspberry-pi csv-files solar-energy wind-turbine python3

pipowermeter's Introduction

Logo

Measure DC power out of a solar panel or a wind turbine with any model of raspberry pi using a DFrobot SEN0291 I2C wattmeter module to evaluate power efficiency. Produces CSV files to be able to make statistics over a long period of time.

Features

  • Continuously measure power
  • Set the periodicity of the measurement (in seconds)
  • Generate .csv files
    • Append one line for every measure
    • date/time (yyyymmddhhmmss) | Device name | Device location | date/time (Human readable) | value (w) | consommation (since last measure, Wh) [ optional weather infos via openweathermap ]
  • OpenWeathermap infos (you need an internet connection and an openweathermap api key)
    • Temperature (°C) | Wind speed (Km/h) | Cloudiness (%)

Don't forget to use a resistor to dissipate the power !

Usage

git clone https://github.com/romaindudek/pipowermeter.git

The installer is setting up a service that will continuously take the measure. If for any reason the pi is shut down or the service is stopped, this service will automatically restart, preventing the measurement to stop.

The csv files will be stored in the data directory inside the current directory. They are named using the patern : [Project name].csv

Stopping the measure will not erase those files.

App installation and instructions via :

./setup.py

pipowermeter's People

Contributors

klaxurit avatar romaindudek avatar

Stargazers

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