[Device Support Request] _TZ3000_amdymr7l TS011F (BlitzWolf BW-SHP13)
See original GitHub issueIs your feature request related to a problem? Please describe. The device is detected and adds on_off, electrical_measurement, rms_current, rms_voltage, smartenergy_metering summation_delivered. But nothing is updated and on_off can’t communicate with the plug. After the default timeout the device becomes unavailable. Uses zhaquirks.tuya.ts011_plug.Plug quirk by default.
Describe the solution you’d like Device to be detected and report sensors with working on_off.
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
[0x0214:11:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=2, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x0214:11:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x0214:11:0x0006] Received ZCL frame: b'\x18\x02\x01\x00\x00\x00\x10\x00'
[0x0214:11:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=2, command_id=1, *is_reply=True)
[0x0214:11:0x0006] Decoded ZCL frame: OnOff:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.false: 0>))])
[0x0214:11:0x0008] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=4, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x0214:11:0x0008] Sending request: Read_Attributes(attribute_ids=[0])
[0x0214:11:0x0008] Received ZCL frame: b'\x18\x04\x01\x00\x00\x00 L'
[0x0214:11:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=4, command_id=1, *is_reply=True)
[0x0214:11:0x0008] Decoded ZCL frame: LevelControl:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint8_t, value=76))])
[0x0214:11:0x0008]: received attribute: 0 update with value: 76
New device 0x9e01 (a4:c1:38:5e:4c:91:b3:0a) joined the network
[0x9e01] Scheduling initialization
Received frame on uninitialized device <Device model=None manuf=None nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x00\x01\x9e\n\xb3\x91L^8\xc1\xa4\x8e'
[0x9e01:zdo] ZDO request ZDOCmd.Device_annce: [0x9E01, a4:c1:38:5e:4c:91:b3:0a, 142]
Tries remaining: 3
[0x9e01] Requesting 'Node Descriptor'
Tries remaining: 2
[0x9e01] Extending timeout for 0x06 request
Received frame on uninitialized device <Device model=None manuf=None nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x06\x00\x01\x9e\x01@\x8eA\x11BB\x00\x00*B\x00\x00'
[0x9e01] Got 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.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 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)
[0x9e01] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\x08\x00\x01\x9e\x02\x01\xf2'
[0x9e01] Discovered endpoints: [1, 242]
[0x9e01] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0x9e01:1] Discovering endpoint information
Tries remaining: 3
[0x9e01] Delivery error for seq # 0x0a, on endpoint id 0 cluster 0x0004: message send failure
Received frame on uninitialized device <Device model=None manuf=None nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\n\x00\x01\x9e\x1e\x01\x04\x01\n\x01\x01\t\x03\x00\x04\x00\x05\x00\x06\x00\x02\x07\x04\x0b\x01\xe0\x00\xe0\x00\x00\x02\x19\x00\n\x00'
[0x9e01:zdo] ZDO request ZDOCmd.Simple_Desc_rsp: [<Status.SUCCESS: 0>, 0x9E01, SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 1794, 2820, 57345, 57344, 0], output_clusters=[25, 10])]
[0x9e01:zdo] No handler for ZDO request:ZDOCmd.Simple_Desc_rsp([<Status.SUCCESS: 0>, 0x9E01, SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 1794, 2820, 57345, 57344, 0], output_clusters=[25, 10])])
Received frame on uninitialized device <Device model=None manuf=None nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=False> from ep 1 to ep 1, cluster 0: b'\x08g\n\x01\x00 J\xe2\xff 5\xe4\xff \x01'
Ignoring message (b'08670a0100204ae2ff2035e4ff2001') on cluster 0: unknown endpoint or cluster id: 'No cluster ID 0x0000 on (a4:c1:38:5e:4c:91:b3:0a, 1)'
Tries remaining: 2
Received frame on uninitialized device <Device model=None manuf=None nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x0c\x00\x01\x9e\x1e\x01\x04\x01\n\x01\x01\t\x03\x00\x04\x00\x05\x00\x06\x00\x02\x07\x04\x0b\x01\xe0\x00\xe0\x00\x00\x02\x19\x00\n\x00'
[0x9e01:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 1794, 2820, 57345, 57344, 0], output_clusters=[25, 10])
Unknown cluster 0xE001
Unknown cluster 0xE000
[0x9e01:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x0e\x00\x01\x9e\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0x9e01:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
[0x9E01:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=16, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5])
[0x9E01:1:0x0000] Received ZCL frame: b'\x18\x10\x01\x04\x00\x00B\x10_TZ3000_amdymr7l\x05\x00\x00B\x06TS011F'
[0x9E01:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=16, command_id=1, *is_reply=True)
[0x9E01:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='_TZ3000_amdymr7l')), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TS011F'))])
[0x9e01] Read model 'TS011F' and manufacturer '_TZ3000_amdymr7l' from <Endpoint id=1 in=[identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, smartenergy_metering:0x0702, electrical_measurement:0x0B04, None:0xE001, None:0xE000, basic:0x0000] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0x9e01] Discovered basic device information for <Device model='TS011F' manuf='_TZ3000_amdymr7l' nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=True>
Device is initialized <Device model='TS011F' manuf='_TZ3000_amdymr7l' nwk=0x9E01 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=True>
Checking quirks for _TZ3000_amdymr7l TS011F (a4:c1:38:5e:4c:91:b3:0a)
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_1G_Switch'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.tuya.ts011f_switch.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 242}
Considering <class 'zhaquirks.lidl.ts011f_plug.Lidl_Plug_3AC_4USB'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_1AC'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_TZ3210_2AC'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_4AC_2USB'>
Fail because endpoint list mismatch: {1, 2, 3, 4, 5, 242} {1, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_3AC_4USB'>
Fail because endpoint list mismatch: {242, 1, 2, 3} {1, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug_1AC'>
Fail because endpoint list mismatch: {242, 11} {1, 242}
Considering <class 'zhaquirks.tuya.ts011f_plug.Plug'>
Found custom device replacement for a4:c1:38:5e:4c:91:b3:0a: <class 'zhaquirks.tuya.ts011f_plug.Plug'>
'button' component -> 'ZHAIdentifyButton' using ['identify']
'sensor' component -> 'ElectricalMeasurement' using ['electrical_measurement']
'sensor' component -> 'ElectricalMeasurementApparentPower' using ['electrical_measurement']
'sensor' component -> 'ElectricalMeasurementRMSCurrent' using ['electrical_measurement']
'sensor' component -> 'ElectricalMeasurementRMSVoltage' using ['electrical_measurement']
'sensor' component -> 'SmartEnergyMetering' using ['smartenergy_metering']
'sensor' component -> 'SmartEnergySummation' using ['smartenergy_metering']
'sensor' component -> 'RSSISensor' using ['basic']
'sensor' component -> 'LQISensor' using ['basic']
device - 0x9E01:a4:c1:38:5e:4c:91:b3:0a entering async_device_initialized - is_new_join: True
device - 0x9E01:a4:c1:38:5e:4c:91:b3:0a has joined the ZHA zigbee network
[0x9E01](TS011F): started configuration
[0x9E01:ZDO](TS011F): 'async_configure' stage succeeded
Error handling '_save_attribute' event with (a4:c1:38:5e:4c:91:b3:0a, 1, 0, 4, '_TZ3000_amdymr7l') params: FOREIGN KEY constraint failed
[0x9E01:1:0x0000]: finished channel configuration
[0x9E01:1:0x0003]: finished channel configuration
Error handling '_save_attribute' event with (a4:c1:38:5e:4c:91:b3:0a, 1, 0, 5, 'TS011F') params: FOREIGN KEY constraint failed
[0x9E01:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x9E01:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=24, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x9E01:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0x9E01:1:0x0702]: bound 'smartenergy_metering' cluster: Status.SUCCESS
[0x9E01:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=26, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x9E01:1:0x0702] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0400, datatype=42, min_interval=5, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0000, datatype=37, min_interval=30, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0200, datatype=24, min_interval=1, max_interval=900, reportable_change=1)])
[0x9e01] Delivery error for seq # 0x16, on endpoint id 0 cluster 0x0021: message send failure
[0x9E01:1:0x0b04]: Failed to bind 'electrical_measurement' cluster: [0x9e01:0:0x0021]: Message send failure
[0x9E01:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=28, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0x9E01:1:0x0b04] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x050B, datatype=41, min_interval=5, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x050D, datatype=41, min_interval=30, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x050F, datatype=33, min_interval=5, max_interval=900, reportable_change=1)])
[0x9e01:zdo] ZDO request ZDOCmd.Bind_rsp: [<Status.SUCCESS: 0>]
[0x9e01:zdo] No handler for ZDO request:ZDOCmd.Bind_rsp([<Status.SUCCESS: 0>])
[0x9E01:1:0x0006] Received ZCL frame: b'\x18\x18\x07\x00\x00\x00\x00'
[0x9E01:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=24, command_id=7, *is_reply=True)
[0x9E01:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[0x9E01:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0x9E01:1:0x0006]: finished channel configuration
[0x9E01:1:0x0019]: finished channel configuration
[0x9E01:1:0x0702] Received ZCL frame: b'\x18\x1a\x07\x86\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x02'
[0x9E01:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=26, command_id=7, *is_reply=True)
[0x9E01:1:0x0702] Decoded ZCL frame: TuyaZBMeteringCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=134, direction=0, attrid=1024), ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=0)])
[0x9E01:1:0x0702]: Successfully configured reporting for '{'current_summ_delivered', 'status'}' on 'smartenergy_metering' cluster
[0x9E01:1:0x0702]: Failed to configure reporting for '['instantaneous_demand']' on 'smartenergy_metering' cluster: [ConfigureReportingResponseRecord(status=134, direction=0, attrid=1024), ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=0)]
[0x9E01:1:0x0702]: finished channel configuration
[0x9E01:1:0x0b04] Received ZCL frame: b'\x18\x1c\x07\x00\x00\x0b\x05\x86\x00\r\x05\x86\x00\x0f\x05'
[0x9E01:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=28, command_id=7, *is_reply=True)
[0x9E01:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1293), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1295)])
[0x9e01] Delivery error for seq # 0x1c, on endpoint id 1 cluster 0x0b04: message send failure
[0x9E01:1:0x0b04]: failed to set reporting on 'electrical_measurement' cluster for: [0x9e01:1:0x0b04]: Message send failure
[0x9E01:1:0x0b04]: finished channel configuration
[0x9E01:1:0x0006]: 'async_configure' stage succeeded
[0x9E01:1:0x0702]: 'async_configure' stage succeeded
[0x9E01:1:0x0000]: 'async_configure' stage succeeded
[0x9E01:1:0x0003]: 'async_configure' stage succeeded
[0x9E01:1:0x0b04]: 'async_configure' stage succeeded
[0x9E01:1:0x0019]: 'async_configure' stage succeeded
[0x9E01](TS011F): completed configuration
[0x9E01](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_amdymr7l TS011F', ieee='a4:c1:38:5e:4c:91:b3:0a', last_seen=1650044564.8420846)
[0x9E01:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=30, command_id=64, *is_reply=False)
[0x9E01:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0x9E01:1:0x0003] Received ZCL frame: b'\x18\x1e\x0b@\x00'
[0x9E01:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=30, command_id=11, *is_reply=True)
[0x9E01:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0x9E01:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[0x9E01](TS011F): started initialization
[0x9E01:ZDO](TS011F): 'async_initialize' stage succeeded
[0x9E01:1:0x0006]: initializing channel: from_cache: False
[0x9E01:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=32, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x9E01:1:0x0702]: initializing channel: from_cache: False
[0x9E01:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=34, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0702] Sending request: Read_Attributes(attribute_ids=[772, 774, 771, 768])
[0x9E01:1:0x0000]: initializing channel: from_cache: False
[0x9E01:1:0x0000]: finished channel initialization
[0x9E01:1:0x0003]: initializing channel: from_cache: False
[0x9E01:1:0x0003]: finished channel initialization
[0x9E01:1:0x0b04]: initializing channel: from_cache: False
[0x9E01:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=36, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1541, 1540, 1537, 1536, 0, 1027, 1026])
[0x9E01:1:0x0006] Received ZCL frame: b'\x18 \x01\x00\x00\x00\x10\x00'
[0x9E01:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=32, command_id=1, *is_reply=True)
[0x9E01:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.false: 0>))])
[0x9E01:1:0x0006]: finished channel initialization
[0x9E01:1:0x0019]: initializing channel: from_cache: False
[0x9E01:1:0x0019]: finished channel initialization
[0x9E01:1:0x0702] Received ZCL frame: b'\x18"\x01\x04\x03\x86\x06\x03\x00\x18\x00\x03\x03\x00\x18\x00\x00\x03\x000\x00'
[0x9E01:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=34, command_id=1, *is_reply=True)
[0x9E01:1:0x0702] Decoded ZCL frame: TuyaZBMeteringCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0304, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0306, status=<Status.SUCCESS: 0>, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), ReadAttributeRecord(attrid=0x0303, status=<Status.SUCCESS: 0>, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>)), ReadAttributeRecord(attrid=0x0300, status=<Status.SUCCESS: 0>, value=TypeValue(type=enum8, value=<enum8.undefined_0x00: 0>))])
[0x9E01:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=38, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0702] Sending request: Read_Attributes(attribute_ids=[1024, 0, 512])
[0x9E01:1:0x0b04] Received ZCL frame: b'\x18$\x01\x05\x06\x86\x04\x06\x86\x01\x06\x86\x00\x06\x86\x00\x00\x86\x03\x04\x86\x02\x04\x86'
[0x9E01:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=36, command_id=1, *is_reply=True)
[0x9E01:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0605, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0604, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0601, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0600, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0000, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0403, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0402, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x9E01:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=40, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1293, 1295, 1288, 1290, 1285, 1287])
[0x9E01:1:0x0702] Received ZCL frame: b'\x18&\x01\x00\x04\x86\x00\x00\x00%\x90\x08\x00\x00\x00\x00\x00\x02\x00\x18\x00'
[0x9E01:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=38, command_id=1, *is_reply=True)
[0x9E01:1:0x0702] Decoded ZCL frame: TuyaZBMeteringCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0400, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint48_t, value=2192)), ReadAttributeRecord(attrid=0x0200, status=<Status.SUCCESS: 0>, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>))])
[0x9E01:1:0x0702]: finished channel initialization
[0x9E01:1:0x0b04] Received ZCL frame: b'\x18(\x01\x0b\x05\x00)\x00\x00\r\x05\x86\x0f\x05\x86\x08\x05\x00!\x00\x00\n\x05\x86\x05\x05\x00!\xe6\x00\x07\x05\x86'
[0x9E01:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=40, command_id=1, *is_reply=True)
[0x9E01:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x050D, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x050F, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0508, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x050A, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0505, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=230)), ReadAttributeRecord(attrid=0x0507, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x9E01:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=42, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1293, 1295, 1288, 1290, 1285, 1287])
[0x9E01:1:0x0b04] Received ZCL frame: b'\x18*\x01\x0b\x05\x00)\x00\x00\r\x05\x86\x0f\x05\x86\x08\x05\x00!\x00\x00\n\x05\x86\x05\x05\x00!\xe6\x00\x07\x05\x86'
[0x9E01:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=42, command_id=1, *is_reply=True)
[0x9E01:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x050D, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x050F, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0508, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x050A, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0505, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=230)), ReadAttributeRecord(attrid=0x0507, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0x9E01:1:0x0b04]: finished channel initialization
[0x9E01:1:0x0006]: 'async_initialize' stage succeeded
[0x9E01:1:0x0702]: 'async_initialize' stage succeeded
[0x9E01:1:0x0000]: 'async_initialize' stage succeeded
[0x9E01:1:0x0003]: 'async_initialize' stage succeeded
[0x9E01:1:0x0b04]: 'async_initialize' stage succeeded
[0x9E01:1:0x0019]: 'async_initialize' stage succeeded
[0x9E01](TS011F): power source: Mains
[0x9E01](TS011F): completed initialization
[0x9E01:1:0x0006]: attempting to update onoff state - from cache: False
[0x9E01:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=44, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[0x9E01:1:0x0006] Received ZCL frame: b'\x18,\x01\x00\x00\x00\x10\x00'
[0x9E01:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=44, command_id=1, *is_reply=True)
[0x9E01:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.false: 0>))])
[0x9E01:1:0x0b04]: async_update
[0x9E01:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=46, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0x9E01:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
[0x9E01:1:0x0b04] Received ZCL frame: b'\x18.\x01\x0b\x05\x00)\x00\x00\x08\x05\x00!\x00\x00\x05\x05\x00!\xe5\x00'
[0x9E01:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=46, command_id=1, *is_reply=True)
[0x9E01:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x0508, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x0505, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=229))])
Device 0xb844 (a4:c1:38:5e:4c:91:b3:0a) joined the network
Device a4:c1:38:5e:4c:91:b3:0a changed id (0xb844 => 0xb844)
[0xb844] Skipping initialization, device is fully initialized
Device is initialized <Plug model='TS011F' manuf='_TZ3000_amdymr7l' nwk=0xB844 ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=True>
[0xb844:zdo] ZDO request ZDOCmd.Device_annce: [0xB844, a4:c1:38:5e:4c:91:b3:0a, 142]
device - 47172:a4:c1:38:5e:4c:91:b3:0a entering async_device_initialized - is_new_join: False
device - 47172:a4:c1:38:5e:4c:91:b3:0a has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 47172:a4:c1:38:5e:4c:91:b3:0a
[47172](TS011F): started configuration
[47172:ZDO](TS011F): 'async_configure' stage succeeded
[47172:1:0x0000]: finished channel configuration
[47172:1:0x0003]: finished channel configuration
[47172:1:0x0702]: bound 'smartenergy_metering' cluster: Status.SUCCESS
[0xB844:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=54, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xB844:1:0x0702] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0400, datatype=42, min_interval=5, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0000, datatype=37, min_interval=30, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0200, datatype=24, min_interval=1, max_interval=900, reportable_change=1)])
[47172:1:0x0b04]: bound 'electrical_measurement' cluster: Status.SUCCESS
[0xB844:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=56, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xB844:1:0x0b04] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x050B, datatype=41, min_interval=5, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x050D, datatype=41, min_interval=30, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x050F, datatype=33, min_interval=5, max_interval=900, reportable_change=1)])
[0xB844:1:0x0702] Received ZCL frame: b'\x186\x07\x86\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x02'
[0xB844:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=54, command_id=7, *is_reply=True)
[0xB844:1:0x0702] Decoded ZCL frame: TuyaZBMeteringCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=134, direction=0, attrid=1024), ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=0)])
[47172:1:0x0702]: Successfully configured reporting for '{'current_summ_delivered', 'status'}' on 'smartenergy_metering' cluster
[47172:1:0x0702]: Failed to configure reporting for '['instantaneous_demand']' on 'smartenergy_metering' cluster: [ConfigureReportingResponseRecord(status=134, direction=0, attrid=1024), ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=0)]
[47172:1:0x0702]: finished channel configuration
[47172:1:0x0019]: finished channel configuration
[0xB844:1:0x0b04] Received ZCL frame: b'\x188\x07\x00\x00\x0b\x05\x86\x00\r\x05\x86\x00\x0f\x05'
[0xB844:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=56, command_id=7, *is_reply=True)
[0xB844:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1293), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1295)])
[47172:1:0x0b04]: Successfully configured reporting for '{'active_power'}' on 'electrical_measurement' cluster
[47172:1:0x0b04]: Failed to configure reporting for '['active_power_max', 'apparent_power']' on 'electrical_measurement' cluster: [ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1293), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1295)]
[0xB844:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=58, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xB844:1:0x0b04] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0508, datatype=33, min_interval=5, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x050A, datatype=33, min_interval=30, max_interval=900, reportable_change=1), AttributeReportingConfig(direction=0, attrid=0x0505, datatype=33, min_interval=5, max_interval=900, reportable_change=1)])
[0xB844:1:0x0b04] Received ZCL frame: b'\x18:\x07\x00\x00\x08\x05\x86\x00\n\x05\x00\x00\x05\x05'
[0xB844:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=58, command_id=7, *is_reply=True)
[0xB844:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1290), ConfigureReportingResponseRecord(status=0)])
[47172:1:0x0b04]: Successfully configured reporting for '{'rms_voltage', 'rms_current'}' on 'electrical_measurement' cluster
[47172:1:0x0b04]: Failed to configure reporting for '['rms_current_max']' on 'electrical_measurement' cluster: [ConfigureReportingResponseRecord(status=0), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1290), ConfigureReportingResponseRecord(status=0)]
[0xB844:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=60, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xB844:1:0x0b04] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0507, datatype=33, min_interval=30, max_interval=900, reportable_change=1)])
[0xB844:1:0x0b04] Received ZCL frame: b'\x18<\x07\x86\x00\x07\x05'
[0xB844:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=60, command_id=7, *is_reply=True)
[0xB844:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=134, direction=0, attrid=1287)])
[47172:1:0x0b04]: Successfully configured reporting for 'set()' on 'electrical_measurement' cluster
[47172:1:0x0b04]: Failed to configure reporting for '['rms_voltage_max']' on 'electrical_measurement' cluster: [ConfigureReportingResponseRecord(status=134, direction=0, attrid=1287)]
[47172:1:0x0b04]: finished channel configuration
[0xB844:1:0x0b04] Received ZCL frame: b'\x18h\n\x05\x05!\xe6\x00'
[0xB844:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=104, command_id=10, *is_reply=True)
[0xB844:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0505, value=TypeValue(type=uint16_t, value=230))])
[0xB844:1:0x0b04] Received command 0x0A (TSN 104): Report_Attributes(attribute_reports=[Attribute(attrid=0x0505, value=TypeValue(type=uint16_t, value=230))])
[0xB844:1:0x0b04] Attribute report received: rms_voltage=230
[47172:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xB844:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=62, command_id=<GeneralCommand.Configure_Reporting: 6>, *is_reply=False)
[0xB844:1:0x0006] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0000, datatype=16, min_interval=0, max_interval=900, reportable_change=1)])
[0xB844:1:0x0006] Received ZCL frame: b'\x18>\x07\x00\x00\x00\x00'
[0xB844:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=62, command_id=7, *is_reply=True)
[0xB844:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Configure_Reporting_rsp(status_records=[ConfigureReportingResponseRecord(status=0)])
[47172:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[47172:1:0x0006]: finished channel configuration
[47172:1:0x0006]: 'async_configure' stage succeeded
[47172:1:0x0702]: 'async_configure' stage succeeded
[47172:1:0x0000]: 'async_configure' stage succeeded
[47172:1:0x0003]: 'async_configure' stage succeeded
[47172:1:0x0b04]: 'async_configure' stage succeeded
[47172:1:0x0019]: 'async_configure' stage succeeded
[47172](TS011F): completed configuration
[47172](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_amdymr7l TS011F', ieee='a4:c1:38:5e:4c:91:b3:0a', last_seen=1650044597.9231613)
[0xB844:1:0x0003] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=64, command_id=64, *is_reply=False)
[0xB844:1:0x0003] Sending request: trigger_effect(effect_id=<EffectIdentifier.Okay: 2>, effect_variant=<EffectVariant.Default: 0>)
[0xB844:1:0x0003] Received ZCL frame: b'\x18@\x0b@\x00'
[0xB844:1:0x0003] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=64, command_id=11, *is_reply=True)
[0xB844:1:0x0003] Decoded ZCL frame: Identify:Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[47172:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: Default_Response(command_id=64, status=<Status.SUCCESS: 0>)
[47172](TS011F): started initialization
[47172:ZDO](TS011F): 'async_initialize' stage succeeded
[47172:1:0x0006]: initializing channel: from_cache: False
[0xB844:1:0x0006] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=66, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xB844:1:0x0006] Sending request: Read_Attributes(attribute_ids=[0])
[47172:1:0x0702]: initializing channel: from_cache: False
[0xB844:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=68, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xB844:1:0x0702] Sending request: Read_Attributes(attribute_ids=[1024, 0, 512])
[47172:1:0x0000]: initializing channel: from_cache: False
[47172:1:0x0000]: finished channel initialization
[47172:1:0x0003]: initializing channel: from_cache: False
[47172:1:0x0003]: finished channel initialization
[47172:1:0x0b04]: initializing channel: from_cache: False
[0xB844:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=70, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xB844:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1293, 1295, 1288, 1290, 1285, 1287])
[0xB844:1:0x0006] Received ZCL frame: b'\x18B\x01\x00\x00\x00\x10\x00'
[0xB844:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=66, command_id=1, *is_reply=True)
[0xB844:1:0x0006] Decoded ZCL frame: TuyaZBOnOffAttributeCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=Bool, value=<Bool.false: 0>))])
[47172:1:0x0006]: finished channel initialization
[47172:1:0x0019]: initializing channel: from_cache: False
[47172:1:0x0019]: finished channel initialization
[0xB844:1:0x0702] Received ZCL frame: b'\x18D\x01\x00\x04\x86\x00\x00\x00%\x90\x08\x00\x00\x00\x00\x00\x02\x00\x18\x00'
[0xB844:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=68, command_id=1, *is_reply=True)
[0xB844:1:0x0702] Decoded ZCL frame: TuyaZBMeteringCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0400, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint48_t, value=2192)), ReadAttributeRecord(attrid=0x0200, status=<Status.SUCCESS: 0>, value=TypeValue(type=bitmap8, value=<bitmap8.0: 0>))])
[47172:1:0x0702]: finished channel initialization
[0xB844:1:0x0b04] Received ZCL frame: b'\x18F\x01\x0b\x05\x00)\x00\x00\r\x05\x86\x0f\x05\x86\x08\x05\x00!\x00\x00\n\x05\x86\x05\x05\x00!\xe5\x00\x07\x05\x86'
[0xB844:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=70, command_id=1, *is_reply=True)
[0xB844:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x050D, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x050F, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0508, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x050A, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0505, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=229)), ReadAttributeRecord(attrid=0x0507, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[0xB844:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=72, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xB844:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1293, 1295, 1288, 1290, 1285, 1287])
[0xB844:1:0x0b04] Received ZCL frame: b'\x18H\x01\x0b\x05\x00)\x00\x00\r\x05\x86\x0f\x05\x86\x08\x05\x00!\x00\x00\n\x05\x86\x05\x05\x00!\xe5\x00\x07\x05\x86'
[0xB844:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=72, command_id=1, *is_reply=True)
[0xB844:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x050D, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x050F, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0508, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x050A, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>), ReadAttributeRecord(attrid=0x0505, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=229)), ReadAttributeRecord(attrid=0x0507, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)])
[47172:1:0x0b04]: finished channel initialization
[47172:1:0x0006]: 'async_initialize' stage succeeded
[47172:1:0x0702]: 'async_initialize' stage succeeded
[47172:1:0x0000]: 'async_initialize' stage succeeded
[47172:1:0x0003]: 'async_initialize' stage succeeded
[47172:1:0x0b04]: 'async_initialize' stage succeeded
[47172:1:0x0019]: 'async_initialize' stage succeeded
[47172](TS011F): power source: Mains
[47172](TS011F): completed initialization
[47172:1:0x0b04]: async_update
[0xB844:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, is_reply=0, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=74, command_id=<GeneralCommand.Read_Attributes: 0>, *is_reply=False)
[0xB844:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
[0xB844:1:0x0b04] Received ZCL frame: b'\x18J\x01\x0b\x05\x00)\x00\x00\x08\x05\x00!\x00\x00\x05\x05\x00!\xe5\x00'
[0xB844:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=74, command_id=1, *is_reply=True)
[0xB844:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=0)), ReadAttributeRecord(attrid=0x0508, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=0)), ReadAttributeRecord(attrid=0x0505, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=229))])
Device 0xa6ad (a4:c1:38:5e:4c:91:b3:0a) joined the network
Device a4:c1:38:5e:4c:91:b3:0a changed id (0xa6ad => 0xa6ad)
[0xa6ad] Skipping initialization, device is fully initialized
Device is initialized <Plug model='TS011F' manuf='_TZ3000_amdymr7l' nwk=0xA6AD ieee=a4:c1:38:5e:4c:91:b3:0a is_initialized=True>
[0xa6ad:zdo] ZDO request ZDOCmd.Device_annce: [0xA6AD, a4:c1:38:5e:4c:91:b3:0a, 142]
device - 42669:a4:c1:38:5e:4c:91:b3:0a entering async_device_initialized - is_new_join: False
device - 42669:a4:c1:38:5e:4c:91:b3:0a has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 42669:a4:c1:38:5e:4c:91:b3:0a
Additional context Add any other context or screenshots about the feature request here.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
@EagleStClair I can’t even read the log. Please, edit your comment and put the logs inside 3 apostrophes (```):
Any error on the logs could point to the problem, so review if there is something relevant that can be related to the device (it seems that yours is device
0x9E01
).Regards.
Its looks some TS011F is not reporting status changes that norm Zigbee device is doing (also tuya ones) and need being pulled as Philips HUE and i think its not implanted in Zigpy / ZHA doing from the quirk.