Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support percentage based open for cover devices #148

Open
milo526 opened this issue Dec 30, 2020 · 9 comments
Open

Support percentage based open for cover devices #148

milo526 opened this issue Dec 30, 2020 · 9 comments
Labels
active Should stay opened enhancement New feature or request help wanted Extra attention is needed

Comments

@milo526
Copy link
Owner

milo526 commented Dec 30, 2020

Cover devices currently only support open and close.

#145 should add support for the stop operation.

When a device supports the stop options, it should also be possible to support percentage based open states.

This would require the user to input the time it takes to fully open and close in the configuration.

Opening a certain percentage (x%) could then be done by sending the open operation and after x% of the configured time, sending the stop operation.

We should also consider how we can keep track of the current open percentage and calculate the diff. I.e. when we want the curtains to close 20% more then they currently are.

@milo526 milo526 added the enhancement New feature or request label Dec 30, 2020
@milo526 milo526 added the active Should stay opened label Dec 30, 2020
@jacumal
Copy link

jacumal commented May 23, 2021

Hello all,
I’m currently using tuya web plugin and percentage seems to be not allow. Do you know when an update will come with this feature?
Thanks!!
javi

@milo526
Copy link
Owner Author

milo526 commented May 23, 2021

Hello all,
I’m currently using tuya web plugin and percentage seems to be not allow. Do you know when an update will come with this feature?
Thanks!!
javi

The update will come whenever it's ready.
Yeah, that is the least useful answer I could give you, but it is also the only correct answer :D
There is no release schedule. I do not discuss any (expected) release dates until a feature is very close to release, this is mainly to prevent disappointment and to give myself the ability to be flexible. Developing this plugin is something I do in my free evenings. I don't want to make promises here that will keep me from doing what I love in "the real world".
I hope you'll understand.

@ItsMeDelanoDev
Copy link

I am also very curious to have this for our curtains. Maybe I can take a look and try to implement the feature, do you accept pull requests?

@milo526
Copy link
Owner Author

milo526 commented Jul 13, 2021

Please feel free to give it a shot @dneeleman

@costispavlou
Copy link

I remember back in early 2019 someone managed to achieve this but unfortunately cant remember his name.
I’ll try and investigate a bit and report back here.
On another note, can this be achieved by seconds? For example open for 30 seconds =50% or every 1sec =2% etc?
Just my 2c

@robimart
Copy link

Just want to add my vote for this feature request: percentage based open/close would make a huge difference.

I note that “stop” functionality has been introduced. I’ve got that feature enabled but I don’t know how to use it? Tapping the curtain just open/closes it (reversing the direction of its already performing an action). Any suggestions please?

@milo526 milo526 added the help wanted Extra attention is needed label Jan 8, 2023
@Pomidorum1989
Copy link

Pomidorum1989 commented Jul 25, 2023

Just want to add my vote for this feature request: percentage based open/close would make a huge difference.

I note that “stop” functionality has been introduced. I’ve got that feature enabled but I don’t know how to use it? Tapping the curtain just open/closes it (reversing the direction of its already performing an action). Any suggestions please?

Same here. Using Jinvoo smart as a platform. The 'Stop' feature seems to not be working on window/windows cover accessories, but it working totally fine through the native application. Homekit still doesn't support hold position?

@adityag78
Copy link

Hi. Unable to control the curtain. Attaching the log. Please help @milo526
Uploading @bsr43_homebridge-tuya-web.log.txt…

@wesleyguirra
Copy link

Also trying to fix this issue with my covers, @milo526 any idea how to accomplish % position?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
active Should stay opened enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants