Reporting Anti-Reverse-Flow Over-Demand Strategy
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/list/post
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/list/post
- Permission: Reporting
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_list | streaming_overdemand_list |
| data | data | Yes | Message Content | - | Refer to Payload - data |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Message Timestamp (ms) | (0, ∞) | 1696837112000 |
Payload – data: StreamingOverDemand
| Parameter | Type | Required | Description | Range | Example |
|---|
| id | int | Yes | Over-demand & Anti-Reverse-Flow Strategy ID | - | 1 |
| device_type | int | Yes | Device Type | 2=Energy Storage, 3=PV, 4=Charging Pile | 2 |
| devices | any | Yes | List of Devices | - | []emsDevice / []photovoltaic / []pail |
| elemeter | eleMeter | Yes | Meter | - | eleMeter |
| ele_meter_id | int | Yes | Meter ID | - | 1 |
| streaming_condition | int | Yes | Anti-reverse-flow Execution Condition | - | 5000 |
| streaming_status | int | Yes | Anti-reverse-flow Status | 1=Enabled, 2=Disabled | 1 |
| over_demand_condition | []int | Yes | Over-demand Execution Condition (Months 1–12) | - | [5000,6000,5000,5000,6000,5000,5000,6000,5000,5000,6000,5000] |
| over_demand_status | int | Yes | Over-demand Status | 1=Enabled, 2=Disabled | 1 |
| dynamic_demand | int | Yes | Dynamic Demand | - | 6000 |
| dynamic_demand_percentage | int | Yes | Dynamic Demand Peak-chasing Percentage | - | 90 |
| current_over_demand_condition | int | Yes | Current Month's Over-demand Condition | - | 2000 |
| updated_by | str | Yes | Updated By | - | user: 1-admin |
| created_at | str | Yes | Creation Time | - | 2024-06-06T08:59:20.21309056Z |
| updated_at | str | Yes | Update Time | - | 2024-06-06T08:59:20.21309056Z |
Payload – emsDevice
| Parameter | Type | Required | Description | Range | Example |
|---|
| uid | str | Yes | Device UID | - | DGHDJSJKD-1 |
| name | str | Yes | Device Name | - | ems device |
| site_name | str | Yes | Site Name | - | ems site |
| location | str | Yes | Detailed Location | - | Shanghai |
| longitude | float | Yes | Longitude | - | - |
| latitude | float | Yes | Latitude | - | - |
| level | int | Yes | EMS Level | [1, 2] | 1 |
| type | str | Yes | Device Type | - | ems |
| running_status | int | Yes | Running Status | [1,2,3] | 1 (1=Running,2=Offline,3=Fault) |
| host | str | Yes | Address | - | 192.168.0.1 |
| port | str | Yes | Port | [0,65525] | 2171 |
| license | str | Yes | Activation Code | - | 2YIZedmOtl4pcqo1EA4zhM5gofDI |
Payload – eleMeter
| Parameter | Type | Required | Description | Range | Example |
|---|
| uid | str | Yes | Meter UID | - | QmqEhterhgrzS66grew-1 |
| station_name | str | Yes | Station Name | - | Station 1 |
| port | int | Yes | Port | [0,65535] | 1 |
| name | str | Yes | Device Name | - | East Transformer |
| elec_device_type | eleDeviceType | Yes | Meter Type Object | - | - |
| rate | int | Yes | Multiplier | (0, ∞) | 100 |
| running_status | int | Yes | Running Status | [1,2] | 1 (1=Online,2=Offline) |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"type": "streaming_overdemand_list",
"data": [{
"id": 4,
"device_type": 2,
"ele_meter_id": 10,
"ele_meter": {
"id": 10,
"proto_type": 1,
"proto_id": 1,
"slave_id": 1,
"host": "192.168.77.94",
"port": 1,
"com_addr": "",
"com_no": 0,
"baud_rate": 0,
"data_bits": 0,
"stop_bits": 0,
"parity": "",
"uid": "",
"station_name": "Test Site",
"name": "test",
"ele_device_type_id": 1,
"ele_device_type": {
"id": 1,
"name": "Acrel-ADW300"
},
"running_status": 2,
"direction": 1,
"pt": 1,
"ct": 1,
"purpose": 1,
"meter_ids": null,
"associate_meters": null
},
"devices": [
{
"uid": "",
"name": "Device208",
"site_name": "Test Site",
"location": "",
"longitude": 0,
"latitude": 0,
"statistics_port": 1504,
"cooling_method": 1,
"level": 1,
"charges": null,
"pcs_reboot": 0,
"bms_reboot": 0,
"license": "00000011",
"type": "Linux",
"running_status": 1,
"id": 3,
"proto_type": 1,
"proto_id": 0,
"slave_id": 1,
"host": "192.168.77.208",
"port": 1502,
"com_addr": "",
"com_no": 0,
"baud_rate": 0,
"data_bits": 0,
"stop_bits": 0,
"parity": "",
"created_at": "2024-04-24T02:11:01.16135116Z",
"updated_at": "2024-06-07T07:32:32.1991944Z"
},
{
"uid": "",
"name": "Device210",
"site_name": "Test Site",
"location": "",
"longitude": 0,
"latitude": 0,
"statistics_port": 1504,
"cooling_method": 1,
"level": 1,
"charges": null,
"pcs_reboot": 1,
"bms_reboot": 0,
"license": "",
"type": "",
"running_status": 1,
"id": 4,
"proto_type": 1,
"proto_id": 0,
"slave_id": 1,
"host": "192.168.77.210",
"port": 1502,
"com_addr": "",
"com_no": 0,
"baud_rate": 0,
"data_bits": 0,
"stop_bits": 0,
"parity": "",
"created_at": "2024-05-08T02:03:48.4397178Z",
"updated_at": "2024-06-07T07:32:32.2174462Z"
}
],
"over_demand_status": 1,
"over_demand_condition": [
2000,2000,2000,2000,2000,2000,
2000,2000,2000,2000,2000,2000
],
"current_over_demand_condition": 2000,
"dynamic_demand_status": 1,
"dynamic_demand": 0,
"dynamic_demand_percentage": 60,
"streaming_status": 1,
"streaming_condition": 2000,
"created_at": "2024-06-06T08:59:20.21309056Z",
"updated_at": "2024-06-06T08:59:20.21309056Z",
"updated_by": "user: 1-admin"
}],
"device_uid": "${DEVICE_UID}",
"timestamp": 1695265371000
}
Platform Requests to Synchronize Anti-Reverse-Flow Over-Demand Strategy
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/sync/command
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/sync/command
- Permission: Publish
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 4c5b3c27-cea8-4ea1-a936-41fd3596e0e9 |
| reply | UUID | Yes | The mid of the message being replied | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_sync | streaming_overdemand_sync |
| code | int | Yes | Response Code | - | Refer to response codes |
| msg | str | No | Failure Reason | - | Parameter error |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Message Timestamp (ms) | (0,∞) | 1696837112000 |
Response Codes
| Error Code | Description | Notes |
|---|
| 200 | Issued Successfully | - |
| 400 | Parameter Error | - |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
"type": "streaming_overdemand_sync",
"code": 200,
"msg": "",
"device_uid": "iYRkfVpi77",
"timestamp": 1695265671000
}
Synchronize Anti-Reverse-Flow Over-Demand Strategy Response
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/sync/result
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/sync/result
- Permission: Subscribe
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_sync | streaming_overdemand_sync |
| data | data | Yes | Message Content | - | Refer to Payload - data |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Message Timestamp (ms) | (0,∞) | 1696837112000 |
Payload – data
| Parameter | Type | Required | Description | Range | Example |
|---|
| id | int | Yes | Over-demand & Anti-Reverse-Flow Strategy ID | - | 1 |
| device_type | int | Yes | Device Type | 2=Energy Storage,3=PV,4=Charging Pile | 2 |
| devices | any | Yes | Device List | - | []emsDevice / []photovoltaic / []pail |
| elemeter | eleMeter | Yes | Meter | - | eleMeter |
| ele_meter_id | int | Yes | Meter ID | - | 1 |
| streaming_condition | int | Yes | Anti-reverse-flow Execution Condition | - | 5000 |
| streaming_status | int | Yes | Anti-reverse-flow Status | 1=Enabled,2=Disabled | 1 |
| over_demand_condition | []int | Yes | Over-demand Execution Condition (Months 1–12) | - | [5000,6000,5000,5000,6000,5000,5000,6000...] |
| over_demand_status | int | Yes | Over-demand Status | 1=Enabled,2=Disabled | 1 |
| dynamic_demand | int | Yes | Dynamic Demand | - | 6000 |
| dynamic_demand_percentage | int | Yes | Dynamic Demand Peak-chasing Percentage | - | 90 |
| current_over_demand_condition | int | Yes | Current Month Over-Demand Condition | - | 2000 |
| updated_by | str | Yes | Updated By | - | user: 1-admin |
| created_at | str | Yes | Creation Time | - | 2024-06-06T08:59:20.21309056Z |
| updated_at | str | Yes | Update Time | - | 2024-06-06T08:59:20.21309056Z |
Payload – emsDevice
| Parameter | Type | Required | Description | Range | Example |
|---|
| uid | str | Yes | Device UID | - | DGHDJSJKD-1 |
| name | str | Yes | Device Name | - | ems device |
| site_name | str | Yes | Site Name | - | ems site |
| location | str | Yes | Detailed Location | - | Shanghai |
| longitude | float | Yes | Longitude | - | - |
| latitude | float | Yes | Latitude | - | - |
| level | int | Yes | EMS Level | [1,2] | 1 |
| type | str | Yes | Device Type | - | ems |
| running_status | int | Yes | Running Status | [1,2,3] | 1 |
| host | str | Yes | Address | - | 192.168.0.1 |
| port | str | Yes | Port | [0,65525] | 2171 |
| license | str | Yes | Activation Code | - | 2YIZedmOtl4pcqo1EA4zhM5gofDI |
Payload – eleMeter
| Parameter | Type | Required | Description | Range | Example |
|---|
| uid | str | Yes | Meter UID | - | QmqEhterhgrzS66grew-1 |
| station_name | str | Yes | Station Name | - | Station 1 |
| port | int | Yes | Port | [0,65535] | 1 |
| name | str | Yes | Device Name | - | East Transformer |
| elec_device_type | eleDeviceType | Yes | Meter Type Object | - | - |
| rate | int | Yes | Multiplier | (0, ∞) | 100 |
| running_status | int | Yes | Running Status | [1,2] | 1 |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"reply": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"type": "streaming_overdemand_sync",
"data": [{
"id": 4,
"ele_meter_id": 10,
"ele_meter": {
"id": 10,
"proto_type": 1,
"proto_id": 1,
"slave_id": 1,
"host": "192.168.77.94",
"port": 1,
"com_addr": "",
"com_no": 0,
"baud_rate": 0,
"data_bits": 0,
"stop_bits": 0,
"parity": "",
"uid": "",
"station_name": "Test Site",
"name": "test",
"ele_device_type_id": 1,
"ele_device_type": {
"id": 1,
"name": "Acrel-ADW300"
},
"running_status": 2,
"direction": 1,
"pt": 1,
"ct": 1,
"purpose": 1,
"meter_ids": null,
"associate_meters": null
},
"devices": [
{
"uid": "",
"name": "Device208",
"site_name": "Test Site",
"location": "",
"longitude": 0,
"latitude": 0,
"statistics_port": 1504,
"cooling_method": 1,
"level": 1,
"charges": null,
"pcs_reboot": 0,
"bms_reboot": 0,
"license": "00000011",
"type": "Linux",
"running_status": 1,
"id": 3,
"proto_type": 1,
"proto_id": 0,
"slave_id": 1,
"host": "192.168.77.208",
"port": 1502,
"com_addr": "",
"com_no": 0,
"baud_rate": 0,
"data_bits": 0,
"stop_bits": 0,
"parity": "",
"created_at": "2024-04-24T02:11:01.16135116Z",
"updated_at": "2024-06-07T07:32:32.1991944Z"
},
{
"uid": "",
"name": "Device210",
"site_name": "Test Site",
"location": "",
"longitude": 0,
"latitude": 0,
"statistics_port": 1504,
"cooling_method": 1,
"level": 1,
"charges": null,
"pcs_reboot": 1,
"bms_reboot": 0,
"license": "",
"type": "",
"running_status": 1,
"id": 4,
"proto_type": 1,
"proto_id": 0,
"slave_id": 1,
"host": "192.168.77.210",
"port": 1502,
"com_addr": "",
"com_no": 0,
"baud_rate": 0,
"data_bits": 0,
"stop_bits": 0,
"parity": "",
"created_at": "2024-05-08T02:03:48.4397178Z",
"updated_at": "2024-06-07T07:32:32.2174462Z"
}
],
"over_demand_status": 1,
"over_demand_condition": [
2000,2000,2000,2000,2000,2000,
2000,2000,2000,2000,2000,2000
],
"current_over_demand_condition": 2000,
"dynamic_demand_status": 1,
"dynamic_demand": 0,
"dynamic_demand_percentage": 60,
"streaming_status": 1,
"streaming_condition": 2000,
"created_at": "2024-06-06T08:59:20.21309056Z",
"updated_at": "2024-06-06T08:59:20.21309056Z",
"updated_by": "user: 1-admin"
}],
"device_uid": "${DEVICE_UID}",
"timestamp": 1695265371000
}
Issue Command for Creating Anti-Reverse-Flow Over-Demand Strategy
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/create/command
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/create/command
- Permission: Subscribe
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_create | streaming_overdemand_create |
| data | data | Yes | Message Content | - | Refer to Payload - data |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Timestamp (ms) | (0,∞) | 1696837112000 |
Payload – Data / StreamingOverDemand
| Parameter | Type | Required | Description | Range | Example |
|---|
| ele_meter_id | int | Yes | Meter Device ID | - | 1 |
| streaming_status | int | Yes | Anti-reverse-flow Status | 1=Enabled,2=Disabled | 1 |
| streaming_condition | int | Yes | Anti-reverse-flow Execution Condition | - | 1000 |
| over_demand_status | int | Yes | Over-demand Status | 1=Enabled,2=Disabled | 2 |
| over_demand_condition | []int | Yes | Over-demand Execution Condition (12 months) | - | [2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000] |
| dynamic_demand_status | int | Yes | Dynamic Demand Control Status | 1=Enabled,2=Disabled | 1 |
| dynamic_demand_percentage | int | Yes | Dynamic Demand Peak Chasing Percentage | Percentage | 90 |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"reply": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"type": "streaming_overdemand_create",
"data": [
{
"over_demand_status": 1,
"streaming_status": 1,
"dynamic_demand_status": 1,
"over_demand_condition": [
2000,2000,2000,2000,2000,2000,
2000,2000,2000,2000,2000,2000
],
"ele_meter_id": 9,
"dynamic_demand_percentage": 80,
"streaming_condition": 1000
}
],
"device_uid": "${DEVICE_UID}",
"timestamp": 1695265371000
}
Create Over-Demand & Anti-Reverse-Flow Strategy Response
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/create/result
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/create/result
- Permission: Subscribe
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 4c5b3c27-cea8-4ea1-a936-41fd3596e0e9 |
| reply | UUID | Yes | mid of the replied message | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_create | streaming_overdemand_create |
| code | int | Yes | Response Code | - | Refer to response codes |
| data | data | Yes | Data | - | Refer to Data |
| msg | str | No | Failure Reason | - | Parameter Error |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Timestamp (ms) | (0,∞) | 1696837112000 |
Data
| Parameter | Type | Description |
|---|
| id | int | Over-demand & Anti-reverse-flow Strategy ID |
Response Codes
| Error Code | Description | Notes |
|---|
| 200 | Issued Successfully | - |
| 400 | Parameter Error | - |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
"type": "streaming_overdemand_create",
"reply": "3e681859-6917-4b9a-9afd-3f162cd185bd",
"code": 200,
"data": {
"id": 1
},
"msg": "",
"device_uid": "iYRkfVpi77",
"timestamp": 1695265671000
}
Issue Command for Updating Anti-Reverse-Flow Over-Demand Strategy
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/update/command
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/update/command
- Permission: Subscribe
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_update | streaming_overdemand_update |
| data | data | Yes | Message Content | - | Refer to Payload - data |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Timestamp (ms) | (0,∞) | 1696837112000 |
Payload – Data: StreamingOverDemandUpdateCommand (other fields see StreamingOverDemand)
| Parameter | Type | Required | Description | Example |
|---|
| id | int | Yes | Over-demand & Anti-Reverse-Flow Strategy ID | 1 |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"reply": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"type": "streaming_overdemand_update",
"data": [ {
"id": 1,
"over_demand_status": 1,
"streaming_status": 1,
"dynamic_demand_status": 1,
"over_demand_condition": [
2000,2000,2000,2000,2000,2000,
2000,2000,2000,2000,2000,2000
],
"ele_meter_id": 9,
"dynamic_demand_percentage": 80,
"streaming_condition": 1000
}],
"device_uid": "${DEVICE_UID}",
"timestamp": 1695265371000
}
Update Over-Demand & Anti-Reverse-Flow Strategy Response
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/update/result
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/update/result
- Permission: Subscribe
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 4c5b3c27-cea8-4ea1-a936-41fd3596e0e9 |
| reply | UUID | Yes | mid of the replied msg | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_update | streaming_overdemand_update |
| code | int | Yes | Response Code | - | Refer to response codes |
| data | data | Yes | Data | - | Refer to Data |
| msg | str | No | Failure Reason | - | Parameter Error |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Timestamp (ms) | (0,∞) | 1696837112000 |
Data
| Parameter | Type | Description |
|---|
| id | int | Over-demand & Anti-reverse-flow Strategy ID |
Response Codes
| Error Code | Description | Notes |
|---|
| 200 | Issued Successfully | - |
| 400 | Parameter Error | - |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
"reply": "3e681859-6917-4b9a-9afd-3f162cd185bd",
"type": "streaming_overdemand_update",
"code": 200,
"msg": "",
"device_uid": "iYRkfVpi77",
"timestamp": 1695265671000
}
Issue Command for Deleting Anti-Reverse-Flow Over-Demand Strategy
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/delete/command
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/delete/command
- Permission: Subscribe
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_delete | streaming_overdemand_delete |
| data | data | Yes | Message Content | - | Refer to Payload - data |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Message Timestamp (ms) | (0,∞) | 1696837112000 |
Payload – Data / StreamingOverDemandDeleteCommand
| Parameter | Type | Required | Description | Example |
|---|
| id | int | Yes | Over-demand & Anti-reverse-flow ID | 1 |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"reply": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"type": "streaming_overdemand_delete",
"data": [{
"id": 1
}],
"device_uid": "${DEVICE_UID}",
"timestamp": 1695265371000
}
Delete Over-Demand & Anti-Reverse-Flow Strategy Response
- Topic:
- Custom MQTT by User:
v1/watt/${PRODUCT_KEY}/${DEVICE}/streaming_overdemand/delete/result
- Default MQTT by Platform:
v1/user/${TENANT}/${DEVICE}/streaming_overdemand/delete/result
- Permission: Subscribe
Payload – Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|
| mid | UUID | Yes | Message ID | - | 4c5b3c27-cea8-4ea1-a936-41fd3596e0e9 |
| reply | UUID | Yes | The mid of the message being replied | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | Yes | Message Type | streaming_overdemand_delete | streaming_overdemand_delete |
| code | int | Yes | Response Code | - | Refer to response codes |
| msg | str | No | Failure Reason | - | Parameter Error |
| device_uid | str | Yes | (Secondary) Device UID | - | iYRkfVpi77 |
| timestamp | int | Yes | Timestamp (ms) | (0,∞) | 1696837112000 |
Response Codes
| Error Code | Description | Notes |
|---|
| 200 | Issued Successfully | - |
| 400 | Parameter Error | - |
Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
"type": "streaming_overdemand_delete",
"reply": "3e681859-6917-4b9a-9afd-3f162cd185bd",
"code": 200,
"msg": "",
"device_uid": "iYRkfVpi77",
"timestamp": 1695265671000
}