SHARE
TWEET

zigbee2mqtt

a guest Feb 16th, 2020 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > zigbee2mqtt@1.10.0 start /opt/zigbee2mqtt
  2. > node index.js
  3.  
  4. winston:create-logger Define prototype method for "error"
  5. winston:create-logger Define prototype method for "warn"
  6. winston:create-logger Define prototype method for "info"
  7. winston:create-logger Define prototype method for "http"
  8. winston:create-logger Define prototype method for "verbose"
  9. winston:create-logger Define prototype method for "debug"
  10. winston:create-logger Define prototype method for "silly"
  11. winston:create-logger Define prototype method for "error"
  12. winston:create-logger Define prototype method for "warn"
  13. winston:create-logger Define prototype method for "info"
  14. winston:create-logger Define prototype method for "http"
  15. winston:create-logger Define prototype method for "verbose"
  16. winston:create-logger Define prototype method for "debug"
  17. winston:create-logger Define prototype method for "silly"
  18. zigbee2mqtt:info  2020-02-16 20:57:12: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-02-16.20-57-12' filename: log.txt
  19. winston:file written true false
  20. zigbee2mqtt:debug 2020-02-16 20:57:12: Removing old log directory '/opt/zigbee2mqtt/data/log/2020-02-16.17-33-43'
  21. winston:file written true false
  22. zigbee2mqtt:debug 2020-02-16 20:57:13: Can't load state from file /opt/zigbee2mqtt/data/state.json (doesn't exist)
  23. winston:file written true false
  24. winston:file logged 127 info  2020-02-16 20:57:12: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-02-16.20-57-12' filename: log.txt
  25.  
  26. winston:file logged 229 debug 2020-02-16 20:57:12: Removing old log directory '/opt/zigbee2mqtt/data/log/2020-02-16.17-33-43'
  27.  
  28. winston:file logged 332 debug 2020-02-16 20:57:13: Can't load state from file /opt/zigbee2mqtt/data/state.json (doesn't exist)
  29.  
  30. winston:file ENOENT ok /opt/zigbee2mqtt/data/log/2020-02-16.20-57-12/log.txt
  31. winston:file stat done: log.txt { size: 0 }
  32. winston:file create stream start /opt/zigbee2mqtt/data/log/2020-02-16.20-57-12/log.txt { flags: 'a' }
  33. winston:file create stream ok /opt/zigbee2mqtt/data/log/2020-02-16.20-57-12/log.txt
  34. winston:file file open ok /opt/zigbee2mqtt/data/log/2020-02-16.20-57-12/log.txt
  35. zigbee2mqtt:info  2020-02-16 20:57:13: Starting zigbee2mqtt version 1.10.0 (commit #8df6be8)
  36. winston:file written true false
  37. zigbee2mqtt:info  2020-02-16 20:57:13: Starting zigbee-herdsman...
  38. winston:file written true false
  39. zigbee2mqtt:debug 2020-02-16 20:57:13: Using zigbee-herdsman with settings: '{"network":{"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11],"networkKey":"HIDDEN"},"databasePath":"/opt/zigbee2mqtt/data/database.db","databaseBackupPath":"/opt/zigbee2mqtt/data/database.db.backup","backupPath":"/opt/zigbee2mqtt/data/coordinator_backup.json","serialPort":{"baudRate":115200,"rtscts":true,"path":"/dev/ttyACM0"}}'
  40. winston:file written true false
  41.   serialport/bindings loading LinuxBinding +0ms
  42.   serialport/stream .list +0ms
  43. winston:file logged 81 info  2020-02-16 20:57:13: Starting zigbee2mqtt version 1.10.0 (commit #8df6be8)
  44.  
  45. winston:file logged 136 info  2020-02-16 20:57:13: Starting zigbee-herdsman...
  46.  
  47. winston:file logged 565 debug 2020-02-16 20:57:13: Using zigbee-herdsman with settings: '{"network":{"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11],"networkKey":"HIDDEN"},"databasePath":"/opt/zigbee2mqtt/data/database.db","databaseBackupPath":"/opt/zigbee2mqtt/data/database.db.backup","backupPath":"/opt/zigbee2mqtt/data/coordinator_backup.json","serialPort":{"baudRate":115200,"rtscts":true,"path":"/dev/ttyACM0"}}'
  48.  
  49.   zigbee-herdsman:adapter Path '/dev/ttyACM0' is valid for 'ZStackAdapter' +0ms
  50.   zigbee-herdsman:controller:log Starting with options '{"network":{"networkKeyDistribute":false,"networkKey":[1,3,5,7,9,11,13,15,0,2,4,6,8,10,12,13],"panID":6754,"extendedPanID":[221,221,221,221,221,221,221,221],"channelList":[11]},"serialPort":{"baudRate":115200,"rtscts":true,"path":"/dev/ttyACM0"},"databasePath":"/opt/zigbee2mqtt/data/database.db","databaseBackupPath":"/opt/zigbee2mqtt/data/database.db.backup","backupPath":"/opt/zigbee2mqtt/data/coordinator_backup.json"}' +0ms
  51.   zigbee-herdsman:adapter:zStack:znp:log Opening SerialPort with /dev/ttyACM0 and {"baudRate":115200,"rtscts":true,"autoOpen":false} +0ms
  52.   serialport/stream opening path: /dev/ttyACM0 +467ms
  53.   serialport/binding-abstract open +0ms
  54.   serialport/stream _read queueing _read for after open +7ms
  55.   serialport/stream Binding #open had an error [Error: Error Resource temporarily unavailable Cannot lock port] +4ms
  56. zigbee2mqtt:error 2020-02-16 20:57:14: Error while starting zigbee-herdsman
  57. winston:file written true false
  58. zigbee2mqtt:error 2020-02-16 20:57:14: Failed to start zigbee
  59. winston:file written true false
  60. zigbee2mqtt:error 2020-02-16 20:57:14: Exiting...
  61. winston:file written true false
  62. zigbee2mqtt:error 2020-02-16 20:57:14: Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
  63.     at Znp.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:113:32)
  64.     at Generator.next (<anonymous>)
  65.     at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:8:71
  66.     at new Promise (<anonymous>)
  67.     at __awaiter (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:4:12)
  68.     at SerialPort.serialPort.open (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:111:49)
  69.     at SerialPort._error (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
  70.     at binding.open.then.err (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12)
  71. winston:file written true false
  72. npm ERR! code ELIFECYCLE
  73. npm ERR! errno 1
  74. npm ERR! zigbee2mqtt@1.10.0 start: `node index.js`
  75. npm ERR! Exit status 1
  76. npm ERR!
  77. npm ERR! Failed at the zigbee2mqtt@1.10.0 start script.
  78. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  79.  
  80. npm ERR! A complete log of this run can be found in:
  81. npm ERR!     /home/pi/.npm/_logs/2020-02-17T04_57_14_732Z-debug.log
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top