Page 1 of 1

Zwave MQTT problem.

Posted: Wednesday 22 March 2023 15:04
by Dave47
In zwave-js-ui i See mij usb device and qubino modules.
How can we connect to Domoticz

I tried so much but MQTT gives:
2023-03-22 10:13:15.177 INFO MQTT: MQTT client reconnecting
2023-03-22 10:13:15.181 ERROR MQTT: Mqtt client error connect ECONNREFUSED 127.0.0.1:1883
Error: connect ECONNREFUSED 127.0.0.1:1883
at TCPConnectWrap.afterConnect [as oncomplete] (node:net16)
2023-03-22 10:13:15.183 INFO MQTT: MQTT client closed

We have made a setup in zwave-js-ui for MQTT
localhost port:1883 prefix zwave

We also made a setup for home assistant. Prefix domoticz
Do We need that for Domoticz?

MQTT auto discover in hardware from Domoticz
Discover domoticz

How can we solve the problem?

Re: Zwave MQTT problem.

Posted: Wednesday 22 March 2023 15:46
by gizmocuz
Well the error is:
ERROR MQTT: Mqtt client error connect ECONNREFUSED 127.0.0.1:1883
So it is a connection issue

Can you connect to it with MQTT Explorer?

Re: Zwave MQTT problem.

Posted: Wednesday 22 March 2023 16:39
by Dave47
No. We use MQTT with lan interface in Domoticz
There we have localhost port 1883. We need that for Node-Red. That works well.
We can not connect to it with MQTT Explorer. Not with 127.0.0.1
and not with raspberry_ip_adres.

We have also tried with MQTT discover in Domoticz., need for zwave-js-ui on the same port.