Get live data MQTT streaming status.
This retrieves the information and status of the live status functionality. The MQTT client and meter states and the counters supporting it.
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/livedata/status 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 |
|---|---|---|---|
|
Object |
|
Details about the live data connection. |
|
Object |
|
Details about the meters. |
|
Object |
|
Details about the tasks. |
|
Object |
|
Details about a series of counters. |
| Name | Type | Values | Description |
|---|---|---|---|
|
String |
String |
The MQTT broker state. |
|
String |
String |
The provisioning state. |
|
String |
String |
The authentication state. |
|
String |
String |
Whether live data is being written to the MQTT stream currently. |
|
String |
String |
Whether data is being written to the debug stream. |
| Name | Type | Values | Description |
|---|---|---|---|
|
Number |
Number |
An epoch timestamp of when data was last collected from the meters. |
|
Number |
Number |
The State of Charge of any storage. |
|
Number |
Number |
The state of the main relay. |
|
Number |
Number |
The generator relay state. |
|
Number |
Number |
The backup battery mode. |
|
Number |
Number |
The State of Charge of the backup battery. |
|
Object |
|
The photovoltaic (PV) meter result. |
|
Object |
|
The battery storage meter result. |
|
Object |
|
The grid meter result. |
|
Object |
|
The load meter result. |
|
Object |
|
The generator meter result. |
| Name | Type | Values | Description |
|---|---|---|---|
|
Number |
Number |
Aggregate Power in milliwatts (mW) |
|
Number |
Number |
Aggregate apparent power in milli volt-amperes (mVA). |
| Name | Type | Values | Description |
|---|---|---|---|
|
Number |
Number |
The ID number of the most recent task processed. |
|
Number |
Number |
The unix epoch timestamp of the last task processed. |
| Name | Type | Values | Description |
|---|---|---|---|
|
Number |
Number |
The number of times the configuration has been loaded. |
|
Number |
Number |
The number of times the configuration has been changed. |
|
Number |
Number |
The number of times a task has updated. |
|
Number |
Number |
The number of times the MQTT client has published a message. |
|
Number |
Number |
The number of times the MQTT client has published a debug message. |
|
Number |
Number |
The number of times the MQTT client has responded to a request. |
|
Number |
Number |
The number of messages that have been delievered to the MQTT client. |
|
Number |
Number |
The number of times an instance of the MQTT client has been created. |
|
Number |
Number |
The number of times the callback has been set on the MQTT to process messages. |
|
Number |
Number |
The number of times a connection has been made with the MQTT client to the broker. |
|
Number |
Number |
The number of times the MQTT client has failed to connect. |
|
Number |
Number |
Appears to be a duplicate of |
|
Number |
Number |
The number of times the MQTT client has subscribed to a topic. |
|
Number |
Number |
The number of Secure Socket Layer (SSL) or Transport Layer Security (TLS) keys that have been created. |
|
Number |
Number |
The number of times the hardware description language (HDL) has been published? |
|
Number |
Number |
The number of times the send stream functionality has been controlled. |
|
Number |
Number |
The number of API REST calls the Gateway has handled. |
{"connection": {"mqtt_state": "connected", "prov_state": "configured", "auth_state": "ok", "sc_stream": "enabled", "sc_debug": "disabled"}, "meters": {"last_update": 1686081089, "soc": 0, "main_relay_state": 1, "gen_relay_state": 5, "backup_bat_mode": 1, "backup_soc": 0, "pv": {"agg_p_mw": 29212, "agg_s_mva": 248309}, "storage": {"agg_p_mw": 0, "agg_s_mva": 0}, "grid": {"agg_p_mw": 340582, "agg_s_mva": 934790}, "load": {"agg_p_mw": 369794, "agg_s_mva": 1183099}, "generator": {"agg_p_mw": 0, "agg_s_mva": 0}}, "tasks": {"task_id": 1813978567, "timestamp": 1685743309}, "counters": {"main_CfgLoad": 1, "main_CfgChanged": 1, "main_taskUpdate": 9, "MqttClient_publish": 280675, "MqttClient_live_debug": 653, "MqttClient_respond": 805, "MqttClient_msgarrvd": 822, "MqttClient_create": 117899, "MqttClient_setCallbacks": 117899, "MqttClient_connect": 117899, "MqttClient_connect_err": 115608, "MqttClient_connect_Err": 115608, "MqttClient_subscribe": 2291, "SSL_Keys_Create": 117899, "sc_hdlDataPub": 282509, "sc_SendStreamCtrl": 1050, "rest_Status": 71872}}