Domoticz stops responding when MySensors plugin doesn't receive information
Posted: Wednesday 25 September 2024 12:21
Hello,
I have created a controller for my roller shutters (and some other devices) with relays, controlled by an Arduino. For this I use the library of MySensors.
In Domoticz I use the Plugin "MySensors Gateway with MQTT interface".
For a yet unknown reason, the LAN connection of the Arduino is sometimes interrupted. I am still investigating this problem further.
However, the problem is that I notice that Domoticz appears to freeze after a while (+/- 5 minutes) when the MySensors plugin does not receive any information.
The only (error messages) I receive are the following:
Followed by the status messages below, indicating that the connection to my broker is working correctly.
This processes of the above messages is repeated several times. But after a while, Domoticz's web page stops responding without error message.
All I can do then is restart Domoticz via the command line and disable the MySensors plugin.
I have created a controller for my roller shutters (and some other devices) with relays, controlled by an Arduino. For this I use the library of MySensors.
In Domoticz I use the Plugin "MySensors Gateway with MQTT interface".
For a yet unknown reason, the LAN connection of the Arduino is sometimes interrupted. I am still investigating this problem further.
However, the problem is that I notice that Domoticz appears to freeze after a while (+/- 5 minutes) when the MySensors plugin does not receive any information.
The only (error messages) I receive are the following:
Code: Select all
2024-09-25 11:45:22.347 Error: MySensors MQTT hardware (23) nothing received for more than 1 Minute!....
2024-09-25 11:45:23.350 Error: Restarting: MySensors MQTT
Code: Select all
2024-09-25 11:45:23.532 Status: MySensors MQTT: Worker stopped...
2024-09-25 11:45:24.545 Status: MySensors MQTT: Connecting to localhost:1883
2024-09-25 11:45:24.760 Status: MySensors MQTT: Connected to: localhost:1883
2024-09-25 11:45:24.775 Status: MySensors MQTT: Connected to: localhost:1883
All I can do then is restart Domoticz via the command line and disable the MySensors plugin.
Version: 2024.7
Build Hash: b317cfab1
Compile Date: 2024-07-13 16:59:31
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110]