i have been getting this error when trying to on board the zigbee2mqtt but i keep getting this error.
That error tells you to go to Zigbee2MQTT fails to start/crashes runtime | Zigbee2MQTT for a full troubleshooting page.
Most common cause is that ZHA is enabled and not letting Z2MQTT speak to your coordinator.
I went to the troubleshooting page, couldn’t find anything that could help me and the ZHA is not enabled. I’m also running this on a raspberry pi, I don’t know if thats useful to not, I’m new to this
Maybe this thread might help:
A few questions:
- What device and HA install version are you using?
- Do you have a Mosquitto Broker installed?
Please share your Z2M config
I´ll follow, i have the same problem.
Yaml mosquito
logins: []
require_certificate: false
certfile: ""
keyfile: ""
customize:
active: false
folder: mosquitto
anonymous: true
Yaml zigbee2mqtt
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto
user: ""
password: ""
serial:
port: >-
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_4c07c71d0d74ef118e6de71e313510fd-if00-port0
adapter: ezsp
advanced:
log_level: info
pan_id: 0x1A63
ext_pan_id: [0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD]
channel: 11
frontend:
port: 8099
socat:
enabled: false
Raspberry pi 5
Same question
- share your Z2M config
- what device are you using ?
I have edit my post
Please use code blocks to post code.
Editted again
Srry
What error do you get ?
No error, but when i open web ui it always opens the onboarding page.
That is easily solved. Open /config/zigbee2mqtt/configuration.yaml and delete the line
onboarding: true
That line is not in my config
What does the mqtt log say ? Your user and password are empty, probably Zigbee2MQTT can’t login to the broker.
If you use the mqtt add-on, it does not accept anonymous logins, you
- either create a mqtt user in ha
- or create a user in the mqtt add-on
and set these credentials in the Zigbee2MQTT add-on
Now it works. With this config:
Blockquote
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: “-d -d”
log: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto
user: xxxx
password:Xxxxxxxxx
serial:
port: >-
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_4c07c71d0d74ef118e6de71e313510fd-if00-port0
adapter: ezsp
external_converters:
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
advanced:
log_level: info
pan_id: 6755
ext_pan_id:
- 221
- 221
- 221
- 221
- 221
- 221
- 221
- 221
channel: 11
frontend:
port: 8099
I am new to this so i am proud it works now
Can you post a screen shot of your config file? I’d like to see the indentation as my Zigbee2mqtt config will not save this. Thanks.
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
mqtt:
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto
user: Robbin
password: xxxxxxxx
serial:
port: >-
/dev/serial/by-id/usb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_4c07c71d0d74ef118e6de71e313510fd-if00-port0
adapter: ezsp
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
advanced:
log_level: info
pan_id: 6755
ext_pan_id:
- 221
- 221
- 221
- 221
- 221
- 221
- 221
- 221
channel: 11
frontend:
port: 8099
Thanks Robbin1. I will definitely give it a try.