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
714 stars 661 forks source link

[Device Support Request] TS0601 _TZE204_wbhaespm Din breaker SMTONOFF #2770

Closed tdoolaege closed 1 month ago

tdoolaege commented 9 months ago

Problem description

the device connects to ZHA but no power monitoring is possible or anything else grc-screenshot(3) grc-screenshot(2)[

Smtonoff-Tuya-Zigbee-Breaker-Veel-Switch-Prepaid-Meter-Over-Onder-Voltage-Lastmomentbegrenzing-Voice-Control-Alexa-Google jpg_80x80 jpg_ (https://nl.aliexpress.com/item/1005005143771083.html?spm=a2g0o.order_list.order_list_main.5.3e5b79d28k4Q12&gatewayAdapt=glo2nld)

Solution description

a working device :) or at least energy/power meter

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": "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_wbhaespm", "model": "TS0601", "class": "zigpy.device.Device" } ```

Diagnostic information

Diagnostic information ```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.11.2", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.6", "docker": true, "arch": "x86_64", "timezone": "Europe/Brussels", "os_name": "Linux", "os_version": "6.1.59", "supervisor": "2023.11.3", "host_os": "Home Assistant OS 11.1", "docker_version": "24.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "proxmoxve": { "version": "3.2.1", "requirements": [ "proxmoxer==2.0.1" ] }, "better_thermostat": { "version": "1.3.0", "requirements": [] }, "waste_collection_schedule": { "version": "1.43.0", "requirements": [ "icalendar", "recurring_ical_events", "icalevents", "bs4", "lxml" ] }, "dwains_dashboard": { "version": "3.6.0", "requirements": [] }, "nordpool": { "version": "0.0.14", "requirements": [ "nordpool>=0.2", "backoff" ] }, "nodered": { "version": "3.1.1", "requirements": [] }, "opnsense": { "version": "0.1.0", "requirements": [ "mac-vendor-lookup>=0.1.11", "python-dateutil" ] }, "edgeos": { "version": "2.0.28", "requirements": [ "aiohttp" ] }, "hpprinter": { "version": "1.0.8", "requirements": [ "xmltodict==0.12.0" ] }, "powercalc": { "version": "v1.9.7", "requirements": [ "numpy>=1.21.1" ] }, "telenet_telemeter": { "version": "1.3.3", "requirements": [ "beautifulsoup4", "html5lib" ] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] }, "sonoff": { "version": "3.5.3", "requirements": [ "pycryptodome>=3.6.6" ] }, "localtuya": { "version": "5.2.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.8", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.106", "zigpy-deconz==0.21.1", "zigpy==0.59.0", "zigpy-xbee==0.19.0", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.6", "universal-silabs-flasher==0.0.14", "pyserial-asyncio-fast==0.11" ], "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": { "ieee": "**REDACTED**", "nwk": 45026, "manufacturer": "_TZE204_wbhaespm", "model": "TS0601", "name": "_TZE204_wbhaespm TS0601", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "quirk_id": null, "manufacturer_code": 4417, "power_source": "Mains", "lqi": 92, "rssi": -77, "last_seen": "2023-11-23T20:12:40", "available": true, "device_type": "Router", "signature": { "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": "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_wbhaespm", "model": "TS0601" }, "active_coordinator": false, "entities": [], "neighbors": [ { "device_type": "Coordinator", "rx_on_when_idle": "On", "relationship": "Parent", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x0000", "permit_joining": "Unknown", "depth": "0", "lqi": "0" }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0x3E1D", "permit_joining": "Unknown", "depth": "0", "lqi": "154" }, { "device_type": "Router", "rx_on_when_idle": "On", "relationship": "Sibling", "extended_pan_id": "**REDACTED**", "ieee": "**REDACTED**", "nwk": "0xD535", "permit_joining": "Unknown", "depth": "0", "lqi": "33" } ], "routes": [], "endpoint_names": [ { "name": "SMART_PLUG" }, { "name": "PROXY_BASIC" } ], "user_given_name": null, "device_reg_id": "1a19df51ba413a94013b84a8246f6a0b", "area_id": null, "cluster_details": { "1": { "device_type": { "name": "SMART_PLUG", "id": 81 }, "profile_id": 260, "in_clusters": { "0x0004": { "endpoint_attribute": "groups", "attributes": { "0xfffd": { "attribute_name": "cluster_revision", "value": 2 }, "0x0000": { "attribute_name": "name_support", "value": 0 } }, "unsupported_attributes": { "0xfffe": { "attribute_name": "reporting_status" } } }, "0x0005": { "endpoint_attribute": "scenes", "attributes": { "0xfffd": { "attribute_name": "cluster_revision", "value": 2 }, "0x0000": { "attribute_name": "count", "value": 0 }, "0x0002": { "attribute_name": "current_group", "value": 0 }, "0x0001": { "attribute_name": "current_scene", "value": 0 }, "0x0004": { "attribute_name": "name_support", "value": 0 }, "0x0003": { "attribute_name": "scene_valid", "value": 0 } }, "unsupported_attributes": { "0x0005": { "attribute_name": "last_configured_by" }, "0xfffe": { "attribute_name": "reporting_status" } } }, "0xef00": { "endpoint_attribute": null, "attributes": {}, "unsupported_attributes": {} }, "0x0000": { "endpoint_attribute": "basic", "attributes": { "0x0001": { "attribute_name": "app_version", "value": 74 }, "0xfffd": { "attribute_name": "cluster_revision", "value": 2 }, "0x0006": { "attribute_name": "date_code", "value": "" }, "0x0003": { "attribute_name": "hw_version", "value": 1 }, "0x0004": { "attribute_name": "manufacturer", "value": "_TZE204_wbhaespm" }, "0x0005": { "attribute_name": "model", "value": "TS0601" }, "0x0007": { "attribute_name": "power_source", "value": 1 }, "0xfffe": { "attribute_name": "reporting_status", "value": 0 }, "0x0002": { "attribute_name": "stack_version", "value": 0 }, "0x0000": { "attribute_name": "zcl_version", "value": 3 } }, "unsupported_attributes": { "0x4000": { "attribute_name": "sw_build_id" }, "0x0008": { "attribute_name": "generic_device_class" }, "0x0009": { "attribute_name": "generic_device_type" }, "0x000a": { "attribute_name": "product_code" }, "0x000b": { "attribute_name": "product_url" }, "0x000c": { "attribute_name": "manufacturer_version_details" }, "0x000d": { "attribute_name": "serial_number" }, "0x000e": { "attribute_name": "product_label" }, "0x0010": { "attribute_name": "location_desc" }, "0x0011": { "attribute_name": "physical_env" }, "0x0012": { "attribute_name": "device_enabled" }, "0x0013": { "attribute_name": "alarm_mask" }, "0x0014": { "attribute_name": "disable_local_config" } } } }, "out_clusters": { "0x0019": { "endpoint_attribute": "ota", "attributes": { "0xfffd": { "attribute_name": "cluster_revision", "value": 3 }, "0x0002": { "attribute_name": "current_file_version", "value": 74 }, "0x0003": { "attribute_name": "current_zigbee_stack_version", "value": 2 }, "0x0004": { "attribute_name": "downloaded_file_version", "value": 4294967295 }, "0x0005": { "attribute_name": "downloaded_zigbee_stack_version", "value": 65535 }, "0x0001": { "attribute_name": "file_offset", "value": 4294967295 }, "0x0008": { "attribute_name": "image_type_id", "value": 65535 }, "0x0006": { "attribute_name": "image_upgrade_status", "value": 0 }, "0x0007": { "attribute_name": "manufacturer_id", "value": 4417 }, "0x0009": { "attribute_name": "minimum_block_req_delay", "value": 0 }, "0x0000": { "attribute_name": "upgrade_server_id", "value": [ 255, 255, 255, 255, 255, 255, 255, 255 ] } }, "unsupported_attributes": { "0x000a": { "attribute_name": "image_stamp" }, "0x000b": { "attribute_name": "upgrade_activation_policy" }, "0xfffe": { "attribute_name": "reporting_status" }, "0x000c": { "attribute_name": "upgrade_timeout_policy" } } }, "0x000a": { "endpoint_attribute": "time", "attributes": { "0xfffd": { "attribute_name": "cluster_revision", "value": 1 } }, "unsupported_attributes": { "0x0000": { "attribute_name": "time" }, "0x0001": { "attribute_name": "time_status" }, "0x0002": { "attribute_name": "time_zone" }, "0x0003": { "attribute_name": "dst_start" }, "0x0004": { "attribute_name": "dst_end" }, "0x0005": { "attribute_name": "dst_shift" }, "0x0006": { "attribute_name": "standard_time" }, "0x0007": { "attribute_name": "local_time" }, "0x0008": { "attribute_name": "last_set_time" }, "0x0009": { "attribute_name": "valid_until_time" }, "0xfffe": { "attribute_name": "reporting_status" } } } } }, "242": { "device_type": { "name": "PROXY_BASIC", "id": 97 }, "profile_id": 41440, "in_clusters": {}, "out_clusters": { "0x0021": { "endpoint_attribute": "green_power", "attributes": {}, "unsupported_attributes": {} } } } } } } ```

Logs

Diagnostic information ```json 2023-11-23 20:18:36.959 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'5569b1a9112a15b65894a524ab5593499c72ab140f619874f0cf7b8bfc063ea5ebc9de6f8fff9b3e7e' 2023-11-23 20:18:36.960 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e' 2023-11-23 20:18:36.960 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=60), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:36.960 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=60), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:36.960 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 36, 960972, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=60, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=140, rssi=-65) 2023-11-23 20:18:36.961 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:36.961 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=24, command_id=2, *direction=) 2023-11-23 20:18:36.961 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:36.961 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 24): b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:36.961 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:36.962 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767116.960972, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:36.962 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767116.960972, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:36.962 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:36.962 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:37.156 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'6569b1a9112a15b65894a524ab5593499c73ab140f619874f0cf7b8bfc063ea5ebc9de6f8fffa66b7e' 2023-11-23 20:18:37.156 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e' 2023-11-23 20:18:37.157 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=61), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:37.157 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=61), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:37.157 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 37, 157350, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=61, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=140, rssi=-65) 2023-11-23 20:18:37.157 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.157 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=24, command_id=2, *direction=) 2023-11-23 20:18:37.157 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.158 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 24): b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.158 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.162 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.15735, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:37.163 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.15735, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:37.163 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:37.163 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:37.356 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'7569b1a9112a15b65894a524ab5593499c70ab140f619874f0cf7b8bfc063ea5ebc9de6f8fff602e7e' 2023-11-23 20:18:37.356 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8070787e' 2023-11-23 20:18:37.357 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=62), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:37.357 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=62), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:37.357 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 37, 357700, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=62, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=140, rssi=-65) 2023-11-23 20:18:37.357 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.358 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=24, command_id=2, *direction=) 2023-11-23 20:18:37.358 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.358 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 24): b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.358 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.358 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.3577, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:37.359 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.3577, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:37.359 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:37.359 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:37.557 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'0569b1a9112a15b65894a524ab5593499c71ab140f619874f0cf7b8bfc063ea5ebc9de6f8fffdcc17e' 2023-11-23 20:18:37.558 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8160597e' 2023-11-23 20:18:37.558 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=63), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:37.558 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=63), 140, -65, 0xafe2, 255, 255, b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:37.558 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 37, 558939, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=63, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=140, rssi=-65) 2023-11-23 20:18:37.559 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x18\x02\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.559 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=24, command_id=2, *direction=) 2023-11-23 20:18:37.559 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.559 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 24): b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.559 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00x\x01\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:37.560 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.558939, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:37.560 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.558939, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:37.560 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:37.560 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:37.964 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'1569b1a9112a15b65894a524ab5593499c0eb76b0f619874f7cf7a8bfc072fa6ebccdec8c17e' 2023-11-23 20:18:37.964 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'82503a7e' 2023-11-23 20:18:37.965 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=64), 144, -64, 0xafe2, 255, 255, b'\t\x19\x02\x00y\x10\x01\x00\x01\x00'] 2023-11-23 20:18:37.965 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=64), 144, -64, 0xafe2, 255, 255, b'\t\x19\x02\x00y\x10\x01\x00\x01\x00'] 2023-11-23 20:18:37.965 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 37, 965326, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=64, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x19\x02\x00y\x10\x01\x00\x01\x00'], tx_options=, radius=0, non_member_radius=0, lqi=144, rssi=-64) 2023-11-23 20:18:37.965 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x19\x02\x00y\x10\x01\x00\x01\x00' 2023-11-23 20:18:37.965 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=25, command_id=2, *direction=) 2023-11-23 20:18:37.965 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00y\x10\x01\x00\x01\x00' 2023-11-23 20:18:37.966 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 25): b'\x00y\x10\x01\x00\x01\x00' 2023-11-23 20:18:37.966 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00y\x10\x01\x00\x01\x00' 2023-11-23 20:18:37.966 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.965326, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:37.966 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767117.965326, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:37.967 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:37.967 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:38.363 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x8115](unk_model): Device seen - marking the device available and resetting counter 2023-11-23 20:18:38.363 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x8115](unk_model): Update device availability - device available: True - new availability: True - changed: False 2023-11-23 20:18:38.371 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'2569b1a9112a15b65894a524ab5593499c0fb76b0f619874f0cf798bfc0432a5ebc9de6f8ffffdb27e' 2023-11-23 20:18:38.371 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'83401b7e' 2023-11-23 20:18:38.372 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=65), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.372 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=65), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.372 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 38, 372271, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=65, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=144, rssi=-64) 2023-11-23 20:18:38.372 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.372 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=26, command_id=2, *direction=) 2023-11-23 20:18:38.372 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.372 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 26): b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.372 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.373 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.372271, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:38.374 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.372271, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:38.374 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:38.374 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:38.571 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'3569b1a9112a15b65894a524ab5593499c0cb76b0f619874f0cf798bfc0432a5ebc9de6f8fff3bf77e' 2023-11-23 20:18:38.571 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8430fc7e' 2023-11-23 20:18:38.572 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=66), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.572 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=66), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.572 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 38, 572670, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=66, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=144, rssi=-64) 2023-11-23 20:18:38.572 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.573 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=26, command_id=2, *direction=) 2023-11-23 20:18:38.573 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.573 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 26): b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.573 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.573 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.57267, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:38.574 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.57267, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:38.575 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:38.575 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:38.771 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'4569b1a9112a15b65894a524ab5593499c0db76b0f619874f0cf798bfc0432a5ebc9de6f8fff87187e' 2023-11-23 20:18:38.772 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e' 2023-11-23 20:18:38.773 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=67), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.773 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=67), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.773 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 38, 773330, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=67, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=144, rssi=-64) 2023-11-23 20:18:38.773 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.773 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=26, command_id=2, *direction=) 2023-11-23 20:18:38.773 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.774 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 26): b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.774 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.774 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.77333, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:38.774 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.77333, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:38.775 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:38.775 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:38.973 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'5569b1a9112a15b65894a524ab5593499c0ab76b0f619874f0cf798bfc0432a5ebc9de6f8fff26e67e' 2023-11-23 20:18:38.973 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8610be7e' 2023-11-23 20:18:38.973 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=68), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.973 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=68), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:38.974 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 38, 973998, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=68, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=144, rssi=-64) 2023-11-23 20:18:38.974 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.974 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=26, command_id=2, *direction=) 2023-11-23 20:18:38.974 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.974 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 26): b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.974 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:38.975 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.973998, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:38.975 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767118.973998, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:38.976 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:38.976 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:39.172 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'6569b1a9112a15b65894a524ab5593499c0bb76b0f619874f0cf798bfc0432a5ebc9de6f8fff1bb37e' 2023-11-23 20:18:39.172 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'87009f7e' 2023-11-23 20:18:39.173 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=69), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:39.173 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=69), 144, -64, 0xafe2, 255, 255, b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'] 2023-11-23 20:18:39.173 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 39, 173753, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=69, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00'], tx_options=, radius=0, non_member_radius=0, lqi=144, rssi=-64) 2023-11-23 20:18:39.174 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x1a\x02\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:39.174 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=26, command_id=2, *direction=) 2023-11-23 20:18:39.174 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:39.174 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 26): b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:39.174 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00z\r\x02\x00\x04\x00\x00\x00\x00' 2023-11-23 20:18:39.175 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767119.173753, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:39.175 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767119.173753, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:39.175 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:39.175 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:39.577 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'7569b1a9112a15b65894a524ab5593499c08b76b0f619874f7cf788bfc0536a2ebccde8aa17e' 2023-11-23 20:18:39.578 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8070787e' 2023-11-23 20:18:39.578 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=70), 144, -64, 0xafe2, 255, 255, b'\t\x1b\x02\x00{\t\x05\x00\x01\x00'] 2023-11-23 20:18:39.578 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=70), 144, -64, 0xafe2, 255, 255, b'\t\x1b\x02\x00{\t\x05\x00\x01\x00'] 2023-11-23 20:18:39.579 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 11, 23, 19, 18, 39, 578990, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=, address=0xAFE2), src_ep=1, dst=AddrModeAddress(addr_mode=, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=70, profile_id=260, cluster_id=61184, data=Serialized[b'\t\x1b\x02\x00{\t\x05\x00\x01\x00'], tx_options=, radius=0, non_member_radius=0, lqi=144, rssi=-64) 2023-11-23 20:18:39.579 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received ZCL frame: b'\t\x1b\x02\x00{\t\x05\x00\x01\x00' 2023-11-23 20:18:39.579 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=27, command_id=2, *direction=) 2023-11-23 20:18:39.579 WARNING (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Unknown cluster command 2 b'\x00{\t\x05\x00\x01\x00' 2023-11-23 20:18:39.579 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] Received command 0x02 (TSN 27): b'\x00{\t\x05\x00\x01\x00' 2023-11-23 20:18:39.579 DEBUG (MainThread) [zigpy.zcl] [0xAFE2:1:0xef00] No explicit handler for cluster command 0x02: b'\x00{\t\x05\x00\x01\x00' 2023-11-23 20:18:39.585 DEBUG (Thread-5) [aiosqlite] executing functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767119.57899, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) 2023-11-23 20:18:39.586 DEBUG (Thread-5) [aiosqlite] operation functools.partial(, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1700767119.57899, 'ieee': a4:c1:38:cf:25:64:60:ba, 'min_update_delta': 30.0}) completed 2023-11-23 20:18:39.589 DEBUG (Thread-5) [aiosqlite] executing functools.partial() 2023-11-23 20:18:39.589 DEBUG (Thread-5) [aiosqlite] operation functools.partial() completed 2023-11-23 20:18:39.985 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'0569b1a9112a15b65894a524ab5593499c09ab140f619874eecf7f8bfc022ca4ebc7ee5fbfcff7ebe5e259bd84787e' 2023-11-23 20:18:39.985 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8160597e' 2023-11-23 20:18:39.985 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [, EmberApsFrame(profileId=260, clusterId=61184, sourceEndpoint ```

Custom quirk

Custom quirk ```python # _TZE204_wbhaespm.py from zigpy.profiles import zha from zigpy.quirks import CustomDevice from zigpy.zcl.clusters.general import Basic, PowerConfiguration, Identify, PollControl from zigpy.zcl.clusters.lighting import OnOff, LevelControl, Color from zigpy.zcl.clusters.measurement import TemperatureMeasurement, RelativeHumidity from zigpy.zcl.clusters.security import IasZone from zigpy.zcl.clusters.hvac import Thermostat class TZE204_Wbhaespm(CustomDevice): signature = { 'node_descriptor': { 'manufacturer_code': 4417, 'maximum_buffer_size': 66, 'maximum_incoming_transfer_size': 66, 'server_mask': 10752, 'maximum_outgoing_transfer_size': 66, 'mac_capability_flags': 142, 'maximum_outgoing_transfer_size': 66, 'descriptor_capability_field': 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, 0x0007, 0xEF00, # Replace with the actual cluster ID ], 'output_clusters': [ 0x000a, 0x0019, # Replace with the actual cluster ID ], }, 242: { 'profile_id': 0xA1E0, 'device_type': 0x0061, 'output_clusters': [ 0x0021, # Replace with the actual cluster ID ], }, }, 'manufacturer': _TZE204_wbhaespm, 'model': TS0601, 'class': zigpy.device.Device, } replacement = { # Add any cluster replacements if needed } device_automation_triggers = { # Define automation triggers if needed } ```

Additional information

i tried creating a costume quirk with the help of openAI... but unfortunatly ... and i lack the knowledge of zigbee standard to create one myself

tdoolaege commented 9 months ago

home-assistant_zha_2023-11-23T19-18-56.459Z.zip added full debug log

AlleyneH commented 7 months ago

I would also like to support this request

github-actions[bot] commented 1 month 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.