Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Device Support Request] Issue with switch_acn047 (Aqara T2 Dual Relay): Voltage Reports 0 and Temperature Is None in ZHA #3641

Open
luistelmocosta opened this issue Dec 25, 2024 · 0 comments

Comments

@luistelmocosta
Copy link

Problem description

General Information

  • Device: Aqara T2 Dual Relay (Model: lumi.switch.acn047)
  • Integration: Zigbee ZHA
  • Home Assistant Version: 2024.12.2
  • Zigbee Coordinator: Sonoff Zigbee USB Dongle Plus

Problem Description

I am experiencing unexpected behavior with the Aqara T2 Dual Relay after integrating it into Zigbee ZHA.

  1. Voltage Reporting Issue:
  • The ElectricalMeasurement cluster always reports the voltage as 0, which seems incorrect given the device's functionality.
  1. Device Temperature Reporting Issue:
  • The DeviceTemperature cluster's Value attribute consistently returns None when queried.
  • This behavior is unexpected since the cluster is present, and I would assume the relay should provide internal temperature readings.

Based on the zhaquirks quirk for this device (lumi.switch.acn047), these clusters are expected to function:

replacement = {
    ENDPOINTS: {
        1: {
            PROFILE_ID: zha.PROFILE_ID,
            DEVICE_TYPE: zha.DeviceType.ON_OFF_SWITCH,
            INPUT_CLUSTERS: [
                BasicCluster,
                Identify.cluster_id,
                Scenes.cluster_id,
                Groups.cluster_id,
                OnOff.cluster_id,
                MultistateInputCluster,
                DeviceTemperature.cluster_id,
                MeteringCluster,
                ElectricalMeasurementCluster,
                OppleCluster,
            ],
            OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
        },
        ...
    },
}
  • The DeviceTemperature and ElectricalMeasurement clusters are included in the quirk's replacement, so I assume these should be operational.

Thank you!

Solution description

If these clusters are intended to function, I request:

  • Verification of the ElectricalMeasurement cluster's voltage reporting.
  • Clarification or a fix for the DeviceTemperature cluster returning None.

If these are unsupported by the device, adjusting the quirk to reflect the actual capabilities would enhance usability.

Screenshots/Video

Screenshots/Video

image
image

Device signature

Device signature
{
  "node_descriptor": {
    "logical_type": 1,
    "complex_descriptor_available": 0,
    "user_descriptor_available": 0,
    "reserved": 0,
    "aps_flags": 0,
    "frequency_band": 8,
    "mac_capability_flags": 142,
    "manufacturer_code": 4447,
    "maximum_buffer_size": 82,
    "maximum_incoming_transfer_size": 82,
    "server_mask": 11264,
    "maximum_outgoing_transfer_size": 82,
    "descriptor_capability_field": 0
  },
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0000",
      "input_clusters": [
        "0x0000",
        "0x0002",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0012",
        "0x0702",
        "0x0b04",
        "0xfcc0"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "2": {
      "profile_id": "0x0104",
      "device_type": "0x0000",
      "input_clusters": [
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0012",
        "0xfcc0"
      ],
      "output_clusters": []
    },
    "21": {
      "profile_id": "0x0104",
      "device_type": "0x0000",
      "input_clusters": [
        "0x000c"
      ],
      "output_clusters": []
    }
  },
  "manufacturer": "Aqara",
  "model": "lumi.switch.acn047",
  "class": "zhaquirks.xiaomi.aqara.switch_acn047.AqaraT2Relay"
}

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

@luistelmocosta luistelmocosta changed the title [Device Support Request] switch_acn047 voltage equal t0 [Device Support Request] Issue with switch_acn047 (Aqara T2 Dual Relay): Voltage Reports 0 and Temperature Is None in ZHA Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant