Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New devices remain stuck in pairing mode despite Z2M considering them as successfully interviewed #724

Open
xelemorf opened this issue Feb 4, 2025 · 10 comments

Comments

@xelemorf
Copy link

xelemorf commented Feb 4, 2025

Description of the issue

Device is supported and identified by Z2M: https://www.zigbee2mqtt.io/devices/TS0044.html#tuya-ts0044
Actual device: https://www.loratap.com/products/ss6400zb-v2

I already have another the exact same type of end device paired, and it’s working flawlessly. When I attempted to pair a new one, the initial interview failed. However, it automatically retried without any intervention but never completed, even though the device remained in pairing mode (indicated by a blinking LED).

I deleted the device and paired it again. While Z2M indicated a successful pairing, the device continued blinking, suggesting it was still stuck in pairing mode. I then stopped Z2M, restarted the coordinator, removed and reinserted the device’s battery, and restarted Z2M to try again. Unfortunately, every subsequent attempt resulted in the same issue—the device never reported back, meaning the pairing was never actually successful, despite Z2M stating otherwise.

I also tried pairing the device to a specific router, directly to the coordinator, and even to 'All,' but the result was always the same. Once the pairing is marked as complete from Z2M’s standpoint, the "last seen" timestamp never updates when pressing any button on the device. Device works when connected to a TuYa compatible hub in Smart Life ecosystem.

Image

Addon version

2.1.1 commit: unknown

Platform

  • Zigbee2MQTT version: 2.1.0 commit: unknown (same issue observed with 2.0.0-2 and 2.1.0 aswell)

  • Coordinator type: zStack3x0

  • Coordinator revision: 20240710 (Coordinator: SMLIGHT SLZB-06 using CC2652P)

  • Frontend version: 0.9.4

  • zigbee-herdsman-converters version: 21.27.1

  • zigbee-herdsman version: 3.2.5

  • Type: HAOS on physical machine

  • HA Core 2025.2.0 (Version at the time of initial report: 2025.1.4)

  • HA Supervisor 2025.02.0 (Version at the time of initial report: 2024.12.3)

  • HA Operating System 14.2

  • HA Frontend 20250205.0 (Version at the time of initial report: 20250109.2)

Logs of the issue (if applicable)

2025-02-04 22:21:31z2m: Failed to configure '0xa4c1386fe637d220', attempt 1 (Error: ZCL command 0xa4c1386fe637d220/1 genBasic.read(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Data request failed with error: 'MAC transaction expired' (240)) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:545:23) at processTicksAndRejections (node:internal/process/task_queues:105:5) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at /app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:443:20 at Queue.execute (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/queue.ts:36:20) at ZStackAdapter.sendZclFrameToEndpoint (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:441:16) at Request.send (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:82:20))


2025-02-04 23:13:18z2m: Device '0xa4c1386fe637d220' left the network
error 2025-02-04 23:16:03z2m: Failed to configure '0xa4c1386fe637d220', attempt 1 (Error: ZCL command 0xa4c1386fe637d220/1 genBasic.read(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205)) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:545:23) at processTicksAndRejections (node:internal/process/task_queues:105:5) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:642:24) at /app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:443:20 at Queue.execute (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/queue.ts:36:20) at ZStackAdapter.sendZclFrameToEndpoint (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:441:16) at Request.send (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:82:20))


2025-02-05 23:29:17z2m: Removing device '0xa4c1386fe637d220' (block: false, force: true)
info 2025-02-05 23:29:17z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/battery/config', payload ''
info 2025-02-05 23:29:17z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload ''
info 2025-02-05 23:29:17z2m: Successfully removed device '0xa4c1386fe637d220' (block: false, force: true)
info 2025-02-05 23:29:17z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/remove', payload '{"data":{"block":false,"force":true,"id":"0xa4c1386fe637d220"},"status":"ok","transaction":"4fi2x-7"}'
info 2025-02-05 23:29:17z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/action/config', payload ''
info 2025-02-05 23:29:17z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/linkquality/config', payload ''
info 2025-02-05 23:29:17z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/last_seen/config', payload ''
info 2025-02-05 23:30:18z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:17+01:00","linkquality":61}'
info 2025-02-05 23:30:18zh:controller: Interview for '0xa4c1386fe637d220' started
info 2025-02-05 23:30:18z2m: Device '0xa4c1386fe637d220' joined
info 2025-02-05 23:30:18z2m: Starting interview of '0xa4c1386fe637d220'
info 2025-02-05 23:30:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1386fe637d220","ieee_address":"0xa4c1386fe637d220"},"type":"device_joined"}'
info 2025-02-05 23:30:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1386fe637d220","ieee_address":"0xa4c1386fe637d220","status":"started"},"type":"device_interview"}'
info 2025-02-05 23:30:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:18+01:00","linkquality":61}'
info 2025-02-05 23:30:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1386fe637d220","ieee_address":"0xa4c1386fe637d220"},"type":"device_announce"}'
info 2025-02-05 23:30:23z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:22+01:00","linkquality":61}'
info 2025-02-05 23:30:23z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:22+01:00","linkquality":65}'
info 2025-02-05 23:30:23z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:22+01:00","linkquality":65}'
info 2025-02-05 23:30:24z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:22+01:00","linkquality":61}'
info 2025-02-05 23:30:24zh:controller: Succesfully interviewed '0xa4c1386fe637d220'
info 2025-02-05 23:30:24z2m: Successfully interviewed '0xa4c1386fe637d220', device has successfully been paired
info 2025-02-05 23:30:24z2m: Device '0xa4c1386fe637d220' is supported, identified as: Tuya Wireless switch with 4 buttons (TS0044)
info 2025-02-05 23:30:24z2m: Configuring '0xa4c1386fe637d220'
info 2025-02-05 23:30:24z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/battery/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c1386fe637d220/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1386fe637d220"],"manufacturer":"Tuya","model":"Wireless switch with 4 buttons","model_id":"TS0044","name":"0xa4c1386fe637d220","via_device":"zigbee2mqtt_bridge_0x00124b002b481b65"},"device_class":"battery","enabled_by_default":true,"entity_category":"diagnostic","object_id":"0xa4c1386fe637d220_battery","origin":{"name":"Zigbee2MQTT","sw":"2.1.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386fe637d220","unique_id":"0xa4c1386fe637d220_battery_zigbee2mqtt","unit_of_measurement":"%","value_template":"{{ value_json.battery }}"}'
info 2025-02-05 23:30:24z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Wireless switch with 4 buttons","exposes":[{"access":1,"category":"diagnostic","description":"Remaining battery in %, can take up to 24 hours before reported","label":"Battery","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["1_single","1_double","1_hold","2_single","2_double","2_hold","3_single","3_double","3_hold","4_single","4_double","4_hold"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"TS0044","options":[],"supports_ota":false,"vendor":"Tuya"},"friendly_name":"0xa4c1386fe637d220","ieee_address":"0xa4c1386fe637d220","status":"successful","supported":true},"type":"device_interview"}'
info 2025-02-05 23:30:24z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/action/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c1386fe637d220/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1386fe637d220"],"manufacturer":"Tuya","model":"Wireless switch with 4 buttons","model_id":"TS0044","name":"0xa4c1386fe637d220","via_device":"zigbee2mqtt_bridge_0x00124b002b481b65"},"entity_category":"diagnostic","icon":"mdi:gesture-double-tap","name":"Action","object_id":"0xa4c1386fe637d220_action","origin":{"name":"Zigbee2MQTT","sw":"2.1.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1386fe637d220","unique_id":"0xa4c1386fe637d220_action_zigbee2mqtt","value_template":"{{ value_json.action }}"}'
info 2025-02-05 23:30:24z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c1386fe637d220/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1386fe637d220"],"manufacturer":"Tuya","model":"Wireless switch with 4 buttons","model_id":"TS0044","name":"0xa4c1386fe637d220","via_device":"zigbee2mqtt_bridge_0x00124b002b481b65"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0xa4c1386fe637d220_linkquality","origin":{"name":"Zigbee2MQTT","sw":"2.1.0","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0xa4c1386fe637d220","unique_id":"0xa4c1386fe637d220_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
info 2025-02-05 23:30:24z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0xa4c1386fe637d220/last_seen/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0xa4c1386fe637d220/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"hw_version":1,"identifiers":["zigbee2mqtt_0xa4c1386fe637d220"],"manufacturer":"Tuya","model":"Wireless switch with 4 buttons","model_id":"TS0044","name":"0xa4c1386fe637d220","via_device":"zigbee2mqtt_bridge_0x00124b002b481b65"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"Last seen","object_id":"0xa4c1386fe637d220_last_seen","origin":{"name":"Zigbee2MQTT","sw":"2.1.0","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0xa4c1386fe637d220","unique_id":"0xa4c1386fe637d220_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
info 2025-02-05 23:30:25z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"action":null,"battery":null,"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:24+01:00","linkquality":65}'
info 2025-02-05 23:30:25z2m: Successfully configured '0xa4c1386fe637d220'
info 2025-02-05 23:30:30z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"action":null,"battery":null,"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:28+01:00","linkquality":65}'
info 2025-02-05 23:30:30z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"action":null,"battery":100,"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":17477,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"elapsed":420782,"last_seen":"2025-02-05T23:30:29+01:00","linkquality":65,"voltage":3000}'
info 2025-02-05 23:30:44z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"action":null,"battery":100,"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":58591,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:43+01:00","linkquality":65,"voltage":3000}'
info 2025-02-05 23:30:45z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"action":null,"battery":100,"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":58591,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:30:44+01:00","linkquality":65,"voltage":3000}'
info 2025-02-05 23:30:45z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1386fe637d220","ieee_address":"0xa4c1386fe637d220"},"type":"device_announce"}'
info 2025-02-05 23:31:15z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"action":null,"battery":100,"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":22155,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:31:14+01:00","linkquality":65,"voltage":3000}'
info 2025-02-05 23:31:16z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c1386fe637d220', payload '{"action":null,"battery":100,"device":{"applicationVersion":68,"dateCode":"","friendlyName":"0xa4c1386fe637d220","hardwareVersion":1,"ieeeAddr":"0xa4c1386fe637d220","manufacturerID":4417,"manufacturerName":"_TZ3000_ee8nrt2l","model":"TS0044","networkAddress":22155,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2025-02-05T23:31:15+01:00","linkquality":65,"voltage":3000}'
info 2025-02-05 23:31:17z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0xa4c1386fe637d220","ieee_address":"0xa4c1386fe637d220"},"type":"device_announce"}'


error 2025-02-05 23:53:09z2m: Failed to configure '0xa4c1386fe637d220', attempt 1 (Error: ZCL command 0xa4c1386fe637d220/1 genBasic.read(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 9339 - 1 - 251 - 0 - 1 after 10000ms) at Object.start (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/waitress.ts:67:23) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:663:47) at processTicksAndRejections (node:internal/process/task_queues:105:5) at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:695:28) at /app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:443:20 at Queue.execute (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/utils/queue.ts:36:20) at ZStackAdapter.sendZclFrameToEndpoint (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:441:16) at Request.send (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:82:20) at Endpoint.sendRequest (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:324:20) at Endpoint.zclCommand (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:949:28))
info 2025-02-05 23:53:09z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/configure', payload '{"data":{},"error":"Failed to configure (ZCL command 0xa4c1386fe637d220/1 genBasic.read(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Timeout - 9339 - 1 - 251 - 0 - 1 after 10000ms))","status":"error","transaction":"3skab-7"}'

