-
Notifications
You must be signed in to change notification settings - Fork 19
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 for time-based positioned cover controllers #59
Comments
maybe check the value in tuya iot. so we can see which commands are allowed to send to that tuya device |
Could you tell me please, where exactly can I find it? I'm searching Tuya IOT but I locate it. |
https://iot.tuya.com/ search for your device_id OR |
I checked there, but there are no functions:
I'm sure that possible values for my controllers are 1, 2 and 3. I can't discover, which value means lowering and raising, probably 3 means 'stop'. Maybe you can find it in rospogrigio's integration? There were also other command sets (open_close_stop) for other controller models:
|
Hello, are there any news in adding support for these covers? I noticed that the covers can now be controlled (they open and close), but every time I open or close the cover I get the "set_position_dp" error. So maybe it would be simpler to start by directly controlling these covers, without setting the desired position? |
I've just done a quick lock, i think your parameters aren't correctly
so your config should be like this
your current_position_dp and set_position_dp was not set correctly |
No, my config is correct. My cover controllers have 'timed' positioning and doesn't have 'current position' and 'set position' DP's. As you can see, these DPs are required only for 'position' mode - there are controllers, that can directly set cover position. My can't, I need to provide span_time in configuration, so HA knows, how long it should take to set desired cover position - cover position is shomehow calculated. Everything works fine in rospogrigio's integration. At the beginning, there were also problems with this controllers, but then 'timed' positioning was added and controllers started to work. Please see this issue: |
Hi @leeyuentuen, did you manage to check the possibility of controlling covers with timed positioning? |
Please add support for time-based positioning in cover controllers.
My cover controllers have only one DP with value 1, 2 or 3 (move up, move down, stop, I don't know in what order). In config I have time-based positioning mode and "1_2_3" command set - that works fine with rospogrigio's localtuya version. At the beginning, I had to measure time needed to full-close each cover.
In config.yaml:
In SmartLife config:
My cover controllers are similar to the one in the picture:
They only control the motor that raises and lowers the cover, but they have no feedback about the position of the cover, so it has to be time-controlled.
The text was updated successfully, but these errors were encountered: