Zwave-JS-UI can not connect to MQTT

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
fjuppe
Posts: 42
Joined: Thursday 14 September 2023 19:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 16341
Location: Stockholm
Contact:

Zwave-JS-UI can not connect to MQTT

Post by fjuppe »

Hello,
I am a complete newbie to setting things up in Linux. I have just installed a new Aeon Z-wave USB stick on my RPi 4B+ running standard Debian version 11. I have manage to set up Zwave-JS-UI, my USB stick is working, I have included one switch.

I also run Domoticz on the same RPi where I want to control all Z-wave devices. I have followed the installation guidelines but I dont get any devices under the Domoticz "MQTT Auto Discovery Client Gateway with LAN interface". Domoticz log says "Z-Wave: Connecting to <RPi_IP>:1883" without any error.

In Zwave-JS-UI I get the below error when debugging. I suspect this is causing the problem but I dont have knowledge to solve this.
Please give me some commands to let me be able to get this working. If you need more info, please give detailed instructions how to obtain this since I am not so familiar with Linux. Ie where to check for MQTT client details......?
Thanks in advance for your help!

2023-09-26 10:03:50 INFO MQTT: MQTT client reconnecting
2023-09-26 10:03:50 ERROR MQTT: Mqtt client error Connection refused: Not authorized
ErrorWithReasonCode: Connection refused: Not authorized
.........
2023-09-26 10:03:50 INFO MQTT: MQTT client closed
User avatar
waltervl
Posts: 6689
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Zwave-JS-UI can not connect to MQTT

Post by waltervl »

Check the settings for Mosquitto on mosquito V2 and higher, allow anonymous login if you did not set a user account for Mosquitto. See the MQTT wiki page https://www.domoticz.com/wiki/MQTT#Gene ... 2.0_and_up
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest