question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Device Support Request] Tuya Smart Plug TS011F by _TZ3000_v1pdxuqq

See original GitHub issue

Is your feature request related to a problem? Please describe. Power metering does not work on HA. Only on/off works.

Describe the solution you’d like Making power metering work.

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.

[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
New device 0x774f (a4:c1:38:fb:b6:16:43:7c) joined the network
[0x774f] Scheduling initialization
Tries remaining: 3
[0x774f] Requesting 'Node Descriptor'
Tries remaining: 2
[0x774f] Extending timeout for 0x17 request
Device 0x774f (a4:c1:38:fb:b6:16:43:7c) joined the network
[0x774f] Scheduling initialization
[0x774f] Canceling old initialize call
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 19: b'\x04Ow|C\x16\xb6\xfb8\xc1\xa4\x8e'
[0x774f:zdo] ZDO request ZDOCmd.Device_annce: [0x774F, a4:c1:38:fb:b6:16:43:7c, 142]
Tries remaining: 3
[0x774f] Requesting 'Node Descriptor'
Tries remaining: 2
[0x774f] Extending timeout for 0x19 request
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x17\x00Ow\x01@\x8eA\x11BB\x00\x00*B\x00\x00'
[0x774f] 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)
[0x774f] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x19\x00Ow\x01@\x8eA\x11BB\x00\x00*B\x00\x00'
[0x774f] 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)
[0x774f] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\x1b\x00Ow\x02\x01\xf2'
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\x1d\x00Ow\x02\x01\xf2'
[0x774f] Discovered endpoints: [1, 242]
[0x774f] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0x774f:1] Discovering endpoint information
Tries remaining: 3
[0x774f] Discovered endpoints: [1, 242]
[0x774f] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0x774f:1] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x1f\x00Ow\x1a\x01\x04\x01\n\x01\x01\x07\x03\x00\x04\x00\x05\x00\x06\x00\x00\xe0\x01\xe0\x00\x00\x02\x19\x00\n\x00'
[0x774f:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 57344, 57345, 0], output_clusters=[25, 10])
Unknown cluster 57344
Unknown cluster 57345
[0x774f:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32772: b'!\x00Ow\x1a\x01\x04\x01\n\x01\x01\x07\x03\x00\x04\x00\x05\x00\x06\x00\x00\xe0\x01\xe0\x00\x00\x02\x19\x00\n\x00'
[0x774f:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=266, device_version=1, input_clusters=[3, 4, 5, 6, 57344, 57345, 0], output_clusters=[25, 10])
Unknown cluster 57344
Unknown cluster 57345
[0x774f:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32772: b'#\x00Ow\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0x774f:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
Received frame on uninitialized device <Device model=None manuf=None nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=False> from ep 0 to ep 0, cluster 32772: b'%\x00Ow\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0x774f:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
[0x774f:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=39 command_id=Command.Read_Attributes_rsp>
[0x774f] Read model 'TS011F' and manufacturer '_TZ3000_v1pdxuqq' from <Endpoint id=1 in=[identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, None:0xE000, None:0xE001, basic:0x0000] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0x774f] Discovered basic device information for <Device model='TS011F' manuf='_TZ3000_v1pdxuqq' nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=True>
Device is initialized <Device model='TS011F' manuf='_TZ3000_v1pdxuqq' nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=True>
Checking quirks for _TZ3000_v1pdxuqq TS011F (a4:c1:38:fb:b6:16:43:7c)
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'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 242}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 242}
[0x774f:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=41 command_id=Command.Read_Attributes_rsp>
'button' component -> 'ZHAIdentifyButton' using ['identify']
'sensor' component -> 'RSSISensor' using ['basic']
'sensor' component -> 'LQISensor' using ['basic']
device - 0x774F:a4:c1:38:fb:b6:16:43:7c entering async_device_initialized - is_new_join: True
device - 0x774F:a4:c1:38:fb:b6:16:43:7c has joined the ZHA zigbee network
[0x774F](TS011F): started configuration
[0x774F:ZDO](TS011F): 'async_configure' stage succeeded
[0x774f:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0x774f:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0x774f:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [180, <Bool.true: 1>]
Error handling '_save_attribute' event with (a4:c1:38:fb:b6:16:43:7c, 1, 0, 4, '_TZ3000_v1pdxuqq') params: FOREIGN KEY constraint failed
[0x774F:1:0x0000]: finished channel configuration
[0x774F:1:0x0003]: finished channel configuration
[0x774F:1:0x0019]: finished channel configuration
Error handling '_save_attribute' event with (a4:c1:38:fb:b6:16:43:7c, 1, 0, 5, 'TS011F') params: FOREIGN KEY constraint failed
[0x774f] Read model 'TS011F' and manufacturer '_TZ3000_v1pdxuqq' from <Endpoint id=1 in=[identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, None:0xE000, None:0xE001, basic:0x0000] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>>
[0x774f] Discovered basic device information for <Device model='TS011F' manuf='_TZ3000_v1pdxuqq' nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=True>
Device is initialized <Device model='TS011F' manuf='_TZ3000_v1pdxuqq' nwk=0x774F ieee=a4:c1:38:fb:b6:16:43:7c is_initialized=True>
Checking quirks for _TZ3000_v1pdxuqq TS011F (a4:c1:38:fb:b6:16:43:7c)
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'>
Fail because input cluster mismatch on at least one endpoint
Considering <class 'zhaquirks.tuya.ts011f.Tuya_2G_Switch'>
Fail because endpoint list mismatch: {1, 2, 242} {1, 242}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 242}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 242}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 242}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 242}
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 242}
device - 0x774F:a4:c1:38:fb:b6:16:43:7c entering async_device_initialized - is_new_join: True
device - 0x774F:a4:c1:38:fb:b6:16:43:7c has joined the ZHA zigbee network
[0x774F](TS011F): started configuration
[0x774F:ZDO](TS011F): 'async_configure' stage succeeded
[0x774F:1:0x0000]: finished channel configuration
[0x774F:1:0x0003]: finished channel configuration
[0x774F:1:0x0019]: finished channel configuration
[0x774F:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x774F:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=47 command_id=Command.Configure_Reporting_rsp>
[0x774F:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0x774F:1:0x0006]: finished channel configuration
[0x774F:1:0x0006]: 'async_configure' stage succeeded
[0x774F:1:0x0000]: 'async_configure' stage succeeded
[0x774F:1:0x0003]: 'async_configure' stage succeeded
[0x774F:1:0x0019]: 'async_configure' stage succeeded
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=49 command_id=Command.Configure_Reporting_rsp>
[0x774F](TS011F): completed configuration
[0x774F](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_v1pdxuqq TS011F', ieee='a4:c1:38:fb:b6:16:43:7c', last_seen=1646501242.6161892)
[0x774f:1:0x0003] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=51 command_id=Command.Default_Response>
[0x774F:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0x774F:1:0x0006]: finished channel configuration
[0x774F:1:0x0006]: 'async_configure' stage succeeded
[0x774F:1:0x0000]: 'async_configure' stage succeeded
[0x774F:1:0x0003]: 'async_configure' stage succeeded
[0x774F:1:0x0019]: 'async_configure' stage succeeded
[0x774F](TS011F): completed configuration
[0x774F](TS011F): stored in registry: ZhaDeviceEntry(name='_TZ3000_v1pdxuqq TS011F', ieee='a4:c1:38:fb:b6:16:43:7c', last_seen=1646501242.8636189)
[0x774F:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.SUCCESS: 0>]
[0x774F](TS011F): started initialization
[0x774F:ZDO](TS011F): 'async_initialize' stage succeeded
[0x774F:1:0x0006]: initializing channel: from_cache: False
[0x774F:1:0x0000]: initializing channel: from_cache: False
[0x774F:1:0x0000]: finished channel initialization
[0x774F:1:0x0003]: initializing channel: from_cache: False
[0x774F:1:0x0003]: finished channel initialization
[0x774F:1:0x0019]: initializing channel: from_cache: False
[0x774F:1:0x0019]: finished channel initialization
[0x774f:1:0x0003] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=53 command_id=Command.Default_Response>
[0x774F:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.SUCCESS: 0>]
[0x774F](TS011F): started initialization
[0x774F:ZDO](TS011F): 'async_initialize' stage succeeded
[0x774F:1:0x0006]: initializing channel: from_cache: False
[0x774F:1:0x0000]: initializing channel: from_cache: False
[0x774F:1:0x0000]: finished channel initialization
[0x774F:1:0x0003]: initializing channel: from_cache: False
[0x774F:1:0x0003]: finished channel initialization
[0x774F:1:0x0019]: initializing channel: from_cache: False
[0x774F:1:0x0019]: finished channel initialization
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=55 command_id=Command.Read_Attributes_rsp>
[0x774F:1:0x0006]: finished channel initialization
[0x774F:1:0x0006]: 'async_initialize' stage succeeded
[0x774F:1:0x0000]: 'async_initialize' stage succeeded
[0x774F:1:0x0003]: 'async_initialize' stage succeeded
[0x774F:1:0x0019]: 'async_initialize' stage succeeded
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=57 command_id=Command.Read_Attributes_rsp>
[0x774F](TS011F): power source: Mains
[0x774F](TS011F): completed initialization
[0x774F:1:0x0006]: finished channel initialization
[0x774F:1:0x0006]: 'async_initialize' stage succeeded
[0x774F:1:0x0000]: 'async_initialize' stage succeeded
[0x774F:1:0x0003]: 'async_initialize' stage succeeded
[0x774F:1:0x0019]: 'async_initialize' stage succeeded
[0x774F](TS011F): power source: Mains
[0x774F](TS011F): completed initialization
[0x774F:1:0x0006]: attempting to update onoff state - from cache: False
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=59 command_id=Command.Read_Attributes_rsp>
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=132 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]]
[0x774f:1:0x0006] Attribute report received: on_off=1
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=134 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>)]]
[0x774f:1:0x0006] Attribute report received: on_off=0
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=136 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]]
[0x774f:1:0x0006] Attribute report received: on_off=1
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=136 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]]
[0x774f:1:0x0006] Attribute report received: on_off=1
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=138 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>)]]
[0x774f:1:0x0006] Attribute report received: on_off=0
Duplicate 136 TSN
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=138 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>)]]
[0x774f:1:0x0006] Attribute report received: on_off=0
Duplicate 138 TSN
[0x774f:1:0xe000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=140 command_id=Command.Report_Attributes>
Ignoring message (b'088c0a01d048020006') on cluster 57344: unknown endpoint or cluster id: 2
[0x774f:1:0xe000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=140 command_id=Command.Report_Attributes>
Ignoring message (b'088c0a01d048020006') on cluster 57344: unknown endpoint or cluster id: 2
[0x774f:1:0xe000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=140 command_id=Command.Report_Attributes>
Ignoring message (b'088c0a01d048020006') on cluster 57344: unknown endpoint or cluster id: 2
[0x774f:1:0xe000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=140 command_id=Command.Report_Attributes>
Ignoring message (b'088c0a01d048020006') on cluster 57344: unknown endpoint or cluster id: 2
[0x774f:1:0xe000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=141 command_id=Command.Report_Attributes>
Ignoring message (b'088d0a02d04802000a') on cluster 57344: unknown endpoint or cluster id: 2
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=142 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>), Attribute(attrid=16385, value=<TypeValue type=uint16_t, value=0>), Attribute(attrid=16386, value=<TypeValue type=uint16_t, value=0>), Attribute(attrid=32769, value=<TypeValue type=enum8, value=enum8.undefined_0x01>), Attribute(attrid=32770, value=<TypeValue type=enum8, value=enum8.undefined_0x02>), Attribute(attrid=20480, value=<TypeValue type=enum8, value=enum8.undefined_0x01>), Attribute(attrid=32768, value=<TypeValue type=Bool, value=Bool.false>)]]
[0x774f:1:0x0006] Attribute report received: on_off=0, on_time=0, off_wait_time=0, 32769=1, 32770=2, 20480=1, 32768=0
[0x774f:1:0xe001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=143 command_id=Command.Report_Attributes>
[0x774f:1:0xe001] ZCL request 0x000a: [[Attribute(attrid=53264, value=<TypeValue type=enum8, value=enum8.undefined_0x02>), Attribute(attrid=53296, value=<TypeValue type=enum8, value=enum8.undefined_0x00>)]]
[0x774f:1:0xe001] Attribute report received: 53264=2, 53296=0
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=146 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>)]]
[0x774f:1:0x0006] Attribute report received: on_off=0
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=146 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>)]]
[0x774f:1:0x0006] Attribute report received: on_off=0
Duplicate 146 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=148 command_id=Command.Read_Attributes>
[0x774f:1:0x000a] ZCL request 0x0000: [[7]]
Duplicate 148 TSN
[0x774f:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=149 command_id=Command.Report_Attributes>
[0x774f:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.true>)]]
[0x774f:1:0x0006] Attribute report received: on_off=1
[0xf4f3:1:0x0402] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=237 command_id=Command.Report_Attributes>
[0xf4f3:1:0x0402] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=int16s, value=1946>)]]
[0xf4f3:1:0x0402] Attribute report received: measured_value=1946
[0xa136:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=53 command_id=Command.Report_Attributes>
[0xa136:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=32, value=<TypeValue type=uint8_t, value=29>)]]
[0xa136:1:0x0001] Attribute report received: battery_voltage=29
[0xa136:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=54 command_id=Command.Report_Attributes>
[0xa136:1:0x0001] ZCL request 0x000a: [[Attribute(attrid=33, value=<TypeValue type=uint8_t, value=137>)]]
[0xa136:1:0x0001] Attribute report received: battery_percentage_remaining=137
[0xa136:1:0x0405] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=55 command_id=Command.Report_Attributes>
[0xa136:1:0x0405] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=uint16_t, value=6161>)]]
[0xa136:1:0x0405] Attribute report received: measured_value=6161

