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
685 stars 637 forks source link

[Device Support Request] Aqara Wall Outlet H2 EU (WP-P01D) #3187

Open poughkeepsee opened 1 month ago

poughkeepsee commented 1 month ago

Problem description

Hi,

Requesting, if possible, for support for the new H2 Wall Outlet (link).

image

I can add it to ZHA and it's recognized as lumi.plug.aeu001, but seems there are issues with the current config/support:

Home Assistant version: Core - 2024.5.5 Supervisor - 2024.05.1 OS - 12.3

Solution description

Full support of device/fix existing bugs. Possibly mirror Zigbee2MQTT level of support and options.

Screenshots/Video

Screenshots/Video Screenshot 2024-06-03 at 18 26 56

Device signature

Device signature ```json { "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=4447, 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": "0x0104", "device_type": "0x0000", "input_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0012", "0x0402", "0x0702", "0x0b04", "0xfcc0" ], "output_clusters": [ "0x000a", "0x0019" ] }, "2": { "profile_id": "0x0104", "device_type": "0x0051", "input_clusters": [ "0x0006" ], "output_clusters": [] }, "21": { "profile_id": "0x0104", "device_type": "0x0051", "input_clusters": [ "0x000c" ], "output_clusters": [] } }, "manufacturer": "Aqara", "model": "lumi.plug.aeu001", "class": "zigpy.device.Device" } ```

Diagnostic information

Diagnostic information ```json [Paste the diagnostic information here] ```

Logs

Logs ```python [Paste the logs here] ```

Custom quirk

Custom quirk ```python [Paste your custom quirk here] ```

Additional information

No response

ChristophCaina commented 1 month ago

Hi, I would also love to see this device fully supported :) grafik

I agree with the topics mentioned above:

Power is working (with a small delay) Energy is not working Temperature is not working

Identify is working LQI is working RSSI is working

poughkeepsee commented 1 month ago

Just adding in case of interested/usefulness, I tested adding this device to Zigbee2MQTT and below are the exposed entities. Really hoping for future support in this outlet, thanks!

Screenshot 2024-06-10 at 15 31 54 Screenshot 2024-06-10 at 15 32 08 Screenshot 2024-06-10 at 15 32 34
ChristophCaina commented 2 weeks ago

ok, not sure where this is comming from, but somehow, it seems, that I do have some kind of kWh reporting (suddenly)

image image
ronaldtveen commented 1 day ago

The Wall Outlet H2 EU was just reviewed by Tweakers.net (largest Dutch website dedicated to technology and electronics). I expect a lot more users buying this device now. Me too, but since I use ZHA I'm on the brink if I want it because of the sloppy support in ZHA.

Tweakers.net: Dumb sockets become smart (Aqara H2 Quicktest)