Send BMS Remote Control Strategy
-
Topic:
-
User-customized MQTT:
v1/watt/${PRODUCT_KEY}/${DEVICE}/bms_control/set/command -
Platform default MQTT:
v1/user/${TENANT}/${DEVICE}/bms_control/set/command
-
-
Permissions: Subscribe
-
Payload Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|---|---|---|---|---|
| mid | UUID | true | Message ID | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | true | Message type | bms_set | bms_set |
| data | data | true | Message content | - | See **Payload - data** |
| sub_device_uid | str | true | Primary device UID, needed only when secondary device reports to primary device | - | jHODSda39 |
| sub_device_id | int | true | Primary device ID, needed only when secondary device reports to primary device | (0, ∞) | 2 |
| device_uid | str | true | Device UID | - | iYRkfVpi77 |
| timestamp | int | true | Message timestamp (in milliseconds) | (0, ∞) | 1696837112000 |
- Payload - data
| Parameter | Type | Required | Description | Range | Example |
|---|---|---|---|---|---|
| battery_system_reset | int | false | Fault reset | [0,1] | 1 |
| high_voltage_command | int | false | Contactor open/close | [0,1] | 0 |
- Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
"type": "bms_set",
"data": {
"battery_system_reset":0,
"high_voltage_command":1
},
"sub_device_uid": "${SUB_DEVICE_UID}",
"sub_device_id": "${SUB_DEVICE_ID}",
"device_uid": "${DEVICE_UID}",
"timestamp": 1695265371000
}
Send BMS Remote Control Strategy Response
-
Topic:
-
User-customized MQTT:
v1/watt/${PRODUCT_KEY}/${DEVICE}/bms_control/set/result -
Platform default MQTT:
v1/user/${TENANT}/${DEVICE}/bms_control/set/result
-
-
Permissions: Subscribe
-
Payload Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|---|---|---|---|---|
| mid | UUID | true | Message ID | - | 4c5b3c27-cea8-4ea1-a936-41fd3596e0e9 |
| reply | UUID | true | Reply to message's mid | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | true | Message type | bms_set | bms_set |
| code | int | true | Response code | - | See response codes |
| msg | str | false | Failure reason | - | Parameter error |
| sub_device_uid | str | true | Sub-device UID | - | jHODSda39 |
| sub_device_id | int | true | Sub-device ID | - | 2 |
| device_uid | str | true | Device UID | - | iYRkfVpi77 |
| timestamp | int | true | Message timestamp (in milliseconds) | (0, ∞) | 1696837112000 |
- Payload - data
<table><thead><tr><th width="209">Parameter</th><th width="81">Type<select><option value="7a689ae99ed145e183989371bbcf21ce" label="int" color="blue"></option></select></th><th width="85" data-type="checkbox">Required</th><th>Description</th><th>Range</th><th>Example</th></tr></thead><tbody><tr><td>battery_system_reset</td><td><span data-option="7a689ae99ed145e183989371bbcf21ce">int</span></td><td>false</td><td>Fault reset</td><td>[0,1]</td><td>1</td></tr><tr><td>high_voltage_command</td><td><span data-option="7a689ae99ed145e183989371bbcf21ce">int</span></td><td>false</td><td>Contactor open/close</td><td>[0,1]</td><td>0</td></tr></tbody></table>
- Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
"type": "bms_sync",
"sub_device_uid": "${SUB_DEVICE_UID}",
"sub_device_id": "${SUB_DEVICE_ID}",
"device_uid": "${DEVICE_UID}",
"timestamp": 1696837112000
}
Sync BMS Remote Control Strategy Response
-
Topic:
-
User-customized MQTT:
v1/watt/${PRODUCT_KEY}/${DEVICE}/bms_control/sync/result -
Platform default MQTT:
v1/user/${TENANT}/${DEVICE}/bms_control/sync/result
-
-
Permissions: Publish
-
Payload Main Structure
| Parameter | Type | Required | Description | Range | Example |
|---|---|---|---|---|---|
| mid | UUID | true | Message ID | - | 3e681859-6917-4b9a-9afd-3f162cd185bd |
| type | str | true | Message type | bms_sync | bms_sync |
| code | int | true | Response code | - | See response codes |
| data | data | true | Message content | - | See **Payload - data** |
| sub_device_uid | str | true | Primary device UID, needed only when secondary device reports to primary device | - | jHODSda39 |
| device_uid | str | true | Device UID | - | iYRkfVpi77 |
| timestamp | int | true | Message timestamp (in milliseconds) | (0, ∞) | 1696837112000 |
- Payload - data
<table><thead><tr><th width="209">Parameter</th><th width="81">Type<select><option value="7a689ae99ed145e183989371bbcf21ce" label="int" color="blue"></option></select></th><th width="85" data-type="checkbox">Required</th><th>Description</th><th>Range</th><th>Example</th></tr></thead><tbody><tr><td>battery_system_reset</td><td><span data-option="7a689ae99ed145e183989371bbcf21ce">int</span></td><td>false</td><td>Fault reset</td><td>[0,1]</td><td>1</td></tr><tr><td>high_voltage_command</td><td><span data-option="7a689ae99ed145e183989371bbcf21ce">int</span></td><td>false</td><td>Contactor open/close</td><td>[0,1]</td><td>0</td></tr></tbody></table>
- Payload Example
{
"trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
"mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
"type": "bms_sync",
"sub_device_uid": "${SUB_DEVICE_UID}",
"sub_device_id": "${SUB_DEVICE_ID}",
"device_uid": "${DEVICE_UID}",
"timestamp": 1696837112000
}
