Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.77k stars 1.64k forks source link

Zigbee2mqtt won't start in HA OS VM #21329

Closed eswenson1 closed 1 week ago

eswenson1 commented 7 months ago

What happened?

When I try to start zigbee2mqtt in Home Assistant (HA OS VM running under Ubuntu 22.04 LTS), it fails with the following messages in the log:

[17:03:55] INFO: Preparing to start...
[17:03:55] INFO: Socat not enabled
[17:03:57] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2024-02-09 17:03:59: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-09.17-03-59' filename: log.txt
Zigbee2MQTT:info  2024-02-09 17:03:59: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-09 17:03:59: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:error 2024-02-09 17:04:19: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-09 17:04:19: Failed to start zigbee
Zigbee2MQTT:error 2024-02-09 17:04:19: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-09 17:04:19: Exiting...
Zigbee2MQTT:error 2024-02-09 17:04:19: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

I have verified that I have write access to /dev/ttyUSB0. In fact, using the HA Zigbee Home Automation add-on, it can connect to the ZiGate USB-TTL 3.21 USB Dongle (a ThirdReality Zibgee USB Dongle) fine, and even get it into pairing mode. In that mode, however, it fails to find my ThirdReality Wireless Motion Sensor, so upon recommendations of various people, I'm trying zigbee2mqtt. But as you can see, above, it never starts successfully. I've even turned on zigbee-herdsman debug logging and see nothing useful in the logs.

I do have the mosquitto add-on configured.

What do you recommend?

What did you expect to happen?

I expected zigbee2mqtt to come up.

How to reproduce it (minimal and precise)

Simply bring up HA OS (latest version) in a QEMU VM on Ubuntu 22.04. Install the mosquitto add-on and then the zigbee2mqtt add-on. Ensure that the VM can see and write to the /dev/ttyUSB0 device (the Zigbee USB dongle) and try to start the zigbee2mqtt add-on. It will fail with the above messages (at least on my setup).

Zigbee2MQTT version

1.35.3-1

Adapter firmware version

Can't get to frontend.

Adapter

ThirdReality Zigbee USB Dongle

Setup

Add-on in Home Assistant. HA OS running in QEMU VM.

Debug log

[17:19:03] INFO: Preparing to start...
[17:19:04] INFO: Socat not enabled
[17:19:04] INFO: Zigbee Herdsman debug logging enabled
[17:19:05] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2024-02-09 17:19:07: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-02-09 17:19:07: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-09.17-19-07' filename: log.txt
Zigbee2MQTT:debug 2024-02-09 17:19:07: Removing old log directory '/config/zigbee2mqtt/log/2024-02-09.16-59-58'
Zigbee2MQTT:info  2024-02-09 17:19:07: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-09 17:19:07: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:debug 2024-02-09 17:19:07: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[211,232,136,60,94,15,219,154],"networkKey":"HIDDEN","panID":42162},"serialPort":{"path":"/dev/ttyUSB0"}}'
2024-02-10T01:19:07.799Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2024-02-10T01:19:07.801Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[132,64,49,19,144,154,102,183,88,79,20,19,229,5,74,18],"panID":42162,"extendedPanID":[211,232,136,60,94,15,219,154],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB0"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2024-02-10T01:19:07.801Z zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
2024-02-10T01:19:07.826Z zigbee-herdsman:adapter:zStack:znp:log Serialport opened
2024-02-10T01:19:07.828Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-02-10T01:19:07.829Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-02-10T01:19:08.082Z zigbee-herdsman:adapter:zStack:znp:log Writing CC2530/CC2531 skip bootloader payload
2024-02-10T01:19:08.082Z zigbee-herdsman:adapter:zStack:unpi:writer --> buffer [239]
2024-02-10T01:19:09.086Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-02-10T01:19:09.087Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-02-10T01:19:09.339Z zigbee-herdsman:adapter:zStack:znp:log Skip bootloader for CC2652/CC1352
2024-02-10T01:19:09.811Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-02-10T01:19:09.813Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-02-10T01:19:15.819Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-02-10T01:19:15.821Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
2024-02-10T01:19:21.823Z zigbee-herdsman:adapter:zStack:znp:SREQ --> SYS - ping - {"capabilities":1}
2024-02-10T01:19:21.823Z zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,0,33,1,32]
Zigbee2MQTT:error 2024-02-09 17:19:27: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-09 17:19:27: Failed to start zigbee
Zigbee2MQTT:error 2024-02-09 17:19:27: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-09 17:19:27: Exiting...
Zigbee2MQTT:error 2024-02-09 17:19:27: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)
chris-1243 commented 7 months ago

