Moes Curtain Switch

@kkossev Thanks for replay.
You are right this driver works fine , i read from your past forum replies how to search driver :slight_smile:
But i can't control the switch from dashboard.
There is a question mark on the dashboard.
Now i changed it to "scene" and i have on and off buttons which are work but the opposite way.
On - Closes and off - opens......

1 Like

Hi @Reuven , I am glad that there is a progress with your device control from HE.
There is enough information for _TZE200_nhyj64w2 on the net, so the remaining issues can be resolved one by one.

This usually happens when the HE dashboard device is no longer available, i.e. has been deleted or changed after it was added to the dashboard. Just delete this tile and check whether the correct device name is present in the list of the authorized devices ( HE Apps-> Hubitat Dashboar->Choose devices). Make sure in the dashboard the curtain switch is using the 'shade' template.

Is your switch controlled correctly when you click on Open and Close buttons from the device web page? Does 'Set Position 25%' command work?

Hi @kkossev , sorry for very late reply.
I received moes switches with multiple gangs and thanks to you ( your old replies ) they are all working great.
About blinds...

  1. 25% command not working and it will be great if you can tell me the commands in below picture.
  2. In dashboard there is only two options exist ; on and off , there is no pause.... ( in scene temp. )
  3. Shade template not working / responding.

Best regards,

Hi @Reuven ,

The screenshot above is not from the latest 'Zemismart Zigbee Blind' driver version.
Which driver are you using?

Hi.
I hope these help...


Sorry, I can't help much with these drivers, I don't know them...

Isn't the Zemismart Zigbee Blind Driver working with your switch?

Actually, the currently supported ' Zemismart Zigbee Blind Driver' is based on the iquix driver from your screenshot, but there are a lot of changes and improvements since this first version from 2020.

@kkossev
No problem thanks.

I found this driver : ZemiSmart Battery Vertical Blind Motor by MarcusVR and it works kind of ok with "shade". The problems are:

  1. I don't know how to set up / teach to hubitat limits of the blinds
  2. When the blinds opened on dashboard it shows closed.



For me level 0 is fully close and level 22 is fully open

You have to find out how to setup the upper and lower limits of your device first, so that ‘fully open’ corresponds to 100%. This setup is done not in the driver, but in the device itself using the switch buttons probably.

Do you have a PDF with instructions on how to install the blinds switch? Or a printed leaflet which came with the device?

@kkossev
Hi There's nothing written about upper or lower limit. Maybe i can change the limit in driver and "mapping" it to 0 to 100?

Is your device this one ?
https://www.aliexpress.com/item/1005003311312070.html

@kkossev

yes :slight_smile:

@kkossev anything new?

Hi @Reuven ,

Use this dev. branch version of the Zemismart Zigbee Blind driver :

https://raw.githubusercontent.com/amosyuen/hubitat-zemismart-zigbee/development/Zemismart%20Zigbee%20Blind.groovy

Press the Configure button first, then turn on the "Show Advanced options", save, turn on all the "Enable debug logging *", "Enable trace logging" and "Log unexpected messages " and save the preferences again.

There should be a new button "Calibrate" :
image
Select from the dropdown menu the first command and enter the calibration time in seconds and click on the same button.

I will need the debug logs, when you change the calibration time. Please try to copy the text and paste it here. You can use the forum editor cog wheel "summary" function to hide the long logs.

There are also two other commands moesCalibrationOn and moesCalibrationOff that I am not quite sure how these will work. See the instructions here : Moes ZTS-EUR-C control via MQTT | Zigbee2MQTT

Hi @kkossev
I hope this helps and thanks again

Summary

dev:692022-12-24 13:10:20.396warnParent Bedroom Moes Curtain Switch parse: Not a Tuya Message descMap=[raw:9D5E0100001801002044E2FF201FE4FF2000, dni:9D5E, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:44, clusterInt:0, attrInt:1, additionalAttrs:[[value:1F, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:00, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]

dev:692022-12-24 13:09:21.368warnParent Bedroom Moes Curtain Switch parse: Not a Tuya Message descMap=[raw:catchall: 0104 0102 01 01 0040 00 9D5E 00 00 0000 01 01 03F086, profileId:0104, clusterId:0102, clusterInt:258, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[03, F0, 86]]

dev:692022-12-24 13:09:21.210warnParent Bedroom Moes Curtain Switch parse: Not a Tuya Message descMap=[raw:catchall: 0104 0102 01 01 0040 00 9D5E 00 00 0000 04 01 8603F0, profileId:0104, clusterId:0102, clusterInt:258, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:04, direction:01, data:[86, 03, F0]]

dev:692022-12-24 13:09:21.051debugParent Bedroom Moes Curtain Switch sendZigbeeCommands (cmd=[he wattr 0x9D5E 0x01 0x0102 0xF003 0x21 {0096} {}, delay 200, he raw 0x9D5E 1 0x01 0x0102 {10 00 00 03 F0}, delay 200])

dev:692022-12-24 13:09:21.049warnParent Bedroom Moes Curtain Switch calibrate: executed setMoesCalibrationTime(15)

dev:692022-12-24 13:09:21.044warncalibrate moesCalibrationTime 15

dev:692022-12-24 13:08:19.530debugParent Bedroom Moes Curtain Switch updateWindowShadeArrived: position=0

1 Like

Please update to the new version "3.3.0 (test branch) - 2022-12-26 8:49 AM" and check whether these 4 commands have any effect (will need the debug logs again)

image

@kkossev
Sorry for silly question but how can i update?

Use the link that I posted above 2 days ago, copy the driver text and paste it into the same driver code in HE driver editor, then press Save

https://docs2.hubitat.com/en/how-to/install-custom-drivers

The latest code is now available in the dev. branch version.
You can easily update the driver by clicking on "Import" button inside the HE drivers code editor:

Thanks @kkossev.

Updated the driver and now i can change the backlights on or off when blind is working.
I tried to calibrate open / close values ( it says "String" ) but i don't know what to write...
Here some logs, i hope it helps...

Summary

dev:692022-12-26 20:47:27.971traceParent Bedroom Moes Curtain Switch parse: ACK command=24

dev:692022-12-26 20:47:27.884debugParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch sending time data : [he cmd 0x9D5E 0x01 0xEF00 0x24 {000863A9EC3F63AA085F}, delay 2000]

dev:692022-12-26 20:47:27.871debugParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch time synchronization request

dev:692022-12-26 20:47:27.866traceParent Bedroom Moes Curtain Switch parse: SET_TIME data=[01, 80]

dev:692022-12-26 20:46:51.026debugParent Bedroom Moes Curtain Switch parse: Moes Cover Calibration DP 3 value = 0

dev:692022-12-26 20:46:51.023traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00880304000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 88, 03, 04, 00, 01, 00]]

dev:692022-12-26 20:46:50.972traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:50.824debugParent Bedroom Moes Curtain Switch sendZigbeeCommands (cmd=[he cmd 0x9D5E 0x01 0xEF00 0x00 {D58C0304000100}, delay 2000])

dev:692022-12-26 20:46:50.821debugParent Bedroom Moes Curtain Switch calibrate: executed setMoesCalibrationOn(0)

dev:692022-12-26 20:46:50.797traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=D58C0304000100

dev:692022-12-26 20:46:50.794traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x03, dpType=0x04, fnCmd=0x00, fnCmdLength=2

dev:692022-12-26 20:46:50.755infoParent Bedroom Moes Curtain Switch setting setMoesCalibrationOn

dev:692022-12-26 20:46:50.752debugParent Bedroom Moes Curtain Switch calibrate Moes Calibration On 0

dev:692022-12-26 20:46:40.411infoParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch is closed

dev:692022-12-26 20:46:40.408debugParent Bedroom Moes Curtain Switch updateWindowShadeArrived: position=0

dev:692022-12-26 20:46:40.405traceParent Bedroom Moes Curtain Switch endOfMovement

dev:692022-12-26 20:46:37.921debugParent Bedroom Moes Curtain Switch parse: stopping (DP=1, data=1)

dev:692022-12-26 20:46:37.876traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00870104000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 87, 01, 04, 00, 01, 01]]

dev:692022-12-26 20:46:37.820debugParent Bedroom Moes Curtain Switch parse: stopping (DP=1, data=1)

dev:692022-12-26 20:46:37.786traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00860104000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 86, 01, 04, 00, 01, 01]]

dev:692022-12-26 20:46:37.731traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:37.633traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=20A80104000101

dev:692022-12-26 20:46:37.630traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x01, fnCmdLength=2

dev:692022-12-26 20:46:37.559debugParent Bedroom Moes Curtain Switch sending command stopPositionChange

dev:692022-12-26 20:46:37.556traceParent Bedroom Moes Curtain Switch push: buttonNumber=3

dev:692022-12-26 20:46:37.026debugParent Bedroom Moes Curtain Switch parse: received target 9

dev:692022-12-26 20:46:36.994traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00850202000400000009, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 85, 02, 02, 00, 04, 00, 00, 00, 09]]

dev:692022-12-26 20:46:35.787debugParent Bedroom Moes Curtain Switch parse: received target 10

dev:692022-12-26 20:46:35.755traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 0084020200040000000A, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 84, 02, 02, 00, 04, 00, 00, 00, 0A]]

dev:692022-12-26 20:46:34.554debugParent Bedroom Moes Curtain Switch parse: received target 11

dev:692022-12-26 20:46:34.523traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 0083020200040000000B, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 83, 02, 02, 00, 04, 00, 00, 00, 0B]]

dev:692022-12-26 20:46:33.871traceParent Bedroom Moes Curtain Switch updateWindowShadeClosing

dev:692022-12-26 20:46:33.867debugParent Bedroom Moes Curtain Switch parse: closing (DP=1, data=2)

dev:692022-12-26 20:46:33.828traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00820104000102, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 82, 01, 04, 00, 01, 02]]

dev:692022-12-26 20:46:33.795infoParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch is closing

dev:692022-12-26 20:46:33.765traceParent Bedroom Moes Curtain Switch updateWindowShadeClosing

dev:692022-12-26 20:46:33.761debugParent Bedroom Moes Curtain Switch parse: closing (DP=1, data=2)

dev:692022-12-26 20:46:33.729traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00810104000102, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 81, 01, 04, 00, 01, 02]]

dev:692022-12-26 20:46:33.660traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:33.562traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=A4690104000102

dev:692022-12-26 20:46:33.559traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x02, fnCmdLength=2

dev:692022-12-26 20:46:33.491debugParent Bedroom Moes Curtain Switch sending command close, direction = 0

dev:692022-12-26 20:46:33.064debugParent Bedroom Moes Curtain Switch parse: received target 12

dev:692022-12-26 20:46:33.032traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 0080020200040000000C, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 80, 02, 02, 00, 04, 00, 00, 00, 0C]]

dev:692022-12-26 20:46:32.111traceParent Bedroom Moes Curtain Switch updateWindowShadeOpening

dev:692022-12-26 20:46:32.108debugParent Bedroom Moes Curtain Switch parse: opening (DP=1, data=0)

dev:692022-12-26 20:46:32.077traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 007F0104000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 7F, 01, 04, 00, 01, 00]]

dev:692022-12-26 20:46:31.995infoParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch is opening

dev:692022-12-26 20:46:31.991traceParent Bedroom Moes Curtain Switch updateWindowShadeOpening

dev:692022-12-26 20:46:31.988debugParent Bedroom Moes Curtain Switch parse: opening (DP=1, data=0)

dev:692022-12-26 20:46:31.950traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 007E0104000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 7E, 01, 04, 00, 01, 00]]

dev:692022-12-26 20:46:31.893traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:31.796traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=C24B0104000100

dev:692022-12-26 20:46:31.793traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x00, fnCmdLength=2

dev:692022-12-26 20:46:31.728debugParent Bedroom Moes Curtain Switch sending command open, direction = 0

dev:692022-12-26 20:46:18.470infoParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch is closed

dev:692022-12-26 20:46:18.467debugParent Bedroom Moes Curtain Switch updateWindowShadeArrived: position=0

dev:692022-12-26 20:46:18.464traceParent Bedroom Moes Curtain Switch endOfMovement

dev:692022-12-26 20:46:15.923debugParent Bedroom Moes Curtain Switch parse: stopping (DP=1, data=1)

