EcoWatt Technologies Logo

MC - Cooling System Control

Sending a Liquid Cooling Control Strategy

  • Topic:

    • User-defined MQTT: v1/watt/${PRODUCT_KEY}/${DEVICE}/condition_control/set/command
    • Platform Default MQTT: v1/user/${TENANT}/${DEVICE}/condition_control/set/command
  • Permission: Subscribe

  • Payload Main Structure

    ParameterTypeRequiredDescriptionRangeExample
    midUUIDtrueMessage ID-3e681859-6917-4b9a-9afd-3f162cd185bd
    typestrtrueMessage typecondition_setcondition_set
    datadatatrueMessage content-See Payload – data
    sub_device_uidstrtruePrimary device UID (only required if secondary device reports on behalf of primary)-jHODSda39
    sub_device_idinttruePrimary device ID (only required if secondary device reports on behalf of primary)-2
    device_uidstrtrueDevice UID-iYRkfVpi77
    timestampinttrueMessage timestamp (ms)(0, ∞)1696837112000
  • Payload – data

    ParameterTypeRequiredDescriptionRangeExample
    power_onintfalsePower on (0: off, 1: on)[0,1]1
    target_heating_pointfloatfalseTarget temperature for heating[0,∞)0
    target_cooling_pointfloatfalseTarget temperature for cooling[0,∞)1
  • Payload Example

{
  "trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
  "mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
  "type": "condition_set",
  "data": {
    "power_on": 1,
    "target_heating_point": 100,
    "target_cooling_point": 10
  },
  "sub_device_uid": "${SUB_DEVICE_UID}",
  "sub_device_id": "${SUB_DEVICE_ID}",
  "device_uid": "${DEVICE_UID}",
  "timestamp": 1695265371000
}

Response to Sending Liquid Cooling Control Strategy

  • Topic:

    • User-defined MQTT: v1/watt/${PRODUCT_KEY}/${DEVICE}/condition_control/set/result
    • Platform Default MQTT: v1/user/${TENANT}/${DEVICE}/condition_control/set/result
  • Permission: Subscribe

  • Payload Main Structure

    ParameterTypeRequiredDescriptionRangeExample
    midUUIDtrueMessage ID-4c5b3c27-cea8-4ea1-a936-41fd3596e0e9
    replyUUIDtrueThe mid being replied to-3e681859-6917-4b9a-9afd-3f162cd185bd
    typestrtrueMessage typecondition_setcondition_set
    codeinttrueResponse code-See Response Codes
    msgstrfalseFailure reason-Parameter error
    sub_device_uidstrtrueSub-device UID-
    sub_device_idinttruePrimary device ID (only required if secondary device reports)-2
    device_uidstrtrue(Secondary) device UID-iYRkfVpi77
    timestampinttrueMessage timestamp (ms)(0, ∞)1696837112000
  • Response Codes

    Error CodeDescriptionNotes
    200Issued successfully
    400Parameter error
  • Payload Example

{
  "trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
  "mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
  "type": "condition_set",
  "reply": "3e681859-6917-4b9a-9afd-3f162cd185bd",
  "code": 200,
  "msg": "Issued successfully",
  "sub_device_uid": "jHODSda39",
  "sub_device_id": "${SUB_DEVICE_ID}",
  "device_uid": "iYRkfVpi77",
  "timestamp": 1695265671000
}

Request to Synchronize Liquid Cooling Control Strategy

  • Topic:

    • User-defined MQTT: v1/watt/${PRODUCT_KEY}/${DEVICE}/condition_control/sync/command
    • Platform Default MQTT: v1/user/${TENANT}/${DEVICE}/condition_control/sync/command
  • Permission: Publish

  • Payload Main Structure

    ParameterTypeRequiredDescriptionRangeExample
    midUUIDtrueMessage ID-4c5b3c27-cea8-4ea1-a936-41fd3596e0e9
    typestrtrueMessage typecondition_synccondition_sync
    sub_device_uidstrtruePrimary device UID (only required if secondary device reports)-jHODSda39
    sub_device_idinttruePrimary device ID (only required if secondary device reports)-2
    device_uidstrtrueDevice UID-iYRkfVpi77
    timestampinttrueMessage timestamp (ms)(0, ∞)1696837112000
  • Response Codes

    Error CodeDescriptionNotes
    200Issued successfully
    400Parameter error
  • Payload Example

{
  "trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
  "mid": "4c5b3c27-cea8-4ea1-a936-41fd3596e0e9",
  "type": "condition_sync",
  "sub_device_uid": "${SUB_DEVICE_UID}",
  "sub_device_id": "${SUB_DEVICE_ID}",
  "device_uid": "${DEVICE_UID}",
  "timestamp": 1695265671000
}

Response to Synchronizing Liquid Cooling Control Strategy

  • Topic:

    • User-defined MQTT: v1/watt/${PRODUCT_KEY}/${DEVICE}/condition_control/sync/result
    • Platform Default MQTT: v1/user/${TENANT}/${DEVICE}/condition_control/sync/result
  • Permission: Subscribe

  • Payload Main Structure

    ParameterTypeRequiredDescriptionRangeExample
    midUUIDtrueMessage ID-3e681859-6917-4b9a-9afd-3f162cd185bd
    typestrtrueMessage typecondition_synccondition_sync
    codeinttrueResponse code-See Response Codes
    datadatatrueMessage content-See Payload – data
    sub_device_uidstrtruePrimary device UID (only required if secondary device reports)-jHODSda39
    sub_device_idinttruePrimary device ID (only required if secondary device reports)-2
    device_uidstrtrueDevice UID-iYRkfVpi77
    timestampinttrueMessage timestamp (ms)(0, ∞)1696837112000
  • Payload – data

    ParameterTypeRequiredDescriptionRangeExample
    power_onintfalsePower on (0: off, 1: on)[0,1]1
    target_heating_pointfloatfalseTarget temperature for heating[0,∞)0
    target_cooling_pointfloatfalseTarget temperature for cooling[0,∞)1
  • Payload Example

{
  "trace_id": "577f5df0-65d6-432d-8aac-0116e9530152",
  "mid": "ee2e8f09-b280-4e4d-bcb9-1529b703cfed",
  "reply": "3e681859-6917-4b9a-9afd-3f162cd185bd",
  "type": "condition_sync",
  "code": 200,
  "data": {
    "power_on": 1,
    "target_heating_point": 100,
    "target_cooling_point": 10
  },
  "sub_device_uid": "${SUB_DEVICE_UID}",
  "sub_device_id": "${SUB_DEVICE_ID}",
  "device_uid": "${DEVICE_UID}",
  "timestamp": 1695265371000
}