[OBSOLETE] Zemismart(Tuya) zigbee Blind Motor

The dth and the edge driver have same logic inside.
There must be something related to the problem other than the driver itself.

Using the edge driver, it is able to open and close. But it is unable to establish position/status.

That’s what happens when limit of the shade is not set properly.

Hi @iquix
Is it possible covert it to EDGE? ( it still not recognized as should be, it showing as Zigbee Thing)

Limits was set. The motor does stops at the limits correctly, but the position in the app remains at 50% as partial open. If you have time, let me know if you have time to see the logs for debugging. Thanks.

You have to manually change the driver from “Zigbee Thing” edge driver to “Tuya Window Shade for Devices NOT TESTED” by pressing 3 dots on the right upper corner in the detailView.

Addendum)
You don’t need Tuya Window Shade for Devices NOT TESTED driver anymore. You can just use Tuya Window Shade driver.

[Oct 8, 2022] Contents added to apply the latest information.

1 Like

Please send me Edge driver log of your device.

smartthings edge:drivers:logcat

But when smartthings will disconnect all custom groovy is it will stop working?

Will we be affected by this news from SmartThings?..

“we will start migrations of Groovy device DTHs”

Sorry if this has been asked/answered. I kinda panicked lol

Thanks


2022-10-05T12:13:01.519441779+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  driver device thread event handled
2022-10-05T12:13:11.069748451+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:11.079295117+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x80, rssi: -68, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x11, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 63 > >
2022-10-05T12:13:11.099258451+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:11.104782117+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:11.111680117+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=99
2022-10-05T12:13:11.119401117+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:11.142807451+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:13:30.067236460+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:30.101663460+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x90, rssi: -64, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x12, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 62 > >
2022-10-05T12:13:30.127342460+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:30.142037460+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:30.147896793+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=98
2022-10-05T12:13:30.163458793+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:30.239664460+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:13:31.519872794+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  driver device thread event handled
2022-10-05T12:13:32.076132461+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:32.084176461+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x80, rssi: -68, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x13, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 61 > >
2022-10-05T12:13:32.100507127+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:32.105754794+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:32.111451794+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=97
2022-10-05T12:13:32.117897461+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:32.135794794+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:13:34.089321795+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:34.099543795+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x80, rssi: -68, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x14, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 60 > >
2022-10-05T12:13:34.206012795+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:34.229253128+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:34.270790462+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=96
2022-10-05T12:13:34.287652462+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:34.399689462+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:13:41.906903465+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:41.939692465+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x80, rssi: -68, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x15, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 61 > >
2022-10-05T12:13:41.969040465+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:41.974263465+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:41.980239465+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=97
2022-10-05T12:13:41.986719132+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:42.006284465+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:13:43.915868133+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:43.924545133+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x80, rssi: -68, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x16, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 62 > >
2022-10-05T12:13:43.941365800+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:43.946579800+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:43.952280800+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=98
2022-10-05T12:13:43.958598133+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:43.978975800+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:13:45.920294467+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:45.932108801+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x80, rssi: -68, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x17, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 63 > >
2022-10-05T12:13:45.949258467+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:45.954853134+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:45.964803467+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=99
2022-10-05T12:13:45.975248467+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:45.995112467+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:13:51.409633136+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Received event with handler zigbee
2022-10-05T12:13:51.420336136+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x9886, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0x80, rssi: -68, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x18, ZCLCommandId: 0x01 >, GenericBody:  00 08 02 02 00 04 00 00 00 64 > >
2022-10-05T12:13:51.436985803+00:00 TRACE Tuya Window Shade for Devices NOT TESTED  Found ZigbeeMessageDispatcher handler in tuya-window-shade-not-tested
2022-10-05T12:13:51.446569803+00:00 INFO Tuya Window Shade for Devices NOT TESTED  Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2022-10-05T12:13:51.453266803+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  dp=2, fncmd=100
2022-10-05T12:13:51.460072803+00:00 INFO Tuya Window Shade for Devices NOT TESTED  <ZigbeeDevice: 28bc4e56-b924-4c7b-ba29-76e06a55ba2c [0x9886] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"opening"}}
2022-10-05T12:13:51.478263470+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  Zigbee Thing device thread event handled
2022-10-05T12:14:01.521112141+00:00 DEBUG Tuya Window Shade for Devices NOT TESTED  driver device thread event handled`Preformatted text`

Logs as requested. Thank you for looking into this.

Were you opening or closing during capturing these logs?

yes, both opening and closing.

So you mean [fncmd = 100] packet is received when the blind is fully closed?

yes, from what i can recall of the sequence
Started fully close,
Open
auto Stop at middle limit
open
pause
close
auto stop at middle limit
close
auto stop at fully close limit
all command were done using the buttons on the motor itself

32 posts were split to a new topic: [edge] Zemismart Tuya Zigbee blind motor