Giter Club home page Giter Club logo

solarlog-csv's Introduction

solarlog-csv

A python package for creating csv-files from data generated by Solar-Log devices.

The csv-files generated are structured per inverter per year. A UNIX-timestamp collumn is added for ease of import in databases etc.

Requirements

Install

sudo pip3 install git+https://github.com/MikiDi/solarlog-csv.git

Usage

  1. Download all your min*.js-files from the Solar-Log ftp-server. The address of the Solar-Log server you are registered on is the same as the address you use to access the online dashboard.

     mkdir solarlog-download
     cd solarlog-download
     wget ftp://username:[email protected]/min*.js
    
  2. Run solarlog-csv

     solarlog-csv ./path/to/solarlog-download 'Europe/Brussels'
    

note: Because the timestamps provided by Solar-Log are local you should make sure to also provide your timezone for the conversion to UNIX-timestamp to work correctly (supported timezones in TZ collumn of Wikipedia table of timezones)

Example data

An example of a min.js file can be found here: min120515.js

Excerpt from a generated csv-file:

timestamp,localtime,Pac,Pdc,Eday,Udc
1357056000,01.01.13 17:00:00,0,0,929,307
1357055760,01.01.13 16:56:00,0,0,929,381
1357055400,01.01.13 16:50:00,0,0,929,403

Supported devices

Tested with Solar-Log 500

solarlog-csv's People

Contributors

mikidi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zapalotta

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.