theyaw
(Theyaw)
July 20, 2024, 7:16pm
1
I have a sonoff usb dongle P flashed to the 2023 Koenkk CC2652P firmware. I have installed mqtt and zigbee2mqtt and configured it as recommended.
I keep getting an error starting zigbee2mqtt. Here is the log entry
Is there anything I’m doing wrong?
Post your configuration.
You have placed a specific configuration for the E dongle.
1 Like
Go to the zigbee2mqtt folder, rename the configuation.yaml file to something different and delete the file coordinator_backup.json.
123
(Taras)
July 20, 2024, 9:23pm
8
If you have a Sonoff Dongle P then you should configure Zigbee2MQTT to use zstack
because the “P” model has components from Texas Instruments (CC2652P).
Your screenshots show you have it configured for ezsp
which is for a different component made by Silicon Labs. You have configured Zigbee2MQTT to work with something that is not a Sonoff Dongle P .
theyaw
(Theyaw)
July 20, 2024, 9:40pm
9
I did that and now this is the error. MQTT failed to start. I checked the user credentials and it’s accurate
theyaw
(Theyaw)
July 20, 2024, 9:45pm
10
changed the config to remove the adapter settings. This is my new error
123
(Taras)
July 20, 2024, 9:50pm
11
The new error is that Zigbee2MQTT is unable to login to the MQTT Broker.
That means whatever you specified for the username and password needs to be checked because it’s invalid and preventing Zigbee2MQTT from connecting to the MQTT Broker.
theyaw
(Theyaw)
July 20, 2024, 9:51pm
12
I checked the username and password and it’s accurate. Checked Mosquito broker and it’s running
123
(Taras)
July 20, 2024, 9:56pm
13
What are you using to test the username and password to confirm they allow connection to the Broker?
For example have you used an MQTT client, such as MQTT Explorer, to login to the Broker with those credentials?
theyaw
(Theyaw)
July 20, 2024, 10:20pm
14
I just installed mqtt explorer and successfully connected with the credentials
123
(Taras)
July 20, 2024, 10:35pm
15
That’s good news. What did you specify as the MQTT Broker’s address when using MQTT Explorer? Is it the same as what you have specified as the Broker’s address using Zigbee2MQTT?
theyaw
(Theyaw)
July 20, 2024, 10:50pm
16
I used Home assistant IP. so I went back to the z2m config and used the ip instead and this is the new error
theyaw
(Theyaw)
July 20, 2024, 11:01pm
17
Got it to work. Thank you @123 and @walberjunior for all the help. With the ip address, I just added the mqtt:// protocol and it worked!
1 Like
nickrout
(Nick Rout)
July 20, 2024, 11:01pm
18
If you are using the z2m and mosquito addons then you shouldn’t have to specify anything for mqtt. This is my z2m config
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: {}
serial:
port: /dev/serial/by-id/usb-1a86_TubesZB_971207DO-if00-port0
1 Like
123
(Taras)
July 20, 2024, 11:05pm
19
In my configuration for Zigbee2MQTT Addon, the mqtt
section visible in “Configuration” is empty.
Ninja’d by nickrout
1 Like
nickrout
(Nick Rout)
July 21, 2024, 2:03am
20
123:
Ninja’d by nickrout
Unusual to beat you Taras. Made my day!
1 Like