Module color_control

Module color_control 

Source
Expand description

Matter TLV encoders and decoders for Color Control Cluster Cluster ID: 0x0300

This file is automatically generated from ColorControl.xml

Modules§

colorcapabilities
Constants for ColorCapabilities
options
Constants for Options
updateflags
Constants for UpdateFlags

Enums§

ColorLoopAction
ColorLoopDirection
ColorMode
Direction
DriftCompensation
EnhancedColorMode
MoveMode
StepMode

Functions§

decode_attribute_json
Decode attribute value and return as JSON string
decode_color_capabilities
Decode ColorCapabilities attribute (0x400A)
decode_color_loop_active
Decode ColorLoopActive attribute (0x4002)
decode_color_loop_direction
Decode ColorLoopDirection attribute (0x4003)
decode_color_loop_start_enhanced_hue
Decode ColorLoopStartEnhancedHue attribute (0x4005)
decode_color_loop_stored_enhanced_hue
Decode ColorLoopStoredEnhancedHue attribute (0x4006)
decode_color_loop_time
Decode ColorLoopTime attribute (0x4004)
decode_color_mode
Decode ColorMode attribute (0x0008)
decode_color_point_b_intensity
Decode ColorPointBIntensity attribute (0x003C)
decode_color_point_bx
Decode ColorPointBX attribute (0x003A)
decode_color_point_by
Decode ColorPointBY attribute (0x003B)
decode_color_point_g_intensity
Decode ColorPointGIntensity attribute (0x0038)
decode_color_point_gx
Decode ColorPointGX attribute (0x0036)
decode_color_point_gy
Decode ColorPointGY attribute (0x0037)
decode_color_point_r_intensity
Decode ColorPointRIntensity attribute (0x0034)
decode_color_point_rx
Decode ColorPointRX attribute (0x0032)
decode_color_point_ry
Decode ColorPointRY attribute (0x0033)
decode_color_temp_physical_max_mireds
Decode ColorTempPhysicalMaxMireds attribute (0x400C)
decode_color_temp_physical_min_mireds
Decode ColorTempPhysicalMinMireds attribute (0x400B)
decode_color_temperature_mireds
Decode ColorTemperatureMireds attribute (0x0007)
decode_compensation_text
Decode CompensationText attribute (0x0006)
decode_couple_color_temp_to_level_min_mireds
Decode CoupleColorTempToLevelMinMireds attribute (0x400D)
decode_current_hue
Decode CurrentHue attribute (0x0000)
decode_current_saturation
Decode CurrentSaturation attribute (0x0001)
decode_current_x
Decode CurrentX attribute (0x0003)
decode_current_y
Decode CurrentY attribute (0x0004)
decode_drift_compensation
Decode DriftCompensation attribute (0x0005)
decode_enhanced_color_mode
Decode EnhancedColorMode attribute (0x4001)
decode_enhanced_current_hue
Decode EnhancedCurrentHue attribute (0x4000)
decode_number_of_primaries
Decode NumberOfPrimaries attribute (0x0010)
decode_options
Decode Options attribute (0x000F)
decode_primary1_intensity
Decode Primary1Intensity attribute (0x0013)
decode_primary1_x
Decode Primary1X attribute (0x0011)
decode_primary1_y
Decode Primary1Y attribute (0x0012)
decode_primary2_intensity
Decode Primary2Intensity attribute (0x0017)
decode_primary2_x
Decode Primary2X attribute (0x0015)
decode_primary2_y
Decode Primary2Y attribute (0x0016)
decode_primary3_intensity
Decode Primary3Intensity attribute (0x001B)
decode_primary3_x
Decode Primary3X attribute (0x0019)
decode_primary3_y
Decode Primary3Y attribute (0x001A)
decode_primary4_intensity
Decode Primary4Intensity attribute (0x0022)
decode_primary4_x
Decode Primary4X attribute (0x0020)
decode_primary4_y
Decode Primary4Y attribute (0x0021)
decode_primary5_intensity
Decode Primary5Intensity attribute (0x0026)
decode_primary5_x
Decode Primary5X attribute (0x0024)
decode_primary5_y
Decode Primary5Y attribute (0x0025)
decode_primary6_intensity
Decode Primary6Intensity attribute (0x002A)
decode_primary6_x
Decode Primary6X attribute (0x0028)
decode_primary6_y
Decode Primary6Y attribute (0x0029)
decode_remaining_time
Decode RemainingTime attribute (0x0002)
decode_start_up_color_temperature_mireds
Decode StartUpColorTemperatureMireds attribute (0x4010)
decode_white_point_x
Decode WhitePointX attribute (0x0030)
decode_white_point_y
Decode WhitePointY attribute (0x0031)
encode_color_loop_set
Encode ColorLoopSet command (0x44)
encode_enhanced_move_hue
Encode EnhancedMoveHue command (0x41)
encode_enhanced_move_to_hue
Encode EnhancedMoveToHue command (0x40)
encode_enhanced_move_to_hue_and_saturation
Encode EnhancedMoveToHueAndSaturation command (0x43)
encode_enhanced_step_hue
Encode EnhancedStepHue command (0x42)
encode_move_color
Encode MoveColor command (0x08)
encode_move_color_temperature
Encode MoveColorTemperature command (0x4B)
encode_move_hue
Encode MoveHue command (0x01)
encode_move_saturation
Encode MoveSaturation command (0x04)
encode_move_to_color
Encode MoveToColor command (0x07)
encode_move_to_color_temperature
Encode MoveToColorTemperature command (0x0A)
encode_move_to_hue
Encode MoveToHue command (0x00)
encode_move_to_hue_and_saturation
Encode MoveToHueAndSaturation command (0x06)
encode_move_to_saturation
Encode MoveToSaturation command (0x03)
encode_step_color
Encode StepColor command (0x09)
encode_step_color_temperature
Encode StepColorTemperature command (0x4C)
encode_step_hue
Encode StepHue command (0x02)
encode_step_saturation
Encode StepSaturation command (0x05)
encode_stop_move_step
Encode StopMoveStep command (0x47)
get_attribute_list
Get list of all attributes supported by this cluster

Type Aliases§

ColorCapabilities
ColorCapabilities bitmap type
Options
Options bitmap type
UpdateFlags
UpdateFlags bitmap type