Tuya Zigbee Roller Shade Blind Motor - Hubitat Issues

Can you return it and get an AM43?

Can you return it and get an AM43?

Yes and no; I've been unable to get a clear answer on whether the same supplier could provide an AM43 (none of their Amazon UK pages have any product numbers), but as it turns out they've refunded me for the M515EGBZTN without the need for a return.

1 Like

UK link

Will ship to UK

Is your model this one? :
https://drive.google.com/file/d/1QzpCYC43WxVRtgmqv-XRIjJ7ouXGCf0M/view
If you look at the Data section, is the Manufacturer _TZE200_xuzcvlku ?

1 Like

For M515EGBZTN you can try the "ZemiSmart Battery Vertical Blind Motor" driver published by @marcusvrsilva here:

I'm afraid it was a used ebay purchase.... Still, it was cheap :slight_smile:

Thanks, I'll give that a go to see if I have more luck setting the limits.

1 Like

That's the model - at least as far as model numbers go; the button sequences to set the limits don't work on the actual device I have, though.

This is what's in the Data section:

  • manufacturer: _TZE200_gubdgai2

Thanks for the driver link - will give that a try.

1 Like

Unfortunately, your model is different than mine. So it may behave differently in regards to both the limits setup and commands.

In all the cases, however, the key is to set the upper and lower positions limits. The limits are always set locally from the motor keys, just the keypress combinations may be different.... and Zemismart instructions are really awful ...

Definitely, the limits are not set from Zigbee commands, even when the motor is controlled from Tuya zigbee gateway and SmartLife app. I checked a lot of comments in other forums, no one is mentioning that a Tuya gateway is needed for a successful configuration of the limits.

MarcusVR's driver does not work very well with my device model. Open / Close PresetPositions work most of the time, but sometimes the device does not react on Open or Close commands, until the Preset (50%) is pressed.

I can only agree with that - unclear diagrams and rather confused English (still far better than my Chinese, mind!) means there's a strong element of guesswork getting anything working,

Definitely, the limits are not set from Zigbee commands

I'm less sure about that; there may not be a standard Zigbee command in play, but the app talks to the hub via WiFi and the hub to the motor via Zigbee, so if a button press on the app results in a limit being set, how does that happen on the motor other than via Zigbee?

Full disclosure: after getting a refund on the motor I used part of it to buy a Tuya hub (they're less than Β£30, and next day delivery from several suppliers) and have now paired my blind to that, set limits (and direction) with the app, re-paired it to my Hubitat and now is all working well with that setup. I'm using Amos Yuen's driver (as mentioned by @c.j.winter above, link here) and so far so good, although it is early days.

FWIW while trying to find button sequences that'd work for me I came across a good number of posts in various places saying "there just aren't any, you need the Tuya hub" for one motor or another, although of course it's impossible to be sure whether there really weren't any in each case or they were there but undiscoverable.

1 Like

My model M515EGBZTN (Manufacturer: _TZE200_xuzcvlku) when paired to Tuya Zigbee hub does not show any options to set up the limits. The only option available is 'Reverse'. Sadly, this is just another Tuya oddity - one and the same model by different manufacturers behave differently :frowning:

Amos Yuen's driver didn't show the current blind position ( 0%..100%), I had to modify some code.
Is the position updated correctly with your device?

@ian3 I'm in the UK and went through the same issues. I bought that same model as you initially from Amazon and couldn't get it working properly. In the end I ordered one from AliExpress - I got the AM45. It doesn't work perfect for me with the driver but it's fine in my automations.

I'd not used AliExpress before and was a bit reluctant, but I had no issues. I think I paid about Β£50

@kkossev those are the issues I have. Is your modified driver available anywhere? Thanks. Mine is this model:

Hmmm - not sure at the moment; I've been doing the setup in spare moments in evenings this week, and while the driver definitely lets you set the position ("open", "close", "25%", etc...) via Hubitat and Alexa I haven't had chance to check much beyond that.

Will give it more of a look over the weekend. To echo @johnwill1, if that does turn out to be an issue with the code I have, is your fix for it available?

I will publish a temporary link to the mods later tonight when home.
If it works for all of us, will contact Amos to merge the fixes into his driver.

2 Likes

This is the temporary link to the updated driver.

  • The 3 new manufacturers fingerprints are added to the driver, now the driver should be automatically selected when a new device is paired.

  • The blind position should be reported correctly now.

1 Like

Thanks! Have taken a local copy, and will do a before/after comparison of position reporting ASAP.

just given that revised code a go, it does indeed seem to report the blind position correctly. i set the blind to 82 (closed in my case) and it incremented to 82 in the 'position' state below before stopping.

Current States

  • numberOfButtons : 5
  • position : 82
  • presence : present
  • windowShade : opening

When you send an Open command, what is the final position - 0 or 100?

I have some strange invertion of the the Close/Open direction that drives me crazy... :frowning:
The `windowShade state never gets "open" or "closed"..