/labelpartners/{labelpartner}/streamer/continuous-lr/configuration
Sets the configuration of continuous reporting of low-resolution measurements for all devices registered to a specific label partner. The configuration includes the following parameters:
is_csd_enabled: A boolean flag indicating whether Continuous Low Resolution Energy Reporting is enabled for CSD.is_csr_enabled: A boolean flag indicating whether Continuous Low Resolution Energy Reporting is enabled for CSR.is_gas_enabled: A boolean flag indicating whether Continuous Low Resolution Energy Reporting is enabled for GAS.is_tier_enabled: A boolean flag indicating whether the tier-based energy import/export metrics (OBIS1-0:1.8.1,1-0:1.8.2,1-0:2.8.1,1-0:2.8.2) are reported. All 4 tier metrics are reported together; they cannot be enabled individually.reporting_interval: The reporting interval which indicates how often metrics will be reported.
The label partner short name
defaultConfiguration for Continuous Low Resolution Energy Reporting
A boolean flag indicating whether Continuous Low Resolution Energy Reporting is enabled for CSD. If true, CSD measurements will be included in the Continuous Low Resolution Energy Stream. If false, CSD measurements will not be included in the stream. If empty, the configuration will not be updated.
A boolean flag indicating whether Continuous Low Resolution Energy Reporting is enabled for CSR. If true, CSR measurements will be included in the Continuous Low Resolution Energy Stream. If false, CSR measurements will not be included in the stream. If empty, the configuration will not be updated.
A boolean flag indicating whether Continuous Low Resolution Energy Reporting is enabled for GAS. If true, GAS measurements will be included in the Continuous Low Resolution Energy Stream. If false, GAS measurements will not be included in the stream. If empty, the configuration will not be updated.
A boolean flag indicating whether the tier-based energy import/export metrics (Active energy import Tier 1/2, Active energy export Tier 1/2) are enabled for Continuous Low Resolution Energy Reporting. If true, all 4 tier metrics will be included in the Continuous Low Resolution Energy Stream. Tier metrics cannot be enabled individually. If false, no tier metrics will be included in the stream.
The reporting interval which indicates how often metrics will be reported.
Successful operation
The success message returned.
Invalid request:
- Request body is required but was not provided.
- Schema validation failed due to error: Missing required key: '{key}'
- Schema validation failed due to error: Invalid key: '{key}'
- Schema validation failed due to error: Invalid type for key: '{key}'
- Schema validation failed due to error: Invalid value for key: '{key}'
- The streamer continuous lr report mode is disabled for the label partner '{key}'
Not found:
- The thing group '{labelpartner}' was not found in the registry.
- The thing group '{labelpartner}' does not have any IoT Things associated with it.
Internal server error
PUT /v2/labelpartners/{labelpartner}/streamer/continuous-lr/configuration HTTP/1.1
Host: device-management.n2g-dev.net
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 116
{
"is_csd_enabled": true,
"is_csr_enabled": false,
"is_gas_enabled": true,
"is_tier_enabled": false,
"reporting_interval": 15
}{
"message": "Successfully set the continuous lr configuration for label partner 'default'"
}Last updated
Was this helpful?

