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

Uses Enphase Enlighten API to help decision around battery storage.

License

Notifications You must be signed in to change notification settings

peterhorsley/battery-decider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

battery-decider

Uses Enphase Enlighten API to help decision around battery storage.

NOTE: This repo is now deprecated, in favor of a c# console application as Enphase API settings have changed. Updated repo that provides the same functionality is here: https://github.com/peterhorsley/batterydecider

How to use

Load decider.html in chrome, enter your Enlight API key, user id and system id, choose a date range and press Decide.

This app will will make 2 API calls, one to get production data and one to get consumption data intervals for the date range, then will do some simple logic to calculate the following:

  • average daily production
  • average daily consumption
  • average daily net energy
  • average daily energy exported to grid
  • average daily energy imported from grid

The last two are the most useful in deciding on a battery size, based on the assumption that if (exported energy > size of battery < imported energy) holds true, then a battery makes sense, since the system will be able to charge it full and discharge it on average every day.

About

Uses Enphase Enlighten API to help decision around battery storage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published