Skip to content

MQTT interface

COMMAND_CLASS_SWITCH_MULTILEVEL MQTT API

MQTT Support Support Control
true false true

Table of Contents

SWITCH_MULTILEVEL_GET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchMultilevel/Command/SwitchMultilevelGet

Payload:

{ }

SWITCH_MULTILEVEL_REPORT

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchMultilevel/Report/SwitchMultilevelReport

Payload:

{
  "current_value": "0x12",
  "target_value": "0x12",
  "duration": "0x01"
}

SWITCH_MULTILEVEL_SET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchMultilevel/Command/SwitchMultilevelSet

Payload:

{
  "value": "0x12",
  "duration": "0x12"
}

SWITCH_MULTILEVEL_START_LEVEL_CHANGE

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchMultilevel/Command/SwitchMultilevelStartLevelChange

Payload:

{
  "properties1": {
    "inc_dec": "0x05",
    "ignore_start_level": "0x05",
    "up_down": "0x05"
  },
  "start_level": "0x12",
  "dimming_duration": "0x12",
  "step_size": "0x12"
}

SWITCH_MULTILEVEL_STOP_LEVEL_CHANGE

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchMultilevel/Command/SwitchMultilevelStopLevelChange

Payload:

{ }

SWITCH_MULTILEVEL_SUPPORTED_GET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchMultilevel/Command/SwitchMultilevelSupportedGet

Payload:

{ }

SWITCH_MULTILEVEL_SUPPORTED_REPORT

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchMultilevel/Report/SwitchMultilevelSupportedReport

Payload:

{
  "properties1": {
    "primary_switch_type": "0x05",
    "reserved1": "0x05"
  },
  "properties2": {
    "secondary_switch_type": "0x05",
    "reserved2": "0x05"
  }
}