Aqara Lumi EU smart plug in ZHA not reading power consumption

Hello! I seem to be having a problem with an (Aqara Lumi Smart Plug) added through ZHA.

Power measurement is always 0 (I want to use it to detect whether the washing machine is on, so I’m pretty sure it takes more than 0W to tumble dry some laundry), and obviously so is the energy measurement. I have seen that there used to be some issues with how that information is retrieved from devices, but it seems to have been fixed a couple of months ago.

To try to establish what’s wrong, I’ve tried reading the active_power attribute (0x050b) from the ElectricalMeasurement cluster (0x0b04) and it has a 0 value.

From the Metering cluster (0x0702), instantaneous_demand (0x0400) and current_summ_received (0x0001) are both None.

Is there an issue with my plug, with the integration or with my setup? What am I doing wrong?

2 Likes

In an attempt to try to make it work, I’ve removed the device from ZHA and tried re-adding it. This time, the entities for power and energy are not even added. Here’s the log from when I tried to add the plug to the network again.

Device 0xaf6e (54:ef:44:10:00:0e:52:9d) left the network
Device 0xaf6e (54:ef:44:10:00:0e:52:9d) left the network
Device 0xaf6e (54:ef:44:10:00:0e:52:9d) joined the network
Device 0xf1f9 (54:ef:44:10:00:0e:52:9d) joined the network
Device 54:ef:44:10:00:0e:52:9d changed id (0xf1f9 => 0xf1f9)
[0xf1f9] Skipping initialization, device is fully initialized
Device is initialized <Device model='lumi.plug.maeu01' manuf='LUMI' nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=True>
Checking quirks for LUMI lumi.plug.maeu01 (54:ef:44:10:00:0e:52:9d)
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 0xf1f9 (54:ef:44:10:00:0e:52:9d) joined the network
[0xf1f9] Cancelling old group rescan
device - 0xf1f9:54:ef:44:10:00:0e:52:9d entering async_device_initialized - is_new_join: False
device - 0xf1f9:54:ef:44:10:00:0e:52:9d has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 0xf1f9:54:ef:44:10:00:0e:52:9d
[0xf1f9](lumi.plug.maeu01): started configuration
[0xf1f9:ZDO](lumi.plug.maeu01): 'async_configure' stage succeeded
Device 0xf1f9 (54:ef:44:10:00:0e:52:9d) joined the network
[0xf1f9] Cancelling old group rescan
[0xf1f9:zdo] ZDO request ZDOCmd.Device_annce: [0xF1F9, 54:ef:44:10:00:0e:52:9d, 142]
[0xf1f9:1:0x0000]: finished channel configuration
[0xf1f9:1:0x0019]: finished channel configuration
[0xf1f9](lumi.plug.maeu01): started initialization
[0xf1f9:ZDO](lumi.plug.maeu01): 'async_initialize' stage succeeded
[0xf1f9:1:0x0006]: initializing channel: from_cache: False
Device 54:ef:44:10:00:0e:52:9d already exists. Updating it.
[0xf1f9:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xf1f9:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xf1f9:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xf1f9:1:0xfcc0]: bound 'manufacturer_specific' cluster: Status.SUCCESS
[0xf1f9:1:0xfcc0]: finished channel configuration
[0xf1f9:1:0x0000]: initializing channel: from_cache: False
[0xf1f9:1:0x0000]: finished channel initialization
[0xf1f9:1:0xfcc0]: initializing channel: from_cache: False
[0xf1f9:1:0xfcc0]: finished channel initialization
[0xf1f9:1:0x0004] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=37 command_id=2>
[0xf1f9:1:0x0004] ZCL request 0x0002: [16, []]
[0xf1f9:1:0x0004] No handler for cluster command 2
[0xf1f9:1:0x0019]: initializing channel: from_cache: False
[0xf1f9:1:0x0019]: finished channel initialization
[0xf1f9:1:0x0004] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=43 command_id=2>
[0xf1f9: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=45 command_id=Command.Read_Attributes_rsp>
[0xf1f9:1:0x0006]: finished channel initialization
[0xf1f9:1:0x0006]: 'async_initialize' stage succeeded
[0xf1f9:1:0x0000]: 'async_initialize' stage succeeded
[0xf1f9:1:0xfcc0]: 'async_initialize' stage succeeded
[0xf1f9:1:0x0019]: 'async_initialize' stage succeeded
[0xf1f9](lumi.plug.maeu01): power source: Mains
[0xf1f9](lumi.plug.maeu01): completed initialization
[0xf1f9: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>
[0xf1f9:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xf1f9:1:0x0006]: finished channel configuration
[0xf1f9:1:0x0006]: 'async_configure' stage succeeded
[0xf1f9:1:0x0000]: 'async_configure' stage succeeded
[0xf1f9:1:0xfcc0]: 'async_configure' stage succeeded
[0xf1f9:1:0x0019]: 'async_configure' stage succeeded
[0xf1f9](lumi.plug.maeu01): completed configuration
[0xf1f9](lumi.plug.maeu01): stored in registry: ZhaDeviceEntry(name='LUMI lumi.plug.maeu01', ieee='54:ef:44:10:00:0e:52:9d', last_seen=1639658710.0816684)
[0xf1f9: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=49 command_id=Command.Default_Response>
[0xf1f9:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.UNSUP_CLUSTER_COMMAND: 129>]
[0xf1f9](lumi.plug.maeu01): started initialization
[0xf1f9:ZDO](lumi.plug.maeu01): 'async_initialize' stage succeeded
[0xf1f9:1:0x0006]: initializing channel: from_cache: False
[0xf1f9:1:0x0000]: initializing channel: from_cache: False
[0xf1f9:1:0x0000]: finished channel initialization
[0xf1f9:1:0xfcc0]: initializing channel: from_cache: False
[0xf1f9:1:0xfcc0]: finished channel initialization
[0xf1f9:1:0x0019]: initializing channel: from_cache: False
[0xf1f9:1:0x0019]: finished channel initialization
[0xf1f9: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=51 command_id=Command.Read_Attributes_rsp>
[0xf1f9:1:0x0006]: finished channel initialization
[0xf1f9:1:0x0006]: 'async_initialize' stage succeeded
[0xf1f9:1:0x0000]: 'async_initialize' stage succeeded
[0xf1f9:1:0xfcc0]: 'async_initialize' stage succeeded
[0xf1f9:1:0x0019]: 'async_initialize' stage succeeded
[0xf1f9](lumi.plug.maeu01): power source: Mains
[0xf1f9](lumi.plug.maeu01): completed initialization
[0xf1f9:1:0xfcc0] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=148 command_id=Command.Report_Attributes>
[0xf1f9:1:0xfcc0] ZCL request 0x000a: [[Attribute(attrid=247, value=<TypeValue type=LVBytes, value=b'd\x10\x00\x03(\x1c\x989\x00\x00\x00\x00\x959\x00\x00\x00\x00\x969\x00\x00\x00\x00\x979\x00\x00\x00\x00\x05!\x01\x00\x9a \x10\x08! \x01\t!\x00\x02\x0b \x00\x9b\x10\x00\x0f#\x00\x00K\xb7'>)]]
[0xf1f9:1:0xfcc0] Attribute report received: 247=b'd\x10\x00\x03(\x1c\x989\x00\x00\x00\x00\x959\x00\x00\x00\x00\x969\x00\x00\x00\x00\x979\x00\x00\x00\x00\x05!\x01\x00\x9a \x10\x08! \x01\t!\x00\x02\x0b \x00\x9b\x10\x00\x0f#\x00\x00K\xb7'
[0xf1f9:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=149 command_id=Command.Report_Attributes>
[0xf1f9:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.plug.maeu01>), Attribute(attrid=1, value=<TypeValue type=uint8_t, value=32>)]]
[0xf1f9:1:0x0000] Attribute report received: model=lumi.plug.maeu01, app_version=32
[0xf1f9:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=150 command_id=Command.Read_Attributes>
[0xf1f9:1:0x000a] ZCL request 0x0000: [[0, 2]]
[0xf1f9:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=151 command_id=Command.Report_Attributes>
[0xf1f9:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=32>)]]
[0xf1f9:1:0x0000] Attribute report received: app_version=32
[0xf1f9:1:0xfcc0] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=152 command_id=Command.Report_Attributes>
[0xf1f9:1:0xfcc0] ZCL request 0x000a: [[Attribute(attrid=247, value=<TypeValue type=LVBytes, value=b'd\x10\x00\x03(\x1c\x989\x00\x00\x00\x00\x959\x00\x00\x00\x00\x969\x00\x00\x00\x00\x979\x00\x00\x00\x00\x05!\x01\x00\x9a \x00\x08! \x01\t!\x00\x02\x0b \x00\x9b\x10\x00\x0f#\x00\x00K\xb7'>)]]
[0xf1f9:1:0xfcc0] Attribute report received: 247=b'd\x10\x00\x03(\x1c\x989\x00\x00\x00\x00\x959\x00\x00\x00\x00\x969\x00\x00\x00\x00\x979\x00\x00\x00\x00\x05!\x01\x00\x9a \x00\x08! \x01\t!\x00\x02\x0b \x00\x9b\x10\x00\x0f#\x00\x00K\xb7'
[0xf1f9: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=153 command_id=Command.Report_Attributes>
[0xf1f9:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>), Attribute(attrid=245, value=<TypeValue type=uint32_t, value=50331392>)]]
[0xf1f9:1:0x0006] Attribute report received: on_off=0, 245=50331392
[0xf1f9:1:0xfcc0] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=154 command_id=Command.Report_Attributes>
[0xf1f9:1:0xfcc0] ZCL request 0x000a: [[Attribute(attrid=519, value=<TypeValue type=Bool, value=Bool.false>)]]
[0xf1f9:1:0xfcc0] Attribute report received: 519=0
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083c0a01002042e2ff201e') on cluster 0: unknown endpoint or cluster id: 1
Ignoring message (b'083d0adfff423c000000000500000000120000000005000000000500000000050000000005000000000500000000050000000005000000000500000000050000000005') on cluster 0: unknown endpoint or cluster id: 1

and here is the device signature

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0002",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0xfcc0"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "LUMI",
  "model": "lumi.plug.maeu01",
  "class": "zigpy.device.Device"
}

Spamming my own thread for the sake of sharing new found knowledge. After several re-pairing attempts, the plug finally exposed the power and energy entities. Here’s the log

New device 0xf1f9 (54:ef:44:10:00:0e:52:9d) joined the network
[0xf1f9] Scheduling initialization
Tries remaining: 3
[0xf1f9] Requesting 'Node Descriptor'
Tries remaining: 2
[0xf1f9] Extending timeout for 0xfd request
Device 0xf1f9 (54:ef:44:10:00:0e:52:9d) joined the network
[0xf1f9] Scheduling initialization
[0xf1f9] Canceling old initialize call
Tries remaining: 3
[0xf1f9] Requesting 'Node Descriptor'
Tries remaining: 2
[0xf1f9] Extending timeout for 0xff request
Device 0xf1f9 (54:ef:44:10:00:0e:52:9d) joined the network
[0xf1f9] Scheduling initialization
[0xf1f9] Canceling old initialize call
Received frame on uninitialized device <Device model=None manuf=None nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=False> from ep 0 to ep 0, cluster 19: b'\xd3\xf9\xf1\x9dR\x0e\x00\x10D\xefT\x8e'
[0xf1f9:zdo] ZDO request ZDOCmd.Device_annce: [0xF1F9, 54:ef:44:10:00:0e:52:9d, 142]
Tries remaining: 3
[0xf1f9] Requesting 'Node Descriptor'
Tries remaining: 2
[0xf1f9] Extending timeout for 0x01 request
Received frame on uninitialized device <Device model=None manuf=None nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x01\x00\xf9\xf1\x01@\x8e_\x11\x7fd\x00\x00,d\x00\x00'
[0xf1f9] 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=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, 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)
[0xf1f9] Discovering endpoints
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\x03\x00\xf9\xf1\x02\x01\xf2'
Received frame on uninitialized device <Device model=None manuf=None nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=False> from ep 0 to ep 0, cluster 2: b'\xd4\x00\x00'
[0xf1f9:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
[0xf1f9:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
[0xf1f9] Discovered endpoints: [1, 242]
[0xf1f9] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=242 in=[] out=[] status=<Status.NEW: 0>>]
[0xf1f9:1] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x05\x00\xf9\xf1\x1e\x01\x04\x01Q\x00\x01\t\x00\x00\x02\x00\x03\x00\x04\x00\x05\x00\x06\x00\t\x00\x02\x07\x04\x0b\x02\n\x00\x19\x00'
[0xf1f9:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=81, device_version=1, input_clusters=[0, 2, 3, 4, 5, 6, 9, 1794, 2820], output_clusters=[10, 25])
[0xf1f9:242] Discovering endpoint information
Tries remaining: 3
Received frame on uninitialized device <Device model=None manuf=None nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x07\x00\xf9\xf1\n\xf2\xe0\xa1a\x00\x00\x00\x01!\x00'
[0xf1f9:242] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=242, profile=41440, device_type=97, device_version=0, input_clusters=[], output_clusters=[33])
[0xf1f9: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=9 command_id=Command.Read_Attributes_rsp>
[0xf1f9] Read model 'lumi.plug.maeu01' and manufacturer 'LUMI' from <Endpoint id=1 in=[basic:0x0000, device_temperature:0x0002, identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, alarms:0x0009, smartenergy_metering:0x0702, electrical_measurement:0x0B04] out=[time:0x000A, ota:0x0019] status=<Status.ZDO_INIT: 1>>
[0xf1f9] Discovered basic device information for <Device model='lumi.plug.maeu01' manuf='LUMI' nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=True>
Device is initialized <Device model='lumi.plug.maeu01' manuf='LUMI' nwk=0xF1F9 ieee=54:ef:44:10:00:0e:52:9d is_initialized=True>
Checking quirks for LUMI lumi.plug.maeu01 (54:ef:44:10:00:0e:52:9d)
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}
'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']
device - 0xF1F9:54:ef:44:10:00:0e:52:9d entering async_device_initialized - is_new_join: True
device - 0xF1F9:54:ef:44:10:00:0e:52:9d has joined the ZHA zigbee network
[0xF1F9](lumi.plug.maeu01): started configuration
[0xF1F9:ZDO](lumi.plug.maeu01): 'async_configure' stage succeeded
Error handling '_save_attribute' event with (54:ef:44:10:00:0e:52:9d, 1, 0, 4, 'LUMI') params: FOREIGN KEY constraint failed
Error handling '_save_attribute' event with (54:ef:44:10:00:0e:52:9d, 1, 0, 5, 'lumi.plug.maeu01') params: FOREIGN KEY constraint failed
[0xF1F9:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xF1F9:1:0x0702]: bound 'smartenergy_metering' cluster: Status.SUCCESS
[0xF1F9:1:0x0b04]: bound 'electrical_measurement' cluster: Status.SUCCESS
[0xf1f9: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=17 command_id=Command.Configure_Reporting_rsp>
[0xF1F9:1:0x0006]: Successfully configured reporting for '{'on_off': (0, 900, 1)}' on 'on_off' cluster: [ConfigureReportingResponseRecord(status=0)]
[0xF1F9:1:0x0006]: finished channel configuration
[0xF1F9:1:0x0000]: finished channel configuration
[0xF1F9:1:0x0019]: finished channel configuration
[0xf1f9:1:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=19 command_id=Command.Configure_Reporting_rsp>
[0xF1F9:1:0x0702]: Successfully configured reporting for '{'status'}' on 'smartenergy_metering' cluster
[0xF1F9:1:0x0702]: Failed to configure reporting for '['instantaneous_demand', 900, 'current_summ_delivered']' on 'smartenergy_metering' cluster: [ConfigureReportingResponseRecord(status=134, direction=0, attrid=1024), ConfigureReportingResponseRecord(status=134, direction=0, attrid=900), ConfigureReportingResponseRecord(status=141, direction=0, attrid=0)]
[0xF1F9:1:0x0702]: finished channel configuration
[0xf1f9:1:0x0b04] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=21 command_id=Command.Configure_Reporting_rsp>
[0xF1F9:1:0x0b04]: Successfully configured reporting for '{'apparent_power'}' on 'electrical_measurement' cluster
[0xF1F9:1:0x0b04]: Failed to configure reporting for '['active_power', 'active_power_max', 900]' on 'electrical_measurement' cluster: [ConfigureReportingResponseRecord(status=140, direction=0, attrid=1291), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1293), ConfigureReportingResponseRecord(status=134, direction=0, attrid=900)]
[0xf1f9:1:0x0b04] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=23 command_id=Command.Configure_Reporting_rsp>
[0xF1F9:1:0x0b04]: Successfully configured reporting for '{'rms_voltage'}' on 'electrical_measurement' cluster
[0xF1F9:1:0x0b04]: Failed to configure reporting for '['rms_current', 900, 'rms_current_max']' on 'electrical_measurement' cluster: [ConfigureReportingResponseRecord(status=134, direction=0, attrid=1288), ConfigureReportingResponseRecord(status=134, direction=0, attrid=900), ConfigureReportingResponseRecord(status=134, direction=0, attrid=1290)]
[0xf1f9:1:0x0b04] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=25 command_id=Command.Configure_Reporting_rsp>
[0xF1F9:1:0x0b04]: Successfully configured reporting for 'set()' on 'electrical_measurement' cluster
[0xF1F9:1:0x0b04]: Failed to configure reporting for '['rms_voltage_max']' on 'electrical_measurement' cluster: [ConfigureReportingResponseRecord(status=134, direction=0, attrid=1287)]
[0xF1F9:1:0x0b04]: finished channel configuration
[0xF1F9:1:0x0006]: 'async_configure' stage succeeded
[0xF1F9:1:0x0702]: 'async_configure' stage succeeded
[0xF1F9:1:0x0b04]: 'async_configure' stage succeeded
[0xF1F9:1:0x0000]: 'async_configure' stage succeeded
[0xF1F9:1:0x0019]: 'async_configure' stage succeeded
[0xF1F9](lumi.plug.maeu01): completed configuration
[0xF1F9](lumi.plug.maeu01): stored in registry: ZhaDeviceEntry(name='LUMI lumi.plug.maeu01', ieee='54:ef:44:10:00:0e:52:9d', last_seen=1639661154.2557783)
Ignoring message (b'1c5f11000af700413964100003281a983900000000953900000000963900000000973900000000052101009a201008212001092100030b20009b10000f2300003fb3') on cluster 64704: unknown endpoint or cluster id: 'No cluster ID 0xfcc0 on (54:ef:44:10:00:0e:52:9d, 1)'
[0xf1f9: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=27 command_id=Command.Default_Response>
[0xf1f9:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=1 command_id=Command.Report_Attributes>
[0xf1f9:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.plug.maeu01>), Attribute(attrid=1, value=<TypeValue type=uint8_t, value=32>)]]
[0xf1f9:1:0x0000] Attribute report received: model=lumi.plug.maeu01, app_version=32
[0xF1F9:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.UNSUP_CLUSTER_COMMAND: 129>]
[0xF1F9](lumi.plug.maeu01): started initialization
[0xF1F9:ZDO](lumi.plug.maeu01): 'async_initialize' stage succeeded
[0xF1F9:1:0x0006]: initializing channel: from_cache: False
[0xF1F9:1:0x0702]: initializing channel: from_cache: False
[0xF1F9:1:0x0b04]: initializing channel: from_cache: False
[0xf1f9: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=29 command_id=Command.Read_Attributes_rsp>
[0xF1F9:1:0x0006]: finished channel initialization
[0xF1F9:1:0x0000]: initializing channel: from_cache: False
[0xF1F9:1:0x0000]: finished channel initialization
[0xf1f9:1:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=31 command_id=Command.Read_Attributes_rsp>
[0xF1F9:1:0x0019]: initializing channel: from_cache: False
[0xF1F9:1:0x0019]: finished channel initialization
[0xf1f9:1:0x0b04] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=33 command_id=Command.Read_Attributes_rsp>
[0xf1f9:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=2 command_id=Command.Read_Attributes>
[0xf1f9:1:0x000a] ZCL request 0x0000: [[0, 2]]
[0xf1f9:1:0x0702] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=35 command_id=Command.Read_Attributes_rsp>
[0xF1F9:1:0x0702]: finished channel initialization
[0xf1f9:1:0x0b04] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=38 command_id=Command.Read_Attributes_rsp>
[0xf1f9:1:0x0b04] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=40 command_id=Command.Read_Attributes_rsp>
[0xF1F9:1:0x0b04]: finished channel initialization
[0xF1F9:1:0x0006]: 'async_initialize' stage succeeded
[0xF1F9:1:0x0702]: 'async_initialize' stage succeeded
[0xF1F9:1:0x0b04]: 'async_initialize' stage succeeded
[0xF1F9:1:0x0000]: 'async_initialize' stage succeeded
[0xF1F9:1:0x0019]: 'async_initialize' stage succeeded
[0xF1F9](lumi.plug.maeu01): power source: Mains
[0xF1F9](lumi.plug.maeu01): completed initialization
[0xF1F9:1:0x0006]: attempting to update onoff state - from cache: False
[0xf1f9: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=42 command_id=Command.Read_Attributes_rsp>
[0xf1f9:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=3 command_id=Command.Report_Attributes>
[0xf1f9:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=1, value=<TypeValue type=uint8_t, value=32>)]]
[0xf1f9:1:0x0000] Attribute report received: app_version=32
Ignoring message (b'1c5f11040af700413964100003281a983900000000953900000000963900c01445973900000000052101009a200008212001092100030b20009b10000f2300003fb3') on cluster 64704: unknown endpoint or cluster id: 'No cluster ID 0xfcc0 on (54:ef:44:10:00:0e:52:9d, 1)'
[0xf1f9: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=5 command_id=Command.Report_Attributes>
[0xf1f9:1:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=<TypeValue type=Bool, value=Bool.false>), Attribute(attrid=245, value=<TypeValue type=uint32_t, value=50331392>)]]
[0xf1f9:1:0x0006] Attribute report received: on_off=0, 245=50331392
[0xF1F9:1:0x0b04]: async_update
[0xf1f9:1:0x0b04] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=44 command_id=Command.Read_Attributes_rsp>
[0xf1f9:zdo] ZDO request ZDOCmd.Node_Desc_rsp: [<Status.SUCCESS: 0>, 0xF1F9, 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=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, 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)]
[0xf1f9:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_rsp([<Status.SUCCESS: 0>, 0xF1F9, 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=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, 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)])
Ignoring message (b'1c5f11060a07021000') on cluster 64704: unknown endpoint or cluster id: 'No cluster ID 0xfcc0 on (54:ef:44:10:00:0e:52:9d, 1)'

and here’s the device signature

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0002",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0009",
        "0x0702",
        "0x0b04"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "LUMI",
  "model": "lumi.plug.maeu01",
  "class": "zigpy.device.Device"
}

From what I can tell, the plug is using non-standard clusters for reporting power and energy, for which it would need a quirk definition, but I’m not yet able to pull together a dev environment to create one.

Hello !
Have you been able to resolve this ?

I’m having the exact same issue on my side.
Using Popp (ELU013) USB stick (update it to the lastest firmware 6.10.3-41), I have the exact same device signature as your last one.
But power is always 0 :frowning:

No, I haven’t, but since then I figured that there are other non-standard (manufacturer-specific) Zigbee endpoints that expose themselves at a later point, containing exactly the power consumption info needed.

I wanted to create a quirk class for this plug, but it’s not at all trivial to get up and running, and I haven’t found the time to learn how to do that.

Ok, that’s a pity. It seems this plug works with Z2MQTT, I’ guess I’ll have a look and maybe switch from ZHA.

The power readings are a bit slow to update in Z2M, but yeah, I’ve tested and it works. It’s just too much of a hassle to migrate all devices there just for this.

Slow how ?
I’m not a huge fan to go to Z2M too, it had some latency due to the way it works, but I do need to have power reading for this plug :frowning:

Slow as in “updates every ~10 seconds or more”. Maybe that’s normal, but it seems very slow to me.

I’ve open an issue on the github : Aqara Lumi Smart Plug EU no power consumption with ZHA · Issue #65292 · home-assistant/core · GitHub
There was the same issu with the other plug : ZHA - lumi.plug.mmeu01 not showing power monitor measures · Issue #42840 · home-assistant/core · GitHub

Hope this could be resolved !

1 Like

Hello,

FYI this issue is resolved with latest HA core 2022.02 !

Hello,

The problem is still present with 2022.3.3.

1 Like

I’m having the same issue

After a pretty long discussion, there’s a fix.

2 Likes

Does not work with HA 2022.05 in my setup… how about yours?

For me it works fine. Make sure you pair your plug enough times until you get the proper device signature, because Aqara is Aqara. “Enough” may be upwards of 20 times, FYI.

For me it also works now. However I had to repair and also update the firmware on two of my plugs. On the device page you’ll need to click on “manage cluster”:

image

Then select Basic (Endpoint id: 1, Id: 0x0000, Type: in) and app_version (id: 0x0001). Click on “get zigbee attribute”. This should show 32.

image

If you’ll need to upload new firmware check the zigpy wiki.

The firmware can be downloaded here: https://github.com/Koenkk/zigbee-OTA/…/OTA_lumi.plug.maeu01_V32_20200922_C11F8A.20200924102946.ota

Hope this helps.

Dear @Rudertier and @tetele

thank you so much. It works now.

I had to reconnect twice.

Cheers

Thomas

I managed to get the right device signature after repairing an infinite amount of times but I now have empty power measurements.

Everything is always at zero. What am I doing wrong?

Here is the device diagnostics:

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.6.7",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.9.12",
    "docker": true,
    "arch": "aarch64",
    "timezone": "Europe/Berlin",
    "os_name": "Linux",
    "os_version": "5.15.32-v8",
    "supervisor": "2022.05.3",
    "host_os": "Home Assistant OS 8.2",
    "docker_version": "20.10.14",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "shelly": {
      "version": "1.0.0",
      "requirements": [
        "pyShelly==1.0.2",
        "paho-mqtt==1.6.1",
        "websocket-client"
      ]
    },
    "midea_dehumidifier_lan": {
      "version": "0.8.2",
      "requirements": [
        "midea-beautiful-air==0.9.10"
      ]
    },
    "nuki_ng": {
      "version": "0.2.1",
      "requirements": []
    },
    "lovelace_gen": {
      "version": "0.1.1",
      "requirements": [
        "jinja2"
      ]
    },
    "hacs": {
      "version": "1.25.5",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    }
  },
  "integration_manifest": {
    "domain": "zha",
    "name": "Zigbee Home Automation",
    "config_flow": true,
    "documentation": "https://www.home-assistant.io/integrations/zha",
    "requirements": [
      "bellows==0.30.0",
      "pyserial==3.5",
      "pyserial-asyncio==0.6",
      "zha-quirks==0.0.75",
      "zigpy-deconz==0.16.0",
      "zigpy==0.45.1",
      "zigpy-xbee==0.14.0",
      "zigpy-zigate==0.7.4",
      "zigpy-znp==0.7.0"
    ],
    "usb": [
      {
        "vid": "10C4",
        "pid": "EA60",
        "description": "*2652*",
        "known_devices": [
          "slae.sh cc2652rb stick"
        ]
      },
      {
        "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"
        ]
      }
    ],
    "codeowners": [
      "@dmulcahey",
      "@adminiuga"
    ],
    "zeroconf": [
      {
        "type": "_esphomelib._tcp.local.",
        "name": "tube*"
      },
      {
        "type": "_zigate-zigbee-gateway._tcp.local.",
        "name": "*zigate*"
      }
    ],
    "after_dependencies": [
      "usb",
      "zeroconf"
    ],
    "iot_class": "local_polling",
    "loggers": [
      "aiosqlite",
      "bellows",
      "crccheck",
      "pure_pcapy3",
      "zhaquirks",
      "zigpy",
      "zigpy_deconz",
      "zigpy_xbee",
      "zigpy_zigate",
      "zigpy_znp"
    ],
    "is_built_in": true
  },
  "data": {
    "ieee": "**REDACTED**",
    "nwk": **REDACTED**4,
    "manufacturer": "LUMI",
    "model": "lumi.plug.maeu01",
    "name": "LUMI lumi.plug.maeu01",
    "quirk_applied": true,
    "quirk_class": "zhaquirks.xiaomi.aqara.plug_mmeu01.PlugMAEU01",
    "manufacturer_code": 4447,
    "power_source": "Mains",
    "lqi": 109,
    "rssi": null,
    "last_seen": "2022-07-04T15:18:36",
    "available": true,
    "device_type": "Router",
    "signature": {
      "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.Router: 1>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice: 142>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, *is_security_capable=False)",
      "endpoints": {
        "1": {
          "profile_id": 260,
          "device_type": "0x0051",
          "in_clusters": [
            "0x0000",
            "0x0002",
            "0x0003",
            "0x0004",
            "0x0005",
            "0x0006",
            "0x0009",
            "0x0702",
            "0x0b04",
            "0xfcc0"
          ],
          "out_clusters": [
            "0x000a",
            "0x0019"
          ]
        },
        "242": {
          "profile_id": 41440,
          "device_type": "0x0061",
          "in_clusters": [],
          "out_clusters": [
            "0x0021"
          ]
        }
      }
    },
    "entities": [
      {
        "entity_id": "button.lumi_lumi_plug_maeu01_fd094200_identify",
        "name": "LUMI lumi.plug.maeu01"
      },
      {
        "entity_id": "sensor.lumi_lumi_plug_maeu01_fd094200_electrical_measurement",
        "name": "LUMI lumi.plug.maeu01"
      },
      {
        "entity_id": "sensor.lumi_lumi_plug_maeu01_fd094200_electrical_measurement_power_factor",
        "name": "LUMI lumi.plug.maeu01"
      },
      {
        "entity_id": "sensor.lumi_lumi_plug_maeu01_fd094200_smartenergy_metering_summation_delivered",
        "name": "LUMI lumi.plug.maeu01"
      },
      {
        "entity_id": "sensor.lumi_lumi_plug_maeu01_fd094200_device_temperature",
        "name": "LUMI lumi.plug.maeu01"
      },
      {
        "entity_id": "switch.lumi_lumi_plug_maeu01_fd094200_on_off",
        "name": "LUMI lumi.plug.maeu01"
      }
    ],
    "neighbors": [],
    "endpoint_names": [
      {
        "name": "SMART_PLUG"
      },
      {
        "name": "unknown 97 device_type of 0xa1e0 profile id"
      }
    ],
    "user_given_name": "Bedroom_plug",
    "device_reg_id": **REDACTED**",
    "area_id": "**REDACTED**"
  }
}

i have exact the same problem → the plug it self is working ON/OFF and i see the values for power consumption, but its always zero. I have already tried almost all from this thread, but no luck.
And since I have seen last post here was 2 months ago I thought nobody else does experience this issue anymore and for othesr got it magically fixed by hassio updates. I have updated even yesterday 2022.7.0 but still doesnt work.
Interesting is that for me it worked even with June version, but then I have decided to change my zigbee stick to ZZH and since then it stopped worked :confused:
So if anybody who is reading this → are your smart plugs already reporting the consumption? If yes, what have you done to make it work? Would be very helpful if you share some insides :slight_smile:
Thank you

1 Like