Skip to content

Switch Binary

COMMAND_CLASS_SWITCH_BINARY MQTT API

MQTT Support Support Control
true false true

Table of Contents

SWITCH_BINARY_GET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchBinary/Command/SwitchBinaryGet

Payload:

{ }

SWITCH_BINARY_REPORT

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchBinary/Report/SwitchBinaryReport

Payload:

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

SWITCH_BINARY_SET

Command:

zpc/<home_id>/<node_id>/ep<endpoint_id>/SwitchBinary/Command/SwitchBinarySet

Payload:

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