Пытаюсь подключить модуль zigbee, как оказалось у меня старая версия v1, судя по всему ревизия 1.2С
Версия WB 2207(более свежая написано не будет работать с модулем).
Служба не хочет стартовать. В логах ругается на node js
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’ ]
2 info using npm@6.14.8
3 info using node@v12.19.0
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle zigbee2mqtt@1.18.1~prestart: zigbee2mqtt@1.18.1
6 info lifecycle zigbee2mqtt@1.18.1~start: zigbee2mqtt@1.18.1
7 verbose lifecycle zigbee2mqtt@1.18.1~start: unsafe-perm in lifecycle true
8 verbose lifecycle zigbee2mqtt@1.18.1~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/data/root/zigbee2mqtt/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle zigbee2mqtt@1.18.1~start: CWD: /mnt/data/root/zigbee2mqtt
10 silly lifecycle zigbee2mqtt@1.18.1~start: Args: [ ‘-c’, ‘node index.js’ ]
11 silly lifecycle zigbee2mqtt@1.18.1~start: Returned: code: 1 signal: null
12 info lifecycle zigbee2mqtt@1.18.1~start: Failed to exec start script
13 verbose stack Error: zigbee2mqtt@1.18.1 start: node index.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid zigbee2mqtt@1.18.1
15 verbose cwd /mnt/data/root/zigbee2mqtt
16 verbose Linux 5.10.35-wb120+wb101
17 verbose argv “/usr/bin/node” “/usr/bin/npm” “start”
18 verbose node v12.19.0
19 verbose npm v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error zigbee2mqtt@1.18.1 start: node index.js
22 error Exit status 1
23 error Failed at the zigbee2mqtt@1.18.1 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
В логах системы нашел что не запускается zigbee-herdsman, и похоже ему не нравится модуль расширения. Но он у меня точно 4й и указан верно в конфиге.
Feb 19 19:21:53 wirenboard-ATM5ZUHF npm[7935]: > zigbee2mqtt@1.18.1 start /mnt/data/root/zigbee2mqtt
Feb 19 19:21:53 wirenboard-ATM5ZUHF npm[7935]: > node index.js
Feb 19 19:22:09 wirenboard-ATM5ZUHF npm[7935]: Zigbee2MQTT:info 2023-02-19 19:22:09: Logging to console and directory: ‘/mnt/data/root/zigbee2mqtt/data/log/2023-02-19.19-22-01’ filename: log.txt
Feb 19 19:22:10 wirenboard-ATM5ZUHF npm[7935]: Zigbee2MQTT:info 2023-02-19 19:22:10: Starting Zigbee2MQTT version 1.18.1 (commit #unknown)
Feb 19 19:22:10 wirenboard-ATM5ZUHF npm[7935]: Zigbee2MQTT:info 2023-02-19 19:22:10: Starting zigbee-herdsman (0.13.71)
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: Zigbee2MQTT:error 2023-02-19 19:22:15: Error while starting zigbee-herdsman
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: Zigbee2MQTT:error 2023-02-19 19:22:15: Failed to start zigbee
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: Zigbee2MQTT:error 2023-02-19 19:22:15: Exiting…
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: Zigbee2MQTT:error 2023-02-19 19:22:15: Error: Error while opening serialport ‘Error: Error: No such file or directory, cannot open /dev/ttyMOD4’
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at Znp. (/mnt/data/root/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at Generator.next ()
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at /mnt/data/root/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at new Promise ()
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at __awaiter (/mnt/data/root/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at SerialPort. (/mnt/data/root/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at SerialPort._error (/mnt/data/root/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: at /mnt/data/root/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! code ELIFECYCLE
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! errno 1
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! zigbee2mqtt@1.18.1 start: node index.js
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! Exit status 1
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR!
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! Failed at the zigbee2mqtt@1.18.1 start script.
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! A complete log of this run can be found in:
Feb 19 19:22:15 wirenboard-ATM5ZUHF npm[7935]: npm ERR! /root/.npm/_logs/2023-02-19T19_22_15_633Z-debug.log
Feb 19 19:22:15 wirenboard-ATM5ZUHF systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
Feb 19 19:22:15 wirenboard-ATM5ZUHF systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Feb 19 19:22:15 wirenboard-ATM5ZUHF systemd[1]: zigbee2mqtt.service: Failed with result ‘exit-code’.
Feb 19 19:22:32 wirenboard-ATM5ZUHF wb-rules[2031]: INFO: network/Ethernet 2 IP: failed to convert value ‘’, passing raw
Feb 19 19:22:32 wirenboard-ATM5ZUHF wb-rules[2031]: Device “ppp0” does not exist.
Feb 19 19:22:32 wirenboard-ATM5ZUHF wb-rules[2031]: INFO: network/Wi-Fi 2 IP: failed to convert value ‘’, passing raw
Feb 19 19:22:32 wirenboard-ATM5ZUHF wb-rules[2031]: INFO: network/GPRS IP: failed to convert value ‘’, passing raw
Feb 19 19:23:32 wirenboard-ATM5ZUHF wb-rules[2031]: INFO: network/Ethernet 2 IP: failed to convert value ‘’, passing raw
Feb 19 19:23:32 wirenboard-ATM5ZUHF wb-rules[2031]: INFO: network/Wi-Fi 2 IP: failed to convert value ‘’, passing raw
Feb 19 19:23:32 wirenboard-ATM5ZUHF wb-rules[2031]: Device “ppp0” does not exist.
Feb 19 19:23:32 wirenboard-ATM5ZUHF wb-rules[2031]: INFO: network/GPRS IP: failed to convert value ‘’, passing raw
Feb 19 19:23:45 wirenboard-ATM5ZUHF systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Feb 19 19:23:45 wirenboard-ATM5ZUHF systemd[1]: Stopped zigbee2mqtt.
– Subject: Unit zigbee2mqtt.service has finished shutting down
Мой конфиг такой:
homeassistant: false
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: ‘mqtt://localhost’
serial:
port: /dev/ttyMOD4
frontend:
port: 8081
host: 0.0.0.0
advanced:
rtscts: false
last_seen: epoch
pan_id: 48857
network_key:
- 167
- 188
- 14
- 243
- 214
- 21
- 250
- 77
- 81
- 24
- 0
- 239
- 249
- 18
- 58
- 89