Tuya Zigbee Roller Shade Blind Motor - Hubitat Issues

@ian3 if your changes are not very big (less than 20-30 lines of code... ), you can send me your modification of the AmosYoen driver and I can try to merge the mods into the standard driver version.

The changes are very modest (and distinctly hacky) - one extra input in the "Advanced" block:

    		input ("zigbeedongle", "bool", title: "Zigbee Dongle",  description: "Blind connects to hub via dongle, rather than directly", required: true, defaultValue: false)

...an associated line in Configure:

    if (settings.zigbeedongle == null || fullInit == true) device.updateSetting("zigbeedongle", [value: false, type: "bool"]) 

...and a new test at the start of isWithinOne:

private isWithinOne(position) {
  if (zigbeedongle) {
    return false
  }
// ...other code unchanged...

The overall effect is to skip the "is the blind already where we want it to be?" checks, which are inapplicable for the dongled blinds as there's no reliable position value to be had.

You're very welcome to incorporate these in any way that suits.

Edit: While it's not pretty this does seem to do what's needed for my dongled Tuya blind, while preserving correct behavior for the other types - if there's anything I've overlooked, or I've managed to sneak a bug in, please do let me know!

1 Like

Hi guys, I have TQL25 Tubular motor, I can add it as Zigbee device, but when using @kkossev ZemiSmart Zigbee Blind driver, the device doesnt not respond to any of the commands.

manufacturer: _TZE200_7eue9vhc
model: TS0601

I don't see the reference to this motor in the driver. Please help adding my motor to the driver.

Hi, please post a screenshot of the device Data section. What is the 'endpointId' value?
I will add the device manufacturer in the next version of this driver, but it helps only in the automatic selection of the right configuration options (reverse directions, etc.. ). Not responding to any commands is another issue...

  • endpointId: 01
  • application: 44
  • inClusters: 0000,0004,0005,EF00
  • manufacturer: _TZE200_7eue9vhc
  • model: TS0601
  • outClusters: 0019,000A
  • softwareBuild:

@kkossev THANK YOU for helping!!

1 Like

You can try version 3.2.4, download it and update manually from the dev. branch driver in this post:

I have also added fingerprints for 3 new devices that I found in iquix (the author of the original driver code for ST) Github repository.

I recommend first removing the device from HE web page and then pairing it again to HE. This driver should be automatically selected now. Please check whether the 'Reverse' option for this device is set correctly after the initial pairing.

Definitely progress. Also noticed that the range is poor and that's probably the reason why "no buttons were responsive" for me before. If I'm within 10 feet from the HU, the motor responds to
only Open and Close buttons, but for a quarter turn.

The log says need to setup limit, and the few java issues...

dev:5552022-12-02 10:21:03.807 AMinfoOffice shade 4 windowShade is unknown
dev:5552022-12-02 10:21:03.804 AMwarnupdateWindowShadeArrived: Need to setup limits on device
dev:5552022-12-02 10:20:58.687 AMinfoOffice shade 4 is closing
dev:5552022-12-02 10:20:55.626 AMinfoOffice shade 4 is opening
dev:5552022-12-02 10:20:51.570 AMinfoOffice shade 4 is closing
dev:5552022-12-02 10:20:46.726 AMinfoOffice shade 4 windowShade is unknown
dev:5552022-12-02 10:20:46.723 AMwarnupdateWindowShadeArrived: Need to setup limits on device
dev:5552022-12-02 10:20:41.658 AMinfoOffice shade 4 is opening
dev:5552022-12-02 10:20:37.632 AMinfoOffice shade 4 is closing
dev:5552022-12-02 10:20:36.324 AMinfoOffice shade 4 is opening
dev:5552022-12-02 10:20:31.406 AMinfoOffice shade 4 windowShade is unknown
dev:5552022-12-02 10:20:31.403 AMwarnupdateWindowShadeArrived: Need to setup limits on device
dev:5552022-12-02 10:20:25.915 AMinfoOffice shade 4 is opening
dev:5552022-12-02 10:20:24.143 AMinfoOffice shade 4 is closing
dev:5552022-12-02 10:20:21.841 AMinfoOffice shade 4 configured : model=TS0601 manufacturer=_TZE200_7eue9vhc
dev:5552022-12-02 10:20:07.172 AMinfoOffice shade 4 windowShade is unknown
dev:5552022-12-02 10:20:07.169 AMwarnupdateWindowShadeArrived: Need to setup limits on device
dev:5552022-12-02 10:20:02.037 AMinfoOffice shade 4 is opening
dev:5552022-12-02 10:19:58.077 AMinfoOffice shade 4 is closing
dev:5552022-12-02 10:19:48.263 AMerrorjava.lang.NullPointerException: Cannot execute null+-20 on line 785 (method stepClose)
dev:5552022-12-02 10:19:23.029 AMerrorgroovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.math.BigDecimal#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] on line 551 (method setPosition)
dev:5552022-12-02 10:19:15.073 AMerrorgroovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.math.BigDecimal#minus.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] on line 551 (method setLevel)
dev:5552022-12-02 10:19:07.440 AMinfoOffice shade 4 windowShade is unknown
dev:5552022-12-02 10:19:07.437 AMwarnupdateWindowShadeArrived: Need to setup limits on device
dev:5552022-12-02 10:19:04.957 AMinfoOffice shade 4 is opening
dev:5552022-12-02 10:19:03.083 AMinfoOffice shade 4 windowShade is unknown
dev:5552022-12-02 10:19:03.080 AMwarnupdateWindowShadeArrived: Need to setup limits on device

image|689x423

I will look at the java exceptions logged, but to make it work you have to obligatory setup the motor limits first, using the RF remote control that comes with the motor.

THANK YOU! Definitely making progress now! All seems to be working, range is poor, so I'll add Zigbee outlets to extend.

Do you know how to flip the Open and Close button commands? When I press Open, motor spins and the Status reports to closed

Did you try the 'Direction' options?

image

It was the Advanced setting, Invert position reporting set to OFF

2022-12-03_14-08-42

OK, make a screenshot of the preferences screen as it is set up now and works for this device.
Then, click on the Configure button, enable the Advanced options and compare the screenshot with the new default settings.
Are all the default options set correctly?

I only had to turn off the Invert position reporting from the default.
2022-12-11_19-17-23

Thank you for the report. I have made the change in version 3.2.5 and it is now pushed for update from HPM.

1 Like

So....

can I buy this, and use with hubitat? (uk)

https://www.aliexpress.com/item/1005002927293175.html?srcSns=sns_Copy&spreadType=socialShare&bizType=ProductDetail&social_params=60157110054&aff_fcid=cf7738c4eda844c1aa00a091b6050131-1651345030966-09921-_vVg0xv&tt=MG&aff_fsk=_vVg0xv&aff_platform=default&sk=_vVg0xv&aff_trace_key=cf7738c4eda844c1aa00a091b6050131-1651345030966-09921-_vVg0xv&shareId=60157110054&businessType=ProductDetail&platform=AE&terminal_id=76f8eca9e26949f096337fcd41cfed1c&afSmartRedirect=y

yes, in fact it is the one I use

1 Like

Awesome. Could you please explain how it works? Can I set percentage? Is it just open/closed?

Etc. Ta

=)

@diegodelprat

I’d take a look at the Zemismart AM43. That works very well with this driver. It doesn’t have a remote but will open, close, set to position and does correctly report its position. Mine came with a little solar panel charger but I don’t use it (it’ll last a few months before needing a charge with the adapter). The key thing is that the limits need to be set up correctly using the buttons on the unit before adding it to Hubitat.

1 Like

That's a bit steep.

Can't find any new ones.

Here's a link to eBay

Hoping the others work well, as they're readily available. If just like some real world info from someone who already has it before purchase.

I think I paid around £55 all in from Ali when I got mine.