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

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
kman
Posts: 78
Joined: Wednesday 30 September 2015 19:33
Target OS: Linux
Domoticz version:
Contact:

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

Post 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 1644 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 1644 times
zwave-1.png
zwave-1.png (156.91 KiB) Viewed 1644 times
kman
Posts: 78
Joined: Wednesday 30 September 2015 19:33
Target OS: Linux
Domoticz version:
Contact:

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

Post by kman »

zwave-2.png
zwave-2.png (108.46 KiB) Viewed 1642 times
MQTT:
mqtt.png
mqtt.png (89.68 KiB) Viewed 1642 times
mqtt-1.png
mqtt-1.png (99.97 KiB) Viewed 1642 times
kman
Posts: 78
Joined: Wednesday 30 September 2015 19:33
Target OS: Linux
Domoticz version:
Contact:

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

Post 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.
User avatar
waltervl
Posts: 5148
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

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

Post 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.
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 0 guests