Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Enphase Energy Binding

Thomas Eichstädt-Engelen edited this page May 26, 2015 · 2 revisions

Introduction

This is the documentation for the Enphase Energy Binding.

Configuration

  • This binding is for people with Enphase Energy microinverters used in their solar installation, which means every solar panel has it's own inverter and can be monitored individually. Your installer should have provided your with an Enlight Manager Account. Test that this account is working first and visit https://enlighten.enphaseenergy.com/support to find out your Site ID (also called System ID). This is typically a small integer number, like 12345. It points to a specific installation location, you could potentially have more than one, if you have several homes.

  • Create a developer account. The free "WATT" plan is fine, as it allows 10 hits per minute and up to 10,000 per month. It doesn't make sense to poll the system more often that every 15 minutes, because the data is not updated more frequently anyway. The "WATT" plan requires Enphase attribution, which you could do within openHAB.

  • Create an application on the developer website.

  • Open the "Authorization URL" from the application in a web browser to receive a user id. The "user id" can always be seen under the account on the enphase energy website

  • Copy the API Key for the Applicaion and the user id from the Authorization URL into openhab.cfg

enphaseenergy:key=ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEF
enphaseenergy:user_id=ABCDEFGHIJKLMNOPQR
# enphaseenergy:refresh=900000

Configure items and rules

Example items:

DateTime Enphase_last_report_at "Solar Last Report at [%1$tD %tr]" (Solar) { enphaseenergy="12345#last_report_at"}
Number Enphase_Current_Power "Solar Latest Power [%.0f W]" (Solar) { enphaseenergy="12345#current_power"}
Number Enphase_Energy_Today "Solar Energy Today [%.2f kWh]" (Solar) { enphaseenergy="12345#energy_today"}
Number Enphase_Energy_Lifetime "Solar Energy Lifetime [%.1f MWh]" (Solar) { enphaseenergy="12345#energy_lifetime"}
String Enphase_Status "Solar Status [%s]" (Solar) { enphaseenergy="12345#status"} 
Number Enphase_Modules "Solar Number of Modules [%d]" (Solar) { enphaseenergy="12345#modules"}
Number Enphase_size_w "Solar System Size [%d W]" (Solar) { enphaseenergy="12345#size_w"}
String Enphase_source "Solar Data Source [%s]" (Solar) { enphaseenergy="12345#source"}
DateTime Enphase_summary_date "Solar Summary Date [%1$tD]" (Solar) { enphaseenergy="12345#summary_date"}
DateTime Enphase_operational_at "Solar Operational at [%1$tD]" (Solar) { enphaseenergy="12345#operational_at"}

Installation


User Interfaces


Community

(link to openHAB forum)

Development



Misc


Samples

A good source of inspiration and tips from users gathered over the years. Be aware that things may have changed since they were written and some examples might not work correctly.

Please update the wiki if you do come across any out of date information.

Use case examples

Collections of Rules on a single page

Single Rules

Scripts


Release Notes

Clone this wiki locally