Enphase-API icon indicating copy to clipboard operation
Enphase-API copied to clipboard

Looking for an battery energy endpoint

Open Hoffmann77 opened this issue 2 years ago • 2 comments

Hey Matthew1471, I really appreciate your effort maintaining a documentation for the API.

Are you by any chance aware of an endpoint that provides data for the total energy charged/discharged by Encharge batteries? I'm only aware of the endpoints providing the instantaneous power of the batteries. Would be really nice to add that data to the home-assistant Enphase integrations.

Best regards

Hoffmann77 avatar Nov 02 '23 10:11 Hoffmann77

Please check:

https://192.168.x.x/ivp/ensemble/power https://envoy.local/ivp/ensemble/power

These endpoint shows the state of each battery: current State of Charge and charge/discharge rates.

I don't see these endpoints in this API documentation.

TobiasNeuschulz avatar Apr 22 '25 08:04 TobiasNeuschulz

/ivp/ensemble/power:

{
	"devices:": [
		{
			"serial_num": "xxx",
			"real_power_mw": 0,
			"apparent_power_mva": 0,
			"soc": 100
		},
...

This is instantaneous though. Could take SoC at different times and calculate the energy.

NathanSweet avatar Jul 23 '25 21:07 NathanSweet