hi,
I have a question about the window covering to get the position
How to get the current position of window covering in Z tool I use the command to control.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,
I have a question about the window covering to get the position
How to get the current position of window covering in Z tool I use the command to control.
I successfully set the position but i need to get the position from the module feedback
Do you try to refer to ZCL specification to read window covering cluster/CurrentPosition – Lift /Tilt attributes to know the position?
ok, I got the feedback but couldn't find the position from the feedback data
from the feedback which is noted as position?
Hi Praveen,
The first three bytes are the header: 0x08 is frame control, 0x41 is transmission sequence number, 0x0A is the command ID which is ZCL_CMD_REPORT indicating an incoming report. According to the ZCL Specification that YK keeps referring to, next is the Attribute identifier (0x0008 or ATTRID_WINDOW_COVERING_CURRENT_POSITION_LIFT_PERCENTAGE), data type (0x20 or ZCL_DATATYPE_UINT8), and the data (0x00 the first time and 0x0A the second. Two attributes must be reported, what follows is the second: attribute identifier 0xF000, data type 0x30, and data 0x00 or 0x01.
Regards,
Ryan