zha-device-handlers icon indicating copy to clipboard operation
zha-device-handlers copied to clipboard

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

Open poughkeepsee opened this issue 8 months ago • 10 comments

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:

  • Shows 2 switches when this is a single unit (switch_1 does nothing when turning on/off, switch_2 turns device on/off)
  • Power reading has ~40sec delay, not sure if intended/expected
  • Temperature does not register (always at 0)
  • Only exposed entities are: switches (1, 2), Power, Summation delivered, Temperature. Looking at the Zigbee2MQTT page it seems there are many other available options: switch (state), device_temperature, power_outage_count, power_on_behavior, power, energy, voltage, current, overload_protection, led_indicator, button_lock, charging_protection, charging_limit, linkquality

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
{
  "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.FullFunctionDevice|MainsPowered|RxOnWhenIdle|AllocateAddress: 142>, manufacturer_code=4447, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, 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": "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
[Paste the diagnostic information here]

Logs

Logs
[Paste the logs here]

Custom quirk

Custom quirk
[Paste your custom quirk here]

Additional information

No response

poughkeepsee avatar Jun 03 '24 17:06 poughkeepsee