Could you provide your configuration.yaml ?

eswenson1 commented 7 months ago
data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: "-d -d"
  log: false
mqtt: {}
serial:
  port: /dev/ttyUSB0
advanced:
  log_level: debug
zigbee_herdsman_debug: true
chris-1243 commented 7 months ago

According to your log, Z2M tries to use z-stack. As you are using a zigate coordinator, you should modify your configuration.yaml as shown below.

serial:
  port: /dev/ttyUSB0
  adapter: zigate

You may check the documentation via this link

eswenson1 commented 7 months ago

Thanks. That appears to allow it to progress further. The log now says:

[09:50:49] INFO: Preparing to start...
[09:50:49] INFO: Socat not enabled
[09:50:49] INFO: Zigbee Herdsman debug logging enabled
[09:50:50] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2024-02-10 09:50:53: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info  2024-02-10 09:50:53: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-10.09-50-53' filename: log.txt
Zigbee2MQTT:debug 2024-02-10 09:50:53: Removing old log directory '/config/zigbee2mqtt/log/2024-02-09.17-01-28'
Zigbee2MQTT:info  2024-02-10 09:50:53: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info  2024-02-10 09:50:53: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:debug 2024-02-10 09:50:53: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[211,232,136,60,94,15,219,154],"networkKey":"HIDDEN","panID":42162},"serialPort":{"adapter":"zigate","path":"/dev/ttyUSB0"}}'
2024-02-10T17:50:53.501Z zigbee-herdsman:adapter Failed to validate path: 'Error: spawn udevadm ENOENT'
2024-02-10T17:50:53.503Z zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[132,64,49,19,144,154,102,183,88,79,20,19,229,5,74,18],"panID":42162,"extendedPanID":[211,232,136,60,94,15,219,154],"channelList":[11]},"serialPort":{"path":"/dev/ttyUSB0","adapter":"zigate"},"databasePath":"/config/zigbee2mqtt/database.db","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","backupPath":"/config/zigbee2mqtt/coordinator_backup.json","adapter":{"disableLED":false,"concurrent":null,"delay":null}}'
2024-02-10T17:50:53.542Z zigbee-herdsman:adapter:zigate:driver:log Serialport opened
2024-02-10T17:50:53.543Z zigbee-herdsman:adapter:zigate:adapter:log Connected to ZiGate adapter successfully.
2024-02-10T17:50:53.548Z zigbee-herdsman:adapter:zigate:driver:log Send command >>>> Reset 0x0011 <<<< 
Payload: {}
2024-02-10T17:50:53.554Z zigbee-herdsman:adapter:zigate:driver:log ZiGateFrame { msgCodeBytes: <Buffer 00 11>, msgLengthBytes: <Buffer 00 00>, checksumBytes: <Buffer 11>, msgPayloadBytes: <Buffer >, rssiBytes: <Buffer >, msgLengthOffset: 0 }
2024-02-10T17:50:53.556Z zigbee-herdsman:adapter:zigate:driver:log <-- send command  <Buffer 01 02 10 11 02 10 02 10 11 03>
2024-02-10T17:50:53.556Z zigbee-herdsman:adapter:zigate:driver:log DisableResponse: false

