ZCL occupancy_sensing

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

Header File

Macros

ESP_ZB_ZCL_OCCUPANCY_SENSING_CLUSTER_REVISION_DEFAULT

Default value for Occupancy Sensing cluster revision global attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_OCC_TO_UNOCC_DELAY_MIN_VALUE

Minimal value for PIROccToUnoccDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_OCC_TO_UNOCC_DELAY_MAX_VALUE

Maximal value for PIROccToUnoccDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_OCC_TO_UNOCC_DELAY_DEFAULT_VALUE

Default value for PIROccToUnoccDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_DELAY_MIN_VALUE

Minimal value for PIRUnoccToOccDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_DELAY_MAX_VALUE

Maximal value for PIRUnoccToOccDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_DELAY_DEFAULT_VALUE

Default value for PIRUnoccToOccDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_THRESHOLD_MIN_VALUE

Minimal value for PIRUnoccToOccThreshold attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_THRESHOLD_MAX_VALUE

Maximal value for PIRUnoccToOccThreshold attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_THRESHOLD_DEFAULT_VALUE

Default value for PIRUnoccToOccThreshold attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_OCCUPIED_TO_UNOCCUPIED_DELAY_MIN_VALUE

Minimal value for UltrasonicOccupiedToUnoccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_OCCUPIED_TO_UNOCCUPIED_DELAY_MAX_VALUE

Maximal value for UltrasonicOccupiedToUnoccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_OCCUPIED_TO_UNOCCUPIED_DELAY_DEFAULT_VALUE

Default value for UltrasonicOccupiedToUnoccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_DELAY_MIN_VALUE

Minimal value for UltrasonicUnoccupiedToOccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_DELAY_MAX_VALUE

Maximal value for UltrasonicUnoccupiedToOccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_DELAY_DEFAULT_VALUE

Default value for UltrasonicUnoccupiedToOccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_MIN_VALUE

Minimal value for UltrasonicUnoccupiedToOccupiedThreshold attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_MAX_VALUE

Maximal value for UltrasonicUnoccupiedToOccupiedThreshold attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_DEFAULT_VALUE

Default value for UltrasonicUnoccupiedToOccupiedThreshold attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PHYSICAL_CONTACT_OCCUPIED_TO_UNOCCUPIED_DELAY_DEFAULT_VALUE

Default value for PhysicalContactOccupiedToUnoccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PHYSICAL_CONTACT_OCCUPIED_TO_UNOCCUPIED_DELAY_NO_REPORTING_VALUE

No-reporting value for PhysicalContactOccupiedToUnoccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_DELAY_DEFAULT_VALUE

Default value for PhysicalContactUnoccupiedToOccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_DELAY_NO_REPORTING_VALUE

No-reporting value for PhysicalContactUnoccupiedToOccupiedDelay attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_MIN_VALUE

Minimal value for PhysicalContactUnoccupiedToOccupiedThreshold attribute.

ESP_ZB_ZCL_OCCUPANCY_SENSING_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_MAX_VALUE

Maximal value for PhysicalContactUnoccupiedToOccupiedThreshold attribute.

Enumerations

enum esp_zb_zcl_occupancy_sensing_attr_t

Occupancy Sensing cluster attribute identifiers.

Values:

enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_OCCUPANCY_ID

Occupancy attribute identifier

enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_ID

Occupancy Sensor Type attribute identifier

enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_BITMAP_ID

The OccupancySensorTypeBitmap attribute specifies the types of the occupancy sensor.

enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_PIR_OCC_TO_UNOCC_DELAY_ID

PIROccupiedToUnoccupiedDelay identifier

enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_DELAY_ID

PIRUnoccupiedToOccupiedDelay identifier

enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_PIR_UNOCC_TO_OCC_THRESHOLD_ID

PIRUnoccupiedToOccupiedThreshold identifier

enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_ULTRASONIC_OCCUPIED_TO_UNOCCUPIED_DELAY_ID
enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_DELAY_ID
enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_ID
enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_PHYSICAL_CONTACT_OCCUPIED_TO_UNOCCUPIED_DELAY_ID
enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_DELAY_ID
enumerator ESP_ZB_ZCL_ATTR_OCCUPANCY_SENSING_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_ID
enum esp_zb_zcl_occupancy_sensing_occupancy_t

Values:

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_OCCUPANCY_UNOCCUPIED

Unoccupied value

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_OCCUPANCY_OCCUPIED

Occupied value

enum esp_zb_zcl_occupancy_sensing_occupancy_sensor_type_t

Values:

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_PIR

PIR value

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_ULTRASONIC

Ultrasonic value

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_PIR_AND_ULTRASONIC

PIR and Ultrasonic value

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_OCCUPANCY_SENSOR_TYPE_RESERVED

Reserved value

enum esp_zb_zcl_custom_reporting_mode_type_t

Values:

enumerator ESP_ZB_ZCL_CUSTOM_OCCUPANCY_SENSING_REPORING_MODE_TYPE_REGULAR_REPORTING
enumerator ESP_ZB_ZCL_CUSTOM_OCCUPANCY_SENSING_REPORING_MODE_TYPE_LOW_POWER_REPORTING
enum esp_zb_zcl_custom_debug_mode_type_t

Values:

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_CUSTOM_DEBUG_MODE_TYPE_SHORT
enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_CUSTOM_DEBUG_MODE_TYPE_ENHANCED
enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_CUSTOM_DEBUG_MODE_TYPE_DEBUG
enum esp_zb_zcl_custom_learn_type_t

Values:

enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_CUSTOM_LEARN_NOT_YET_PERFORMED
enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_CUSTOM_LEARN_IN_PROGRESS
enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_CUSTOM_LEARN_FINISHED_WITH_A_FAILURE
enumerator ESP_ZB_ZCL_OCCUPANCY_SENSING_CUSTOM_LEARN_FINISHED_SUCCSESSFULLY