Не стартует zigbee2mqtt


#1

В чем может быть проблема?

Aug 13 20:17:29 wirenboard systemd[1]: Started zigbee2mqtt.
Aug 13 20:17:34 wirenboard npm[6457]: > zigbee2mqtt@1.2.1 start /mnt/data/root/zigbee2mqtt
Aug 13 20:17:34 wirenboard npm[6457]: > node index.js
Aug 13 20:17:38 wirenboard npm[6457]: zigbee2mqtt:info 8/13/2019, 8:17:38 PM Logging to directory: ‘/mnt/data/root/zigbee2mqtt/data/log/2019-08-13.20-17-38’
Aug 13 20:17:41 wirenboard npm[6457]: zigbee2mqtt:info 8/13/2019, 8:17:41 PM Starting zigbee2mqtt version 1.2.1 (commit #a78cbfb)
Aug 13 20:17:41 wirenboard npm[6457]: zigbee2mqtt:info 8/13/2019, 8:17:41 PM Starting zigbee-shepherd
Aug 13 20:17:43 wirenboard npm[6457]: zigbee2mqtt:info 8/13/2019, 8:17:43 PM Error while starting zigbee-shepherd, attempting to fix… (takes 60 seconds)
Aug 13 20:18:43 wirenboard npm[6457]: zigbee2mqtt:info 8/13/2019, 8:18:43 PM Starting zigbee-shepherd
Aug 13 20:18:45 wirenboard npm[6457]: zigbee2mqtt:error 8/13/2019, 8:18:45 PM Error while starting zigbee-shepherd!
Aug 13 20:18:45 wirenboard npm[6457]: zigbee2mqtt:error 8/13/2019, 8:18:45 PM Press the reset button on the stick (the one closest to the USB) and start again
Aug 13 20:18:45 wirenboard npm[6457]: zigbee2mqtt:error 8/13/2019, 8:18:45 PM Failed to start
Aug 13 20:18:45 wirenboard npm[6457]: {“message”:“request timeout”,“stack”:“Error: request timeout\n at CcZnp. (/mnt/data/root/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:261:22)\n at Object.onceWrapper (events.js:286:20)\n at CcZnp.emit (events.js:198:13)\n at Timeout. (/mnt/data/root/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:240:18)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)”}
Aug 13 20:18:45 wirenboard npm[6457]: zigbee2mqtt:error 8/13/2019, 8:18:45 PM Exiting…
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! code ELIFECYCLE
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! errno 1
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! zigbee2mqtt@1.2.1 start: node index.js
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! Exit status 1
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR!
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! Failed at the zigbee2mqtt@1.2.1 start script.
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! A complete log of this run can be found in:
Aug 13 20:19:15 wirenboard npm[6457]: npm ERR! /root/.npm/_logs/2019-08-13T20_19_15_801Z-debug.log
Aug 13 20:19:15 wirenboard systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
Aug 13 20:19:15 wirenboard systemd[1]: zigbee2mqtt.service: Unit entered failed state.
Aug 13 20:19:15 wirenboard systemd[1]: zigbee2mqtt.service: Failed with result ‘exit-code’.
Aug 13 20:19:16 wirenboard systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
Aug 13 20:19:16 wirenboard systemd[1]: Stopped zigbee2mqtt.


#2

Добрый день, rx6lcr!
zigbee2mqtt не наш прогшраммный продукт, поэтому наверняка сложно сказать, в чем проблема.
На гитхабе в репозитории разработчика описано решение:
https://github.com/Koenkk/zigbee2mqtt/issues/721 (добавить дополнительную опцию в configuration.yaml). Можете попробовать?


назначил(а) ответственного Ianni #3

#4

Посмотрел: этот шаг подробно описан в разделе “Конфигурация” в Центре документации.