@xelemorf xelemorf changed the title 'MAC transaction expired' when pairing a new tuya-ts0044 (Loratap ss6400zb-v2) device 'MAC transaction expired' and 'No network route' when pairing a new tuya-ts0044 (Loratap ss6400zb-v2) device Feb 4, 2025
@xelemorf
Copy link
Author

xelemorf commented Feb 5, 2025

I’m not sure why, but rapidly pressing all the buttons simultaneously in a frantic manner somehow acted as a workaround. Repeatedly pressing just a single button didn’t help. The device is now successfully paired - don’t ask me why this worked, but I’m just glad it did!

Interestingly, pairing the other device of the exact same type didn’t require any such tricks. That said, this definitely warrants further investigation.

@xelemorf
Copy link
Author

xelemorf commented Feb 6, 2025

To me, this appears to be a broader issue, as newly added devices seem to exhibit the same behavior.

Today, I attempted to add another device which is also supported (Tuya ZG-204ZL), and it also remained stuck in pairing mode during the interview process. As a result, Z2M did not properly confirm a successful pairing with the device. Later on, once the device exited pairing mode on its own, the "last seen" value in Z2M also became stuck. Since this device has only a single button for pairing, repeatedly pressing it didn’t help in this case, and the Z2M pairing countdown eventually timed out.

