I recently updated my home assistant to 0.90, mosquitto mqqt broek to 4.1 and zigbee2mqtt to 1.2.1
where before all worked like a charm, i now run into troubles…
this is what i get:
[Info] Configuration file found: /share/zigbee2mqtt/configuration.yaml
[Info] Configuration written to /share/zigbee2mqtt/configuration.yaml
2019-03-23T16:52:47: PM2 log: Launching in no daemon mode
2019-03-23T16:52:48: PM2 log: App [npm:0] starting in -fork mode-
2019-03-23T16:52:48: PM2 log: App [npm:0] online
zigbee2mqtt@1.2.1 start /zigbee2mqtt-1.2.1
node index.js
zigbee2mqtt:info 3/23/2019, 4:52:52 PM Logging to directory: ‘/share/zigbee2mqtt/log/2019-03-23.16-52-51’
zigbee2mqtt:info 3/23/2019, 4:52:53 PM Starting zigbee2mqtt version 1.2.1 (commit #unknown)
zigbee2mqtt:info 3/23/2019, 4:52:53 PM Starting zigbee-shepherd
zigbee2mqtt:info 3/23/2019, 4:52:54 PM zigbee-shepherd started
zigbee2mqtt:info 3/23/2019, 4:52:54 PM Coordinator firmware version: ‘20181224’
zigbee2mqtt:info 3/23/2019, 4:52:54 PM Currently 0 devices are joined:
zigbee2mqtt:warn 3/23/2019, 4:52:54 PM permit_join set to true in configuration.yaml.
zigbee2mqtt:warn 3/23/2019, 4:52:54 PM Allowing new devices to join.
zigbee2mqtt:warn 3/23/2019, 4:52:54 PM Set permit_join to false once you joined all devices.
zigbee2mqtt:info 3/23/2019, 4:52:54 PM Zigbee: allowing new devices to join.
zigbee2mqtt:info 3/23/2019, 4:52:54 PM Connecting to MQTT server at 192.168.1.13
/zigbee2mqtt-1.2.1/node_modules/q/q.js:155
throw e;
^
Error: Missing protocol
at Object.connect (/zigbee2mqtt-1.2.1/node_modules/mqtt/lib/connect/index.js:64:13)
at MQTT.connect (/zigbee2mqtt-1.2.1/lib/mqtt.js:39:28)
at Controller.onZigbeeStarted (/zigbee2mqtt-1.2.1/lib/controller.js:109:19)
at zigbee.start (/zigbee2mqtt-1.2.1/lib/controller.js:165:26)
at shepherd.start (/zigbee2mqtt-1.2.1/lib/zigbee.js:78:17)
at /zigbee2mqtt-1.2.1/node_modules/q/q.js:2055:17
at runSingle (/zigbee2mqtt-1.2.1/node_modules/q/q.js:137:13)
at flush (/zigbee2mqtt-1.2.1/node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.2.1 start: node index.js
npm ERR!
Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.2.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
when i put in mqqt:// i get the following message:
Info] Configuration written to /share/zigbee2mqtt/configuration.yaml
2019-03-24T14:36:04: PM2 log: Launching in no daemon mode
2019-03-24T14:36:05: PM2 log: App [npm:0] starting in -fork mode-
2019-03-24T14:36:05: PM2 log: App [npm:0] online
zigbee2mqtt@1.2.1 start /zigbee2mqtt-1.2.1
node index.js
zigbee2mqtt:info 3/24/2019, 2:36:09 PM Logging to directory: ‘/share/zigbee2mqtt/log/2019-03-24.14-36-09’
zigbee2mqtt:info 3/24/2019, 2:36:11 PM Starting zigbee2mqtt version 1.2.1 (commit #unknown)
zigbee2mqtt:info 3/24/2019, 2:36:11 PM Starting zigbee-shepherd
zigbee2mqtt:info 3/24/2019, 2:36:12 PM zigbee-shepherd started
zigbee2mqtt:info 3/24/2019, 2:36:12 PM Coordinator firmware version: ‘20181224’
zigbee2mqtt:info 3/24/2019, 2:36:12 PM Currently 0 devices are joined:
zigbee2mqtt:warn 3/24/2019, 2:36:12 PM permit_join set to true in configuration.yaml.
zigbee2mqtt:warn 3/24/2019, 2:36:12 PM Allowing new devices to join.
zigbee2mqtt:warn 3/24/2019, 2:36:12 PM Set permit_join to false once you joined all devices.
zigbee2mqtt:info 3/24/2019, 2:36:12 PM Zigbee: allowing new devices to join.
zigbee2mqtt:info 3/24/2019, 2:36:12 PM Connecting to MQTT server at mqtt://192.168.1.13:1883
zigbee2mqtt:info 3/24/2019, 2:36:12 PM zigbee-shepherd ready
events.js:167
throw er; // Unhandled ‘error’ event
^
Error: Connection refused: Not authorized
at MqttClient._handleConnack (/zigbee2mqtt-1.2.1/node_modules/mqtt/lib/client.js:920:15)
at MqttClient._handlePacket (/zigbee2mqtt-1.2.1/node_modules/mqtt/lib/client.js:350:12)
at work (/zigbee2mqtt-1.2.1/node_modules/mqtt/lib/client.js:292:12)
at Writable.writable._write (/zigbee2mqtt-1.2.1/node_modules/mqtt/lib/client.js:302:5)
at doWrite (/zigbee2mqtt-1.2.1/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/zigbee2mqtt-1.2.1/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Writable.write (/zigbee2mqtt-1.2.1/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Socket.ondata (_stream_readable.js:666:20)
at Socket.emit (events.js:182:13)
at addChunk (_stream_readable.js:283:12)
Emitted ‘error’ event at:
at MqttClient._handleConnack (/zigbee2mqtt-1.2.1/node_modules/mqtt/lib/client.js:922:10)
at MqttClient._handlePacket (/zigbee2mqtt-1.2.1/node_modules/mqtt/lib/client.js:350:12)
[… lines matching original stack trace …]
at addChunk (_stream_readable.js:283:12)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! zigbee2mqtt@1.2.1 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR!
Failed at the zigbee2mqtt@1.2.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.