All worked for a year. Last couple of weeks all Zigbee devices have started to get unresponsive - I needed to restart the add-on z2mqtt.
I replaced the adaptor with another similar, same problem.
Change usb port, usb cable, no change, same problem. Every 12 hours or so, z2mqtt becomes unresponsive - adaptor error.
See below the log:
2024-01-22T15:19:28.109Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 3
2024-01-22T15:19:28.109Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:28.111Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 3 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:28.263Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 2
2024-01-22T15:19:28.263Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:28.265Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 2 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:29.357Z zigbee-herdsman:adapter:ezsp:driv Reset connection. Try 3
2024-01-22T15:19:29.357Z zigbee-herdsman:adapter:ezsp:driv Stop driver
2024-01-22T15:19:29.357Z zigbee-herdsman:adapter:ezsp:ezsp Stop ezsp
2024-01-22T15:19:29.357Z zigbee-herdsman:adapter:ezsp:ezsp Close ezsp
2024-01-22T15:19:29.357Z zigbee-herdsman:adapter:ezsp:driv Close driver
2024-01-22T15:19:30.358Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:30.363Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 1 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:30.402Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 3
2024-01-22T15:19:30.402Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:30.407Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 3 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:31.117Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 4
2024-01-22T15:19:31.118Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:31.120Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 4 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:31.322Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 5
2024-01-22T15:19:31.323Z zigbee-herdsman:adapter:ezsp:erro Reset error Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:277:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:139:9)
at Driver.onReset (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:111:17)
2024-01-22T15:19:31.323Z zigbee-herdsman:adapter:ezsp:driv Pause 60sec before try 5
2024-01-22T15:19:32.435Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 4
2024-01-22T15:19:32.435Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:32.437Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 4 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:33.080Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 4
2024-01-22T15:19:33.085Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:33.087Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 4 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:33.089Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 4
2024-01-22T15:19:33.090Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:33.092Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 4 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:33.111Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 4
2024-01-22T15:19:33.112Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:33.114Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 4 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:33.265Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 3
2024-01-22T15:19:33.266Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:33.268Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 3 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:34.188Z zigbee-herdsman:adapter:ezsp:driv Reset connection. Try 8
2024-01-22T15:19:34.188Z zigbee-herdsman:adapter:ezsp:driv Stop driver
2024-01-22T15:19:34.188Z zigbee-herdsman:adapter:ezsp:ezsp Stop ezsp
2024-01-22T15:19:34.189Z zigbee-herdsman:adapter:ezsp:ezsp Close ezsp
2024-01-22T15:19:34.189Z zigbee-herdsman:adapter:ezsp:driv Close driver
2024-01-22T15:19:35.190Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:35.193Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 1 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:35.363Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 2
2024-01-22T15:19:35.364Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:35.366Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 2 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:35.407Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 4
2024-01-22T15:19:35.408Z zigbee-herdsman:adapter:ezsp:uart Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_20230529104419-if00”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
2024-01-22T15:19:35.410Z zigbee-herdsman:adapter:ezsp:erro Connection attempt 4 error: Error: Error while opening serialport ‘Error: Error Resource temporarily unavailable Cannot lock port’
at SerialPort. (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:94:28)
at SerialPort._error (/app/node_modules/@serialport/stream/dist/index.js:82:22)
at /app/node_modules/@serialport/stream/dist/index.js:118:18
2024-01-22T15:19:35.943Z zigbee-herdsman:adapter:ezsp:ezsp Time to watchdog … 1
2024-01-22T15:19:35.943Z zigbee-herdsman:adapter:ezsp:ezsp ==> nop: null
2024-01-22T15:19:36.121Z zigbee-herdsman:adapter:ezsp:ezsp Next attempt 5
2024-01-22T15:19:36.122Z zigbee-herdsman:adapter:ezsp:erro Reset error Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:277:19)
at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:139:9)
at Driver.onReset (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:111:17)
2024-01-22T15:19:36.122Z zigbee-herdsman:adapter:ezsp:driv Pause 60sec before try 10