question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tuya Cover Controller opened/closed inverted

See original GitHub issue

The problem

First off, thank you for all the hard work for the new Tuya integration.

My issue is the cover controller of the Tuya integration. It is reporting a state of unknown for all my curtain rails and the open and close serves is inverted.

Service

  • cover.close_cover open my curtains
  • cover.open_cover close my curtains

All three of the curtain rails are the Zemismart New Design WiFi Curtain Motor Tuya Smart Life Customized Electric Curtains Track with RF Remote Alexa Echo Control

It used to work fine with the original Tuya integration, reported the state and controls were not inverted.

Let me know if there is any more info you need to help problem-solve this?

What version of Home Assistant Core has the issue?

2021.11.0

What was the last working version of Home Assistant Core?

2021.9.7

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Tuya IoT Platform Logs per device

Device Name: Sliding Door Curtain Actual State: Open

[
  {
    "code": "control",
    "value": "stop"
  },
  {
    "code": "percent_control",
    "value": 0
  }
]

Device Name: Small Window Curtain Actual State: Closed

[
  {
    "code": "control",
    "value": "stop"
  },
  {
    "code": "percent_control",
    "value": 100
  }
]

Device Name: Corner Curtain Actual State: Closed

[
  {
    "code": "control"
  },
  {
    "code": "percent_control",
    "value": 0
  }
]

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:19
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
github-actions[bot]commented, May 30, 2022

There hasn’t been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

0reactions
arnenys89commented, Jan 2, 2023

Having the same issue. The shutters appear as curtains and are reversed compared to how they appear in Tuya Smart.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tuya Cover - ESPHome
The tuya cover platform creates a simple position-only cover from a tuya serial component. This requires the Tuya MCU component to be set...
Read more >
Tuya Wifi Covers now operating backwards?
The “open” service lowers the shades, and rhe “close” service raises them. In the Tuya app, they all work as normal. Changing the...
Read more >
Curtain Switch Template - Tuya Developer
Overview · Open and close a curtain · Pause the curtain opening or closing progress · Control the opening percentage · Schedule tasks...
Read more >
Shutters and Blinds - Tasmota
Control blinds and roller shades connected to regular ON/OFF motors,stepper motors or ... Then tell Tasmota to reverse the shutter position meaning via...
Read more >
Tuya Smart Curtain Driver Robot Teardown - karl
The case seems to be fairly generic and used across multiple brands so it's safe to say that depending on the version /...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found