esphome / esphome/feature-requests
direction_change_timeout option for cover component
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the problem you have/What new integration you would like**
I'm currently using time_based cover. My problem is, that my covers are quite heavy and an instant direction change (from down to up / up to down) can damage the motors over time. I would be happy to have a `direction_change_timeout` option to define the time in seconds (or milliseconds) between an instant direction change.
**Please describe your use case for this integration and alternatives you've tried:**
As said, the use case would be to control my covers and not damaging its motors.
Currently, my alternative is that I'm using the `open_action:` and `close_action:` with a delay of 1 second before actually opening/closing. The problem here is that it messes up the `time_based` function, which can lead to half opened covers when ESPHome says it's open, and it also applies to the normal opening and closing actions.
**Additional context**
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is identified in the request. Begin by locating the cover component and its time_based implementation in ESPHome, then define and test a configurable delay between opposite-direction actions without disrupting position tracking.
Written by the indexing model from the issue text.
Assessment
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100