Query Remaining Battery Capacity

Last Updated on : 2023-06-21 07:12:53download

Query the remaining battery capacity of a specified electrical device.

API address

GET: /v1.0/iot-03/power-devices/{device_id}/balance-charge

Request parameter

Parameter name Type IN Required Description
device_id String uri true The device ID.

Return parameter

Parameter name Type Description
result Double The remaining battery capacity. Unit: kWh.

Request example

GET: /v1.0/iot-03/power-devices/635413052cf43258****/balance-charge

Return example

{ "result": 32, "t": 1637807729081, "success": true }

Error code

For more information, see error code.