妖神z2mz2m网关esp8266如果掉线,zigbee2mqtt服务就关闭了,无法继续工作,有什么办法解决吗?
configurtion.yamll配置
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: ‘mqtt://127.0.0.1’
user: mqtt
password:xxxxxx
serial:
port: ‘tcp://192.168.124.83:8880’
日志
Zigbee2MQTT:info 2020-12-06 12:31:18: MQTT publish: topic ‘zigbee2mqtt/0x00158d0001a8ea38’, payload ‘{“linkquality”:171,“occupancy”:false}’
(node:19047) UnhandledPromiseRejectionWarning: Error: SRSP - ZDO - mgmtPermitJoinReq after 6000ms
at Timeout.waiter.timer.setTimeout [as _onTimeout] (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/utils/waitress.js:46:35)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
(node:19047) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Zigbee2MQTT:error 2020-12-06 12:33:55: Adapter disconnected, stopping
Zigbee2MQTT:info 2020-12-06 12:33:55: MQTT publish: topic ‘zigbee2mqtt/bridge/state’, payload ‘offline’
Zigbee2MQTT:info 2020-12-06 12:33:55: Disconnecting from MQTT server
Zigbee2MQTT:error 2020-12-06 12:33:55: Failed to stop zigbee
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.16.2 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.16.2 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: