Get the status of or toggle the grid relay.
Enphase-API is an unofficial project providing an API wrapper and the documentation for Enphase®'s products and services.
More details on the project are available from the project’s homepage.
A HTTP GET to the /ivp/ensemble/relay endpoint provides the following response data.
As of recent Gateway software versions this request requires user authentication and authorisation, see Authentication.
| Name | Type | Values | Description |
|---|---|---|---|
|
String |
String |
The administrative state of the mains relay. |
|
String |
String |
The operational state of the mains relay. |
|
Number |
Number |
Distributed Energy Resource (DER) #1 state. |
|
Number |
Number |
Distributed Energy Resource (DER) #2 state. |
|
String |
String |
The status of the microinverter on the IQ Battery (formerly "Encharge Storage"). |
|
String |
String |
The status of the solar microinverter grid mode. |