I’ve attempted to setup using ESP8266/CC2530, they are both flashed and I think working but I’m getting errors in HA, is the following tcp option supported with built in zigbee2MQTT addon?
serial:
port: 'tcp://192.168.2.13:20108'
I’m getting the following error but not sure if it HA addon not supporting tcp option or the ESP not working as it should
zigbee2mqtt:info 2020-05-18 13:45:12: Logging to console and directory: ‘/share/zigbee2mqtt/log/2020-05-18.13-45-12’ filename: log.txt
zigbee2mqtt:info 2020-05-18 13:45:12: Starting zigbee2mqtt version 1.13.0 (commit #unknown)
zigbee2mqtt:info 2020-05-18 13:45:12: Starting zigbee-herdsman…
zigbee2mqtt:error 2020-05-18 13:45:15: Error while starting zigbee-herdsman
zigbee2mqtt:error 2020-05-18 13:45:15: Failed to start zigbee
zigbee2mqtt:error 2020-05-18 13:45:15: Exiting…
zigbee2mqtt:error 2020-05-18 13:45:15: Error: Error while opening socket
at Socket. (/zigbee2mqtt-1.13.0/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:162:28)
at Socket.emit (events.js:228:7)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
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-05-18T01_45_15_690Z-debug.log
2020-05-18T13:45:17: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2020-05-18T13:45:17: PM2 log: App [npm:0] starting in -fork mode-
2020-05-18T13:45:17: PM2 log: App [npm:0] online[email protected] start /zigbee2mqtt-1.13.0
node index.js
zigbee2mqtt:info 2020-05-18 13:45:18: Logging to console and directory: ‘/share/zigbee2mqtt/log/2020-05-18.13-45-18’ filename: log.txt
zigbee2mqtt:info 2020-05-18 13:45:18: Starting zigbee2mqtt version 1.13.0 (commit #unknown)
zigbee2mqtt:info 2020-05-18 13:45:18: Starting zigbee-herdsman…