dev:692022-12-26 20:46:15.888traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 007D0104000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 7D, 01, 04, 00, 01, 01]]

dev:692022-12-26 20:46:15.838debugParent Bedroom Moes Curtain Switch parse: stopping (DP=1, data=1)

dev:692022-12-26 20:46:15.807traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 007C0104000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 7C, 01, 04, 00, 01, 01]]

dev:692022-12-26 20:46:15.696traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:15.596traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=67AB0104000101

dev:692022-12-26 20:46:15.593traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x01, fnCmdLength=2

dev:692022-12-26 20:46:15.520debugParent Bedroom Moes Curtain Switch sending command stopPositionChange

dev:692022-12-26 20:46:15.517traceParent Bedroom Moes Curtain Switch push: buttonNumber=3

dev:692022-12-26 20:46:15.502debugParent Bedroom Moes Curtain Switch parse: received target 11

dev:692022-12-26 20:46:15.468traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 007B020200040000000B, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 7B, 02, 02, 00, 04, 00, 00, 00, 0B]]

dev:692022-12-26 20:46:14.267debugParent Bedroom Moes Curtain Switch parse: received target 10

dev:692022-12-26 20:46:14.231traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 007A020200040000000A, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 7A, 02, 02, 00, 04, 00, 00, 00, 0A]]

dev:692022-12-26 20:46:13.148debugParent Bedroom Moes Curtain Switch parse: received target 9

dev:692022-12-26 20:46:13.116traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00790202000400000009, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 79, 02, 02, 00, 04, 00, 00, 00, 09]]

dev:692022-12-26 20:46:11.982debugParent Bedroom Moes Curtain Switch parse: received target 8

dev:692022-12-26 20:46:11.949traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00780202000400000008, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 78, 02, 02, 00, 04, 00, 00, 00, 08]]

dev:692022-12-26 20:46:10.797debugParent Bedroom Moes Curtain Switch parse: received target 7

dev:692022-12-26 20:46:10.764traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00770202000400000007, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 77, 02, 02, 00, 04, 00, 00, 00, 07]]

dev:692022-12-26 20:46:10.096warnParent Bedroom Moes Curtain Switch parse: Not a Tuya Message descMap=[raw:9D5E0100001801002044E2FF201FE4FF2000, dni:9D5E, endpoint:01, cluster:0000, size:18, attrId:0001, encoding:20, command:0A, value:44, clusterInt:0, attrInt:1, additionalAttrs:[[value:1F, encoding:20, attrId:FFE2, consumedBytes:4, attrInt:65506], [value:00, encoding:20, attrId:FFE4, consumedBytes:4, attrInt:65508]]]

dev:692022-12-26 20:46:09.924debugParent Bedroom Moes Curtain Switch parse: Moes Cover Calibration DP 3 value = 1

dev:692022-12-26 20:46:09.921traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00760304000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 76, 03, 04, 00, 01, 01]]

dev:692022-12-26 20:46:09.866traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:09.749debugParent Bedroom Moes Curtain Switch sendZigbeeCommands (cmd=[he cmd 0x9D5E 0x01 0xEF00 0x00 {61630304000101}, delay 2000])

dev:692022-12-26 20:46:09.746debugParent Bedroom Moes Curtain Switch calibrate: executed setMoesCalibrationOff(100)

dev:692022-12-26 20:46:09.743traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=61630304000101

dev:692022-12-26 20:46:09.740traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x03, dpType=0x04, fnCmd=0x01, fnCmdLength=2

dev:692022-12-26 20:46:09.708infoParent Bedroom Moes Curtain Switch setting setMoesCalibrationOff

dev:692022-12-26 20:46:09.705debugParent Bedroom Moes Curtain Switch calibrate Moes Calibration Off 100

dev:692022-12-26 20:46:09.560debugParent Bedroom Moes Curtain Switch parse: received target 6

dev:692022-12-26 20:46:09.528traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00750202000400000006, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 75, 02, 02, 00, 04, 00, 00, 00, 06]]

dev:692022-12-26 20:46:08.329debugParent Bedroom Moes Curtain Switch parse: received target 5

