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
696 stars 641 forks source link

Unknown cluster Warning for TS011F plug #2585

Closed erkr closed 4 months ago

erkr commented 10 months ago

Bug description

My device TS011F by TZ3000_gvn91tmx is handled by quirk zhaquirks.tuya.ts011f_plug.Plug That works but maybe no full support. I noticed an ‘ Unknown cluster ‘ warning in my log (see below)

Steps to reproduce

Happens during startup

Expected behavior

-

Screenshots/Video

Screenshots/Video [Paste/upload your media here]

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=4417, maximum_buffer_size=66, maximum_incoming_transfer_size=66, server_mask=10752, maximum_outgoing_transfer_size=66, 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": "0x010a", "input_clusters": [ "0x0000", "0x0003", "0x0004", "0x0005", "0x0006", "0x0702", "0x0b04", "0xe000", "0xe001" ], "output_clusters": [ "0x000a", "0x0019" ] } }, "manufacturer": "_TZ3000_gvn91tmx", "model": "TS011F", "class": "zhaquirks.tuya.ts011f_plug.Plug" }] ```

Diagnostic information

Diagnostic information ```json [{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.9.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "aarch64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.09.2", "host_os": "Home Assistant OS 10.5", "docker_version": "23.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "pyscript": { "version": "1.5.0", "requirements": [ "croniter==1.3.8", "watchdog==2.3.1" ] }, "smartthinq_sensors": { "version": "0.33.3", "requirements": [ "pycountry>=20.7.3", "xmltodict>=0.12.0", "charset_normalizer>=2.0.0" ] }, "zha_toolkit": { "version": "v0.9.9", "requirements": [ "pytz" ] }, "neerslag": { "version": "2022.07.07.1", "requirements": [] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp", "universal_silabs_flasher" ], "requirements": [ "bellows==0.36.3", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.103", "zigpy-deconz==0.21.1", "zigpy==0.57.1", "zigpy-xbee==0.18.2", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.4", "universal-silabs-flasher==0.0.13" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_uzg-01._tcp.local.", "name": "uzg-01*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "config": { "zigpy_config": { "ota": { "ikea_provider": false }, "database_path": "/config/zigbee.db", "device": { "path": "/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2440562-if00" } }, "enable_quirks": true, "custom_quirks_path": "/config/custom_quirks2/", "device_config": {} }, "config_entry": { "entry_id": "25ec6196d6e1dca224c0de9161dd4456", "version": 3, "domain": "zha", "title": "ConBee II, s/n: DE2440562 - dresden elektronik ingenieurtechnik GmbH", "data": { "radio_type": "deconz", "device": { "path": "/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2440562-if00" } }, "options": { "custom_configuration": { "zha_options": { "consider_unavailable_mains": 180, "consider_unavailable_battery": 43200 } } }, "pref_disable_new_entities": false, "pref_disable_polling": false, "source": "user", "unique_id": null, "disabled_by": null }, "application_state": { "node_info": { "nwk": 0, "ieee": "**REDACTED**", "logical_type": 0 }, "network_info": { "extended_pan_id": "**REDACTED**", "pan_id": 36247, "nwk_update_id": 0, "nwk_manager_id": 0, "channel": 15, "channel_mask": 32768, "security_level": 5, "network_key": "**REDACTED**", "tc_link_key": { "key": [ 90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57 ], "tx_counter": 0, "rx_counter": 0, "seq": 0, "partner_ieee": "**REDACTED**" }, "key_table": [], "children": [], "nwk_addresses": {}, "stack_specific": {}, "metadata": { "deconz": { "version": 645007104 } }, "source": "zigpy-deconz@0.21.1" }, "counters": {}, "broadcast_counters": {}, "device_counters": {}, "group_counters": {} }, "energy_scan": { "11": 20.0, "12": 34.11764705882353, "13": 41.1764705882353, "14": 24.705882352941178, "15": 32.94117647058823, "16": 29.41176470588235, "17": 17.647058823529413, "18": 7.0588235294117645, "19": 27.058823529411764, "20": 23.529411764705884, "21": 29.41176470588235, "22": 37.64705882352941, "23": 29.41176470588235, "24": 8.235294117647058, "25": 30.58823529411765, "26": 34.11764705882353 }, "versions": { "bellows": "0.36.3", "zigpy": "0.57.1", "zigpy_deconz": "0.21.1", "zigpy_xbee": "0.18.2", "zigpy_znp": "0.11.4", "zigpy_zigate": "0.11.0", "zhaquirks": "0.0.103" } } }] ```

Logs

Logs ```python Logger: zigpy.zcl Source: runner.py:186 First occurred: 00:51:37 (10 occurrences) Last logged: 00:51:38 [0xCCAF:1:0xe001] Unknown cluster command 225 b'\x02o\xaa\x97,\x8b\x00\x00\x00\x8b\x00\x00\x00\x00' ```

Additional information

No response

MattWestb commented 10 months ago

Pleas post device signature and diagnostic so can see if your device is have the right cluster settings or not.

erkr commented 10 months ago

Pleas post device signature and diagnostic so can see if your device is have the right cluster settings or not.

@MattWestb I updated the initial post with the diagnostics and signature. Should have done that immediately. Best Eric

github-actions[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.