ZCL on_off

Zigbee Cluster Library (ZCL) on_off cluster usage definition for ESP Zigbee SDK.

Header File

Macros

ESP_ZB_ZCL_ON_OFF_ON_OFF_DEFAULT_VALUE

Default value for OnOff attribute.

ESP_ZB_ZCL_ON_OFF_GLOBAL_SCENE_CONTROL_DEFAULT_VALUE

Default value for GlobalSceneControl attribute.

ESP_ZB_ZCL_ON_OFF_ON_TIME_DEFAULT_VALUE

Default value for OnTime attribute.

ESP_ZB_ZCL_ON_OFF_OFF_WAIT_TIME_DEFAULT_VALUE

Default value for OffWaitTime attribute.

Enumerations

enum esp_zb_zcl_on_off_attr_t

On/Off cluster attribute identifiers.

Values:

enumerator ESP_ZB_ZCL_ATTR_ON_OFF_ON_OFF_ID

OnOff attribute

enumerator ESP_ZB_ZCL_ATTR_ON_OFF_GLOBAL_SCENE_CONTROL

Global Scene Control attribute identifier.

enumerator ESP_ZB_ZCL_ATTR_ON_OFF_ON_TIME

On Time attribute identifier.

enumerator ESP_ZB_ZCL_ATTR_ON_OFF_OFF_WAIT_TIME

Off Wait Time attribute identifier.

enumerator ESP_ZB_ZCL_ATTR_ON_OFF_START_UP_ON_OFF

Define the desired startup behavior

enum esp_zb_zcl_on_off_cmd_id_t

On/Off cluster command identifiers.

Values:

enumerator ESP_ZB_ZCL_CMD_ON_OFF_OFF_ID

“Turn off” command.

enumerator ESP_ZB_ZCL_CMD_ON_OFF_ON_ID

“Turn on” command.

enumerator ESP_ZB_ZCL_CMD_ON_OFF_TOGGLE_ID

“Toggle state” command.

enumerator ESP_ZB_ZCL_CMD_ON_OFF_OFF_WITH_EFFECT_ID

“Off with effect” command.

enumerator ESP_ZB_ZCL_CMD_ON_OFF_ON_WITH_RECALL_GLOBAL_SCENE_ID

“On with recall global scene” command.

enumerator ESP_ZB_ZCL_CMD_ON_OFF_ON_WITH_TIMED_OFF_ID

“On with timed off” command.