rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.96k stars 563 forks source link

LoraTap SC400W unavailable button down #328

Open jualom opened 3 years ago

jualom commented 3 years ago

Uso app SmartLife,

I have two switches working perfect with localtuya

And I also have a cover integrated(LoraTap SC400W-EU-SILVER) but it only works up, stop. The down button is unavailable.

image

This is my config:

localtuya:
  - host: x.x.x.x
    device_id: aaaaaaaaaaa
    local_key: aaaaaaaaaaaaa
    friendly_name: Tuya Persiana Nerea
    protocol_version: "3.3"
    entities:
      - platform: cover
        friendly_name: Persiana NEREA
        id: 1
        commands_set: "1_2_3" # Optional, default: "on_off_stop"
        #     ["on_off_stop","open_close_stop","fz_zz_stop","1_2_3"]
        positioning_mode: "none" # ["none","position","timed"] # Optional, default: "none"

I have tried changing "commands_set" for "open_close_cmds" and also the values in each case ["on_off_stop", "open_close_stop", "fz_zz_stop", "1_2_3"] and it doesn't work.

In https://iot.tuya.com/ List Device, Europe, info detail product:

Product Id: YWK0ZiumXZGkb8nj control Values: {"range":["open","stop","close"]}

The down button is unavailable. What can be

aphesiia commented 3 years ago

Hi, I have the same mistake. I can't resolve it

stevehop commented 3 years ago

Have you tried v3.1.0? I have this problem with a cover which works fine in v3.1.0 but loses the ability to close in v3.2.0 and only the open and stop buttons are available

Edit: This is fixed by commit #5637060 so you can download the code as a zip file and overwrite in your custom components folder until a new release is available

aphesiia commented 3 years ago

Have you tried v3.1.0? I have this problem with a cover which works fine in v3.1.0 but loses the ability to close in v3.2.0 and only the open and stop buttons are available

Edit: This is fixed by commit #5637060 so you can download the code as a zip file and overwrite in your custom components folder until a new release is available

Thanks a lot ! It works.

jualom commented 3 years ago

Have you tried v3.1.0? I have this problem with a cover which works fine in v3.1.0 but loses the ability to close in v3.2.0 and only the open and stop buttons are available

Edit: This is fixed by commit #5637060 so you can download the code as a zip file and overwrite in your custom components folder until a new release is available

Certain! It works. Thanks Pd. only with config:

protocol_version: "3.3"
    entities:
      - platform: cover
        friendly_name: xxxxxxxxxxx
        id: 1
        commands_set: "1_2_3"