But when I return to the Info tab, the START button is still available, and I don't see any button to allow me to connect to the web ui for zigbee2mqtt. It seems it actually didn't start.

eswenson1 commented 7 months ago

Actually, waiting a little longer, I get these additional messages in the log:

Zigbee2MQTT:error 2024-02-10 09:52:59: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-10 09:52:59: Failed to start zigbee
Zigbee2MQTT:error 2024-02-10 09:52:59: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-10 09:52:59: Exiting...
Zigbee2MQTT:error 2024-02-10 09:53:00: Error: failed to connect to zigate adapter [object Object] after 5000ms
    at ZiGateAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/zigate/adapter/zigateAdapter.ts:101:19)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:538:9)
    at processTimers (node:internal/timers:512:7)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:60:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)
chris-1243 commented 7 months ago

I read you had successful tries with ZHA. Is the addon off completely? It may occur ZHA could still be connected to your coordinator.

eswenson1 commented 7 months ago

I had not disabled ZHA. Disabling it leads to these logs when starting zigbee2mqt:

2024-02-10T19:34:56.398Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 00>, msgLengthBytes: <Buffer 00 09>, checksumBytes: <Buffer 99>, msgPayloadBytes: <Buffer 00 00 00 10 00 00 00 00>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:56.399Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> Status 0x8000 <<<< 
2024-02-10T19:34:56.400Z zigbee-herdsman:adapter:zigate:driver:ziGateObject:error Last bytes of data were not parsed 00 00 00 10 00 00 00 00  
2024-02-10T19:34:56.400Z zigbee-herdsman:adapter:zigate:driver:log { status: 0, sequence: 0, packetType: 16 }
2024-02-10T19:34:56.404Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 10>, msgLengthBytes: <Buffer 00 05>, checksumBytes: <Buffer b4>, msgPayloadBytes: <Buffer 00 03 03 21>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:56.404Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> VersionList 0x8010 <<<< 
2024-02-10T19:34:56.405Z zigbee-herdsman:adapter:zigate:driver:log { major: 0, minor: 3, revision: 8451 }
Zigbee2MQTT:info  2024-02-10 11:34:56: Coordinator firmware version: '{"meta":{"maintrel":"2103","majorrel":"0","minorrel":"3","product":0,"revision":"2103","transportrev":0},"type":"zigate"}'
2024-02-10T19:34:56.408Z zigbee-herdsman:adapter:zigate:adapter:log getNetworkParameters
2024-02-10T19:34:56.409Z zigbee-herdsman:adapter:zigate:driver:log Send command >>>> GetNetworkState 0x0009 <<<< 
Payload: {}
2024-02-10T19:34:56.410Z zigbee-herdsman:adapter:zigate:driver:log ZiGateFrame { msgCodeBytes: <Buffer 00 09>, msgLengthBytes: <Buffer 00 00>, checksumBytes: <Buffer 09>, msgPayloadBytes: <Buffer >, rssiBytes: <Buffer >, msgLengthOffset: 0 }
2024-02-10T19:34:56.410Z zigbee-herdsman:adapter:zigate:driver:log <-- send command  <Buffer 01 02 10 02 19 02 10 02 10 02 19 03>
2024-02-10T19:34:56.410Z zigbee-herdsman:adapter:zigate:driver:log DisableResponse: false
2024-02-10T19:34:56.425Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 00>, msgLengthBytes: <Buffer 00 09>, checksumBytes: <Buffer 80>, msgPayloadBytes: <Buffer 00 00 00 09 00 00 00 00>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:56.426Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> Status 0x8000 <<<< 
2024-02-10T19:34:56.426Z zigbee-herdsman:adapter:zigate:driver:ziGateObject:error Last bytes of data were not parsed 00 00 00 09 00 00 00 00  
2024-02-10T19:34:56.426Z zigbee-herdsman:adapter:zigate:driver:log { status: 0, sequence: 0, packetType: 9 }
2024-02-10T19:34:56.519Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 09>, msgLengthBytes: <Buffer 00 16>, checksumBytes: <Buffer 09>, msgPayloadBytes: <Buffer 00 00 b8 3d fb 60 83 22 00 00 23 04 dd dd dd dd dd dd dd dd 0f>, rssiBytes: <Buffer 01>, msgLengthOffset: -1 }
2024-02-10T19:34:56.519Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> NetworkState 0x8009 <<<< 
2024-02-10T19:34:56.521Z zigbee-herdsman:adapter:zigate:driver:log { shortAddress: 0, extendedAddress: '0xb83dfb6083220000', PANID: 8964, ExtPANID: '0xdddddddddddddddd', Channel: 15 }
Zigbee2MQTT:debug 2024-02-10 11:34:56: Zigbee network parameters: {"channel":15,"extendedPanID":"0xdddddddddddddddd","panID":8964}
Zigbee2MQTT:info  2024-02-10 11:34:56: Currently 0 devices are joined:
Zigbee2MQTT:info  2024-02-10 11:34:56: Zigbee: disabling joining new devices.
2024-02-10T19:34:56.534Z zigbee-herdsman:controller:log Disable joining
2024-02-10T19:34:56.539Z zigbee-herdsman:adapter:zigate:adapter:error source endpoint 242, not supported
2024-02-10T19:34:56.541Z zigbee-herdsman:adapter:zigate:driver:log Send command >>>> PermitJoin 0x0049 <<<< 
Payload: { targetShortAddress: 65532, interval: 0, TCsignificance: 0 }
2024-02-10T19:34:56.542Z zigbee-herdsman:adapter:zigate:driver:log ZiGateFrame { msgCodeBytes: <Buffer 00 49>, msgLengthBytes: <Buffer 00 03>, checksumBytes: <Buffer 49>, msgPayloadBytes: <Buffer ff fc 00>, rssiBytes: <Buffer >, msgLengthOffset: 0 }
2024-02-10T19:34:56.543Z zigbee-herdsman:adapter:zigate:driver:log <-- send command  <Buffer 01 02 10 49 02 10 02 13 49 ff fc 02 10 03>
2024-02-10T19:34:56.544Z zigbee-herdsman:adapter:zigate:driver:log DisableResponse: false
2024-02-10T19:34:56.561Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 00>, msgLengthBytes: <Buffer 00 09>, checksumBytes: <Buffer c0>, msgPayloadBytes: <Buffer 00 00 00 49 00 00 00 00>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:56.562Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> Status 0x8000 <<<< 
2024-02-10T19:34:56.563Z zigbee-herdsman:adapter:zigate:driver:ziGateObject:error Last bytes of data were not parsed 00 00 00 49 00 00 00 00  
2024-02-10T19:34:56.563Z zigbee-herdsman:adapter:zigate:driver:log { status: 0, sequence: 0, packetType: 73 }
Zigbee2MQTT:info  2024-02-10 11:34:56: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:debug 2024-02-10 11:34:56: Using MQTT login with username: addons
Zigbee2MQTT:info  2024-02-10 11:34:56: Connected to MQTT server
Zigbee2MQTT:info  2024-02-10 11:34:56: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
2024-02-10T19:34:56.970Z zigbee-herdsman:adapter:zigate:adapter:log getCoordinatorVersion
2024-02-10T19:34:56.971Z zigbee-herdsman:adapter:zigate:driver:log Send command >>>> GetVersion 0x0010 <<<< 
Payload: {}
2024-02-10T19:34:56.971Z zigbee-herdsman:adapter:zigate:driver:log ZiGateFrame { msgCodeBytes: <Buffer 00 10>, msgLengthBytes: <Buffer 00 00>, checksumBytes: <Buffer 10>, msgPayloadBytes: <Buffer >, rssiBytes: <Buffer >, msgLengthOffset: 0 }
2024-02-10T19:34:56.972Z zigbee-herdsman:adapter:zigate:driver:log <-- send command  <Buffer 01 02 10 02 00 02 10 02 10 02 00 03>
2024-02-10T19:34:56.972Z zigbee-herdsman:adapter:zigate:driver:log DisableResponse: false
2024-02-10T19:34:56.987Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 00>, msgLengthBytes: <Buffer 00 09>, checksumBytes: <Buffer 99>, msgPayloadBytes: <Buffer 00 00 00 10 00 00 00 00>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:56.987Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> Status 0x8000 <<<< 
2024-02-10T19:34:56.987Z zigbee-herdsman:adapter:zigate:driver:ziGateObject:error Last bytes of data were not parsed 00 00 00 10 00 00 00 00  
2024-02-10T19:34:56.988Z zigbee-herdsman:adapter:zigate:driver:log { status: 0, sequence: 0, packetType: 16 }
2024-02-10T19:34:56.991Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 10>, msgLengthBytes: <Buffer 00 05>, checksumBytes: <Buffer b4>, msgPayloadBytes: <Buffer 00 03 03 21>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:56.991Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> VersionList 0x8010 <<<< 
2024-02-10T19:34:56.992Z zigbee-herdsman:adapter:zigate:driver:log { major: 0, minor: 3, revision: 8451 }
Zigbee2MQTT:info  2024-02-10 11:34:57: Started frontend on port 8099
2024-02-10T19:34:57.143Z zigbee-herdsman:adapter:zigate:adapter:log getCoordinatorVersion
2024-02-10T19:34:57.143Z zigbee-herdsman:adapter:zigate:driver:log Send command >>>> GetVersion 0x0010 <<<< 
Payload: {}
2024-02-10T19:34:57.144Z zigbee-herdsman:adapter:zigate:driver:log ZiGateFrame { msgCodeBytes: <Buffer 00 10>, msgLengthBytes: <Buffer 00 00>, checksumBytes: <Buffer 10>, msgPayloadBytes: <Buffer >, rssiBytes: <Buffer >, msgLengthOffset: 0 }
2024-02-10T19:34:57.144Z zigbee-herdsman:adapter:zigate:driver:log <-- send command  <Buffer 01 02 10 02 00 02 10 02 10 02 00 03>
2024-02-10T19:34:57.144Z zigbee-herdsman:adapter:zigate:driver:log DisableResponse: false
2024-02-10T19:34:57.158Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 00>, msgLengthBytes: <Buffer 00 09>, checksumBytes: <Buffer 99>, msgPayloadBytes: <Buffer 00 00 00 10 00 00 00 00>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:57.158Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> Status 0x8000 <<<< 
2024-02-10T19:34:57.158Z zigbee-herdsman:adapter:zigate:driver:ziGateObject:error Last bytes of data were not parsed 00 00 00 10 00 00 00 00  
2024-02-10T19:34:57.159Z zigbee-herdsman:adapter:zigate:driver:log { status: 0, sequence: 0, packetType: 16 }
2024-02-10T19:34:57.163Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 10>, msgLengthBytes: <Buffer 00 05>, checksumBytes: <Buffer b4>, msgPayloadBytes: <Buffer 00 03 03 21>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:57.163Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> VersionList 0x8010 <<<< 
2024-02-10T19:34:57.164Z zigbee-herdsman:adapter:zigate:driver:log { major: 0, minor: 3, revision: 8451 }
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"unknown","coordinator":{"meta":{"maintrel":"2103","majorrel":"0","minorrel":"3","product":0,"revision":"2103","transportrev":0},"type":"zigate"},"log_level":"debug","network":{"channel":15,"extendedPanID":"0xdddddddddddddddd","panID":8964},"permit_join":false,"version":"1.35.3"}'
2024-02-10T19:34:57.169Z zigbee-herdsman:adapter:zigate:adapter:log getCoordinatorVersion
2024-02-10T19:34:57.169Z zigbee-herdsman:adapter:zigate:driver:log Send command >>>> GetVersion 0x0010 <<<< 
Payload: {}
2024-02-10T19:34:57.170Z zigbee-herdsman:adapter:zigate:driver:log ZiGateFrame { msgCodeBytes: <Buffer 00 10>, msgLengthBytes: <Buffer 00 00>, checksumBytes: <Buffer 10>, msgPayloadBytes: <Buffer >, rssiBytes: <Buffer >, msgLengthOffset: 0 }
2024-02-10T19:34:57.170Z zigbee-herdsman:adapter:zigate:driver:log <-- send command  <Buffer 01 02 10 02 00 02 10 02 10 02 00 03>
2024-02-10T19:34:57.170Z zigbee-herdsman:adapter:zigate:driver:log DisableResponse: false
2024-02-10T19:34:57.184Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 00>, msgLengthBytes: <Buffer 00 09>, checksumBytes: <Buffer 99>, msgPayloadBytes: <Buffer 00 00 00 10 00 00 00 00>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:57.185Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> Status 0x8000 <<<< 
2024-02-10T19:34:57.185Z zigbee-herdsman:adapter:zigate:driver:ziGateObject:error Last bytes of data were not parsed 00 00 00 10 00 00 00 00  
2024-02-10T19:34:57.185Z zigbee-herdsman:adapter:zigate:driver:log { status: 0, sequence: 0, packetType: 16 }
2024-02-10T19:34:57.189Z zigbee-herdsman:adapter:zigate:driver:frame:log ZiGateFrame { msgCodeBytes: <Buffer 80 10>, msgLengthBytes: <Buffer 00 05>, checksumBytes: <Buffer b4>, msgPayloadBytes: <Buffer 00 03 03 21>, rssiBytes: <Buffer 00>, msgLengthOffset: -1 }
2024-02-10T19:34:57.189Z zigbee-herdsman:adapter:zigate:driver:log --> parsed frame >>>> VersionList 0x8010 <<<< 
2024-02-10T19:34:57.190Z zigbee-herdsman:adapter:zigate:driver:log { major: 0, minor: 3, revision: 8451 }
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0xb83dfb6083220000/connection_state/config', payload '{"device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0xb83dfb6083220000_connection_state_zigbee2mqtt","value_template":"{{ value }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0xb83dfb6083220000/restart_required/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"device_class":"problem","enabled_by_default":false,"entity_category":"diagnostic","name":"Restart required","object_id":"zigbee2mqtt_bridge_restart_required","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_restart_required_zigbee2mqtt","value_template":"{{ value_json.restart_required }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/button/1221051039810110150109113116116_0xb83dfb6083220000/restart/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/restart","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT 
Bridge","sw_version":"1.35.3"},"device_class":"restart","name":"Restart","object_id":"zigbee2mqtt_bridge_restart","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_press":"","unique_id":"bridge_0xb83dfb6083220000_restart_zigbee2mqtt"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/select/1221051039810110150109113116116_0xb83dfb6083220000/log_level/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_template":"{\"options\": {\"advanced\": {\"log_level\": \"{{ value }}\" } } }","command_topic":"zigbee2mqtt/bridge/request/options","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"entity_category":"config","name":"Log level","object_id":"zigbee2mqtt_bridge_log_level","options":["info","warn","error","debug"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_log_level_zigbee2mqtt","value_template":"{{ value_json.log_level | lower }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0xb83dfb6083220000/version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"entity_category":"diagnostic","icon":"mdi:zigbee","name":"Version","object_id":"zigbee2mqtt_bridge_version","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_version_zigbee2mqtt","value_template":"{{ value_json.version }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0xb83dfb6083220000/coordinator_version/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT 
Bridge","sw_version":"1.35.3"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:chip","name":"Coordinator version","object_id":"zigbee2mqtt_bridge_coordinator_version","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_coordinator_version_zigbee2mqtt","value_template":"{{ value_json.coordinator.meta.revision }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0xb83dfb6083220000/network_map/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"enabled_by_default":false,"entity_category":"diagnostic","json_attributes_template":"{{ value_json.data.value | tojson }}","json_attributes_topic":"zigbee2mqtt/bridge/response/networkmap","name":"Network map","object_id":"zigbee2mqtt_bridge_network_map","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/response/networkmap","unique_id":"bridge_0xb83dfb6083220000_network_map_zigbee2mqtt","value_template":"{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/sensor/1221051039810110150109113116116_0xb83dfb6083220000/permit_join_timeout/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"device_class":"duration","entity_category":"diagnostic","name":"Permit join timeout","object_id":"zigbee2mqtt_bridge_permit_join_timeout","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_permit_join_timeout_zigbee2mqtt","unit_of_measurement":"s","value_template":"{{ iif(value_json.permit_join_timeout is defined, value_json.permit_join_timeout, None) }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'homeassistant/switch/1221051039810110150109113116116_0xb83dfb6083220000/permit_join/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/permit_join","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"icon":"mdi:human-greeting-proximity","name":"Permit join","object_id":"zigbee2mqtt_bridge_permit_join","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_permit_join_zigbee2mqtt","value_template":"{{ value_json.permit_join | lower }}"}'
Zigbee2MQTT:info  2024-02-10 11:34:57: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2024-02-10 11:34:57: Zigbee2MQTT started!
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/binary_sensor/1221051039810110150109113116116_0xb83dfb6083220000/connection_state/config' with data '{"device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0xb83dfb6083220000_connection_state_zigbee2mqtt","value_template":"{{ value }}"}'
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/binary_sensor/1221051039810110150109113116116_0xb83dfb6083220000/restart_required/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"device_class":"problem","enabled_by_default":false,"entity_category":"diagnostic","name":"Restart 
required","object_id":"zigbee2mqtt_bridge_restart_required","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":false,"payload_on":true,"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_restart_required_zigbee2mqtt","value_template":"{{ value_json.restart_required }}"}'
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/button/1221051039810110150109113116116_0xb83dfb6083220000/restart/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/restart","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"device_class":"restart","name":"Restart","object_id":"zigbee2mqtt_bridge_restart","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_press":"","unique_id":"bridge_0xb83dfb6083220000_restart_zigbee2mqtt"}'
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/select/1221051039810110150109113116116_0xb83dfb6083220000/log_level/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_template":"{\"options\": {\"advanced\": {\"log_level\": \"{{ value }}\" } } }","command_topic":"zigbee2mqtt/bridge/request/options","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"entity_category":"config","name":"Log level","object_id":"zigbee2mqtt_bridge_log_level","options":["info","warn","error","debug"],"origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_log_level_zigbee2mqtt","value_template":"{{ value_json.log_level | lower }}"}'
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/sensor/1221051039810110150109113116116_0xb83dfb6083220000/version/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/
state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"entity_category":"diagnostic","icon":"mdi:zigbee","name":"Version","object_id":"zigbee2mqtt_bridge_version","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_version_zigbee2mqtt","value_template":"{{ value_json.version }}"}'
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/sensor/1221051039810110150109113116116_0xb83dfb6083220000/coordinator_version/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:chip","name":"Coordinator version","object_id":"zigbee2mqtt_bridge_coordinator_version","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_coordinator_version_zigbee2mqtt","value_template":"{{ value_json.coordinator.meta.revision }}"}'
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/sensor/1221051039810110150109113116116_0xb83dfb6083220000/network_map/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"enabled_by_default":false,"entity_category":"diagnostic","json_attributes_template":"{{ value_json.data.value | tojson }}","json_attributes_topic":"zigbee2mqtt/bridge/response/networkmap","name":"Network map","object_id":"zigbee2mqtt_bridge_network_map","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/bridge/response/networkmap","unique_id":"bridge_0xb83dfb6083220000_network_map_zigbee2mqtt","value_template":"{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"}'
Zigbee2MQTT:debug 2024-02-10 11:34:57: Received MQTT message on 'homeassistant/switch/1221051039810110150109113116116_0xb83dfb6083220000/permit_join/config' with data '{"availability":[{"topic":"zigbee2mqtt/bridge/state"}],"availability_mode":"all","command_topic":"zigbee2mqtt/bridge/request/permit_join","device":{"hw_version":"zigate 2103","identifiers":["zigbee2mqtt_bridge_0xb83dfb6083220000"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.3"},"icon":"mdi:human-greeting-proximity","name":"Permit join","object_id":"zigbee2mqtt_bridge_permit_join","origin":{"name":"Zigbee2MQTT","sw":"1.35.3","url":"https://www.zigbee2mqtt.io"},"payload_off":"false","payload_on":"true","state_topic":"zigbee2mqtt/bridge/info","unique_id":"bridge_0xb83dfb6083220000_permit_join_zigbee2mqtt","value_template":"{{ value_json.permit_join | lower }}"}'

But switching to Info tab still shows START button active, and no web ui button.

Why is it checking the version so many times? Why is it unable to parse some bytes at the end of the response? Can you tell from the log what it is unhappy about?

eswenson1 commented 7 months ago

Hmm.... it seems it is started (despite having a START button and no web ui button). I had added zibgee2mqtt to the sidebar, and clicking on it does bring up a UI. My ThirdReality Zigbee Motion Sensor, of course, was not showing up. So I clicked the button "Permit Join" button, and the blue light on my ThirdReality Zigbee USB Dongle started flashing. I placed my ThirdReality Zigbee Motion Sensor near my USB Dongle, and put it into pairing mode. It started flashing blue and the USB Dongle did a blue/green led dance, and then eventually, my Motion Sensor went back to not flashing (only flashing red when it sensed motion).

The zigbee2mqtt log shows this:

debug 2024-02-10 11:43:41Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":null,"time":254,"transaction":"kninv-1","value":true}'
info 2024-02-10 11:43:41Zigbee: allowing new devices to join.
info 2024-02-10 11:43:41MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"kninv-1"}'
debug 2024-02-10 11:44:54Saving state to file /config/zigbee2mqtt/state.json
debug 2024-02-10 11:49:54Saving state to file /config/zigbee2mqtt/state.json

I don't see any devices found in the devices list. What now?

chris-1243 commented 7 months ago

Would you just confirm ZHA is disabled. You can not have ZHA and Z2M trying to use the same coordinator. It is either ZHA or Z2M.

The herdsmann debug log is out of my scope of knowledges. As Zigate adapter are still experimental in Z2M, I would suggest some codes have to be improved.

Some end devices (like motion sensors, remotes, etc) are known to be hard to pair. You will have to retry several times if not successful the first time

threadstone83 commented 7 months ago

Since today I have the same problem. I can not start Z2M. I have nothing changed in the last days, only updated to 1.35.3-1. I use zigbee2MQTT.

EDIT: Problem solved. I restarted HA and now it seems that it works.

eswenson1 commented 7 months ago

Would you just confirm ZHA is disabled. You can not have ZHA and Z2M trying to use the same coordinator. It is either ZHA or Z2M.

Yes. I disabled ZHA. That is what allowed things to progress to the point they have.

It would appear zigbee2mqt is installed and running now, and can talk to the Zigbee USB dongle. I just can’t (yet) pair my motion sensor.

Some end devices (like motion sensors, remotes, etc) are known to be hard to pair. You will have to retry several times if not successful the first time

ok. I’ll try it a few more times. I also should attach usb dongle via an extension cable to get it away from other radios.

github-actions[bot] commented 1 month ago

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