-
-
Notifications
You must be signed in to change notification settings - Fork 117
Description
When I change the position of a cover but the the cover is locked, xknx still reports a traveling cover and false calculated state of the cover.
Some actors such as the MDT JAL actor have an automatic cover travel time sensor built in (based on current or travel time). This method of cover moving state and current position while moving is more accurate as it uses actor internal state information such as locks.
In case of the MDT JAL actor, there are Communication objects available to access the actor calculated Moving State, Moving Direction, and also update the current position while moving, if so configured. See section "4.5.3 Verfahr Status/ aktuelle Richtung" of the Technical documentation (de) as an example.
I'd like to propose adding this to the Cover Device, and offer the option of replacing the TravelCalculator and TravelStatus if GroupAddresses are set.
As far as I can tell the following set of addresses,
group_address_long: GroupAddressesType | None = None,
group_address_short: GroupAddressesType | None = None,
group_address_stop: GroupAddressesType | None = None,
group_address_position: GroupAddressesType | None = None,
group_address_position_state: GroupAddressesType | None = None,
group_address_angle: GroupAddressesType | None = None,
group_address_angle_state: GroupAddressesType | None = None,
group_address_locked_state: GroupAddressesType | None = None,would need additional
group_address_travel_status: GroupAddressesType | None = None,
and optionally
group_address_travel_direction: GroupAddressesType | None = None,
with current position intermittently updated via group_address_position_state instead of the calculator.
I'm not sure how a conditional use of the travel calculator and travel state would be set up.