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
696 stars 640 forks source link

Aqara FP1 - implement region support #2202

Open droopanu opened 1 year ago

droopanu commented 1 year ago

Is your feature request related to a problem? Please describe. Would you be able to implement regions for Aqara FP1? It makes the sensor actually usable and reduces the false positives. Zigbee2mqtt has just implemented it but I would rather use zha if possible.

Describe the solution you'd like The following options should be implemented:

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=4660, maximum_buffer_size=108, maximum_incoming_transfer_size=127, server_mask=11264, maximum_outgoing_transfer_size=127, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=False, *is_security_capable=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0xfff0", "in_clusters": [ "0x0000", "0x0002", "0x0003", "0x0406", "0xfcc0" ], "out_clusters": [ "0x0003", "0x0019" ] } }, "manufacturer": "aqara", "model": "lumi.motion.ac01", "class": "zhaquirks.xiaomi.aqara.motion_ac01.AqaraLumiMotionAc01" } ```
Diagnostic information ```yaml Paste the diagnostic information here. Don't remove the extra line breaks outside the ``` marks. ```
Additional logs ``` Paste any additional debug logs here. Don't remove the extra line breaks outside the ``` marks. ```

Additional context Add any other context or screenshots about the feature request here.

alexisiglesias1 commented 1 year ago

hi @droopanu have you had any updated in this request?

michalmo commented 1 year ago

I've created PR #2401 that adds support for regions.

github-actions[bot] commented 8 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

pingu2211 commented 8 months ago

The PR resolving this issue remains open

samsonusmc commented 6 months ago

Would also love to see this implemented in ZHA

github-actions[bot] commented 6 days ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

BrendanAustinWSP commented 6 days ago

The PR resolving this issue remains open