Additional context

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
MattWestbcommented, Apr 6, 2022

The device dont have any power measurement, cluster implanted so you is not getting it in the GUI. The quirk is adding power on restore and switch mode and also light mode for the LED. Was reading the revues from the device but its 2 or more times translated so not easy knowing the real but its looks some is complaining its not having power measurement implanted. And Z2M have moving it to tuya plugs without power measuring https://github.com/Koenkk/zigbee-herdsman-converters/commit/767e4149a1ea526270a39d69acea5b9610216603.

Only way knowing 100% is its have its implanted is connecting it to one tuya ZBGW and look if tuya is using with or without power measurement.

1reaction
arantes555commented, Apr 3, 2022

Can you posting one link to the place the device was bayed then its dont have any cluster for power meriting.

I am not sure I understand your question, but if you are asking for where I bought this plug, I bought it from AliExpress. Here’s the link : https://www.aliexpress.com/item/1005002248492657.html . It is indeed advertised as having power monitoring.

As for testing with the provided quirk, I will try setting up a local quirks directory and trying this one, thank you very much ! I’ll report back here when it is done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Device Support Request] Tuya Smart Plug TS011F ... - GitHub
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be...
Read more >
TuYa TS011F_plug_1 control via MQTT | Zigbee2MQTT
Integrate your TuYa TS011F_plug_1 via Zigbee2MQTT with whatever smart home ... This device supports OTA updates, for more information see OTA updates.
Read more >
User Guide-Tuya IoT Development Platform-Tuya Developer
This topic describes how to use the Smart Life app . Download the app. Search for Smart Life in Apple's App Store and...
Read more >
Tuya Smart Plug 20A EU TS011F Zigbee compatibility
If the device is following Zigbee standards it is possible it will work with other gateway solutions, it is just not confirmed as...
Read more >
Edge Driver or Device Handeler for a TUYA (Zemismart ...
Hello! I have a bunch of the the Zemismart plug with energy monitoring capabilities that work properly on the Smart Life app.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found