Get Energy Consumption Trend of a Space
POST/ems/trend/space
Get the total energy consumption trend for all devices within a specified space by a given time dimension (1h/1d/month). The API returns the energy consumption value for each time interval.
tip
Only devices within the space that provide energy consumption data will be included. 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