Module closure_control

Module closure_control 

Source
Expand description

Matter TLV encoders and decoders for Closure Control Cluster Cluster ID: 0x0104

This file is automatically generated from ClosureControl.xml

Modules§

latchcontrolmodes
Constants for LatchControlModes

Structs§

EngageStateChangedEvent
OperationalErrorEvent
OverallCurrentState
OverallTargetState
SecureStateChangedEvent

Enums§

ClosureError
CurrentPosition
MainState
TargetPosition

Functions§

calibrate
Invoke Calibrate command on cluster Closure Control.
decode_attribute_json
Decode attribute value and return as JSON string
decode_countdown_time
Decode CountdownTime attribute (0x0000)
decode_current_error_list
Decode CurrentErrorList attribute (0x0002)
decode_engage_state_changed_event
Decode EngageStateChanged event (0x02, priority: info)
decode_latch_control_modes
Decode LatchControlModes attribute (0x0005)
decode_main_state
Decode MainState attribute (0x0001)
decode_operational_error_event
Decode OperationalError event (0x00, priority: critical)
decode_overall_current_state
Decode OverallCurrentState attribute (0x0003)
decode_overall_target_state
Decode OverallTargetState attribute (0x0004)
decode_secure_state_changed_event
Decode SecureStateChanged event (0x03, priority: info)
encode_command_json
encode_move_to
Encode MoveTo command (0x01)
get_attribute_list
Get list of all attributes supported by this cluster
get_command_list
get_command_name
get_command_schema
move_to
Invoke MoveTo command on cluster Closure Control.
read_countdown_time
Read CountdownTime attribute from cluster Closure Control.
read_current_error_list
Read CurrentErrorList attribute from cluster Closure Control.
read_latch_control_modes
Read LatchControlModes attribute from cluster Closure Control.
read_main_state
Read MainState attribute from cluster Closure Control.
read_overall_current_state
Read OverallCurrentState attribute from cluster Closure Control.
read_overall_target_state
Read OverallTargetState attribute from cluster Closure Control.
stop
Invoke Stop command on cluster Closure Control.

Type Aliases§

LatchControlModes
LatchControlModes bitmap type