Tried pairing a different new device: Tuya SH-SC07, and the situation is exactly the same. Z2M reports a successful pairing and interview, but the device remains in pairing mode.

@xelemorf xelemorf changed the title 'MAC transaction expired' and 'No network route' when pairing a new tuya-ts0044 (Loratap ss6400zb-v2) device New devices remain stuck in pairing mode despite Z2M considering them as successfully interviewed Feb 6, 2025
@xelemorf
Copy link
Author

xelemorf commented Feb 7, 2025

Found something to try:
In case pairing new devices is not working, re-pair some routers close to the coordinator while only permitting joining via the coordinator. Pairing should then work via routers that have been re-paired.
https://www.zigbee2mqtt.io/guide/faq/#how-do-i-migrate-from-one-adapter-to-another

@terosteros
Copy link

i think I might have the same issue your having interviewing over and over says its joined by does not?

@terosteros
Copy link

Tried the below no luck same thing occurred.

Found something to try: In case pairing new devices is not working, re-pair some routers close to the coordinator while only permitting joining via the coordinator. Pairing should then work via routers that have been repaired. https://www.zigbee2mqtt.io/guide/faq/#how-do-i-migrate-from-one-adapter-to-another

@xelemorf
Copy link
Author

@Koenkk Can you please advise?

@xelemorf
Copy link
Author

Same issue observed with the following supported Aqara TVOC and Smoke detection devices.
Devices which were already successfully paired before can be removed and repaired anytime. Some brand new devices cannot be paired leaving the device in pairing mode.

@xelemorf
Copy link
Author

@Koenkk Can you please advise? We are kind of stuck on this one.

@terosteros
Copy link

are you using a Sonoff ZBDongle-P? I am thinking I might try and cutover to a SMBLIGHT have a few around the house will see it it changes anything updated the firmware and no change.

@xelemorf
Copy link
Author

xelemorf commented Feb 14, 2025

I'm using SMLIGHT SLZB-06 (CC2652P).
I've spun up a freshly installed HA instance with Z2M, and the problematic devices are working fine, just as I thought. The whole issue is kind of wierd, as new devices of the same type and same firmware cannot be added to Z2M.

I've re-paired most of my routers and tried to connect new devices to those aswell, that did not help. Additionally had some issues re-adding some smart plugs which I fully removed then tried to add them back, eventually was successful like for the 8th time.

I've migrated from Sonoff Dongle-P (CC2652P) couple of months ago, I was surprised that I did not had to re-pair all my devices as all of them were readily available, guess that just seemed too good to be true.

My next step would be to update my zigbee device inventory with all the names, comments and settings and starting a fresh Z2M instance from scratch. I just need to find some time as it would need the better part of a day with my 161 devices I use currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants