-
Notifications
You must be signed in to change notification settings - Fork 503
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 curtain motor #4288
Comments
Hello, easy to add #4223 , but are you able to compile the code for test ? You just need a linux but with full OS ? |
I use it with docker on synology nas. Have no linux machine. |
Ok, so will be a surpise, but your device is router, so I don't think we can have problem. |
Compiled the code and tested it with my device. Now I see open/close buttons in Home Assistant. They work. |
Good question, there is no command for that on cluster 0xEF00 yet, what is written on the manual ? need to use the app, a button, a remote ? |
I found how to calibrate the motor. It calibrates automatically when its shaft is blocked. I currently have no curtain rails so I blocked motor shaft manually to calibrate it (opened/closed positions). But there is a problem. When I click OPEN button in Home Assistant, CLOSE button becomes disabled (not OPEN). |
It mean the state is reversed. |
Version of what? |
Deconz version ^^. Because the PR was validated on the last. And if you can share the device json ? I just need bri/on/lift/open. |
Need more information @NMGAndy ? |
Sorry for long reply. I'm currently on latest firmware with same problem. |
Ok, so there is a problem yes, On/open are the reverse of bri/lift. |
Version 2.10.04 |
Tried to use the motor with Node Red instead of Home Assistant. |
The reverse command is repaired only in 2.10.05 (or when you compile the code yourself)
It s right for Switch command but not for Brigtness, I have made a change on the code, can you try it ?
You will have a "native" mode with command in the good order (if it work), don't need to re-include the device, just restart. BTW, I have see your closed issue for another curtain motor, you have 2 motors with 2 differents manufacture name ? |
Sure! I'll try it. Thank you!
Yes. I have both motors. No differences in clusters. Just manufacture name. |
Just tried this version. Everything is ok now with _TZE200_nogaemzt motor. |
For the _TZE200_zpzndjez, it s not a new device, so if I reverse it, I will broke the installation of users that already use it. Edit: |
Ok. Thank you! |
@NMGAndy I have no answer from other user, so have reversed it too Can you make tries again ? Same branch
|
Ok, thx, making the PR. |
Having some trouble with this curtain motor, it's only recognized as a Smart Plug. Any ideas? @NMGAndy is it still working correctly for you? Which version of deconz do you have? |
I tried to turn on debug logs now and do inclusion again, all of the sudden it's being recognized correctly as a window cover device. Some voodoo in here maybe :) |
nope, it s a classic deconz issue. |
Device
Screenshots
The text was updated successfully, but these errors were encountered: