Coder Social home page Coder Social logo

envoy-st's Introduction

Envoy-ST

This is a SmartThings device type handler (henceforth 'DTH') for the Enphase Envoy solar monitoring device. This repository also contains a similar DTH that I adapted for SolarEdge PV Monitoring Portal inverters (please note that my testing for that driver is extremely limited as I don't have such a system - this thread in the ST community forums is probably the best place to talk about the SolarEdge DTH).

Requirements

This DTH directly accesses the Envoy via its local LAN address to query for the latest data (please note that I have not tested this with an Envoy-S so I don't know whether it works for those devices or not). The DTH supports both Envoy software release 3.9 or later (which supports retrieving JSON data for the production at http://IP/api/v1/production) as well as older firmware lacking the JSON API. The DTH will automatically detect whether the JSON API is available and otherwise fall back to parsing the Envoy's HTML output (please note that the data resolution for the HTML pages is slightly less accurate and that you will only start to get data after the second refresh for those devices).

Device View in the SmartThings Mobile Application

The DTH shows the latest data from the device (current power, change since last reading, peak reading for the day) in the top tile as well as a chart for the data of the last two days (power in blue with units on the left axis, energy in red with units on the right axis; yesterday's data is using fainter colors). Data is only available from the first installation of the DTH so yesteday's data will not be available until the second day using it.

Note: The graph display uses a currently undocumented feature in the SmartThings mobile application which most likely will change in the future. I will try my best to keep the graph available but can't make any promises as server-side changes are beyond my control.

The following screen shots are from the Envoy DTH using SmartThings app version 2.1.3 on iOS on iPhone 6. The SolarEdge version looks very similar but the data tiles show different time periods (today/yesterday/last month/last year/lifetime):

The tiles below the chart show the total energy production for today, yesterday, the last 7 days, and system lifetime in the middle column and the efficiency for the same time spans in the right column. Efficiency is calculated by dividing the total energy output (kWh) by the system size (kW). The efficiency measure allows the outputs of system with different sizes to be compared. The value corresponds to number of hours of full production of the system - expected values depend on location and array orientation.

Installation

Please see this FAQ in the SmartThings Community for instructions on how to install the device handler to your ST account.

envoy-st's People

Contributors

ahndee avatar

Stargazers

 avatar

Watchers

James Cloos 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.