Code Monkey home page Code Monkey logo

sunnyboy-capture's Introduction

sunnyboy-capture

Capture data from a Sunny Boy inverter

  • Installation notes (ubuntu 16.04):

    • Node stuff
      1. % sudo apt install nodejs
      2. % sudo apt install npm
    • Dependencies
      • (local)
        1. % npm install request
        2. % npm install request-promise
      • (global)
        1. % npm install -g request
        2. % npm install -g request-promise
        3. % npm link request
        4. % npm link request-promise
  • Usage example:

    • % nodejs main.js 9/1/2017

The output is a few inverter parameters - firmware version, serial number, ip address - and then the data for the requested date, from 4AM to 10PM.

sunnyboy-capture's People

Contributors

aaronferrucci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kevin-smets

sunnyboy-capture's Issues

Command-line switches for IP address, password

Right now the inverter ip address and password are built into the code. It would be more civilized to provide the ip address, at least, on the command line, perhaps falling back on the built-in default. The password requires more thought - if it's provided on the command line, it can show up in command-line history and process viewers, etc.

Different firmware different keys?

Hi Aaron,

Thanks for this project. I'm wondering if it's still working for you, or if there have been universal updates to the keys for all inverters via firmware.

For example, in your code the key for IP address is 6180_104A9A00 but on my recently installed inverter the IP address key is 6180_104AB700

Is it worth a pull request to update these keys, or is it potentially a case of 'different model, different keys'?

Al

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.