WindowCovering¶
- class st.zigbee.zcl.clusters.WindowCovering¶
- ID: number¶
0x0102 the ID of this cluster
- NAME: str¶
“WindowCovering” the name of this cluster
- attributes: st.zigbee.zcl.clusters.WindowCoveringServerAttributes or st.zigbee.zcl.clusters.WindowCoveringClientAttributes¶
- commands: st.zigbee.zcl.clusters.WindowCoveringServerCommands or st.zigbee.zcl.clusters.WindowCoveringClientCommands¶
- types: st.zigbee.zcl.clusters.WindowCoveringTypes¶
WindowCovering Attributes¶
- class st.zigbee.zcl.clusters.WindowCovering.WindowCoveringType¶
- ID: number¶
0x0000 the ID of this attribute
- NAME: str¶
“WindowCoveringType” the name of this attribute
- data_type: st.zigbee.data_types.Enum8¶
the data type of this attribute
- ROLLERSHADE: number¶
0
- ROLLERSHADE2MOTOR: number¶
1
- ROLLERSHADE_EXTERIOR: number¶
2
- ROLLERSHADE_EXTERIOR2MOTOR: number¶
3
- DRAPERY: number¶
4
- AWNING: number¶
5
- SHUTTER: number¶
6
- TILT_BLIND_TILT_ONLY: number¶
7
- TILT_BLIND_LIFT_AND_TILT: number¶
8
- PROJECTOR_SCREEN: number¶
9
- augment_type(base_type_obj)¶
Add additional functionality to the base type object
- Parameters:
base_type_obj (
st.zigbee.data_types.Enum8) – the base data type object to add functionality to
- 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.Enum8) – 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.Enum8) – the attribute value
- Returns:
containing an ReadAttributeResponse body
- Return type:
- new_value(...)¶
Create a Enum8 object of this attribute with any additional features provided for the attribute
This is also usable with the WindowCoveringType(…) syntax
- Parameters:
vararg (
vararg) – the values needed to construct a Enum8- 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)¶
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 attribute
- Returns:
containing a ConfigureReporting body
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.PhysicalClosedLimitLift¶
- ID: number¶
0x0001 the ID of this attribute
- NAME: str¶
“PhysicalClosedLimitLift” 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 PhysicalClosedLimitLift(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.PhysicalClosedLimitTilt¶
- ID: number¶
0x0002 the ID of this attribute
- NAME: str¶
“PhysicalClosedLimitTilt” 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 PhysicalClosedLimitTilt(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.CurrentPositionLift¶
- ID: number¶
0x0003 the ID of this attribute
- NAME: str¶
“CurrentPositionLift” 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 CurrentPositionLift(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.CurrentPositionTilt¶
- ID: number¶
0x0004 the ID of this attribute
- NAME: str¶
“CurrentPositionTilt” 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 CurrentPositionTilt(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.NumberOfActuationsLift¶
- ID: number¶
0x0005 the ID of this attribute
- NAME: str¶
“NumberOfActuationsLift” 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 NumberOfActuationsLift(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.NumberOfActuationsTilt¶
- ID: number¶
0x0006 the ID of this attribute
- NAME: str¶
“NumberOfActuationsTilt” 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 NumberOfActuationsTilt(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.ConfigOrStatus¶
- ID: number¶
0x0007 the ID of this attribute
- NAME: str¶
“ConfigOrStatus” the name of this attribute
- data_type: st.zigbee.data_types.Bitmap8¶
the data type of this attribute
- OPERATIONAL: number¶
1
- ONLINE: number¶
2
- OPEN_AND_UP_COMMANDS_REVERSED: number¶
4
- LIFT_CLOSED_LOOP: number¶
8
- TILT_CLOSED_LOOP: number¶
16
- LIFT_ENCODER_CONTROLLED: number¶
32
- TILT_ENCODER_CONTROLLED: number¶
64
- is_operational_set()¶
- Returns:
True if the value of OPERATIONAL is non-zero
- Return type:
boolean
- set_operational()¶
Set the value of the bit in the OPERATIONAL field to 1
- unset_operational()¶
Set the value of the bits in the OPERATIONAL field to 0
- is_online_set()¶
- Returns:
True if the value of ONLINE is non-zero
- Return type:
boolean
- set_online()¶
Set the value of the bit in the ONLINE field to 1
- unset_online()¶
Set the value of the bits in the ONLINE field to 0
- is_open_and_up_commands_reversed_set()¶
- Returns:
True if the value of OPEN_AND_UP_COMMANDS_REVERSED is non-zero
- Return type:
boolean
- set_open_and_up_commands_reversed()¶
Set the value of the bit in the OPEN_AND_UP_COMMANDS_REVERSED field to 1
- unset_open_and_up_commands_reversed()¶
Set the value of the bits in the OPEN_AND_UP_COMMANDS_REVERSED field to 0
- is_lift_closed_loop_set()¶
- Returns:
True if the value of LIFT_CLOSED_LOOP is non-zero
- Return type:
boolean
- set_lift_closed_loop()¶
Set the value of the bit in the LIFT_CLOSED_LOOP field to 1
- unset_lift_closed_loop()¶
Set the value of the bits in the LIFT_CLOSED_LOOP field to 0
- is_tilt_closed_loop_set()¶
- Returns:
True if the value of TILT_CLOSED_LOOP is non-zero
- Return type:
boolean
- set_tilt_closed_loop()¶
Set the value of the bit in the TILT_CLOSED_LOOP field to 1
- unset_tilt_closed_loop()¶
Set the value of the bits in the TILT_CLOSED_LOOP field to 0
- is_lift_encoder_controlled_set()¶
- Returns:
True if the value of LIFT_ENCODER_CONTROLLED is non-zero
- Return type:
boolean
- set_lift_encoder_controlled()¶
Set the value of the bit in the LIFT_ENCODER_CONTROLLED field to 1
- unset_lift_encoder_controlled()¶
Set the value of the bits in the LIFT_ENCODER_CONTROLLED field to 0
- is_tilt_encoder_controlled_set()¶
- Returns:
True if the value of TILT_ENCODER_CONTROLLED is non-zero
- Return type:
boolean
- set_tilt_encoder_controlled()¶
Set the value of the bit in the TILT_ENCODER_CONTROLLED field to 1
- unset_tilt_encoder_controlled()¶
Set the value of the bits in the TILT_ENCODER_CONTROLLED field to 0
- augment_type(base_type_obj)¶
Add additional functionality to the base type object
- Parameters:
base_type_obj (
st.zigbee.data_types.Bitmap8) – the base data type object to add functionality to
- 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.Bitmap8) – 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.Bitmap8) – the attribute value
- Returns:
containing an ReadAttributeResponse body
- Return type:
- new_value(...)¶
Create a Bitmap8 object of this attribute with any additional features provided for the attribute
This is also usable with the ConfigOrStatus(…) syntax
- Parameters:
vararg (
vararg) – the values needed to construct a Bitmap8- 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)¶
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 attribute
- Returns:
containing a ConfigureReporting body
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.CurrentPositionLiftPercentage¶
- ID: number¶
0x0008 the ID of this attribute
- NAME: str¶
“CurrentPositionLiftPercentage” the name of this attribute
- data_type: st.zigbee.data_types.Uint8¶
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.Uint8) – 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.Uint8) – the attribute value
- Returns:
containing an ReadAttributeResponse body
- Return type:
- new_value(...)¶
Create a Uint8 object of this attribute with any additional features provided for the attribute
This is also usable with the CurrentPositionLiftPercentage(…) syntax
- Parameters:
vararg (
vararg) – the values needed to construct a Uint8- 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.Uint8) – The amount of change of the attribute to trigger a report
- Returns:
containing a ConfigureReporting body
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.CurrentPositionTiltPercentage¶
- ID: number¶
0x0009 the ID of this attribute
- NAME: str¶
“CurrentPositionTiltPercentage” the name of this attribute
- data_type: st.zigbee.data_types.Uint8¶
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.Uint8) – 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.Uint8) – the attribute value
- Returns:
containing an ReadAttributeResponse body
- Return type:
- new_value(...)¶
Create a Uint8 object of this attribute with any additional features provided for the attribute
This is also usable with the CurrentPositionTiltPercentage(…) syntax
- Parameters:
vararg (
vararg) – the values needed to construct a Uint8- 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.Uint8) – The amount of change of the attribute to trigger a report
- Returns:
containing a ConfigureReporting body
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.InstalledOpenLimitLift¶
- ID: number¶
0x0010 the ID of this attribute
- NAME: str¶
“InstalledOpenLimitLift” 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 InstalledOpenLimitLift(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.InstalledClosedLimitLift¶
- ID: number¶
0x0011 the ID of this attribute
- NAME: str¶
“InstalledClosedLimitLift” 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 InstalledClosedLimitLift(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.InstalledOpenLimitTilt¶
- ID: number¶
0x0012 the ID of this attribute
- NAME: str¶
“InstalledOpenLimitTilt” 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 InstalledOpenLimitTilt(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.InstalledClosedLimitTilt¶
- ID: number¶
0x0013 the ID of this attribute
- NAME: str¶
“InstalledClosedLimitTilt” 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 InstalledClosedLimitTilt(…) 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:
- class st.zigbee.zcl.clusters.WindowCovering.VelocityLift¶
- ID: number¶
0x0014 the ID of this attribute
- NAME: str¶
“VelocityLift” 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 VelocityLift(…) 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
- class st.zigbee.zcl.clusters.WindowCovering.AccelerationTimeLift¶
- ID: number¶
0x0015 the ID of this attribute
- NAME: str¶
“AccelerationTimeLift” 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 AccelerationTimeLift(…) 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
- class st.zigbee.zcl.clusters.WindowCovering.DecelerationTimeLift¶
- ID: number¶
0x0016 the ID of this attribute
- NAME: str¶
“DecelerationTimeLift” 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 DecelerationTimeLift(…) 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
- class st.zigbee.zcl.clusters.WindowCovering.Mode¶
- ID: number¶
0x0017 the ID of this attribute
- NAME: str¶
“Mode” the name of this attribute
- data_type: st.zigbee.data_types.Bitmap8¶
the data type of this attribute
- MOTOR_DIRECTION_REVERSED: number¶
1
- CALIBRATION_MODE: number¶
2
- MAINTENANCE_MODE: number¶
4
- LED_FEEDBACK: number¶
8
- is_motor_direction_reversed_set()¶
- Returns:
True if the value of MOTOR_DIRECTION_REVERSED is non-zero
- Return type:
boolean
- set_motor_direction_reversed()¶
Set the value of the bit in the MOTOR_DIRECTION_REVERSED field to 1
- unset_motor_direction_reversed()¶
Set the value of the bits in the MOTOR_DIRECTION_REVERSED field to 0
- is_calibration_mode_set()¶
- Returns:
True if the value of CALIBRATION_MODE is non-zero
- Return type:
boolean
- set_calibration_mode()¶
Set the value of the bit in the CALIBRATION_MODE field to 1
- unset_calibration_mode()¶
Set the value of the bits in the CALIBRATION_MODE field to 0
- is_maintenance_mode_set()¶
- Returns:
True if the value of MAINTENANCE_MODE is non-zero
- Return type:
boolean
- set_maintenance_mode()¶
Set the value of the bit in the MAINTENANCE_MODE field to 1
- unset_maintenance_mode()¶
Set the value of the bits in the MAINTENANCE_MODE field to 0
- is_led_feedback_set()¶
- Returns:
True if the value of LED_FEEDBACK is non-zero
- Return type:
boolean
- set_led_feedback()¶
Set the value of the bit in the LED_FEEDBACK field to 1
- unset_led_feedback()¶
Set the value of the bits in the LED_FEEDBACK field to 0
- augment_type(base_type_obj)¶
Add additional functionality to the base type object
- Parameters:
base_type_obj (
st.zigbee.data_types.Bitmap8) – the base data type object to add functionality to
- 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.Bitmap8) – 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.Bitmap8) – the attribute value
- Returns:
containing an ReadAttributeResponse body
- Return type:
- new_value(...)¶
Create a Bitmap8 object of this attribute with any additional features provided for the attribute
This is also usable with the Mode(…) syntax
- Parameters:
vararg (
vararg) – the values needed to construct a Bitmap8- 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)¶
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 attribute
- Returns:
containing a ConfigureReporting body
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.IntermediateSetpointsLift¶
- ID: number¶
0x0018 the ID of this attribute
- NAME: str¶
“IntermediateSetpointsLift” the name of this attribute
- data_type: st.zigbee.data_types.OctetString¶
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.OctetString) – 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.OctetString) – the attribute value
- Returns:
containing an ReadAttributeResponse body
- Return type:
- new_value(...)¶
Create a OctetString object of this attribute with any additional features provided for the attribute
This is also usable with the IntermediateSetpointsLift(…) syntax
- Parameters:
vararg (
vararg) – the values needed to construct a OctetString- 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.OctetString) – The amount of change of the attribute to trigger a report
- Returns:
containing a ConfigureReporting body
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.IntermediateSetpointsTilt¶
- ID: number¶
0x0019 the ID of this attribute
- NAME: str¶
“IntermediateSetpointsTilt” the name of this attribute
- data_type: st.zigbee.data_types.OctetString¶
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.OctetString) – 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.OctetString) – the attribute value
- Returns:
containing an ReadAttributeResponse body
- Return type:
- new_value(...)¶
Create a OctetString object of this attribute with any additional features provided for the attribute
This is also usable with the IntermediateSetpointsTilt(…) syntax
- Parameters:
vararg (
vararg) – the values needed to construct a OctetString- 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.OctetString) – The amount of change of the attribute to trigger a report
- Returns:
containing a ConfigureReporting body
- Return type:
WindowCovering Commands¶
- class st.zigbee.zcl.clusters.WindowCovering.UpOrOpen¶
- ID: number¶
0x00 the ID of this command
- NAME: str¶
“UpOrOpen” the name of this command
- get_fields()¶
- static deserialize(buf)¶
Deserialize this command
- Parameters:
buf (
buf) – the bytes of the command body- Return type:
UpOrOpen
- 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 UpOrOpen command
- Parameters:
self (
UpOrOpen) – 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:
- class st.zigbee.zcl.clusters.WindowCovering.DownOrClose¶
- ID: number¶
0x01 the ID of this command
- NAME: str¶
“DownOrClose” the name of this command
- get_fields()¶
- static deserialize(buf)¶
Deserialize this command
- Parameters:
buf (
buf) – the bytes of the command body- Return type:
DownOrClose
- 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 DownOrClose command
- Parameters:
self (
DownOrClose) – 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:
- class st.zigbee.zcl.clusters.WindowCovering.Stop¶
- ID: number¶
0x02 the ID of this command
- NAME: str¶
“Stop” the name of this command
- get_fields()¶
- static deserialize(buf)¶
Deserialize this command
- Parameters:
buf (
buf) – the bytes of the command body- Return type:
Stop
- 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 Stop command
- Parameters:
self (
Stop) – 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:
- class st.zigbee.zcl.clusters.WindowCovering.GoToLiftValue¶
- ID: number¶
0x04 the ID of this command
- NAME: str¶
“GoToLiftValue” the name of this command
- lift_value: st.zigbee.data_types.Uint16¶
- get_fields()¶
- static deserialize(buf)¶
Deserialize this command
- Parameters:
buf (
buf) – the bytes of the command body- Return type:
GoToLiftValue
- set_field_names()¶
- static build_test_rx(device, lift_value)¶
Build a version of this message as if it came from the device
- Parameters:
device (
st.zigbee.Device) – the device to build the message fromlift_value (
st.zigbee.data_types.Uint16)
- Returns:
The full Zigbee message containing this command body
- Return type:
- init(self, device, lift_value)¶
Initialize the GoToLiftValue command
- Parameters:
self (
GoToLiftValue) – the template class for this commanddevice (
st.zigbee.Device) – the device to build this message tolift_value (
st.zigbee.data_types.Uint16)
- Returns:
the full command addressed to the device
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.GoToLiftPercentage¶
- ID: number¶
0x05 the ID of this command
- NAME: str¶
“GoToLiftPercentage” the name of this command
- percentage_lift_value: st.zigbee.data_types.Uint8¶
- get_fields()¶
- static deserialize(buf)¶
Deserialize this command
- Parameters:
buf (
buf) – the bytes of the command body- Return type:
GoToLiftPercentage
- set_field_names()¶
- static build_test_rx(device, percentage_lift_value)¶
Build a version of this message as if it came from the device
- Parameters:
device (
st.zigbee.Device) – the device to build the message frompercentage_lift_value (
st.zigbee.data_types.Uint8)
- Returns:
The full Zigbee message containing this command body
- Return type:
- init(self, device, percentage_lift_value)¶
Initialize the GoToLiftPercentage command
- Parameters:
self (
GoToLiftPercentage) – the template class for this commanddevice (
st.zigbee.Device) – the device to build this message topercentage_lift_value (
st.zigbee.data_types.Uint8)
- Returns:
the full command addressed to the device
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.GoToTiltValue¶
- ID: number¶
0x07 the ID of this command
- NAME: str¶
“GoToTiltValue” the name of this command
- tilt_value: st.zigbee.data_types.Uint16¶
- get_fields()¶
- static deserialize(buf)¶
Deserialize this command
- Parameters:
buf (
buf) – the bytes of the command body- Return type:
GoToTiltValue
- set_field_names()¶
- static build_test_rx(device, tilt_value)¶
Build a version of this message as if it came from the device
- Parameters:
device (
st.zigbee.Device) – the device to build the message fromtilt_value (
st.zigbee.data_types.Uint16)
- Returns:
The full Zigbee message containing this command body
- Return type:
- init(self, device, tilt_value)¶
Initialize the GoToTiltValue command
- Parameters:
self (
GoToTiltValue) – the template class for this commanddevice (
st.zigbee.Device) – the device to build this message totilt_value (
st.zigbee.data_types.Uint16)
- Returns:
the full command addressed to the device
- Return type:
- class st.zigbee.zcl.clusters.WindowCovering.GoToTiltPercentage¶
- ID: number¶
0x08 the ID of this command
- NAME: str¶
“GoToTiltPercentage” the name of this command
- percentage_tilt_value: st.zigbee.data_types.Uint8¶
- get_fields()¶
- static deserialize(buf)¶
Deserialize this command
- Parameters:
buf (
buf) – the bytes of the command body- Return type:
GoToTiltPercentage
- set_field_names()¶
- static build_test_rx(device, percentage_tilt_value)¶
Build a version of this message as if it came from the device
- Parameters:
device (
st.zigbee.Device) – the device to build the message frompercentage_tilt_value (
st.zigbee.data_types.Uint8)
- Returns:
The full Zigbee message containing this command body
- Return type:
- init(self, device, percentage_tilt_value)¶
Initialize the GoToTiltPercentage command
- Parameters:
self (
GoToTiltPercentage) – the template class for this commanddevice (
st.zigbee.Device) – the device to build this message topercentage_tilt_value (
st.zigbee.data_types.Uint8)
- Returns:
the full command addressed to the device
- Return type: