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

Tuya window treatment shade range #9

Open
librehat opened this issue Oct 29, 2024 · 3 comments
Open

Tuya window treatment shade range #9

librehat opened this issue Oct 29, 2024 · 3 comments

Comments

@librehat
Copy link

Hi,

I've just recently purchased a zemismart window blind roller, thanks a lot for your edge driver, I'm able to control it from ST.

However, I noticed that only Open/Close (and the reverse direction setting) work correctly. The shade is always reported to be 50%, and changing it does nothing.

Separately, open/close will just go on forever (probably linked to the incorrect shade level report?).

My device ID is _TZE200_68nvbio9

Debug info

"<table style=\"font-size:0.6em;min-width:100%\"><tbody>\n        <tr><th align=\"left\" style=\"width:40%\">Manufacturer</th><td colspan=\"2\" style=\"width:60%\">_TZE200_68nvbio9</td></tr>\n        <tr><th align=\"left\">Model</th><td colspan=\"2\">TS0601</td></tr>\n        <tr><th align=\"left\">Endpoint</th><td colspan=\"2\">0x01</td></tr>\n        <tr><th align=\"left\">Device ID</th><td colspan=\"2\">0x0051</td></tr>\n        <tr><th align=\"left\">Profile ID</th><td colspan=\"2\">0x677C</td></tr>\n        <tr><th align=\"left\">Network ID</th><td colspan=\"2\">0x0104</td></tr>\n        <tr><th colspan=\"3\">Server Clusters</th></tr>\n        <tr><th align=\"left\">Groups</th><td>0x0004</td><td>0x01</td></tr><tr><th align=\"left\">Scenes</th><td>0x0005</td><td>0x01</td></tr><tr><th align=\"left\">TuyaEF00</th><td>0xEF00</td><td>0x01</td></tr><tr><th align=\"left\">Basic</th><td>0x0000</td><td>0x01</td></tr>\n        <tr><th colspan=\"3\">Client Clusters</th></tr>\n        <tr><th align=\"left\">Time</th><td>0x000A</td><td>0x01</td></tr><tr><th align=\"left\">OTAUpgrade</th><td>0x0019</td><td>0x01</td></tr>\n        \n      </tbody></table>"

Many Thanks

@librehat
Copy link
Author

librehat commented Nov 8, 2024

I think this is because I haven't set the limit (I currently don't have a remote).

I did find out that you can set the limits using ZigBee commands: https://community.home-assistant.io/t/zemismart-zm25-zigbee-howto-tubular-roller-blind-shade-cover-motor/474992/15

Based on what I see from SmartThings Developer documentation, I believe this would need custom capabilities to be added in order to easily set/unset the up and down limits.

@librehat
Copy link
Author

Hey I managed to make it work in my WIP version based on Koenkk/zigbee-herdsman-converters#5563

Command x10 (16) can (un-)set the borders/limits depending on the values sent, though the "up" and "down" will have to take the "reverse" direction into consideration in the driver.

Separately, fncmd 13 carries the battery level information

@librehat
Copy link
Author

Since I don't have any other devices myself to test, I've decided to make a separate driver: https://github.com/librehat/st-zemismart-window-treatment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant