Tuya Zigbee Roller Shade Blind Motor - Hubitat Issues

Will do..

1 Like

By chance, is Battery level exposed in yours?

Yes, battery level % reporting (Tuya specific DP/command) was added in the latest published version, but I don't know which devices report it and which do not. My blinds ( _TZE200_xuzcvlku) do not report battery.

Can you PM me your current fork? For some reason it's not letting click from the thread regardless of the browser... (I'm sure it's on my end)

Turned on debug logs... No issues... Sadly no battery either... Other than that fine

dev:4252022-05-12 07:03:44.138 am debugupdateDirection: directionText=reverse, directionValue=1

dev:4252022-05-12 07:03:44.137 am debugparse: direction=reverse

dev:4252022-05-12 07:03:43.606 am debugupdateMode: modeText=lift, modeValue=1

dev:4252022-05-12 07:03:43.605 am debugparse: mode=lift

dev:4252022-05-12 07:03:42.409 am debugsetDirection: directionText=reverse, directionValue=1

dev:4252022-05-12 07:03:41.409 am debugsetMode: modeText=lift, modeValue=1

dev:4252022-05-12 07:03:40.439 am debug fullInit=true invertPosition=false positionReportTimeout=2500 mixedDP2reporting=false

dev:4252022-05-12 07:03:40.436 am infoKitchen Shade configured : model=TS0601 manufacturer=_TZE200_zah67ekd

dev:4252022-05-12 07:03:39.157 am debugupdateDirection: directionText=reverse, directionValue=1

dev:4252022-05-12 07:03:39.156 am debugparse: direction=reverse

dev:4252022-05-12 07:03:38.779 am debugupdateMode: modeText=lift, modeValue=1

dev:4252022-05-12 07:03:38.777 am debugparse: mode=lift

dev:4252022-05-12 07:03:38.451 am debugsetDirection: directionText=reverse, directionValue=1

dev:4252022-05-12 07:03:37.449 am debugsetMode: modeText=lift, modeValue=1

dev:16302022-05-12 07:03:37.444 am infoparse [raw:6893010001082000201E, dni:6893, endpoint:01, cluster:0001, size:08, attrId:0020, encoding:20, command:0A, value:1E, clusterInt:1, attrInt:32]

dev:4252022-05-12 07:03:36.444 am debugupdated Kitchen Shade model=TS0601 manufacturer=_TZE200_zah67ekd

dev:4252022-05-12 07:03:36.443 am debug fullInit=false invertPosition=false positionReportTimeout=2500 mixedDP2reporting=false

dev:4252022-05-12 07:03:36.441 am infoKitchen Shade configured : model=TS0601 manufacturer=_TZE200_zah67ekd

1 Like

The latest changes are now moved into Amos Yuen's new repository (development branch) on Github:
https://raw.githubusercontent.com/amosyuen/hubitat-zemismart-zigbee/development/Zemismart%20Zigbee%20Blind.groovy

The plans are to publish a summary of the changes made in the last weeks into the [RELEASE] Zemismart Zigbee Blind Driver community forum thread and if no issues are reported, the updates will be pushed via Hubitat Package Manager.

2 Likes

Thanks. I noticed that there had been a few further revisions since 3.15. I'll keep it up to date and look forward to it going to HPM.

1 Like

Thanks @kkossev for your contributions!

3 Likes

I've been rather busy at work and at home in the last days, but I will find a time to finish the summary of the changes and publish the new version over this weekend.

BTW, the blinds automation is something that I was awarded with a very high WAF (unlike most of my other gadgets :sweat_smile:), so I received a 'green light' and I already ordered a new one, hopefully AM43 model with solar panel!

2 Likes

I was looking at that model with a solar panel, let me know if it goes well friend, what is that sel WAF?

This is something very important for our hobby- Wife Approval (or Acceptance) Factor ! :sweat_smile:

1 Like

