Module level_control

Module level_control 

Source
Expand description

Matter TLV encoders and decoders for Level Control Cluster Cluster ID: 0x0008

This file is automatically generated from LevelControl.xml

Modules§

options
Constants for Options

Enums§

MoveMode
StepMode

Functions§

decode_attribute_json
Decode attribute value and return as JSON string
decode_current_frequency
Decode CurrentFrequency attribute (0x0004)
decode_current_level
Decode CurrentLevel attribute (0x0000)
decode_default_move_rate
Decode DefaultMoveRate attribute (0x0014)
decode_max_frequency
Decode MaxFrequency attribute (0x0006)
decode_max_level
Decode MaxLevel attribute (0x0003)
decode_min_frequency
Decode MinFrequency attribute (0x0005)
decode_min_level
Decode MinLevel attribute (0x0002)
decode_off_transition_time
Decode OffTransitionTime attribute (0x0013)
decode_on_level
Decode OnLevel attribute (0x0011)
decode_on_off_transition_time
Decode OnOffTransitionTime attribute (0x0010)
decode_on_transition_time
Decode OnTransitionTime attribute (0x0012)
decode_options
Decode Options attribute (0x000F)
decode_remaining_time
Decode RemainingTime attribute (0x0001)
decode_start_up_current_level
Decode StartUpCurrentLevel attribute (0x4000)
encode_command_json
encode_move_
Encode Move command (0x01)
encode_move_to_closest_frequency
Encode MoveToClosestFrequency command (0x08)
encode_move_to_level
Encode MoveToLevel command (0x00)
encode_move_to_level_with_on_off
Encode MoveToLevelWithOnOff command (0x04)
encode_move_with_on_off
Encode MoveWithOnOff command (0x05)
encode_step
Encode Step command (0x02)
encode_step_with_on_off
Encode StepWithOnOff command (0x06)
encode_stop
Encode Stop command (0x03)
encode_stop_with_on_off
Encode StopWithOnOff command (0x07)
get_attribute_list
Get list of all attributes supported by this cluster
get_command_list
get_command_name
get_command_schema
move_
Invoke Move command on cluster Level Control.
move_to_closest_frequency
Invoke MoveToClosestFrequency command on cluster Level Control.
move_to_level
Invoke MoveToLevel command on cluster Level Control.
move_to_level_with_on_off
Invoke MoveToLevelWithOnOff command on cluster Level Control.
move_with_on_off
Invoke MoveWithOnOff command on cluster Level Control.
read_current_frequency
Read CurrentFrequency attribute from cluster Level Control.
read_current_level
Read CurrentLevel attribute from cluster Level Control.
read_default_move_rate
Read DefaultMoveRate attribute from cluster Level Control.
read_max_frequency
Read MaxFrequency attribute from cluster Level Control.
read_max_level
Read MaxLevel attribute from cluster Level Control.
read_min_frequency
Read MinFrequency attribute from cluster Level Control.
read_min_level
Read MinLevel attribute from cluster Level Control.
read_off_transition_time
Read OffTransitionTime attribute from cluster Level Control.
read_on_level
Read OnLevel attribute from cluster Level Control.
read_on_off_transition_time
Read OnOffTransitionTime attribute from cluster Level Control.
read_on_transition_time
Read OnTransitionTime attribute from cluster Level Control.
read_options
Read Options attribute from cluster Level Control.
read_remaining_time
Read RemainingTime attribute from cluster Level Control.
read_start_up_current_level
Read StartUpCurrentLevel attribute from cluster Level Control.
step
Invoke Step command on cluster Level Control.
step_with_on_off
Invoke StepWithOnOff command on cluster Level Control.
stop
Invoke Stop command on cluster Level Control.
stop_with_on_off
Invoke StopWithOnOff command on cluster Level Control.

Type Aliases§

Options
Options bitmap type