MQTT App connection problems

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Spacely
Posts: 1
Joined: 06 Jul 2020 12:22

MQTT App connection problems

Post by Spacely »

Hi there,

I'm using a razberry module on raspberry. I have installes the MQTT package and configured it to communicate with my remote mosquitto installation.
Mosquitto is allowing anonymopus connections. Many Tasmotas accessing it right now every second...
No Messages arriving at mosquitto server from zwave. Errors in z-way-server.log:

[2020-07-06 11:20:25.075] [core] [MQTT-14] Socket connection opened.
[2020-07-06 11:20:25.075] [core] [MQTT-14] Connected to 192.168.10.7
[2020-07-06 11:20:25.075] [core] [MQTT-14] ----------------- undefined
[2020-07-06 11:20:25.075] [core] [MQTT-14] +++++++++++++++++ {"first_start_up":"2020-07-02T18:24:43.146Z","count_of_reconnects":4,"firstaccess":false}
[2020-07-06 11:20:26.090] [core] [MQTT-14] Trying to reconnect (0)
[2020-07-06 11:20:27.115] [core] [MQTT-14] Socket connection closed.
[2020-07-06 11:20:27.121] [core] [MQTT_14] Error: Disconnected, will retry to connect...
at MQTT.BaseModule.error (automation/userModules/BaseModule/index.js:122:17)
at MQTT.onDisconnect (automation/userModules/MQTT/index.js:139:7)
at MQTTClient._disconnectCallback (automation/userModules/MQTT/index.js:92:46)
at MQTTClient._onClose (automation/userModules/MQTT/lib/mqtt.js:303:10)
at tcp._connection.onclose (automation/userModules/MQTT/lib/mqtt.js:173:10)

Any Ideas?

gbone001
Posts: 4
Joined: 18 Oct 2020 19:13

Re: MQTT App connection problems

Post by gbone001 »

did you ever resolve this, I have the same issue.....

thanks

User avatar
PoltoS
Posts: 5887
Joined: 26 Jan 2011 19:36

Re: MQTT App connection problems

Post by PoltoS »

Please upgrade the MQTT package to the latest version. Should work then

gbone001
Posts: 4
Joined: 18 Oct 2020 19:13

Re: MQTT App connection problems

Post by gbone001 »

1.4.1? I have that version and its not working

User avatar
PoltoS
Posts: 5887
Joined: 26 Jan 2011 19:36

Re: MQTT App connection problems

Post by PoltoS »

Should be working. Pleasae show us your error.

Post Reply