You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched this and other forums for the answer, but I just cannot get my Z2M installation to launch successfully. I followed this guide to install Z2M on my RPi4, which is also running homebridge and Unifi. I am continuously stuck on the "Allowing new devices to join" line, after which the only way to progress is to ^c, after which you see the errors below. I am aware that Unifi has a conflicting port (8080), for which I've also tried changing the frontend port to 8099, 9090, anything else. Still, fails to start.
I've tried deleting related Z2M directories and starting over, but nothing changes. I will say, this whole installation broke once I realized that port 8080 would be an issue and started adding an alternative port. While using port 8080 it would actually start at first, but would warn me that the port was conflicting. Now if I use port 8080 or any other, I get the issues below. My yaml config is below as well, but looks pretty standard to me. Any ideas?
Zigbee2MQTT:info 2022-10-25 16:05:15: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2022-10-25.16-05-15' filename: log.txt
Zigbee2MQTT:info 2022-10-25 16:05:15: Starting Zigbee2MQTT version 1.28.0 (commit #03ba647)
Zigbee2MQTT:info 2022-10-25 16:05:15: Starting zigbee-herdsman (0.14.62)
Zigbee2MQTT:info 2022-10-25 16:05:16: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2022-10-25 16:05:16: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":114,"product":0,"revision":"0x26720700","transportrev":0},"type":"ConBee2/RaspBee2"}'
Zigbee2MQTT:info 2022-10-25 16:05:16: Currently 0 devices are joined:
Zigbee2MQTT:warn 2022-10-25 16:05:16: permit_join set to true in configuration.yaml.
Zigbee2MQTT:warn 2022-10-25 16:05:16: Allowing new devices to join.
Zigbee2MQTT:warn 2022-10-25 16:05:16: Set permit_join to false once you joined all devices.
Zigbee2MQTT:info 2022-10-25 16:05:16: Zigbee: allowing new devices to join.
^C
Zigbee2MQTT:error 2022-10-25 16:05:24: Failed to call 'Frontend' 'stop' (TypeError: Cannot read properties of null (reading 'clients')
at Frontend.stop (/opt/zigbee2mqtt/lib/extension/frontend.ts:59:39)
at Controller.callExtensions (/opt/zigbee2mqtt/lib/controller.ts:314:40)
at Controller.stop (/opt/zigbee2mqtt/lib/controller.ts:191:9)
at stop (/opt/zigbee2mqtt/index.js:113:5)
at process.handleQuit (/opt/zigbee2mqtt/index.js:119:9))
Zigbee2MQTT:error 2022-10-25 16:05:24: Not connected to MQTT server!
Zigbee2MQTT:error 2022-10-25 16:05:24: Cannot send message: topic: 'zigbee2mqtt/bridge/state', payload: 'offline
Zigbee2MQTT:info 2022-10-25 16:05:24: Disconnecting from MQTT server
/opt/zigbee2mqtt/lib/mqtt.ts:129
this.client.end();
^
TypeError: Cannot read properties of undefined (reading 'end')
at MQTT.disconnect (/opt/zigbee2mqtt/lib/mqtt.ts:129:21)
at Controller.stop (/opt/zigbee2mqtt/lib/controller.ts:196:9)
at stop (/opt/zigbee2mqtt/index.js:113:5)
at process.handleQuit (/opt/zigbee2mqtt/index.js:119:9)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good afternoon,
I've searched this and other forums for the answer, but I just cannot get my Z2M installation to launch successfully. I followed this guide to install Z2M on my RPi4, which is also running homebridge and Unifi. I am continuously stuck on the "Allowing new devices to join" line, after which the only way to progress is to ^c, after which you see the errors below. I am aware that Unifi has a conflicting port (8080), for which I've also tried changing the frontend port to 8099, 9090, anything else. Still, fails to start.
I've tried deleting related Z2M directories and starting over, but nothing changes. I will say, this whole installation broke once I realized that port 8080 would be an issue and started adding an alternative port. While using port 8080 it would actually start at first, but would warn me that the port was conflicting. Now if I use port 8080 or any other, I get the issues below. My yaml config is below as well, but looks pretty standard to me. Any ideas?
Zigbee2MQTT:info 2022-10-25 16:05:15: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2022-10-25.16-05-15' filename: log.txt
Zigbee2MQTT:info 2022-10-25 16:05:15: Starting Zigbee2MQTT version 1.28.0 (commit #03ba647)
Zigbee2MQTT:info 2022-10-25 16:05:15: Starting zigbee-herdsman (0.14.62)
Zigbee2MQTT:info 2022-10-25 16:05:16: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2022-10-25 16:05:16: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":114,"product":0,"revision":"0x26720700","transportrev":0},"type":"ConBee2/RaspBee2"}'
Zigbee2MQTT:info 2022-10-25 16:05:16: Currently 0 devices are joined:
Zigbee2MQTT:warn 2022-10-25 16:05:16:
permit_join
set totrue
in configuration.yaml.Zigbee2MQTT:warn 2022-10-25 16:05:16: Allowing new devices to join.
Zigbee2MQTT:warn 2022-10-25 16:05:16: Set
permit_join
tofalse
once you joined all devices.Zigbee2MQTT:info 2022-10-25 16:05:16: Zigbee: allowing new devices to join.
^C
Zigbee2MQTT:error 2022-10-25 16:05:24: Failed to call 'Frontend' 'stop' (TypeError: Cannot read properties of null (reading 'clients')
at Frontend.stop (/opt/zigbee2mqtt/lib/extension/frontend.ts:59:39)
at Controller.callExtensions (/opt/zigbee2mqtt/lib/controller.ts:314:40)
at Controller.stop (/opt/zigbee2mqtt/lib/controller.ts:191:9)
at stop (/opt/zigbee2mqtt/index.js:113:5)
at process.handleQuit (/opt/zigbee2mqtt/index.js:119:9))
Zigbee2MQTT:error 2022-10-25 16:05:24: Not connected to MQTT server!
Zigbee2MQTT:error 2022-10-25 16:05:24: Cannot send message: topic: 'zigbee2mqtt/bridge/state', payload: 'offline
Zigbee2MQTT:info 2022-10-25 16:05:24: Disconnecting from MQTT server
/opt/zigbee2mqtt/lib/mqtt.ts:129
this.client.end();
^
TypeError: Cannot read properties of undefined (reading 'end')
at MQTT.disconnect (/opt/zigbee2mqtt/lib/mqtt.ts:129:21)
at Controller.stop (/opt/zigbee2mqtt/lib/controller.ts:196:9)
at stop (/opt/zigbee2mqtt/index.js:113:5)
at process.handleQuit (/opt/zigbee2mqtt/index.js:119:9)
#YAML
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://localhost
serial:
port: /dev/ttyACM0
advanced:
network_key:
- 11
- 78
- 177
- 163
- 39
- 189
- 8
- 177
- 140
- 213
- 94
- 221
- 106
- 50
- 133
- 153
frontend: true
Beta Was this translation helpful? Give feedback.
All reactions