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

[Device Support Request] TZE204_ztqnh5cg

Open PieterHattinghZA opened this issue 1 year ago • 19 comments

Problem description

ZHA picks up the device but as a Smart Plug and only shows the Firmware status. I tried to use a quirk as exampled in various posts.

I added the TZE204_ztqnh5cg entry under the models sections, configured my quirks path and file and zero luck.

Could someone please assist me. I am not a coder by any stretch of the imagination.

Diagnostics.json

Configuration.yaml entry

zha: enable_quirks: true custom_quirks_path: /config/custom_zha_quirks/ database_path: /config/zigbee.db

Solution description

I would appreciate a custom quirk and some guidance in using/applying it

Screenshots/Video

Screenshots/Video

image

As per the screenshot, the custom quirk is not used to id the device. HELP

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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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": "0x0051",
      "input_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0xef00"
      ],
      "output_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": "0xa1e0",
      "device_type": "0x0061",
      "input_clusters": [],
      "output_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "_TZE204_ztqnh5cg",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Diagnostic information

Diagnostic information
[Paste the diagnostic information here]

Logs

Logs
[Paste the logs here]

Custom quirk

Custom quirk
[custom_zha_quirks.zip](https://github.com/zigpy/zha-device-handlers/files/14230615/custom_zha_quirks.zip)

Additional information

No response

PieterHattinghZA avatar Feb 10 '24 21:02 PieterHattinghZA