Giter Club home page Giter Club logo

go-envoy's Introduction

go-envoy

Pull data from an Enphase IQ Envoy or IQ Combiner

This uses the local API, not the Cloud API, so you can poll as frequently as you like

Only basic features will be supported

  • reading inventory
  • reading current consumption/production/storage data

Usage

First argument is the command you want to run, second argument is the IP address or hostname of your IQ. If no IP/hostname is passed in the application will attempt to find the IQ on your network.

% envoy <command> <envoy IP/hostname>

Examples

  • see current production / max, consumption, net statistics
  • max is calculated based on the sum of the highest production each panel has produced since last IQ reboot
% envoy now
Production: 6698.88W / 8808W	Consumption: 722.03W	Net: -5976.85W

Or pass in the IP of your IQ

% envoy now 192.168.0.123
Production: 6698.88W / 8808W    Consumption: 722.03W    Net: -5976.85W
  • see today's totals
% envoy today
Production: 13.55kWh	Consumption: 8.58kWh	Net: 0.00kWh
  • see envoy info
% envoy info
Serial Number:  xxx
Part Number:  800-00555-r03
Software Version:  R4.10.35

Building

  • Requires go1.15 or newer.
% go build -o envoy cmd/envoy/main.go

TO DO

This does what I need, if there are features you'd like, please let me know

go-envoy's People

Contributors

cloudkucooland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kylecannon tbenz9

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.