I bought and setup the whole hardware to run Zigbee2mqtt. The key is plugged to my rpi3b with HomeAssistant 0.110.
I Installed the plugin zigbee2mqtt but I get the following error:
zigbee2mqtt:info 2020-06-06 12:18:18: Logging to console and directory: '/share/zigbee2mqtt/log/2020-06-06.12-18-18' filename: log.txt
zigbee2mqtt:info 2020-06-06 12:18:20: Starting zigbee2mqtt version 1.13.1 (commit #unknown)
zigbee2mqtt:info 2020-06-06 12:18:20: Starting zigbee-herdsman...
zigbee2mqtt:error 2020-06-06 12:18:28: Error while starting zigbee-herdsman
zigbee2mqtt:error 2020-06-06 12:18:28: Failed to start zigbee
zigbee2mqtt:error 2020-06-06 12:18:28: Exiting...
zigbee2mqtt:error 2020-06-06 12:18:28: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.<anonymous> (/zigbee2mqtt-1.13.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:71:23)
at Generator.throw (<anonymous>)
at rejected (/zigbee2mqtt-1.13.1/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:6:65)
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/2020-06-06T10_18_28_581Z-debug.log
2020-06-06T12:18:28: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2020-06-06T12:18:28: PM2 log: App [npm:0] starting in -fork mode-
2020-06-06T12:18:28: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.13.1
> node index.js
When I go to HA supervisor, then hardware I get:
serial:
/dev/ttyACM0
/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D904E0-if00
/dev/serial/by-id/usb-0658_0200-if00
/dev/ttyAMA0
/dev/ttyACM1
However when I dir the devices from Cloud9 teminal, I just get this:
usb-0658_0200-if00
The plugin configuration is:
data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://localhost:1883'
user: xxx
password: xxxx
serial:
port: /dev/ttyACM0 (this was by default)
I already had setup mqtt with mosquito plugin for other devices that run with mqtt
I already have a xaiomi gateway that run zigbee aqara devices
dmesg -w give nothing (Cloud9 Terminal)
Something is strange about the port that is visible in HA but not in terminal…