Get Energy Consumption of a Device
POST/ems/total/device
Query the total energy consumption (kWh) of the specified device within the given time interval.
tip
Only devices that provide energy consumption data can be queried. For details, refer to the Aqara Studio documentation on Energy Management.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
Request succeeded.
Request parameter error
Unauthorized or authentication expired
No permission to access
Resource not found
Request frequency too high
Internal server error
Service unavailable; usually indicates the current environment is Edge, or the Cloud service 'cloudlinkcloud' is not loaded