Module occupancy_sensing

Module occupancy_sensing 

Source
Expand description

Matter TLV encoders and decoders for Occupancy Sensing Cluster Cluster ID: 0x0406

This file is automatically generated from OccupancySensing.xml

Modules§

occupancy
Constants for Occupancy
occupancysensortype
Constants for OccupancySensorTypeBitmap

Structs§

HoldTimeLimits
OccupancyChangedEvent

Enums§

OccupancySensorType

Functions§

decode_attribute_json
Decode attribute value and return as JSON string
decode_hold_time
Decode HoldTime attribute (0x0003)
decode_hold_time_limits
Decode HoldTimeLimits attribute (0x0004)
decode_occupancy
Decode Occupancy attribute (0x0000)
decode_occupancy_changed_event
Decode OccupancyChanged event (0x00, priority: info)
decode_occupancy_sensor_type
Decode OccupancySensorType attribute (0x0001)
decode_occupancy_sensor_type_bitmap
Decode OccupancySensorTypeBitmap attribute (0x0002)
decode_physical_contact_occupied_to_unoccupied_delay
Decode PhysicalContactOccupiedToUnoccupiedDelay attribute (0x0030)
decode_physical_contact_unoccupied_to_occupied_delay
Decode PhysicalContactUnoccupiedToOccupiedDelay attribute (0x0031)
decode_physical_contact_unoccupied_to_occupied_threshold
Decode PhysicalContactUnoccupiedToOccupiedThreshold attribute (0x0032)
decode_pir_occupied_to_unoccupied_delay
Decode PIROccupiedToUnoccupiedDelay attribute (0x0010)
decode_pir_unoccupied_to_occupied_delay
Decode PIRUnoccupiedToOccupiedDelay attribute (0x0011)
decode_pir_unoccupied_to_occupied_threshold
Decode PIRUnoccupiedToOccupiedThreshold attribute (0x0012)
decode_ultrasonic_occupied_to_unoccupied_delay
Decode UltrasonicOccupiedToUnoccupiedDelay attribute (0x0020)
decode_ultrasonic_unoccupied_to_occupied_delay
Decode UltrasonicUnoccupiedToOccupiedDelay attribute (0x0021)
decode_ultrasonic_unoccupied_to_occupied_threshold
Decode UltrasonicUnoccupiedToOccupiedThreshold attribute (0x0022)
get_attribute_list
Get list of all attributes supported by this cluster
read_hold_time
Read HoldTime attribute from cluster Occupancy Sensing.
read_hold_time_limits
Read HoldTimeLimits attribute from cluster Occupancy Sensing.
read_occupancy
Read Occupancy attribute from cluster Occupancy Sensing.
read_occupancy_sensor_type
Read OccupancySensorType attribute from cluster Occupancy Sensing.
read_occupancy_sensor_type_bitmap
Read OccupancySensorTypeBitmap attribute from cluster Occupancy Sensing.
read_physical_contact_occupied_to_unoccupied_delay
Read PhysicalContactOccupiedToUnoccupiedDelay attribute from cluster Occupancy Sensing.
read_physical_contact_unoccupied_to_occupied_delay
Read PhysicalContactUnoccupiedToOccupiedDelay attribute from cluster Occupancy Sensing.
read_physical_contact_unoccupied_to_occupied_threshold
Read PhysicalContactUnoccupiedToOccupiedThreshold attribute from cluster Occupancy Sensing.
read_pir_occupied_to_unoccupied_delay
Read PIROccupiedToUnoccupiedDelay attribute from cluster Occupancy Sensing.
read_pir_unoccupied_to_occupied_delay
Read PIRUnoccupiedToOccupiedDelay attribute from cluster Occupancy Sensing.
read_pir_unoccupied_to_occupied_threshold
Read PIRUnoccupiedToOccupiedThreshold attribute from cluster Occupancy Sensing.
read_ultrasonic_occupied_to_unoccupied_delay
Read UltrasonicOccupiedToUnoccupiedDelay attribute from cluster Occupancy Sensing.
read_ultrasonic_unoccupied_to_occupied_delay
Read UltrasonicUnoccupiedToOccupiedDelay attribute from cluster Occupancy Sensing.
read_ultrasonic_unoccupied_to_occupied_threshold
Read UltrasonicUnoccupiedToOccupiedThreshold attribute from cluster Occupancy Sensing.

Type Aliases§

Occupancy
Occupancy bitmap type
OccupancySensorTypeBitmap
OccupancySensorTypeBitmap bitmap type