Platform: Linux Docker container
Plugin/Hardware: MQTT, MQTT-AD
Description:
A few lines lines from my error log:
2026-03-05 11:16:26.638 Error: MQTT AD: Disconnected, restarting (rc=19/Keepalive exceeded)
2026-03-05 11:22:30.683 Error: MQTT AD: Disconnected, restarting (rc=19/Keepalive exceeded)
2026-03-05 11:28:33.669 Error: MQTT AD: Disconnected, restarting (rc=19/Keepalive exceeded)
2026-03-05 11:34:36.655 Error: MQTT AD: Disconnected, restarting (rc=19/Keepalive exceeded)
2026-03-05 11:40:39.621 Error: MQTT AD: Disconnected, restarting (rc=19/Keepalive exceeded)
This problem started after i created a new docker container with a process that generated a lot (200) of (new) topics. I'm using Mosquitto mqtt.
Domoticz finds these new topics, including the topics from Zigbee2mqtt and Zwave js ui and starts to import them. However this process stops after about 2 minutes and restarts after 5 minutes over and over...
Result is that i can't switch on my Hue lights with the Fibaro fob anymore
After some digging in the Domoticz source code i found a file MQTT.cpp with a hardcoded "int keepalive = 120" at line 640.
Could this be reason of my problem