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] ZBMini-L delayed response after minutes of pairing. Workaround found on Zigbee2MQTT

See original GitHub issue

Context

ZBMini-L is Zigbee 3.0 switch which does not need neutral line for power. It seems to work fine at the beginning but after minutes ZBMini-L switch is paired it shows a delayed response that seems to get worse with time.

To Reproduce Steps to reproduce the behavior:

  1. Pair the ZBMini-L with ZHA
  2. It responds fast at the beginning
  3. Wait 30 minutes or more
  4. Switch it ON/OFF and note the delay
  5. It gets workse with time

Expected behavior No delay. But it seems to be a workaround for this behavior since it was fixed in Z2M on this commit:

https://github.com/Koenkk/zigbee-herdsman-converters/commit/ac7a095463c8b4dec3d6a6b34eb1e221a0f37d90

Bug was reported here:

https://github.com/Koenkk/zigbee2mqtt/issues/11676

Device 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=4742, maximum_buffer_size=80, maximum_incoming_transfer_size=160, server_mask=11264, maximum_outgoing_transfer_size=160, 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": "0x0002",
      "in_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006",
        "0x0007",
        "0x0020",
        "0xfc57",
        "0xfca0"
      ],
      "out_clusters": [
        "0x0019"
      ]
    }
  },
  "manufacturer": "SONOFF",
  "model": "ZBMINI-L",
  "class": "zigpy.device.Device"
}

TIA

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:42 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
m2r57700commented, May 20, 2022

Hi First time I tried an OTA from ZHA and finally seems ok.

Previous Firmware: 0x00001004 Now : Firmware: 0x00001101

image

FYI

I used the following commands

image

I hope response delay will disappear.

3reactions
Daniel-zhan-iteadcommented, May 9, 2022

We will optimize the firmware to fix the delay issue of ZBMINI-L running on ZHA and release the OTA update image for you. The firmware is under testing, once the test is completed, it will be published.

Is the issue caused by something we are doing?

After ZBMINI-L is added to ZHA, ZHA will enable the device poll control cluster function, and then the device interval of sleep & wake-up will be set to 6 seconds as default, We will disable the poll control function in the device firmware so the interval will be kept at 500ms as default.

Will this also fix the random shutdowns?

Yup, this random shutdown issue will also be fixed together, Pls wait for the new firmware release. Thanks for your understanding

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sonoff ZBMini-L randomly turning off? - Hardware
[Device Support Request] ZBMini-L delayed response after minutes of pairing. Workaround found on Zigbee2MQTT. opened 12:53AM - 23 Apr 22 UTC.
Read more >
SONOFF ZBMINI-L control via MQTT - Zigbee2MQTT
Controls the behavior when the device is powered on after power loss. Value can be found in the published state on the power_on_behavior...
Read more >
changelog.en - ConBee II
Default device search time raised from 1 to 3 minutes. Motion sensor control allows presence, open/close, vibration and water sensors as triggers. Support...
Read more >
Zigbee Configurable Firmware v2.5
The firmware supports up to 8 GPIO inputs or outputs. ... Which Zigbee stack is used when selecting CC2530 device? ... thanks for...
Read more >
Zigbee - Tasmota
Zigbee2Tasmota serves as a gateway for devices connected to a Zigbee wireless ... Sonoff/Eachen require encrypted signed firmwares, they can be found here....
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