-
Notifications
You must be signed in to change notification settings - Fork 199
Description
I am thinking about how to distinguish the window covering stop command from other drive commands. The chip layer is changing the target position and tilt upon receiving a stop command to the current position and tilt but in the attribute update callback i can not detect if the chip layer received a drive command with the current position or tilt as parameter or if it was caused by a stop command.
This could be handled by updating the current position in 'real time' but this takes too much computation time and produces too much traffic. Currently the current position and tilt is updated after the window covering stopped only. While driving the current position and tilt is always given from the previous stopping event.
At this moment i dont see any solution but setting an extra flag when the stop command callback is called in the esp-matter layer or chip layer. Does anybody knows another solution or has any concerns about manipulating the esp-matter source file.