PollControl
- class st.zigbee.zcl.clusters.PollControl
- ID: number
0x0020 the ID of this cluster
- NAME: str
“PollControl” the name of this cluster
- attributes: st.zigbee.zcl.clusters.PollControlServerAttributes or st.zigbee.zcl.clusters.PollControlClientAttributes
- commands: st.zigbee.zcl.clusters.PollControlServerCommands or st.zigbee.zcl.clusters.PollControlClientCommands
- types: st.zigbee.zcl.clusters.PollControlTypes
PollControl Attributes
- class st.zigbee.zcl.clusters.PollControl.CheckInInterval
- ID: number
0x0000 the ID of this attribute
- NAME: str
“CheckInInterval” the name of this attribute
- data_type: st.zigbee.data_types.Uint32
the data type of this attribute
- augment_type(base_type_obj)
- Parameters
base_type_obj (
any
) –
- build_test_attr_report(device, data)
Build a Rx Zigbee message as if a device reported this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an AttributeReport body
- Return type
- build_test_read_attr_response(device, data)
Build a Rx Zigbee message as if a device sent a read response for this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an ReadAttributeResponse body
- Return type
- new_value(...)
Create a Uint32 object of this attribute with any additional features provided for the attribute
This is also usable with the CheckInInterval(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Uint32- Return type
- read(device)
Construct a st.zigbee.ZigbeeMessageTx to read this attribute from a device
- Parameters
device (
st.zigbee.Device
) –- Returns
containing a ReadAttribute body
- Return type
- configure_reporting(device, min_rep_int, max_rep_int, rep_change)
Construct a st.zigbee.ZigbeeMessageTx to configure this attribute for reporting on a device
- Parameters
device (
st.zigbee.Device
) –min_rep_int (
number or st.zigbee.data_types.Uint16
) – the minimum interval allowed between reports of this attributemax_rep_int (
number or st.zigbee.data_types.Uint16
) – the maximum interval allowed between reports of this attributerep_change (
st.zigbee.data_types.Uint32
) – The amount of change of the attribute to trigger a report
- Returns
containing a ConfigureReporting body
- Return type
- write(device, value)
Write a value to this attribute on a device
- Parameters
device (
st.zigbee.Device
) –value (
st.zigbee.data_types.Uint32
) – the value to write
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.LongPollInterval
- ID: number
0x0001 the ID of this attribute
- NAME: str
“LongPollInterval” the name of this attribute
- data_type: st.zigbee.data_types.Uint32
the data type of this attribute
- augment_type(base_type_obj)
- Parameters
base_type_obj (
any
) –
- build_test_attr_report(device, data)
Build a Rx Zigbee message as if a device reported this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an AttributeReport body
- Return type
- build_test_read_attr_response(device, data)
Build a Rx Zigbee message as if a device sent a read response for this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an ReadAttributeResponse body
- Return type
- new_value(...)
Create a Uint32 object of this attribute with any additional features provided for the attribute
This is also usable with the LongPollInterval(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Uint32- Return type
- read(device)
Construct a st.zigbee.ZigbeeMessageTx to read this attribute from a device
- Parameters
device (
st.zigbee.Device
) –- Returns
containing a ReadAttribute body
- Return type
- configure_reporting(device, min_rep_int, max_rep_int, rep_change)
Construct a st.zigbee.ZigbeeMessageTx to configure this attribute for reporting on a device
- Parameters
device (
st.zigbee.Device
) –min_rep_int (
number or st.zigbee.data_types.Uint16
) – the minimum interval allowed between reports of this attributemax_rep_int (
number or st.zigbee.data_types.Uint16
) – the maximum interval allowed between reports of this attributerep_change (
st.zigbee.data_types.Uint32
) – The amount of change of the attribute to trigger a report
- Returns
containing a ConfigureReporting body
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.ShortPollInterval
- ID: number
0x0002 the ID of this attribute
- NAME: str
“ShortPollInterval” the name of this attribute
- data_type: st.zigbee.data_types.Uint16
the data type of this attribute
- augment_type(base_type_obj)
- Parameters
base_type_obj (
any
) –
- build_test_attr_report(device, data)
Build a Rx Zigbee message as if a device reported this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint16
) – the attribute value
- Returns
containing an AttributeReport body
- Return type
- build_test_read_attr_response(device, data)
Build a Rx Zigbee message as if a device sent a read response for this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint16
) – the attribute value
- Returns
containing an ReadAttributeResponse body
- Return type
- new_value(...)
Create a Uint16 object of this attribute with any additional features provided for the attribute
This is also usable with the ShortPollInterval(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Uint16- Return type
- read(device)
Construct a st.zigbee.ZigbeeMessageTx to read this attribute from a device
- Parameters
device (
st.zigbee.Device
) –- Returns
containing a ReadAttribute body
- Return type
- configure_reporting(device, min_rep_int, max_rep_int, rep_change)
Construct a st.zigbee.ZigbeeMessageTx to configure this attribute for reporting on a device
- Parameters
device (
st.zigbee.Device
) –min_rep_int (
number or st.zigbee.data_types.Uint16
) – the minimum interval allowed between reports of this attributemax_rep_int (
number or st.zigbee.data_types.Uint16
) – the maximum interval allowed between reports of this attributerep_change (
st.zigbee.data_types.Uint16
) – The amount of change of the attribute to trigger a report
- Returns
containing a ConfigureReporting body
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.FastPollTimeout
- ID: number
0x0003 the ID of this attribute
- NAME: str
“FastPollTimeout” the name of this attribute
- data_type: st.zigbee.data_types.Uint16
the data type of this attribute
- augment_type(base_type_obj)
- Parameters
base_type_obj (
any
) –
- build_test_attr_report(device, data)
Build a Rx Zigbee message as if a device reported this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint16
) – the attribute value
- Returns
containing an AttributeReport body
- Return type
- build_test_read_attr_response(device, data)
Build a Rx Zigbee message as if a device sent a read response for this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint16
) – the attribute value
- Returns
containing an ReadAttributeResponse body
- Return type
- new_value(...)
Create a Uint16 object of this attribute with any additional features provided for the attribute
This is also usable with the FastPollTimeout(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Uint16- Return type
- read(device)
Construct a st.zigbee.ZigbeeMessageTx to read this attribute from a device
- Parameters
device (
st.zigbee.Device
) –- Returns
containing a ReadAttribute body
- Return type
- configure_reporting(device, min_rep_int, max_rep_int, rep_change)
Construct a st.zigbee.ZigbeeMessageTx to configure this attribute for reporting on a device
- Parameters
device (
st.zigbee.Device
) –min_rep_int (
number or st.zigbee.data_types.Uint16
) – the minimum interval allowed between reports of this attributemax_rep_int (
number or st.zigbee.data_types.Uint16
) – the maximum interval allowed between reports of this attributerep_change (
st.zigbee.data_types.Uint16
) – The amount of change of the attribute to trigger a report
- Returns
containing a ConfigureReporting body
- Return type
- write(device, value)
Write a value to this attribute on a device
- Parameters
device (
st.zigbee.Device
) –value (
st.zigbee.data_types.Uint16
) – the value to write
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.CheckInIntervalMin
- ID: number
0x0004 the ID of this attribute
- NAME: str
“CheckInIntervalMin” the name of this attribute
- data_type: st.zigbee.data_types.Uint32
the data type of this attribute
- augment_type(base_type_obj)
- Parameters
base_type_obj (
any
) –
- build_test_attr_report(device, data)
Build a Rx Zigbee message as if a device reported this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an AttributeReport body
- Return type
- build_test_read_attr_response(device, data)
Build a Rx Zigbee message as if a device sent a read response for this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an ReadAttributeResponse body
- Return type
- new_value(...)
Create a Uint32 object of this attribute with any additional features provided for the attribute
This is also usable with the CheckInIntervalMin(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Uint32- Return type
- read(device)
Construct a st.zigbee.ZigbeeMessageTx to read this attribute from a device
- Parameters
device (
st.zigbee.Device
) –- Returns
containing a ReadAttribute body
- Return type
- configure_reporting(device, min_rep_int, max_rep_int, rep_change)
Construct a st.zigbee.ZigbeeMessageTx to configure this attribute for reporting on a device
- Parameters
device (
st.zigbee.Device
) –min_rep_int (
number or st.zigbee.data_types.Uint16
) – the minimum interval allowed between reports of this attributemax_rep_int (
number or st.zigbee.data_types.Uint16
) – the maximum interval allowed between reports of this attributerep_change (
st.zigbee.data_types.Uint32
) – The amount of change of the attribute to trigger a report
- Returns
containing a ConfigureReporting body
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.LongPollIntervalMin
- ID: number
0x0005 the ID of this attribute
- NAME: str
“LongPollIntervalMin” the name of this attribute
- data_type: st.zigbee.data_types.Uint32
the data type of this attribute
- augment_type(base_type_obj)
- Parameters
base_type_obj (
any
) –
- build_test_attr_report(device, data)
Build a Rx Zigbee message as if a device reported this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an AttributeReport body
- Return type
- build_test_read_attr_response(device, data)
Build a Rx Zigbee message as if a device sent a read response for this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint32
) – the attribute value
- Returns
containing an ReadAttributeResponse body
- Return type
- new_value(...)
Create a Uint32 object of this attribute with any additional features provided for the attribute
This is also usable with the LongPollIntervalMin(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Uint32- Return type
- read(device)
Construct a st.zigbee.ZigbeeMessageTx to read this attribute from a device
- Parameters
device (
st.zigbee.Device
) –- Returns
containing a ReadAttribute body
- Return type
- configure_reporting(device, min_rep_int, max_rep_int, rep_change)
Construct a st.zigbee.ZigbeeMessageTx to configure this attribute for reporting on a device
- Parameters
device (
st.zigbee.Device
) –min_rep_int (
number or st.zigbee.data_types.Uint16
) – the minimum interval allowed between reports of this attributemax_rep_int (
number or st.zigbee.data_types.Uint16
) – the maximum interval allowed between reports of this attributerep_change (
st.zigbee.data_types.Uint32
) – The amount of change of the attribute to trigger a report
- Returns
containing a ConfigureReporting body
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.FastPollTimeoutMax
- ID: number
0x0006 the ID of this attribute
- NAME: str
“FastPollTimeoutMax” the name of this attribute
- data_type: st.zigbee.data_types.Uint16
the data type of this attribute
- augment_type(base_type_obj)
- Parameters
base_type_obj (
any
) –
- build_test_attr_report(device, data)
Build a Rx Zigbee message as if a device reported this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint16
) – the attribute value
- Returns
containing an AttributeReport body
- Return type
- build_test_read_attr_response(device, data)
Build a Rx Zigbee message as if a device sent a read response for this attribute
- Parameters
device (
st.zigbee.Device
) –data (
st.zigbee.data_types.Uint16
) – the attribute value
- Returns
containing an ReadAttributeResponse body
- Return type
- new_value(...)
Create a Uint16 object of this attribute with any additional features provided for the attribute
This is also usable with the FastPollTimeoutMax(…) syntax
- Parameters
vararg (
vararg
) – the values needed to construct a Uint16- Return type
- read(device)
Construct a st.zigbee.ZigbeeMessageTx to read this attribute from a device
- Parameters
device (
st.zigbee.Device
) –- Returns
containing a ReadAttribute body
- Return type
- configure_reporting(device, min_rep_int, max_rep_int, rep_change)
Construct a st.zigbee.ZigbeeMessageTx to configure this attribute for reporting on a device
- Parameters
device (
st.zigbee.Device
) –min_rep_int (
number or st.zigbee.data_types.Uint16
) – the minimum interval allowed between reports of this attributemax_rep_int (
number or st.zigbee.data_types.Uint16
) – the maximum interval allowed between reports of this attributerep_change (
st.zigbee.data_types.Uint16
) – The amount of change of the attribute to trigger a report
- Returns
containing a ConfigureReporting body
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
PollControl Commands
- class st.zigbee.zcl.clusters.PollControl.CheckIn
- ID: number
0x00 the ID of this command
- NAME: str
“CheckIn” the name of this command
- get_fields()
- static deserialize(buf)
Deserialize this command
- Parameters
buf (
buf
) – the bytes of the command body- Return type
CheckIn
- set_field_names()
- static build_test_rx(device)
Build a version of this message as if it came from the device
- Parameters
device (
st.zigbee.Device
) – the device to build the message from- Returns
The full Zigbee message containing this command body
- Return type
- init(self, device)
Initialize the CheckIn command
- Parameters
self (
CheckIn
) – the template class for this commanddevice (
st.zigbee.Device
) – the device to build this message to
- Returns
the full command addressed to the device
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.CheckInResponse
- ID: number
0x00 the ID of this command
- NAME: str
“CheckInResponse” the name of this command
- start_fast_polling: st.zigbee.data_types.Boolean
- fast_poll_timeout: st.zigbee.data_types.Uint16
- get_fields()
- static deserialize(buf)
Deserialize this command
- Parameters
buf (
buf
) – the bytes of the command body- Return type
CheckInResponse
- set_field_names()
- static build_test_rx(device, start_fast_polling, fast_poll_timeout)
Build a version of this message as if it came from the device
- Parameters
device (
st.zigbee.Device
) – the device to build the message fromstart_fast_polling (
st.zigbee.data_types.Boolean
) –fast_poll_timeout (
st.zigbee.data_types.Uint16
) –
- Returns
The full Zigbee message containing this command body
- Return type
- init(self, device, start_fast_polling, fast_poll_timeout)
Initialize the CheckInResponse command
- Parameters
self (
CheckInResponse
) – the template class for this commanddevice (
st.zigbee.Device
) – the device to build this message tostart_fast_polling (
st.zigbee.data_types.Boolean
) –fast_poll_timeout (
st.zigbee.data_types.Uint16
) –
- Returns
the full command addressed to the device
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.FastPollStop
- ID: number
0x01 the ID of this command
- NAME: str
“FastPollStop” the name of this command
- get_fields()
- static deserialize(buf)
Deserialize this command
- Parameters
buf (
buf
) – the bytes of the command body- Return type
FastPollStop
- set_field_names()
- static build_test_rx(device)
Build a version of this message as if it came from the device
- Parameters
device (
st.zigbee.Device
) – the device to build the message from- Returns
The full Zigbee message containing this command body
- Return type
- init(self, device)
Initialize the FastPollStop command
- Parameters
self (
FastPollStop
) – the template class for this commanddevice (
st.zigbee.Device
) – the device to build this message to
- Returns
the full command addressed to the device
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.SetLongPollInterval
- ID: number
0x02 the ID of this command
- NAME: str
“SetLongPollInterval” the name of this command
- new_long_poll_interval: st.zigbee.data_types.Uint32
- get_fields()
- static deserialize(buf)
Deserialize this command
- Parameters
buf (
buf
) – the bytes of the command body- Return type
SetLongPollInterval
- set_field_names()
- static build_test_rx(device, new_long_poll_interval)
Build a version of this message as if it came from the device
- Parameters
device (
st.zigbee.Device
) – the device to build the message fromnew_long_poll_interval (
st.zigbee.data_types.Uint32
) –
- Returns
The full Zigbee message containing this command body
- Return type
- init(self, device, new_long_poll_interval)
Initialize the SetLongPollInterval command
- Parameters
self (
SetLongPollInterval
) – the template class for this commanddevice (
st.zigbee.Device
) – the device to build this message tonew_long_poll_interval (
st.zigbee.data_types.Uint32
) –
- Returns
the full command addressed to the device
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –
- class st.zigbee.zcl.clusters.PollControl.SetShortPollInterval
- ID: number
0x03 the ID of this command
- NAME: str
“SetShortPollInterval” the name of this command
- new_short_poll_interval: st.zigbee.data_types.Uint16
- get_fields()
- static deserialize(buf)
Deserialize this command
- Parameters
buf (
buf
) – the bytes of the command body- Return type
SetShortPollInterval
- set_field_names()
- static build_test_rx(device, new_short_poll_interval)
Build a version of this message as if it came from the device
- Parameters
device (
st.zigbee.Device
) – the device to build the message fromnew_short_poll_interval (
st.zigbee.data_types.Uint16
) –
- Returns
The full Zigbee message containing this command body
- Return type
- init(self, device, new_short_poll_interval)
Initialize the SetShortPollInterval command
- Parameters
self (
SetShortPollInterval
) – the template class for this commanddevice (
st.zigbee.Device
) – the device to build this message tonew_short_poll_interval (
st.zigbee.data_types.Uint16
) –
- Returns
the full command addressed to the device
- Return type
- set_parent_cluster(cluster)
- Parameters
cluster (
any
) –