zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
753 stars 693 forks source link

[Device Support Request] #1590

Closed elektrinis closed 2 years ago

elektrinis commented 2 years ago

Is your feature request related to a problem? Please describe. There is a new presence detector available, which should solve many automation problems. However it is not supported on zha yet.

Describe the solution you'd like Support for new device

Device signature ```yaml { "node_descriptor": "NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=, *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" ] } }, "manufacturer": "_TZE200_ztc6ggyl", "model": "TS0601", "class": "zigpy.device.Device" } ```

Additional context https://www.aliexpress.com/item/1005004170513399.html

Hedda commented 2 years ago

Nice! This "Tuya Zigbee Human Presence Detector" and other microwave/millimeter wave motion sensors from Tuya for smart human body presence a.k.a. occupancy and vacancy detection (product models: MIR-HE200-ZB, MYQ-ZHFD02, MSA050-Z1, MSA042D-Z1, MSA035-Z1, and MYQ-ZHFD01) are listed for global worldwide sale (unlike competing Aqara FP1 product). See:

https://expo.tuya.com/smart/sensors/infrared-sensor/occupancy---vacancy-sensor/CT9cn94ki9rh36-CT9cn9la1lzi8j-CT9cndvh3x4xle

https://expo.tuya.com/product/952001

https://expo.tuya.com/product/1031059

https://expo.tuya.com/product/842246

https://expo.tuya.com/product/902056

https://expo.tuya.com/product/804011

https://expo.tuya.com/product/1031058