dev:692022-12-26 20:46:08.292traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00740202000400000005, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 74, 02, 02, 00, 04, 00, 00, 00, 05]]

dev:692022-12-26 20:46:08.016debugParent Bedroom Moes Curtain Switch parse: Moes Cover Calibration DP 3 value = 1

dev:692022-12-26 20:46:08.009traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00730304000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 73, 03, 04, 00, 01, 01]]

dev:692022-12-26 20:46:07.945traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:07.852debugParent Bedroom Moes Curtain Switch sendZigbeeCommands (cmd=[he cmd 0x9D5E 0x01 0xEF00 0x00 {37770304000101}, delay 2000])

dev:692022-12-26 20:46:07.848debugParent Bedroom Moes Curtain Switch calibrate: executed setMoesCalibrationOff(100)

dev:692022-12-26 20:46:07.845traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=37770304000101

dev:692022-12-26 20:46:07.842traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x03, dpType=0x04, fnCmd=0x01, fnCmdLength=2

dev:692022-12-26 20:46:07.809infoParent Bedroom Moes Curtain Switch setting setMoesCalibrationOff

dev:692022-12-26 20:46:07.806debugParent Bedroom Moes Curtain Switch calibrate Moes Calibration Off 100

dev:692022-12-26 20:46:07.238debugParent Bedroom Moes Curtain Switch parse: received target 4

dev:692022-12-26 20:46:07.201traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00720202000400000004, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 72, 02, 02, 00, 04, 00, 00, 00, 04]]

dev:692022-12-26 20:46:05.986debugParent Bedroom Moes Curtain Switch parse: received target 3

dev:692022-12-26 20:46:05.944traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00710202000400000003, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 71, 02, 02, 00, 04, 00, 00, 00, 03]]

dev:692022-12-26 20:46:04.858debugParent Bedroom Moes Curtain Switch parse: received target 2

dev:692022-12-26 20:46:04.827traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00700202000400000002, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 70, 02, 02, 00, 04, 00, 00, 00, 02]]

dev:692022-12-26 20:46:03.643debugParent Bedroom Moes Curtain Switch parse: received target 1

dev:692022-12-26 20:46:03.611traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 006F0202000400000001, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 6F, 02, 02, 00, 04, 00, 00, 00, 01]]

dev:692022-12-26 20:46:02.444traceParent Bedroom Moes Curtain Switch updateWindowShadeOpening

dev:692022-12-26 20:46:02.440debugParent Bedroom Moes Curtain Switch parse: opening (DP=1, data=0)

dev:692022-12-26 20:46:02.409traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 006E0104000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 6E, 01, 04, 00, 01, 00]]

dev:692022-12-26 20:46:02.358traceParent Bedroom Moes Curtain Switch updateWindowShadeOpening

dev:692022-12-26 20:46:02.355debugParent Bedroom Moes Curtain Switch parse: opening (DP=1, data=0)

dev:692022-12-26 20:46:02.322traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 006D0104000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 6D, 01, 04, 00, 01, 00]]

dev:692022-12-26 20:46:02.266traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:02.166traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=DDF90104000100

dev:692022-12-26 20:46:02.163traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x00, fnCmdLength=2

dev:692022-12-26 20:46:02.074debugParent Bedroom Moes Curtain Switch sending command open, direction = 0

dev:692022-12-26 20:46:01.436debugParent Bedroom Moes Curtain Switch parse: received target 0

dev:692022-12-26 20:46:01.404traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 006C0202000400000000, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 6C, 02, 02, 00, 04, 00, 00, 00, 00]]

dev:692022-12-26 20:46:01.354debugParent Bedroom Moes Curtain Switch parse: stopping (DP=1, data=1)

dev:692022-12-26 20:46:01.321traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 006B0104000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 6B, 01, 04, 00, 01, 01]]

dev:692022-12-26 20:46:01.273traceParent Bedroom Moes Curtain Switch updateWindowShadeOpening

dev:692022-12-26 20:46:01.270debugParent Bedroom Moes Curtain Switch parse: opening (DP=1, data=0)

dev:692022-12-26 20:46:01.194traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 006A0104000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 6A, 01, 04, 00, 01, 00]]

dev:692022-12-26 20:46:01.136infoParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch is opening

