Hi,
I’m sorry if it’s duplicate post
I already search and read some topic but not found the answer.
My problem is I have Pi installed Hass,
then I install addon Mosquito broker and config
{
"logins": [
{
"username": "hassio",
"password": "hassio"
}
],
"anonymous": false,
"customize": {
"active": false,
"folder": "mosquitto"
},
"certfile": "fullchain.pem",
"keyfile": "privkey.pem"
}
and install Zigbee2MQTT (https://github.com/danielwelch/hassio-zigbee2mqtt) and config
{
"data_path": "/share/zigbee2mqtt",
"homeassistant": true,
"permit_join": false,
"mqtt_base_topic": "zigbee2mqtt",
"mqtt_server": "mqtt://homeassistant",
"serial_port": "/dev/ttyACM0",
"devices": [],
"network_key": []
}
I use USB Zigbee2MQTT already flashed.
I check in the hardware, it shows
serial:
/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E20ABF-if00
/dev/ttyAMA0
/dev/ttyACM0
When I start Zigbee2MQTT addon, it show below error.
npm ERR! /root/.npm/_logs/2019-07-02T06_44_31_387Z-debug.log
2019-07-02T06:44:34: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-07-02T06:44:34: PM2 log: App [npm:0] starting in -fork mode-
2019-07-02T06:44:34: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.4.0
> node index.js
zigbee2mqtt:info 7/2/2019, 6:44:37 AM Logging to directory: '/share/zigbee2mqtt/log/2019-07-02.06-44-37'
zigbee2mqtt:info 7/2/2019, 6:44:39 AM Starting zigbee2mqtt version 1.4.0 (commit #unknown)
zigbee2mqtt:info 7/2/2019, 6:44:39 AM Starting zigbee-shepherd
zigbee2mqtt:info 7/2/2019, 6:44:46 AM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: request timeout)
zigbee2mqtt:info 7/2/2019, 6:45:46 AM Starting zigbee-shepherd
/zigbee2mqtt-1.4.0/node_modules/cc-znp/lib/ccznp.js:80
debug('The serialport ' + self._sp.path + ' is opened.');
^
TypeError: Cannot read property 'path' of null
at Timeout.setTimeout [as _onTimeout] (/zigbee2mqtt-1.4.0/node_modules/cc-znp/lib/ccznp.js:80:56)
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)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR!
Failed at the [email protected] 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:
npm ERR! /root/.npm/_logs/2019-07-02T06_45_47_356Z-debug.log
2019-07-02T06:45:50: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-07-02T06:45:50: PM2 log: App [npm:0] starting in -fork mode-
2019-07-02T06:45:50: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.4.0
> node index.js
zigbee2mqtt:info 7/2/2019, 6:45:53 AM Logging to directory: '/share/zigbee2mqtt/log/2019-07-02.06-45-53'
zigbee2mqtt:info 7/2/2019, 6:45:54 AM Starting zigbee2mqtt version 1.4.0 (commit #unknown)
zigbee2mqtt:info 7/2/2019, 6:45:54 AM Starting zigbee-shepherd
zigbee2mqtt:info 7/2/2019, 6:46:02 AM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: request timeout)
zigbee2mqtt:info 7/2/2019, 6:47:02 AM Starting zigbee-shepherd
/zigbee2mqtt-1.4.0/node_modules/cc-znp/lib/ccznp.js:80
debug('The serialport ' + self._sp.path + ' is opened.');
^
TypeError: Cannot read property 'path' of null
at Timeout.setTimeout [as _onTimeout] (/zigbee2mqtt-1.4.0/node_modules/cc-znp/lib/ccznp.js:80:56)
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)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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:
npm ERR! /root/.npm/_logs/2019-07-02T06_47_03_228Z-debug.log
2019-07-02T06:47:05: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-07-02T06:47:05: PM2 log: App [npm:0] starting in -fork mode-
2019-07-02T06:47:05: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.4.0
> node index.js
zigbee2mqtt:info 7/2/2019, 6:47:09 AM Logging to directory: '/share/zigbee2mqtt/log/2019-07-02.06-47-09'
zigbee2mqtt:info 7/2/2019, 6:47:10 AM Starting zigbee2mqtt version 1.4.0 (commit #unknown)
zigbee2mqtt:info 7/2/2019, 6:47:10 AM Starting zigbee-shepherd
zigbee2mqtt:info 7/2/2019, 6:47:17 AM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: request timeout)
zigbee2mqtt:info 7/2/2019, 6:48:18 AM Starting zigbee-shepherd
/zigbee2mqtt-1.4.0/node_modules/cc-znp/lib/ccznp.js:80
debug('The serialport ' + self._sp.path + ' is opened.');
^
TypeError: Cannot read property 'path' of null
at Timeout.setTimeout [as _onTimeout] (/zigbee2mqtt-1.4.0/node_modules/cc-znp/lib/ccznp.js:80:56)
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)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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:
npm ERR! /root/.npm/_logs/2019-07-02T06_48_19_099Z-debug.log
2019-07-02T06:48:21: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-07-02T06:48:21: PM2 log: App [npm:0] starting in -fork mode-
2019-07-02T06:48:21: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.4.0
> node index.js
zigbee2mqtt:info 7/2/2019, 6:48:25 AM Logging to directory: '/share/zigbee2mqtt/log/2019-07-02.06-48-25'
zigbee2mqtt:info 7/2/2019, 6:48:26 AM Starting zigbee2mqtt version 1.4.0 (commit #unknown)
zigbee2mqtt:info 7/2/2019, 6:48:26 AM Starting zigbee-shepherd
zigbee2mqtt:info 7/2/2019, 6:48:33 AM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: request timeout)
===========
Any idea, comment is really appreciate
Thanks all for reading