Curtain Motor - unsupported

Hi there,

I’ve got a automated curtain which should support Zigbee. But i won’t get it to work with Home assistant.
I already tried the following things: ZHA and Zigbee2mqtt (made a completely fresh start integrated al my zigbee devices only to find out it still doesn’t work).

The brand and type of the motor are: Model YS-MT750 manufactured by Yushun

Currently I’m back on ZHA.

I’m using this curtain motor:
afbeelding

This is the zigbee signature:

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZE200_r0jdjrvi",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Is there a way to get it to work in ZHA? I’m relatively new to HA so hopefully there is a simple guide to follow to get this to work.

Hopefully someone can help.

1 Like

It was added recently (January).
I don’t know what version includes this modification.

You may wait HA to reference this version or copy this file and add it as custom quirk.

1 Like

Thanks for the info,

I tried to integrated the custom Quirk as it’s in the Github page.

Unfortunately it was unsuccessful

I edited this to m’n configuration.yaml

zha:
  custom_quirks_path: /config/ZHA-quirks/

In the path i made a file named: ts0601_cover.py

In the file i copied everything from this link: zha-device-handlers/ts0601_cover.py at 4652f3ba7e8ad3336d7e14043c9315ef14ac202d · Kiread-work/zha-device-handlers · GitHub

But nothing, when i look at the Zigbee signature in ZHA it is the same as before:

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZE200_r0jdjrvi",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Try using a different file name ( ts06001_cover.mod.py ) and/or class name ( TuyaMoesCover0601Mod ).
Also, consider using /config/custom_zha_quirks. I don’t know if hyphen in ZHA-quirks is allowed.

It might require repairing the device. You may try it before making above changes.
Or you may include endpoint 242 as part of the signature of class TuyaMoesCover0601. I don’t know if that matters as well.

It keeps returning "class": "zigpy.device.Device"
The expected result is something different.

That pull request 1279 show is as “Closed” and not “Merged” to it has not been added to zha-quirks.

Submit a “Device support request” → https://github.com/zigpy/zha-device-handlers/issues

But first check if it there is any existing device support requests for those devices, like maybe these:

https://github.com/zigpy/zha-device-handlers/issues/1245

https://github.com/zigpy/zha-device-handlers/issues/1294

You are right. I didn’t pay attention to that. Thanks.

@ForresT1984, you heard @Hedda.
If you want your curtain be added, consider submitting a “Device support request”

Hi @ForresT1984 @Hedda and @w35l3y,

I recently bought this smart curtain robot in Aliexpress https://es.aliexpress.com/item/1005006224025259.html

Following your tips, I was able to pair with home assistant (one of them), and with the quick I was able to open and close.

Do you know if the light sensor could be available for home assistant? Or even the calibration process?

Thank you in advance

Submit a “Device support request” → https://www.home-assistant.io/integrations/zha#how-to-add-support-for-new-and-unsupported-devices

That is, post a new issue filling out the Device support request template if there is not already an open one for that device signature → https://github.com/zigpy/zha-device-handlers/issues