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.

[BUG] Aqara lumi.switch.l1aeu1 seen as end device instead of router and power source is unknow instead of mains

See original GitHub issue

Describe the bug The in-wall switch Aqara lumi.switch.l1aeu1 (link to the device on blakkader.com) is seen as an end device instead of a router and the power source is unkown instead of mains:

But if we look at Zigbee signature for the device, we got:

(...)
  "node_descriptor": (...) *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, (...)",
(...)

To Reproduce Steps to reproduce the behavior:

  1. Pair a Aqara lumi.switch.l1aeu1
  2. Go to ‘Configuration’ -> ‘Devices and Services’ -> ‘Zigbee Home Automation’
  3. Click on a Aqara lumi.switch.l1aeu1 switch
  4. See the power source and device type as in the screenshot
  5. Click on ‘Zigbee Device Signature’ to check the node inspector

Expected behavior Aqara lumi.switch.l1aeu1 switches are supposed to be seen and act as router in the zigbee network Aqara lumi.switch.l1aeu1 switches’ source power is supposed to be 'Mains

Screenshots image

Additional context Device complete signature:

{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, 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=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0100",
      "in_clusters": [
        "0x0000",
        "0x0002",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0009"
      ],
      "out_clusters": [
        "0x000a",
        "0x0019"
      ]
    },
    "242": {
      "profile_id": 41440,
      "device_type": "0x0061",
      "in_clusters": [],
      "out_clusters": [
        "0x0021"
      ]
    }
  },
  "manufacturer": "LUMI",
  "model": "lumi.switch.l1aeu1",
  "class": "zigpy.device.Device"
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
MattWestbcommented, Dec 14, 2021

You can looking on the network map if its only having one router as parent (= end device) or its have connections to more routers (= router) then its working as one router and having more connections to neighbors.

1reaction
dmulcaheycommented, Dec 13, 2021

But if we look at Zigbee signature for the device, we got:

(...)
  "node_descriptor": (...) *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=True, (...)",
(...)

Where did this come from? It doesn’t match what is below it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lumi.switch.n0agl1 not working in ZHA - Zigbee
I have the Aqara Smart Plug (EU) that does exactly the same. Shifts between 0.2 and 0.3 degrees.
Read more >
Which is the Best Network Device – Hub or Switch or Router?
So, it is important to know which device you should choose depending upon your requirement. This post discusses further details on hubs, switches,...
Read more >
Aqara & Xiaomi Smart Home - Zigbee App (v1.6.0)
Dear Ted, I ordered a bunch of new Aqara H1 (EU) ZigBee Switches - but they end up as unknown devices. Via the...
Read more >
Aqara H1 EU Wall Switch (No Neutral, Single Rocker) WS ...
Pairing Instructions. Press and hold the button on the device until the blue light starts blinking, release it and the pairing should begin....
Read more >
Upgrade Your Router by Adding a Network Switch - YouTube
The new smaller routers are awesome, but they lack one thing; Ethernet Ports. That is where a Network Switch comes to save the...
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