Hi All
I’m running into a bit of an issue and wondering if you can help.
Details of what I’m running:
PC: NUC 11th gen running HAOS
Dongle: Sonoff Zigbee 3.0 Dongle
Router: Unifi Dream Machine Pro
Switch: Unifi
I’ve listed the Unifi products as I have a vague memory from a long time ago (when learning about HASS) that there can be issues with port conflicts with MQTT?
I’ve been following these guides, which are slightly out of date:
I’ve also gone through some older forum posts without much success such as:
As the settings have changed, I’m not sure where the issue lies but I’ll provide the info that I can and confirm the steps.
- Flashed Sonoff stick using disassemble method, worked fine after updating the driver etc.
- Installed Mosquitto
- Installed Zigbee2MQTT
- Configured both based on the details in both videos, moreso using Smart Home Junkie as his was less outdated.
I’ll list slightly edited YAML for both, I had edited them slightly due to some forum threads and trying to get it working (with changing some ports etc) but that hasn’t worked.
Zigbee2MQTT YAML:
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:
server: mqtt://core-mosquitto
user: *user*
password: *password*
serial:
port: /dev/ttyUSB0
In Zigbee2MQTT I also have the following ports:
Socat tcp-listen port: 8099
Mosquitto broker YAML:
logins: []
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
In Mosquitto broker I also have the following ports:
Normal MQTT: 1883
MQTT ovewr WebSocket: 1884
Normal MQTT with SSL: 8883
MQTT over Websocket with SSL: 8884
I’m not sure if the issue lies with the ports or that in the Mosquitto broker there is no login?
My YAML for both was exactly the same as Smart Home Junkie’s, aside from the “adapter: deconz” at the bottom.
Hopefully this is the information someone would need to help but I’ll of course provide more if necessary!
Many thanks in advance for any help you can provide!