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
757 stars 695 forks source link

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

Open poughkeepsee opened 5 months ago

poughkeepsee commented 5 months 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 5 months 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 5 months 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 4 months 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 4 months 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)

poughkeepsee commented 2 months ago

Commenting to keep this alive, still hoping for some development to happen.

ronaldtveen commented 2 months ago

And maybe not completely on topic, but Aqara also just announced some H2 EU wall light switches at IFA 2024. I expect overlap between the H2 EU wall outlet and those announced: Light Switch H2 EU, Dimmer Switch H2 EU, and Shutter Switch H2 EU

ronaldtveen commented 2 months ago

Also, might this Device Description File (DDF) from Deconz help help?

DDF for Aqara wall outlet H2 EU (WP-P01D)

homerojleal commented 2 months ago

Yes also looking fw for this fix/integration/quirk please!

timiman commented 1 month ago

Any development updates regarding this device's support with ZHA ? Hope someone will tackle this.

n0x31x commented 1 month ago

Also here some interest to have it fully working

tamasd8 commented 2 weeks ago

Also some interest from me for a good integration, I haven't bought it yet, but this seems like a good product to invest in.

ChristophCaina commented 2 weeks ago

The PR which I've started is still open - unfortunately, I don't have the time to continue with this one - so if anyone with some knowledge on this area might to continue here? ^^

akimtsev commented 6 days ago

I support it, full support of the device in ZHA is very necessary