dev:692022-12-26 20:46:01.133traceParent Bedroom Moes Curtain Switch updateWindowShadeOpening

dev:692022-12-26 20:46:01.129debugParent Bedroom Moes Curtain Switch parse: opening (DP=1, data=0)

dev:692022-12-26 20:46:01.085traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00690104000100, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 69, 01, 04, 00, 01, 00]]

dev:692022-12-26 20:46:01.013traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:46:00.912traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=ACEB0104000100

dev:692022-12-26 20:46:00.909traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x00, fnCmdLength=2

dev:692022-12-26 20:46:00.825debugParent Bedroom Moes Curtain Switch sending command open, direction = 0

dev:692022-12-26 20:45:58.880traceParent Bedroom Moes Curtain Switch updateWindowShadeClosing

dev:692022-12-26 20:45:58.876debugParent Bedroom Moes Curtain Switch parse: closing (DP=1, data=2)

dev:692022-12-26 20:45:58.842traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00680104000102, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 68, 01, 04, 00, 01, 02]]

dev:692022-12-26 20:45:58.787infoParent Bedroom Moes Curtain Switch Parent Bedroom Moes Curtain Switch is closing

dev:692022-12-26 20:45:58.778traceParent Bedroom Moes Curtain Switch updateWindowShadeClosing

dev:692022-12-26 20:45:58.774debugParent Bedroom Moes Curtain Switch parse: closing (DP=1, data=2)

dev:692022-12-26 20:45:58.713traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00670104000102, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 67, 01, 04, 00, 01, 02]]

dev:692022-12-26 20:45:58.657traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:45:58.541traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=F4EE0104000102

dev:692022-12-26 20:45:58.538traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x01, dpType=0x04, fnCmd=0x02, fnCmdLength=2

dev:692022-12-26 20:45:58.478debugParent Bedroom Moes Curtain Switch sending command close, direction = 0

dev:692022-12-26 20:45:51.652debugParent Bedroom Moes Curtain Switch parse: Moes Cover Calibration DP 3 value = 1

dev:692022-12-26 20:45:51.649traceParent Bedroom Moes Curtain Switch parseSetDataResponse: descMap=[raw:catchall: 0104 EF00 01 01 0040 00 9D5E 01 00 0000 01 01 00660304000101, profileId:0104, clusterId:EF00, clusterInt:61184, sourceEndpoint:01, destinationEndpoint:01, options:0040, messageType:00, dni:9D5E, isClusterSpecific:true, isManufacturerSpecific:false, manufacturerId:0000, command:01, direction:01, data:[00, 66, 03, 04, 00, 01, 01]]

dev:692022-12-26 20:45:51.599traceParent Bedroom Moes Curtain Switch parse: ACK command=00

dev:692022-12-26 20:45:51.501debugParent Bedroom Moes Curtain Switch sendZigbeeCommands (cmd=[he cmd 0x9D5E 0x01 0xEF00 0x00 {2F480304000101}, delay 2000])

dev:692022-12-26 20:45:51.498debugParent Bedroom Moes Curtain Switch calibrate: executed setMoesCalibrationOff(100)

dev:692022-12-26 20:45:51.495traceParent Bedroom Moes Curtain Switch sendTuyaCommand: message=2F480304000101

dev:692022-12-26 20:45:51.492traceParent Bedroom Moes Curtain Switch sendTuyaCommand: dp=0x03, dpType=0x04, fnCmd=0x01, fnCmdLength=2

dev:692022-12-26 20:45:51.437infoParent Bedroom Moes Curtain Switch setting setMoesCalibrationOff

dev:692022-12-26 20:45:51.434debugParent Bedroom Moes Curtain Switch calibrate Moes Calibration Off 100

1 Like

I will analyze the logs tomorrow, but at a first glance seems we are making progress! : )

I am reposting the calibration procedure instructions as found on Z2M site - Do these work for your device?

Calibration

Calibration procedure:

  1. Turn calibration on
  2. Move cover completely up (open)
  3. Press stop
  4. Close cover
  5. Press stop when closed
  6. Turn calibration off

#Options

Also, please turn on the 'Ignore the first Position report' from the Advanced options.

2 Likes