For the complete documentation index, see llms.txt. This page is also available as Markdown.

/gateways/{eui64}/streamer/capacity-peaks/configuration

Sets the capacity peak threshold in the cp_mgmt shadow for a specific device. Edge events must be enabled for the device's label partner before the shadow can be updated. When threshold_value is provided with enabled=true, it is converted from watts to watt-hours and written to the shadow alongside enabled. When threshold_value is omitted with enabled=true, only the enabled flag is updated — this is permitted only if the device's cp_mgmt shadow already has a threshold configured; otherwise threshold_value is required.

put
Authorizations
x-api-keystringRequired
Path parameters
eui64stringRequired

The EUI64 of the device in hexadecimal format.

Example: 000d6f000011bcb3
Body

Contains the capacity peak threshold configuration. enabled is required. threshold_value is required when enabling for the first time; omit it to reuse the previously configured value.

enabledbooleanRequired

Indicates whether capacity peak alerts are active.

threshold_valueinteger · min: 1Optional

The capacity peak threshold in Watts. Required when enabling for the first time. If omitted on subsequent enabled=true requests, the previously set value is reused. Ignored when enabled=false.

Responses
200

Successful operation

application/json
messagestringRequired

The success message returned.

put/gateways/{eui64}/streamer/capacity-peaks/configuration
PUT /v2/gateways/{eui64}/streamer/capacity-peaks/configuration HTTP/1.1
Host: device-management.n2g-dev.net
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 36

{
  "enabled": true,
  "threshold_value": 1
}
{
  "message": "text"
}

Last updated

Was this helpful?