Page 1 of 1

zwave-js-ui <---> MQTT broker does not seem to work properly

Posted: Sunday 14 July 2024 18:49
by kman
I am in the process migrating from openzwave to zwave-js-ui.

I have followed all the steps mentioned here:
- https://www.domoticz.com/wiki/Zwave-JS-UI
- https://www.domoticz.com/wiki/MQTT#MQTT ... very_Setup

But I was not seeing the devices show up in domoticz.

So, that is when I tried to see if it works fine with MQTT Explorer. From the looks of it, it doesn't look ok. Screen shot of MQTT Explorer shared below:
mqtt_explorer.png
mqtt_explorer.png (108.25 KiB) Viewed 1647 times

Please can someone advise what am I doing wrong.

Below I have attached "zwave-js-ui" config details.

ZWAVE:
zwave.png
zwave.png (121.91 KiB) Viewed 1647 times
zwave-1.png
zwave-1.png (156.91 KiB) Viewed 1647 times

Re: zwave-js-ui <---> MQTT broker does not seem to work properly

Posted: Sunday 14 July 2024 18:53
by kman
zwave-2.png
zwave-2.png (108.46 KiB) Viewed 1645 times
MQTT:
mqtt.png
mqtt.png (89.68 KiB) Viewed 1645 times
mqtt-1.png
mqtt-1.png (99.97 KiB) Viewed 1645 times

Re: zwave-js-ui <---> MQTT broker does not seem to work properly

Posted: Monday 22 July 2024 11:36
by kman
The issue was resolved by turning of UFW on the raspberry pi.

> sudo ufw status // if this shows 'active', then disable it.
> sudo ufw disable

To keep it simple, I have been using MQTT from Pi's repos. I am not using docker version for MQTT.

Re: zwave-js-ui <---> MQTT broker does not seem to work properly

Posted: Monday 22 July 2024 13:02
by waltervl
Yes, a firewall could indeed cause connection issues if you have not opened up the firewall for Zwave-JS-UI and/or MQTT mosquitto.