ON/OFF Cluster

 

This cluster manages the relay state of a device.

If a field of the payload starts with 0x, this means that it’s an hexadecimal representation, and if it starts with 0b, it is a binary representation.

Any multi-byte numerical value is serialized in “Big Endian” order.

ON/OFF


Standard report

Report

FeaturesFctrl CmdIDClusterIDAttributeIDAttribute typeDataComment
Report attributes0x11 or 0x31 or
...
0x0A0x00 0x060x00 0x000x100x0y0x0y: relay state (0x01: ON / 0x00: OFF)

Configuration

FeaturesFctrl CmdIDClusterIDPayloadComments
Configure reporting0x11 or 0x31 or
...
0x060x00 0x060x00 0x00 0x00 0x10 0xmmmm
0xMMMM 0xcc
0x00 0x00:AttributeID
0x10: Attribute type
0xmmmm: minimum reporting interval
0xMMMM: maximum reporting interval
0xcc: reportable change
Configure reporting response0x11 or 0x31 or
...
0x070x00 0x060xss 0x00 0x00 0x000xss: status
Read reporting configuration0x11 or 0x31 or
...
0x080x00 0x060x00 0x00 0x000x00 0x00: attributeID
Read reporting configuration response0x11 or 0x31 or
...
0x090x00 0x060xss 0x00 0x00 0x00 0x10 0xmmmm
0xMMMM 0xcc
0xss:status
0x00 0x00:AttributeID
0x10: Attribute type
0xmmmm: minimum reporting interval
0xMMMM: maximum reporting interval
0xcc: reportable change

Read/Write

FeaturesFctrl CmdIDClusterIDAttributeIDStatusAttribute typeDataComment
Read attribute request0x11 or 0x31 or
...
0x000x00 0x060x00 0x00Ask the relay state
Read attribute response0x11 or 0x31 or
...
0x010x00 0x060x00 0x000x000x100x0y0x0y: relay state (0x01: ON/ 0x00: OFF)

Cluster commands


FeaturesFctrl CmdIDClusterIDDataComment
Command: OFF0x11 or 0x31 or
...
0x500x00 0x060x000x00: switch OFF the relay of the remote smartplug
Command: ON0x11 or 0x31 or
...
0x500x00 0x060x010x01: switch ON the remote smartplug
Command: TOGGLE0x11 or 0x31 or
...
0x500x00 0x060x020x02: invert the relay state of the remote smartplug
Command: PULSE
Not available on Smartplug
0x11 or 0x31 or
...
0x500x00 0x060xF1 0xss0xF1: generates one pulse during 0xss seconds. The ouput is set to 1 then to 0 after the delay
Command: DEACTIVATE
Not available on Smartplug
0x11 or 0x31 or
...
0x500x00 0x060x50 0xddavailable on version upper than v3.5.2.4329
0x50: activate/deactivate the output.
0xdd = 0x01 => Does not accept any command except this one
0xdd = 0x00 => accept all commands
Print Friendly