Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pi@raspberrypi:/opt/zigbee2mqtt $ DEBUG=* npm start
- > zigbee2mqtt@1.3.1 start /opt/zigbee2mqtt
- > node index.js
- zigbee2mqtt:info 4/29/2019, 6:29:25 PM Logging to directory: '/opt/zigbee2mqtt/data/log/2019-04-29.18-29-25'
- serialport/bindings loading LinuxBinding +0ms
- zigbee2mqtt:debug 4/29/2019, 6:29:26 PM Using zigbee-shepherd with settings: '{"net":{"panId":6754,"extPanId":[221,221,221,221,221,221,221,221],"channelList":[11],"precfgkey":"HIDDEN"},"dbPath":"/opt/zigbee2mqtt/data/database.db","coordBackupPath":"/opt/zigbee2mqtt/data/coordinator_backup.json","sp":{"baudRate":115200,"rtscts":true}}'
- zigbee2mqtt:debug 4/29/2019, 6:29:26 PM Loaded state from file /opt/zigbee2mqtt/data/state.json
- zigbee2mqtt:debug 4/29/2019, 6:29:26 PM Saving state to file /opt/zigbee2mqtt/data/state.json
- zigbee2mqtt:info 4/29/2019, 6:29:26 PM Starting zigbee2mqtt version 1.3.1 (commit #4472c01)
- zigbee2mqtt:info 4/29/2019, 6:29:26 PM Starting zigbee-shepherd
- zigbee-shepherd:init zigbee-shepherd booting... +0ms
- cc-znp Initialize, opening serial port +0ms
- serialport/stream opening path: /dev/ttyACM0 +0ms
- serialport/binding-abstract open +0ms
- serialport/stream _read queueing _read for after open +6ms
- serialport/bindings/poller Creating poller +0ms
- serialport/stream opened path: /dev/ttyACM0 +9ms
- cc-znp The serialport /dev/ttyACM0 is opened. +17ms
- serialport/stream _read reading +3ms
- serialport/binding-abstract read +17ms
- serialport/bindings/unixRead Starting read +0ms
- zigbee-shepherd:request REQ --> SYS:osalNvRead +0ms
- cc-znp:SREQ --> SYS:osalNvRead, { id: 3840, offset: 0, len: 1, value: [ 85 ] } +0ms
- serialport/stream _write 8 bytes of data +28ms
- serialport/binding-abstract write 8 bytes +28ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +0ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +33ms
- serialport/bindings/poller Polling for "readable" +41ms
- serialport/bindings/unixWrite write returned null 8 +6ms
- serialport/bindings/unixWrite wrote 8 bytes +0ms
- serialport/bindings/unixWrite Finished writing 8 bytes +0ms
- serialport/stream binding.write write finished +11ms
- serialport/bindings/poller received "readable" +40ms
- serialport/binding-abstract read +47ms
- serialport/bindings/unixRead Starting read +42ms
- serialport/bindings/unixRead Finished read 7 bytes +1ms
- serialport/stream binding.read finished +40ms
- cc-znp { sof: 254,
- cc-znp len: 2,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'osalNvRead',
- cc-znp payload: { status: 2, len: 0, value: <Buffer > },
- cc-znp fcs: 105,
- cc-znp csum: 105 } +100ms
- serialport/stream _read reading +27ms
- serialport/binding-abstract read +31ms
- serialport/bindings/unixRead Starting read +29ms
- cc-znp:SRSP <-- SYS:osalNvRead, { status: 2, len: 0, value: <Buffer > } +0ms
- zigbee-shepherd:request RSP <-- SYS:osalNvRead, status: 2 +105ms
- zigbee-shepherd:init Non-Volatile memory is changed. +0ms
- zigbee-shepherd Starting a hardware reset... +0ms
- zigbee-shepherd:request REQ --> SYS:resetReq +10ms
- cc-znp:AREQ --> SYS:resetReq, { type: 1 } +0ms
- serialport/stream _write 6 bytes of data +18ms
- serialport/binding-abstract write 6 bytes +17ms
- serialport/bindings/unixWrite Starting write 6 bytes offset 0 bytesToWrite 6 +88ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +20ms
- serialport/bindings/poller Polling for "readable" +51ms
- serialport/bindings/unixWrite write returned null 6 +2ms
- serialport/bindings/unixWrite wrote 6 bytes +0ms
- serialport/bindings/unixWrite Finished writing 6 bytes +1ms
- serialport/stream binding.write write finished +5ms
- serialport/bindings/poller received "readable" +2s
- serialport/binding-abstract read +2s
- serialport/bindings/unixRead Starting read +2s
- serialport/bindings/unixRead Finished read 11 bytes +1ms
- serialport/stream binding.read finished +2s
- cc-znp { sof: 254,
- cc-znp len: 6,
- cc-znp type: 'AREQ',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'resetInd',
- cc-znp payload:
- cc-znp { reason: 0,
- cc-znp transportrev: 2,
- cc-znp productid: 2,
- cc-znp majorrel: 2,
- cc-znp minorrel: 7,
- cc-znp hwrev: 2 },
- cc-znp fcs: 192,
- cc-znp csum: 192 } +2s
- serialport/stream _read reading +6ms
- serialport/binding-abstract read +8ms
- serialport/bindings/unixRead Starting read +7ms
- cc-znp:AREQ <-- SYS:resetInd, { reason: 0, transportrev: 2, productid: 2, majorrel: 2, minorrel: 7, hwrev: 2 } +2s
- zigbee-shepherd:msgHdlr IND <-- SYS:resetInd +0ms
- zigbee-shepherd:request RSP <-- SYS:resetReq +2s
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +3ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 3, len: 1, value: [ 2 ] } +3s
- serialport/stream _write 8 bytes of data +11ms
- serialport/binding-abstract write 8 bytes +10ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +2s
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +11ms
- serialport/bindings/poller Polling for "readable" +21ms
- serialport/bindings/unixWrite write returned null 8 +1ms
- serialport/bindings/unixWrite wrote 8 bytes +0ms
- serialport/bindings/unixWrite Finished writing 8 bytes +1ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +20ms
- serialport/binding-abstract read +23ms
- serialport/bindings/unixRead Starting read +22ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +21ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +65ms
- serialport/stream _read reading +30ms
- serialport/binding-abstract read +32ms
- serialport/bindings/unixRead Starting read +32ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +3s
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +64ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +9ms
- serialport/bindings/poller Polling for "readable" +43ms
- zigbee-shepherd:request REQ --> SYS:resetReq +16ms
- cc-znp:AREQ --> SYS:resetReq, { type: 1 } +86ms
- serialport/stream _write 6 bytes of data +25ms
- serialport/binding-abstract write 6 bytes +24ms
- serialport/bindings/unixWrite Starting write 6 bytes offset 0 bytesToWrite 6 +77ms
- serialport/bindings/unixWrite write returned null 6 +1ms
- serialport/bindings/unixWrite wrote 6 bytes +0ms
- serialport/bindings/unixWrite Finished writing 6 bytes +0ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +3s
- serialport/binding-abstract read +3s
- serialport/bindings/unixRead Starting read +3s
- serialport/bindings/unixRead Finished read 11 bytes +0ms
- serialport/stream binding.read finished +3s
- cc-znp { sof: 254,
- cc-znp len: 6,
- cc-znp type: 'AREQ',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'resetInd',
- cc-znp payload:
- cc-znp { reason: 0,
- cc-znp transportrev: 2,
- cc-znp productid: 2,
- cc-znp majorrel: 2,
- cc-znp minorrel: 7,
- cc-znp hwrev: 2 },
- cc-znp fcs: 192,
- cc-znp csum: 192 } +3s
- serialport/stream _read reading +8ms
- serialport/binding-abstract read +11ms
- serialport/bindings/unixRead Starting read +10ms
- cc-znp:AREQ <-- SYS:resetInd, { reason: 0, transportrev: 2, productid: 2, majorrel: 2, minorrel: 7, hwrev: 2 } +3s
- zigbee-shepherd:msgHdlr IND <-- SYS:resetInd +3s
- zigbee-shepherd:request RSP <-- SYS:resetReq +3s
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +4ms
- serialport/bindings/poller Polling for "readable" +16ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +12ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 131, len: 2, value: [ 98, 26 ] } +3s
- serialport/stream _write 9 bytes of data +19ms
- serialport/binding-abstract write 9 bytes +19ms
- serialport/bindings/unixWrite Starting write 9 bytes offset 0 bytesToWrite 9 +3s
- serialport/bindings/unixWrite write returned null 9 +0ms
- serialport/bindings/unixWrite wrote 9 bytes +1ms
- serialport/bindings/unixWrite Finished writing 9 bytes +0ms
- serialport/stream binding.write write finished +4ms
- serialport/bindings/poller received "readable" +20ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +21ms
- serialport/bindings/unixRead Finished read 6 bytes +1ms
- serialport/stream binding.read finished +4ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +34ms
- serialport/stream _read reading +11ms
- serialport/binding-abstract read +13ms
- serialport/bindings/unixRead Starting read +12ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +3s
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +25ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +3ms
- serialport/bindings/poller Polling for "readable" +18ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +12ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 45, len: 8, value: [ 221, 221, 221, 221, 221, 221, 221, 221 ] } +37ms
- serialport/stream _write 15 bytes of data +18ms
- serialport/binding-abstract write 15 bytes +18ms
- serialport/bindings/unixWrite Starting write 15 bytes offset 0 bytesToWrite 15 +36ms
- serialport/bindings/unixWrite write returned null 15 +0ms
- serialport/bindings/unixWrite wrote 15 bytes +1ms
- serialport/bindings/unixWrite Finished writing 15 bytes +0ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +19ms
- serialport/binding-abstract read +5ms
- serialport/bindings/unixRead Starting read +21ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +5ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +36ms
- serialport/stream _read reading +5ms
- serialport/binding-abstract read +8ms
- serialport/bindings/unixRead Starting read +7ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +31ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +19ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +3ms
- serialport/bindings/poller Polling for "readable" +11ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +10ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 132, len: 4, value: [ 0, 8, 0, 0 ] } +29ms
- serialport/stream _write 11 bytes of data +16ms
- serialport/binding-abstract write 11 bytes +16ms
- serialport/bindings/unixWrite Starting write 11 bytes offset 0 bytesToWrite 11 +28ms
- serialport/bindings/unixWrite write returned null 11 +0ms
- serialport/bindings/unixWrite wrote 11 bytes +1ms
- serialport/bindings/unixWrite Finished writing 11 bytes +0ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +18ms
- serialport/binding-abstract read +5ms
- serialport/bindings/unixRead Starting read +19ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +4ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +29ms
- serialport/stream _read reading +6ms
- serialport/binding-abstract read +8ms
- serialport/bindings/unixRead Starting read +7ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +29ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +19ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +3ms
- serialport/bindings/poller Polling for "readable" +11ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +10ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 135, len: 1, value: [ 0 ] } +29ms
- serialport/stream _write 8 bytes of data +16ms
- serialport/binding-abstract write 8 bytes +16ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +27ms
- serialport/bindings/unixWrite write returned null 8 +1ms
- serialport/bindings/unixWrite wrote 8 bytes +0ms
- serialport/bindings/unixWrite Finished writing 8 bytes +1ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +26ms
- serialport/binding-abstract read +14ms
- serialport/bindings/unixRead Starting read +27ms
- serialport/bindings/unixRead Finished read 6 bytes +1ms
- serialport/stream binding.read finished +13ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +38ms
- serialport/stream _read reading +6ms
- serialport/binding-abstract read +7ms
- serialport/bindings/unixRead Starting read +7ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +37ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +27ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +12ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +12ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 98, len: 16, value: [ 1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13 ] } +39ms
- serialport/stream _write 23 bytes of data +17ms
- serialport/binding-abstract write 23 bytes +18ms
- serialport/bindings/unixWrite Starting write 23 bytes offset 0 bytesToWrite 23 +38ms
- serialport/bindings/unixWrite write returned null 23 +0ms
- serialport/bindings/unixWrite wrote 23 bytes +0ms
- serialport/bindings/unixWrite Finished writing 23 bytes +1ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +20ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +21ms
- serialport/bindings/unixRead Finished read 6 bytes +1ms
- serialport/stream binding.read finished +5ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +31ms
- serialport/stream _read reading +7ms
- serialport/binding-abstract read +8ms
- serialport/bindings/unixRead Starting read +8ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +32ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +20ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +11ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +11ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 99, len: 1, value: [ 0 ] } +31ms
- serialport/stream _write 8 bytes of data +16ms
- serialport/binding-abstract write 8 bytes +17ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +30ms
- serialport/bindings/unixWrite write returned null 8 +0ms
- serialport/bindings/unixWrite wrote 8 bytes +1ms
- serialport/bindings/unixWrite Finished writing 8 bytes +0ms
- serialport/stream binding.write write finished +4ms
- serialport/bindings/poller received "readable" +30ms
- serialport/binding-abstract read +16ms
- serialport/bindings/unixRead Starting read +31ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +15ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +42ms
- serialport/stream _read reading +6ms
- serialport/binding-abstract read +8ms
- serialport/bindings/unixRead Starting read +8ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +41ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +30ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +11ms
- zigbee-shepherd:request REQ --> SYS:osalNvWrite +11ms
- cc-znp:SREQ --> SYS:osalNvWrite, { id: 257, offset: 0, len: 32, value: [ 255, 255, 255, 255, 255, 255, 255, 255, 90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57, 0, 0, 0, 0, 0, 0, 0, 0 ] } +41ms
- serialport/stream _write 41 bytes of data +17ms
- serialport/binding-abstract write 41 bytes +18ms
- serialport/bindings/unixWrite Starting write 41 bytes offset 0 bytesToWrite 41 +41ms
- serialport/bindings/unixWrite write returned null 41 +0ms
- serialport/bindings/unixWrite wrote 41 bytes +1ms
- serialport/bindings/unixWrite Finished writing 41 bytes +0ms
- serialport/stream binding.write write finished +4ms
- serialport/bindings/poller received "readable" +33ms
- serialport/binding-abstract read +18ms
- serialport/bindings/unixRead Starting read +34ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +17ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'osalNvWrite',
- cc-znp payload: { status: 2 },
- cc-znp fcs: 107,
- cc-znp csum: 107 } +43ms
- serialport/stream _read reading +6ms
- serialport/binding-abstract read +8ms
- serialport/bindings/unixRead Starting read +8ms
- cc-znp:SRSP <-- SYS:osalNvWrite, { status: 2 } +44ms
- zigbee-shepherd:request RSP <-- SYS:osalNvWrite, status: 2 +33ms
- zigbee-shepherd:init Coordinator initialize had an error: Error: rsp error: 2
- at rspHdlr (/opt/zigbee2mqtt/node_modules/zigbee-shepherd/lib/components/controller.js:309:29)
- at CcZnp.<anonymous> (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:264:13)
- at Object.onceWrapper (events.js:277:13)
- at CcZnp.emit (events.js:189:13)
- at CcZnp._mtIncomingDataHdlr (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:366:14)
- at Immediate._onImmediate (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:342:22)
- at runCallback (timers.js:705:18)
- at tryOnImmediate (timers.js:676:5)
- at processImmediate (timers.js:658:5) +6s
- zigbee2mqtt:info 4/29/2019, 6:29:32 PM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: rsp error: 2)
- serialport/stream #flush +11ms
- serialport/binding-abstract flush +12ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +12ms
- serialport/bindings/poller Polling for "readable" +22ms
- serialport/stream binding.flush finished +4ms
- serialport/stream #close +1ms
- serialport/binding-abstract close +5ms
- serialport/bindings/poller Stopping poller +4ms
- serialport/bindings/poller Destroying poller +1ms
- serialport/stream binding.read error { Error: Canceled
- at Poller.emitCanceled (/opt/zigbee2mqtt/node_modules/cc-znp/node_modules/@serialport/bindings/lib/poller.js:101:17)
- at Poller.stop (/opt/zigbee2mqtt/node_modules/cc-znp/node_modules/@serialport/bindings/lib/poller.js:91:10)
- at close.then (/opt/zigbee2mqtt/node_modules/cc-znp/node_modules/@serialport/bindings/lib/linux.js:48:19) canceled: true } +4ms
- serialport/stream _read queueing _read for after open +2ms
- serialport/stream binding.close finished +1ms
- cc-znp The serialport /dev/ttyACM0 is closed. +29ms
- zigbee2mqtt:info 4/29/2019, 6:30:32 PM Starting zigbee-shepherd
- zigbee-shepherd:init zigbee-shepherd booting... +1m
- cc-znp Initialize, opening serial port +1m
- serialport/stream opening path: /dev/ttyACM0 +1m
- serialport/binding-abstract open +1m
- serialport/stream _read queueing _read for after open +1ms
- serialport/bindings/poller Creating poller +1m
- serialport/stream opened path: /dev/ttyACM0 +3ms
- cc-znp The serialport /dev/ttyACM0 is opened. +5ms
- serialport/stream _read reading +2ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +1m
- zigbee-shepherd:request REQ --> SYS:osalNvRead +1m
- cc-znp:SREQ --> SYS:osalNvRead, { id: 3840, offset: 0, len: 1, value: [ 85 ] } +1m
- serialport/stream _write 8 bytes of data +4ms
- serialport/binding-abstract write 8 bytes +4ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +1m
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +6ms
- serialport/bindings/poller Polling for "readable" +8ms
- serialport/bindings/unixWrite write returned null 8 +2ms
- serialport/bindings/unixWrite wrote 8 bytes +0ms
- serialport/bindings/unixWrite Finished writing 8 bytes +0ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +34ms
- serialport/binding-abstract read +36ms
- serialport/bindings/unixRead Starting read +35ms
- serialport/bindings/unixRead Finished read 7 bytes +0ms
- serialport/stream binding.read finished +35ms
- cc-znp { sof: 254,
- cc-znp len: 2,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'osalNvRead',
- cc-znp payload: { status: 2, len: 0, value: <Buffer > },
- cc-znp fcs: 105,
- cc-znp csum: 105 } +48ms
- serialport/stream _read reading +8ms
- serialport/binding-abstract read +10ms
- serialport/bindings/unixRead Starting read +9ms
- cc-znp:SRSP <-- SYS:osalNvRead, { status: 2, len: 0, value: <Buffer > } +1m
- zigbee-shepherd:request RSP <-- SYS:osalNvRead, status: 2 +51ms
- zigbee-shepherd:init Non-Volatile memory is changed. +1m
- zigbee-shepherd Starting a hardware reset... +1m
- zigbee-shepherd:request REQ --> SYS:resetReq +3ms
- cc-znp:AREQ --> SYS:resetReq, { type: 1 } +1m
- serialport/stream _write 6 bytes of data +7ms
- serialport/binding-abstract write 6 bytes +7ms
- serialport/bindings/unixWrite Starting write 6 bytes offset 0 bytesToWrite 6 +51ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +8ms
- serialport/bindings/poller Polling for "readable" +19ms
- serialport/bindings/unixWrite write returned null 6 +1ms
- serialport/bindings/unixWrite wrote 6 bytes +0ms
- serialport/bindings/unixWrite Finished writing 6 bytes +0ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +3s
- serialport/binding-abstract read +3s
- serialport/bindings/unixRead Starting read +3s
- serialport/bindings/unixRead Finished read 11 bytes +1ms
- serialport/stream binding.read finished +3s
- cc-znp { sof: 254,
- cc-znp len: 6,
- cc-znp type: 'AREQ',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'resetInd',
- cc-znp payload:
- cc-znp { reason: 0,
- cc-znp transportrev: 2,
- cc-znp productid: 2,
- cc-znp majorrel: 2,
- cc-znp minorrel: 7,
- cc-znp hwrev: 2 },
- cc-znp fcs: 192,
- cc-znp csum: 192 } +3s
- serialport/stream _read reading +6ms
- serialport/binding-abstract read +7ms
- serialport/bindings/unixRead Starting read +7ms
- cc-znp:AREQ <-- SYS:resetInd, { reason: 0, transportrev: 2, productid: 2, majorrel: 2, minorrel: 7, hwrev: 2 } +3s
- zigbee-shepherd:msgHdlr IND <-- SYS:resetInd +1m
- zigbee-shepherd:request RSP <-- SYS:resetReq +3s
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +11ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +2ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 3, len: 1, value: [ 2 ] } +3s
- serialport/stream _write 8 bytes of data +7ms
- serialport/binding-abstract write 8 bytes +7ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +3s
- serialport/bindings/unixWrite write returned null 8 +0ms
- serialport/bindings/unixWrite wrote 8 bytes +0ms
- serialport/bindings/unixWrite Finished writing 8 bytes +1ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +19ms
- serialport/binding-abstract read +16ms
- serialport/bindings/unixRead Starting read +20ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +15ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +28ms
- serialport/stream _read reading +4ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +6ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +3s
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +26ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +9ms
- zigbee-shepherd:request REQ --> SYS:resetReq +11ms
- cc-znp:AREQ --> SYS:resetReq, { type: 1 } +40ms
- serialport/stream _write 6 bytes of data +15ms
- serialport/binding-abstract write 6 bytes +14ms
- serialport/bindings/unixWrite Starting write 6 bytes offset 0 bytesToWrite 6 +35ms
- serialport/bindings/unixWrite write returned null 6 +0ms
- serialport/bindings/unixWrite wrote 6 bytes +0ms
- serialport/bindings/unixWrite Finished writing 6 bytes +1ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +3s
- serialport/binding-abstract read +3s
- serialport/bindings/unixRead Starting read +3s
- serialport/bindings/unixRead Finished read 11 bytes +0ms
- serialport/stream binding.read finished +3s
- cc-znp { sof: 254,
- cc-znp len: 6,
- cc-znp type: 'AREQ',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'resetInd',
- cc-znp payload:
- cc-znp { reason: 0,
- cc-znp transportrev: 2,
- cc-znp productid: 2,
- cc-znp majorrel: 2,
- cc-znp minorrel: 7,
- cc-znp hwrev: 2 },
- cc-znp fcs: 192,
- cc-znp csum: 192 } +3s
- serialport/stream _read reading +6ms
- serialport/binding-abstract read +15ms
- serialport/bindings/unixRead Starting read +14ms
- cc-znp:AREQ <-- SYS:resetInd, { reason: 0, transportrev: 2, productid: 2, majorrel: 2, minorrel: 7, hwrev: 2 } +3s
- zigbee-shepherd:msgHdlr IND <-- SYS:resetInd +3s
- zigbee-shepherd:request RSP <-- SYS:resetReq +3s
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +4ms
- serialport/bindings/poller Polling for "readable" +20ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +11ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 131, len: 2, value: [ 98, 26 ] } +3s
- serialport/stream _write 9 bytes of data +25ms
- serialport/binding-abstract write 9 bytes +17ms
- serialport/bindings/unixWrite Starting write 9 bytes offset 0 bytesToWrite 9 +3s
- serialport/bindings/unixWrite write returned null 9 +1ms
- serialport/bindings/unixWrite wrote 9 bytes +0ms
- serialport/bindings/unixWrite Finished writing 9 bytes +1ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +29ms
- serialport/binding-abstract read +17ms
- serialport/bindings/unixRead Starting read +31ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +17ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +49ms
- serialport/stream _read reading +5ms
- serialport/binding-abstract read +8ms
- serialport/bindings/unixRead Starting read +8ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +3s
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +30ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +11ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +18ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 45, len: 8, value: [ 221, 221, 221, 221, 221, 221, 221, 221 ] } +48ms
- serialport/stream _write 15 bytes of data +24ms
- serialport/binding-abstract write 15 bytes +24ms
- serialport/bindings/unixWrite Starting write 15 bytes offset 0 bytesToWrite 15 +47ms
- serialport/bindings/unixWrite write returned null 15 +1ms
- serialport/bindings/unixWrite wrote 15 bytes +0ms
- serialport/bindings/unixWrite Finished writing 15 bytes +1ms
- serialport/stream binding.write write finished +3ms
- serialport/bindings/poller received "readable" +39ms
- serialport/binding-abstract read +19ms
- serialport/bindings/unixRead Starting read +40ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +18ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +50ms
- serialport/stream _read reading +5ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +6ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +49ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +30ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +9ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +11ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 132, len: 4, value: [ 0, 8, 0, 0 ] } +41ms
- serialport/stream _write 11 bytes of data +15ms
- serialport/binding-abstract write 11 bytes +15ms
- serialport/bindings/unixWrite Starting write 11 bytes offset 0 bytesToWrite 11 +39ms
- serialport/bindings/unixWrite write returned null 11 +0ms
- serialport/bindings/unixWrite wrote 11 bytes +0ms
- serialport/bindings/unixWrite Finished writing 11 bytes +1ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +31ms
- serialport/binding-abstract read +18ms
- serialport/bindings/unixRead Starting read +32ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +17ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +40ms
- serialport/stream _read reading +5ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +5ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +39ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +28ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +8ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +11ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 135, len: 1, value: [ 0 ] } +39ms
- serialport/stream _write 8 bytes of data +15ms
- serialport/binding-abstract write 8 bytes +15ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +38ms
- serialport/bindings/unixWrite write returned null 8 +0ms
- serialport/bindings/unixWrite wrote 8 bytes +0ms
- serialport/bindings/unixWrite Finished writing 8 bytes +1ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +25ms
- serialport/binding-abstract read +12ms
- serialport/bindings/unixRead Starting read +25ms
- serialport/bindings/unixRead Finished read 6 bytes +1ms
- serialport/stream binding.read finished +11ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +33ms
- serialport/stream _read reading +4ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +5ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +32ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +22ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +8ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +12ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 98, len: 16, value: [ 1, 3, 5, 7, 9, 11, 13, 15, 0, 2, 4, 6, 8, 10, 12, 13 ] } +33ms
- serialport/stream _write 23 bytes of data +17ms
- serialport/binding-abstract write 23 bytes +16ms
- serialport/bindings/unixWrite Starting write 23 bytes offset 0 bytesToWrite 23 +33ms
- serialport/bindings/unixWrite write returned null 23 +0ms
- serialport/bindings/unixWrite wrote 23 bytes +0ms
- serialport/bindings/unixWrite Finished writing 23 bytes +0ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +33ms
- serialport/binding-abstract read +19ms
- serialport/bindings/unixRead Starting read +34ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +18ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +44ms
- serialport/stream _read reading +8ms
- serialport/binding-abstract read +9ms
- serialport/bindings/unixRead Starting read +8ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +45ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +32ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +11ms
- zigbee-shepherd:request REQ --> SAPI:writeConfiguration +11ms
- cc-znp:SREQ --> SAPI:writeConfiguration, { configid: 99, len: 1, value: [ 0 ] } +44ms
- serialport/stream _write 8 bytes of data +15ms
- serialport/binding-abstract write 8 bytes +15ms
- serialport/bindings/unixWrite Starting write 8 bytes offset 0 bytesToWrite 8 +43ms
- serialport/bindings/unixWrite write returned null 8 +0ms
- serialport/bindings/unixWrite wrote 8 bytes +0ms
- serialport/bindings/unixWrite Finished writing 8 bytes +0ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +25ms
- serialport/binding-abstract read +13ms
- serialport/bindings/unixRead Starting read +26ms
- serialport/bindings/unixRead Finished read 6 bytes +0ms
- serialport/stream binding.read finished +12ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SAPI',
- cc-znp cmd: 'writeConfiguration',
- cc-znp payload: { status: 0 },
- cc-znp fcs: 98,
- cc-znp csum: 98 } +33ms
- serialport/stream _read reading +4ms
- serialport/binding-abstract read +5ms
- serialport/bindings/unixRead Starting read +5ms
- cc-znp:SRSP <-- SAPI:writeConfiguration, { status: 0 } +33ms
- zigbee-shepherd:request RSP <-- SAPI:writeConfiguration, status: 0 +22ms
- serialport/bindings/unixRead waiting for readable because of code: EAGAIN +2ms
- serialport/bindings/poller Polling for "readable" +9ms
- zigbee-shepherd:request REQ --> SYS:osalNvWrite +11ms
- cc-znp:SREQ --> SYS:osalNvWrite, { id: 257, offset: 0, len: 32, value: [ 255, 255, 255, 255, 255, 255, 255, 255, 90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57, 0, 0, 0, 0, 0, 0, 0, 0 ] } +33ms
- serialport/stream _write 41 bytes of data +16ms
- serialport/binding-abstract write 41 bytes +16ms
- serialport/bindings/unixWrite Starting write 41 bytes offset 0 bytesToWrite 41 +34ms
- serialport/bindings/unixWrite write returned null 41 +0ms
- serialport/bindings/unixWrite wrote 41 bytes +0ms
- serialport/bindings/unixWrite Finished writing 41 bytes +0ms
- serialport/stream binding.write write finished +2ms
- serialport/bindings/poller received "readable" +28ms
- serialport/binding-abstract read +15ms
- serialport/bindings/unixRead Starting read +29ms
- serialport/bindings/unixRead Finished read 6 bytes +1ms
- serialport/stream binding.read finished +14ms
- cc-znp { sof: 254,
- cc-znp len: 1,
- cc-znp type: 'SRSP',
- cc-znp subsys: 'SYS',
- cc-znp cmd: 'osalNvWrite',
- cc-znp payload: { status: 2 },
- cc-znp fcs: 107,
- cc-znp csum: 107 } +37ms
- serialport/stream _read reading +4ms
- serialport/binding-abstract read +6ms
- serialport/bindings/unixRead Starting read +5ms
- cc-znp:SRSP <-- SYS:osalNvWrite, { status: 2 } +36ms
- zigbee-shepherd:request RSP <-- SYS:osalNvWrite, status: 2 +26ms
- zigbee-shepherd:init Coordinator initialize had an error: Error: rsp error: 2
- at rspHdlr (/opt/zigbee2mqtt/node_modules/zigbee-shepherd/lib/components/controller.js:309:29)
- at CcZnp.<anonymous> (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:264:13)
- at Object.onceWrapper (events.js:277:13)
- at CcZnp.emit (events.js:189:13)
- at CcZnp._mtIncomingDataHdlr (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:366:14)
- at Immediate._onImmediate (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:342:22)
- at runCallback (timers.js:705:18)
- at tryOnImmediate (timers.js:676:5)
- at processImmediate (timers.js:658:5) +6s
- zigbee2mqtt:error 4/29/2019, 6:30:38 PM Error while starting zigbee-shepherd! (Error: rsp error: 2)
- zigbee2mqtt:error 4/29/2019, 6:30:38 PM Press the reset button on the stick (the one closest to the USB) and start again
- zigbee2mqtt:error 4/29/2019, 6:30:38 PM Failed to start
- {"message":"rsp error: 2","stack":"Error: rsp error: 2\n at rspHdlr (/opt/zigbee2mqtt/node_modules/zigbee-shepherd/lib/components/controller.js:309:29)\n at CcZnp.<anonymous> (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:264:13)\n at Object.onceWrapper (events.js:277:13)\n at CcZnp.emit (events.js:189:13)\n at CcZnp._mtIncomingDataHdlr (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:366:14)\n at Immediate._onImmediate (/opt/zigbee2mqtt/node_modules/cc-znp/lib/ccznp.js:342:22)\n at runCallback (timers.js:705:18)\n at tryOnImmediate (timers.js:676:5)\n at processImmediate (timers.js:658:5)"}
- zigbee2mqtt:error 4/29/2019, 6:30:38 PM Exiting...
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! zigbee2mqtt@1.3.1 start: `node index.js`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the zigbee2mqtt@1.3.1 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! /home/pi/.npm/_logs/2019-04-29T17_30_38_925Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement