zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

modernExtend configure() fails for Sonoff ZBM5-1C-80/86: device has no genOnOff output cluster

Open mathias1xxX opened this issue 10 months ago • 4 comments

What happened?

Zigbee2MQTT logs a repeated configure error for the Sonoff ZBM5-1C-80/86 wall switch:

This happens even when:

  • advanced.configure_by_device: false is set
  • devices.<ieee>.configure: false is set

The device works correctly at runtime (ON/OFF, state updates, MQTT, HA integration), but the configure step always fails.

The converter calls modernExtend.configure() which internally calls:

What did you expect to happen?

The converter should not attempt to bind or configure genOnOff output/client clusters for this device, as it only exposes genOnOff as an input/server cluster (which is correct per Zigbee spec for wall switches).

No configure attempt should be made, or it should gracefully skip if no output cluster exists.

How to reproduce it (minimal and precise)

switch it on/off

Zigbee2MQTT version

2.8.0-1

Adapter firmware version

20260107.2

Adapter

Sonoff Dongle Max

Setup

VM of Home Automation with the add-on

Device database.db entry

No response

Debug log

No response

Notes

No response

mathias1xxX avatar Feb 01 '26 23:02 mathias1xxX

Hi Everyone,

Just wanted to confirm, that I also have the same issue on all my switches. I'm not experiencing any issue, only annoying red/error messages in a log

[3/1/2026, 5:54:41 PM] z2m: Failed to configure 'sonoff_hall_switch_2', attempt 1 (Error: Device 0x94a081fffee27a8a has no output cluster genOnOff
    at getEndpointsWithCluster (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:75:15)
    at configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:265:31)
    at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/index.ts:363:27)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Configure.configure (/app/lib/extension/configure.ts:124:13)
    at Immediate.<anonymous> (/app/lib/extension/configure.ts:66:17))
[3/1/2026, 5:54:41 PM] z2m: Failed to configure 'sonoff_bedroom_switch_1', attempt 1 (Error: Device 0x94a081fffee2206c has no output cluster genOnOff
    at getEndpointsWithCluster (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:75:15)
    at configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:265:31)
    at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/index.ts:363:27)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Configure.configure (/app/lib/extension/configure.ts:124:13)
    at Immediate.<anonymous> (/app/lib/extension/configure.ts:66:17))
[3/1/2026, 5:55:02 PM] z2m: Failed to configure 'sonoff_bathroom_switch', attempt 3 (Error: Device 0x58263afffefabc6a has no output cluster genOnOff
    at getEndpointsWithCluster (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:75:15)
    at configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:265:31)
    at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/index.ts:363:27)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Configure.configure (/app/lib/extension/configure.ts:124:13)
    at Immediate.<anonymous> (/app/lib/extension/configure.ts:66:17))

Best, Anton

NewFolk avatar Mar 01 '26 17:03 NewFolk

What's the firmware version on your Sonoff switch? Update the device, trigger an interview to read the clusters again, then reconfigure.

The latest version of the ZBM5 allows binding to other devices. (It can be used as a Zigbee remote in detached mode) So it should have the genOnOff output cluster.

  • https://github.com/Koenkk/zigbee-OTA/pull/971

andrei-lazarov avatar Mar 01 '26 21:03 andrei-lazarov

Thank you @andrei-lazarov, I had a lates FW and at first glance interview-reconfigure helped. Thx 😃

NewFolk avatar Mar 01 '26 21:03 NewFolk

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 01 '26 00:05 github-actions[bot]