Groups
Attributes
- class st.matter.clusters.Groups.NameSupport
- ID: number
0x0000 the ID of this attribute
- NAME: str
“NameSupport” the name of this attribute
- data_type: st.matter.generated.zap_clusters.Groups.types.NameSupportBitmap
the data type of this attribute
- new_value(...)
Create a NameSupportBitmap object of this attribute with any additional features provided for the attribute
This is also usable with the NameSupport(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a NameSupportBitmap- Return type
st.matter.generated.zap_clusters.Groups.types.NameSupportBitmap
- read(device, endpoint_id)
Constructs an st.matter.interaction_model.InteractionRequest to read
this attribute from a device
- Parameters
device (
st.matter.Device
) –endpoint_id (
number or nil
) –
- Returns
containing an Interaction Request
- Return type
- subscribe(device, endpoint_id)
Reporting policy: NameSupport => true => mandatory
Sets up a Subscribe Interaction
- Parameters
device (
any
) –endpoint_id (
number or nil
) –
- Return type
any
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- build_test_report_data(device, endpoint_id, value, status)
Builds an NameSupport test attribute reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message forendpoint_id (
number or nil
) –value (
any
) –status (
str
) – Interaction status associated with the path
- Returns
of type REPORT_DATA
- Return type
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.AcceptedCommandList
- ID: number
0xFFF9 the ID of this attribute
- NAME: str
“AcceptedCommandList” the name of this attribute
- data_type: st.matter.data_types.Array
the data type of this attribute
- augment_type(base_type_obj)
Add additional functionality to the base type object
- Parameters
base_type_obj (
st.matter.data_types.Array
) – the base data type object to add functionality to
- new_value(...)
Create a Array object of this attribute with any additional features provided for the attribute
This is also usable with the AcceptedCommandList(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Array- Return type
- read(device, endpoint_id)
Constructs an st.matter.interaction_model.InteractionRequest to read
this attribute from a device
- Parameters
device (
st.matter.Device
) –endpoint_id (
number or nil
) –
- Returns
containing an Interaction Request
- Return type
- subscribe(device, endpoint_id)
Reporting policy: AcceptedCommandList => true => mandatory
Sets up a Subscribe Interaction
- Parameters
device (
any
) –endpoint_id (
number or nil
) –
- Return type
any
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- build_test_report_data(device, endpoint_id, value, status)
Builds an AcceptedCommandList test attribute reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message forendpoint_id (
number or nil
) –value (
any
) –status (
str
) – Interaction status associated with the path
- Returns
of type REPORT_DATA
- Return type
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.EventList
- ID: number
0xFFFA the ID of this attribute
- NAME: str
“EventList” the name of this attribute
- data_type: st.matter.data_types.Array
the data type of this attribute
- augment_type(base_type_obj)
Add additional functionality to the base type object
- Parameters
base_type_obj (
st.matter.data_types.Array
) – the base data type object to add functionality to
- new_value(...)
Create a Array object of this attribute with any additional features provided for the attribute
This is also usable with the EventList(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Array- Return type
- read(device, endpoint_id)
Constructs an st.matter.interaction_model.InteractionRequest to read
this attribute from a device
- Parameters
device (
st.matter.Device
) –endpoint_id (
number or nil
) –
- Returns
containing an Interaction Request
- Return type
- subscribe(device, endpoint_id)
Reporting policy: EventList => true => mandatory
Sets up a Subscribe Interaction
- Parameters
device (
any
) –endpoint_id (
number or nil
) –
- Return type
any
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- build_test_report_data(device, endpoint_id, value, status)
Builds an EventList test attribute reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message forendpoint_id (
number or nil
) –value (
any
) –status (
str
) – Interaction status associated with the path
- Returns
of type REPORT_DATA
- Return type
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.AttributeList
- ID: number
0xFFFB the ID of this attribute
- NAME: str
“AttributeList” the name of this attribute
- data_type: st.matter.data_types.Array
the data type of this attribute
- augment_type(base_type_obj)
Add additional functionality to the base type object
- Parameters
base_type_obj (
st.matter.data_types.Array
) – the base data type object to add functionality to
- new_value(...)
Create a Array object of this attribute with any additional features provided for the attribute
This is also usable with the AttributeList(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Array- Return type
- read(device, endpoint_id)
Constructs an st.matter.interaction_model.InteractionRequest to read
this attribute from a device
- Parameters
device (
st.matter.Device
) –endpoint_id (
number or nil
) –
- Returns
containing an Interaction Request
- Return type
- subscribe(device, endpoint_id)
Reporting policy: AttributeList => true => mandatory
Sets up a Subscribe Interaction
- Parameters
device (
any
) –endpoint_id (
number or nil
) –
- Return type
any
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- build_test_report_data(device, endpoint_id, value, status)
Builds an AttributeList test attribute reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message forendpoint_id (
number or nil
) –value (
any
) –status (
str
) – Interaction status associated with the path
- Returns
of type REPORT_DATA
- Return type
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
Client Commands
- class st.matter.clusters.Groups.AddGroupResponse
- ID: number
0x0000 the ID of this command
- NAME: str
“AddGroupResponse” the name of this command
- status: st.matter.data_types.Uint8
- groupid: st.matter.data_types.Uint16
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- build_test_command_response(device, endpoint_id, status, groupid)
Builds an AddGroupResponse test command reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message toendpoint_id (
number or nil
) –status (
st.matter.data_types.Uint8
) –groupid (
st.matter.data_types.Uint16
) –
- Returns
of type COMMAND_RESPONSE
- Return type
st.matter.st.matter.interaction_model.InteractionResponse
- init()
Initialize the AddGroupResponse command
- Return type
nil
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.ViewGroupResponse
- ID: number
0x0001 the ID of this command
- NAME: str
“ViewGroupResponse” the name of this command
- status: st.matter.data_types.Uint8
- groupid: st.matter.data_types.Uint16
- group_name: st.matter.data_types.UTF8String1
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- build_test_command_response(device, endpoint_id, status, groupid, group_name)
Builds an ViewGroupResponse test command reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message toendpoint_id (
number or nil
) –status (
st.matter.data_types.Uint8
) –groupid (
st.matter.data_types.Uint16
) –group_name (
st.matter.data_types.UTF8String1
) –
- Returns
of type COMMAND_RESPONSE
- Return type
st.matter.st.matter.interaction_model.InteractionResponse
- init()
Initialize the ViewGroupResponse command
- Return type
nil
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.GetGroupMembershipResponse
- ID: number
0x0002 the ID of this command
- NAME: str
“GetGroupMembershipResponse” the name of this command
- capacity: st.matter.data_types.Uint8
- group_list: st.matter.data_types.Array
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- build_test_command_response(device, endpoint_id, capacity, group_list)
Builds an GetGroupMembershipResponse test command reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message toendpoint_id (
number or nil
) –capacity (
st.matter.data_types.Uint8
) –group_list (
st.matter.data_types.Array
) –
- Returns
of type COMMAND_RESPONSE
- Return type
st.matter.st.matter.interaction_model.InteractionResponse
- init()
Initialize the GetGroupMembershipResponse command
- Return type
nil
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.RemoveGroupResponse
- ID: number
0x0003 the ID of this command
- NAME: str
“RemoveGroupResponse” the name of this command
- status: st.matter.data_types.Uint8
- groupid: st.matter.data_types.Uint16
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- build_test_command_response(device, endpoint_id, status, groupid)
Builds an RemoveGroupResponse test command reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message toendpoint_id (
number or nil
) –status (
st.matter.data_types.Uint8
) –groupid (
st.matter.data_types.Uint16
) –
- Returns
of type COMMAND_RESPONSE
- Return type
st.matter.st.matter.interaction_model.InteractionResponse
- init()
Initialize the RemoveGroupResponse command
- Return type
nil
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
Server Commands
- class st.matter.clusters.Groups.AddGroup
- ID: number
0x0000 the ID of this command
- NAME: str
“AddGroup” the name of this command
- groupid: st.matter.data_types.Uint16
- group_name: st.matter.data_types.UTF8String1
- init(self, device, groupid, group_name)
Refer to AddGroupResponse:build_test_command_response for
building a test command reponse for the driver integration testing framework Initialize the AddGroup command
- Parameters
self (
AddGroup
) – the template class for this commanddevice (
st.matter.Device
) – the device to build this message togroupid (
st.matter.data_types.Uint16
) –group_name (
st.matter.data_types.UTF8String1
) –
- Returns
of type INVOKE
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.ViewGroup
- ID: number
0x0001 the ID of this command
- NAME: str
“ViewGroup” the name of this command
- groupid: st.matter.data_types.Uint16
- init(self, device, groupid)
Refer to ViewGroupResponse:build_test_command_response for
building a test command reponse for the driver integration testing framework Initialize the ViewGroup command
- Parameters
self (
ViewGroup
) – the template class for this commanddevice (
st.matter.Device
) – the device to build this message togroupid (
st.matter.data_types.Uint16
) –
- Returns
of type INVOKE
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.GetGroupMembership
- ID: number
0x0002 the ID of this command
- NAME: str
“GetGroupMembership” the name of this command
- group_list: st.matter.data_types.Array
- init(self, device, group_list)
Refer to GetGroupMembershipResponse:build_test_command_response for
building a test command reponse for the driver integration testing framework Initialize the GetGroupMembership command
- Parameters
self (
GetGroupMembership
) – the template class for this commanddevice (
st.matter.Device
) – the device to build this message togroup_list (
st.matter.data_types.Array
) –
- Returns
of type INVOKE
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.RemoveGroup
- ID: number
0x0003 the ID of this command
- NAME: str
“RemoveGroup” the name of this command
- groupid: st.matter.data_types.Uint16
- init(self, device, groupid)
Refer to RemoveGroupResponse:build_test_command_response for
building a test command reponse for the driver integration testing framework Initialize the RemoveGroup command
- Parameters
self (
RemoveGroup
) – the template class for this commanddevice (
st.matter.Device
) – the device to build this message togroupid (
st.matter.data_types.Uint16
) –
- Returns
of type INVOKE
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.RemoveAllGroups
- ID: number
0x0004 the ID of this command
- NAME: str
“RemoveAllGroups” the name of this command
- build_test_command_response(device, endpoint_id, status)
Builds an RemoveAllGroups test command reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message toendpoint_id (
number or nil
) –status (
str
) – Interaction status associated with the path
- Returns
of type COMMAND_RESPONSE
- Return type
st.matter.st.matter.interaction_model.InteractionResponse
- init(self, device)
Initialize the RemoveAllGroups command
- Parameters
self (
RemoveAllGroups
) – the template class for this commanddevice (
st.matter.Device
) – the device to build this message to
- Returns
of type INVOKE
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
- class st.matter.clusters.Groups.AddGroupIfIdentifying
- ID: number
0x0005 the ID of this command
- NAME: str
“AddGroupIfIdentifying” the name of this command
- groupid: st.matter.data_types.Uint16
- group_name: st.matter.data_types.UTF8String1
- build_test_command_response(device, endpoint_id, status)
Builds an AddGroupIfIdentifying test command reponse for the driver integration testing framework
- Parameters
device (
st.matter.Device
) – the device to build this message toendpoint_id (
number or nil
) –status (
str
) – Interaction status associated with the path
- Returns
of type COMMAND_RESPONSE
- Return type
st.matter.st.matter.interaction_model.InteractionResponse
- init(self, device, groupid, group_name)
Initialize the AddGroupIfIdentifying command
- Parameters
self (
AddGroupIfIdentifying
) – the template class for this commanddevice (
st.matter.Device
) – the device to build this message togroupid (
st.matter.data_types.Uint16
) –group_name (
st.matter.data_types.UTF8String1
) –
- Returns
of type INVOKE
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- augment_type(base_type_obj)
Add field names to each command field
- Parameters
base_type_obj (
st.matter.data_types.Structure
) –
- deserialize(tlv_buf)
- Parameters
tlv_buf (
any
) –
Bitmap types
- class st.matter.clusters.Groups.types.Feature
- GROUP_NAMES: number
1
- is_group_names_set()
- Returns
True if the value of GROUP_NAMES is non-zero
- Return type
boolean
- set_group_names()
Set the value of the bit in the GROUP_NAMES field to 1
- unset_group_names()
Set the value of the bits in the GROUP_NAMES field to 0
- class st.matter.clusters.Groups.types.NameSupportBitmap
- GROUP_NAMES: number
128
- is_group_names_set()
- Returns
True if the value of GROUP_NAMES is non-zero
- Return type
boolean
- set_group_names()
Set the value of the bit in the GROUP_NAMES field to 1
- unset_group_names()
Set the value of the bits in the GROUP_NAMES field to 0