Version
Build/Run method
Zwave2Mqtt version: latest
Openzwave Version: 1.6.0
Describe the bug
Following #813, I move the stick to another host. Everything is working fine, my devices are not dead anymore, but I have a lot of these in my logs :
zwave2mqtt | z2m:Mqtt MQTT client closed +1ms
zwave2mqtt | z2m:Mqtt MQTT client reconnecting +500ms
zwave2mqtt | z2m:Mqtt MQTT client connected +6ms
zwave2mqtt | z2m:Mqtt MQTT client offline +501ms
zwave2mqtt | z2m:Mqtt MQTT client closed +1ms
zwave2mqtt | z2m:Mqtt MQTT client reconnecting +501ms
zwave2mqtt | z2m:Mqtt MQTT client connected +6ms
zwave2mqtt | z2m:Mqtt MQTT client offline +503ms
zwave2mqtt | z2m:Mqtt MQTT client closed +0ms
zwave2mqtt | z2m:Mqtt MQTT client reconnecting +502ms
zwave2mqtt | z2m:Mqtt MQTT client connected +5ms
zwave2mqtt | z2m:Mqtt MQTT client offline +503ms
zwave2mqtt | z2m:Mqtt MQTT client closed +1ms
zwave2mqtt | z2m:Mqtt MQTT client reconnecting +501ms
zwave2mqtt | z2m:Mqtt MQTT client connected +6ms
zwave2mqtt | z2m:Mqtt MQTT client offline +503ms
zwave2mqtt | z2m:Mqtt MQTT client closed +0ms
zwave2mqtt | z2m:Mqtt MQTT client reconnecting +502ms
And I have a lot of messages coming to zwave2mqtt/_CLIENTS/ZWAVE_GATEWAY-broker/status :

My mosquitto broker is working fine, I have a lot of clients on it...
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Stable connexion ?
Additional context
Add any other context about the problem here.
@Jeoffreybauvin I have expected this behaviour when there were multiple clients connected with the same id to the broker, do you have multiple instances of z2m running or some other client connected to the broker with the same client id?
Hi @robertsLando
Indeed, I had two clients connected with the same id. When I stopped one, everything gets back to normal.
Is there a way to use a different id ?
Change the name on mqtt settings :)
Indeed, perfect :).
Thanks @robertsLando !