@kkossev I noticed that my shade (am43 motor) was not closing. I used the device page and no go. I was using your latest fork (I never bothered to check when I installed it and didn't know my wife was manually closing the shade before bed because it wasn't closing on it's own) I switched back to @amosyuen's driver and it works fine now. (yes I hit configure when I installed your fork) Here is a screen shot of the logs. No errors but it definitely doesn't close (even after I switched back to the fork)

image

1 Like

With trace enabled

dev:4252022-05-26 06:53:49.072 am infoKitchen Shade is open

dev:4252022-05-26 06:53:49.068 am debugupdateWindowShadeArrived: position=100

dev:4252022-05-26 06:53:49.063 am traceendOfMovement

dev:4252022-05-26 06:53:46.588 am infoKitchen Shade is closing

dev:4252022-05-26 06:53:46.582 am traceupdateWindowShadeClosing

dev:4252022-05-26 06:53:46.578 am debugparse: closing (DP=1, data=1)

dev:4252022-05-26 06:53:46.547 am traceparseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 A15B 01 00 0000 02 01 00000104000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:A15B, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 04, 00, 01, 01]]

dev:4252022-05-26 06:53:46.350 am traceparse: ACK command=0

dev:4252022-05-26 06:53:46.008 am tracesendTuyaCommand: message=6D640104000101

dev:4252022-05-26 06:53:46.004 am tracesendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x01, fnCmdLength=2

dev:4252022-05-26 06:53:45.953 am debugclose, direction = 1

Thank you @rlithgow1 ! I will look at the problem later tonight, this definitely must be fixed before being put in HPM!

Just one more quick test - if you switch the mode to 'tilt', will the Close command work? And is there any difference in the speed between 'lift' and 'tilt' modes for your AM43 motor?

1 Like

I have to run out soon to drop my progeny off at daycare, but I will check that when I get back...

1 Like

Switching to "tilt" did indeed work. As to the speed, I didn't notice any speed difference...

@rlithgow1 Can you test again Open and Close commands, please?
Version is 3.2.2

1 Like

Seems to work... Here are the logs

dev:4252022-05-26 07:36:24.371 pm infoKitchen Shade is open

dev:4252022-05-26 07:36:24.368 pm debugupdateWindowShadeArrived: position=100

dev:4252022-05-26 07:36:21.877 pm debugparse: stopping (DP=1, data=1)

dev:4252022-05-26 07:36:20.769 pm infoKitchen Shade is open

dev:4252022-05-26 07:36:20.766 pm debugupdateWindowShadeArrived: position=100

dev:4252022-05-26 07:36:20.762 pm debugupdatePosition: arrived!

dev:4252022-05-26 07:36:20.753 pm infoKitchen Shade is open

dev:4252022-05-26 07:36:20.750 pm debugupdateWindowShadeArrived: position=100

dev:4252022-05-26 07:36:20.725 pm debugparse: arrived at position 100

dev:4252022-05-26 07:36:20.464 pm infoKitchen Shade is open

dev:4252022-05-26 07:36:20.460 pm debugupdateWindowShadeArrived: position=100

dev:4252022-05-26 07:36:20.427 pm debugparse: arrived at position 100

dev:4252022-05-26 07:36:08.875 pm infoKitchen Shade is closed

dev:4252022-05-26 07:36:08.871 pm debugupdateWindowShadeArrived: position=0

dev:4252022-05-26 07:36:06.601 pm debugupdateSpeed: speed=100

dev:4252022-05-26 07:36:06.597 pm debugparse: speed=100

dev:4252022-05-26 07:36:06.378 pm debugparse: opening (DP=1, data=0)

dev:4252022-05-26 07:36:05.272 pm debugparse: opening from remote

dev:4252022-05-26 07:36:05.011 pm infoKitchen Shade is opening

dev:4252022-05-26 07:36:05.008 pm debugparse: opening (DP=1, data=0)

dev:4252022-05-26 07:36:04.318 pm debugopen, direction = 1

dev:4252022-05-26 07:35:41.602 pm infoKitchen Shade is closed

dev:4252022-05-26 07:35:41.598 pm debugupdateWindowShadeArrived: position=0

dev:4252022-05-26 07:35:39.106 pm debugparse: stopping (DP=1, data=1)

dev:4252022-05-26 07:35:37.972 pm infoKitchen Shade is closed

dev:4252022-05-26 07:35:37.968 pm debugupdateWindowShadeArrived: position=0

dev:4252022-05-26 07:35:37.964 pm debugupdatePosition: arrived!

dev:4252022-05-26 07:35:37.960 pm infoKitchen Shade is closed

dev:4252022-05-26 07:35:37.956 pm debugupdateWindowShadeArrived: position=0

dev:4252022-05-26 07:35:37.932 pm debugparse: arrived at position 0

dev:4252022-05-26 07:35:37.683 pm infoKitchen Shade is closed

dev:4252022-05-26 07:35:37.679 pm debugupdateWindowShadeArrived: position=0

dev:4252022-05-26 07:35:37.674 pm debugupdatePosition: arrived!

dev:4252022-05-26 07:35:37.661 pm infoKitchen Shade is closed

dev:4252022-05-26 07:35:37.657 pm debugupdateWindowShadeArrived: position=0

dev:4252022-05-26 07:35:37.634 pm debugparse: arrived at position 0

dev:4252022-05-26 07:35:27.745 pm infoKitchen Shade is open

dev:4252022-05-26 07:35:27.742 pm debugupdateWindowShadeArrived: position=100

dev:4252022-05-26 07:35:25.443 pm debugupdateSpeed: speed=100

dev:4252022-05-26 07:35:25.440 pm debugparse: speed=100

dev:4252022-05-26 07:35:25.224 pm debugparse: closing from remote

dev:4252022-05-26 07:35:24.123 pm debugparse: closing (DP=1, data=2)

dev:4252022-05-26 07:35:23.876 pm infoKitchen Shade is closing

dev:4252022-05-26 07:35:23.861 pm debugparse: closing (DP=1, data=2)

dev:4252022-05-26 07:35:23.164 pm debugclose, direction = 1

dev:4252022-05-26 07:35:15.301 pm debugupdateDirection: directionText=reverse, directionValue=1

dev:4252022-05-26 07:35:15.298 pm debugparse: direction=reverse

dev:4252022-05-26 07:35:14.002 pm debugsetDirection: directionText=reverse, directionValue=1

dev:4252022-05-26 07:35:13.827 pm debugupdateMode: modeText=lift, modeValue=1

dev:4252022-05-26 07:35:13.824 pm debugparse: mode=lift

dev:4252022-05-26 07:35:12.994 pm debugsetMode: modeText=lift, modeValue=1

dev:4252022-05-26 07:35:12.038 pm debug fullInit=true invertPosition=false, positionReportTimeout=2500, mixedDP2reporting=false, substituteOpenClose=false

dev:4252022-05-26 07:35:12.035 pm infoKitchen Shade configured : model=TS0601 manufacturer=_TZE200_zah67ekd

2 Likes

Hi, new Hubitat project for me. Automate skylight blind which I'm creating a track for. Looking at this https://www.amazon.com/dp/B09BCV8MFX/ Think it would work as in think this driver would work?

Also considering other options like zemismart roller blind, stepper motor with controller module, etc. This would be the cleanest option I think.

Well it worked great for 6 weeks without issue and the last couple of days it's gone wrong. Nothing has been altered/changed but I'm having issues with my blind again. Looking at the logs - if it's closed and I send an open, it goes to 'opening' only briefly, then 'closed' (while in transit) before correctly going to 'open' on arrival. Send a close and it goes to 'closing' only briefly, then 'open' (while in transit), before correctly going to 'closed' on arrival (though I have seen it remain on 'opening' or 'closing'. The logs below show a cycle from fully open to fully closed - I'm not sure why it's gone wrong:

Summary

dev:10932022-07-04 22:15:44.695 traceparse: ACK command=9216

dev:10932022-07-04 22:15:44.590 debugKitchen Blind sending time data : [he cmd 0xB7F4 0x01 0xEF00 0x24 {000862C3588062C36690}, delay 2000]

dev:10932022-07-04 22:15:44.587 debugKitchen Blind time synchronization request

dev:10932022-07-04 22:15:44.585 traceparse: SET_TIME data=[20, C8]

dev:10932022-07-04 22:12:01.073 infoKitchen Blind is closed

dev:10932022-07-04 22:12:01.071 debugupdateWindowShadeArrived: position=0

dev:10932022-07-04 22:12:01.068 debugsetPosition: no need to move!

dev:10932022-07-04 22:12:01.066 traceisWithinOne:true (position=0, lastPosition=0)

dev:10932022-07-04 22:11:58.451 infoKitchen Blind is closed

dev:10932022-07-04 22:11:58.449 debugupdateWindowShadeArrived: position=0

dev:10932022-07-04 22:11:58.447 traceendOfMovement

dev:10932022-07-04 22:11:55.987 debugparse: stopping (DP=1, data=0)

dev:10932022-07-04 22:11:55.932 traceparseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 B7F4 01 00 0000 02 01 00000104000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:B7F4, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 04, 00, 01, 00]]

dev:10932022-07-04 22:11:55.851 infoKitchen Blind is closed

dev:10932022-07-04 22:11:55.848 debugupdateWindowShadeArrived: position=0

dev:10932022-07-04 22:11:55.835 debugupdatePosition: arrived!

dev:10932022-07-04 22:11:55.832 traceisWithinOne:true (position=0, lastPosition=0)

dev:10932022-07-04 22:11:55.815 traceupdatePosition: position=0

dev:10932022-07-04 22:11:55.811 infoKitchen Blind is closed

dev:10932022-07-04 22:11:55.809 debugupdateWindowShadeArrived: position=0

dev:10932022-07-04 22:11:55.790 debugparse: arrived at position 0

dev:10932022-07-04 22:11:55.788 traceparseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 B7F4 01 00 0000 02 01 00000302000400000000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:B7F4, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 03, 02, 00, 04, 00, 00, 00, 00]]

dev:10932022-07-04 22:11:16.380 infoKitchen Blind is open

dev:10932022-07-04 22:11:16.378 debugupdateWindowShadeArrived: position=100

dev:10932022-07-04 22:11:16.376 traceendOfMovement

dev:10932022-07-04 22:11:13.887 traceupdateWindowShadeClosing

dev:10932022-07-04 22:11:13.885 debugparse: closing (DP=1, data=1)

dev:10932022-07-04 22:11:13.862 traceparseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 B7F4 01 00 0000 02 01 00000104000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:B7F4, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 01, 04, 00, 01, 01]]

dev:10932022-07-04 22:11:13.746 debugupdateSpeed: speed=100

dev:10932022-07-04 22:11:13.744 debugparse: speed=100

dev:10932022-07-04 22:11:13.742 traceparseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 B7F4 01 00 0000 02 01 00006902000400000064, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:B7F4, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:02, direction:01, data:[00, 00, 69, 02, 00, 04, 00, 00, 00, 64]]

dev:10932022-07-04 22:11:12.284 traceparse: ACK command=0

dev:10932022-07-04 22:11:11.619 tracesendTuyaCommand: message=EFF40202000400000000

dev:10932022-07-04 22:11:11.616 tracesendTuyaCommand: dp=0x02, dpType=0x02, fnCmd=0x00000000, fnCmdLength=8

dev:10932022-07-04 22:11:11.551 debugsetPosition: target is 0, currentPosition=100

dev:10932022-07-04 22:11:11.548 infoKitchen Blind is closing

dev:10932022-07-04 22:11:11.546 traceupdateWindowShadeClosing

dev:10932022-07-04 22:11:11.543 debugupdateWindowShadeMoving: position=0 (lastPosition=100), target=0

dev:10932022-07-04 22:11:11.540 traceisWithinOne:false (position=0, lastPosition=100)

dev:10932022-07-04 22:11:11.538 debugclose mode == substituted with setPosition(0)

dev:10932022-07-04 22:11:11.536 debugclose, direction = 0

1 Like