smitec11 / Domoticz-Genie-Plugin

Genie plugin for Domoticz
1 stars 0 forks source link

Pluging crashes and so does the Domoticz soon after... #1

Open thorazine-12 opened 1 month ago

thorazine-12 commented 1 month ago

Hi,

I have been using this plugin with success for some time. But recently it started crashing after some time - sometimes a few minutes, sometimes a few hours after starting Domoticz. It doesn't matter if I send commands to Genie devices, it still crashes after some time. I checked it on a fresh install (clean Domoticz + this plugin alone on a different RPI) - and I got the same result (crash).

I also checked direct access via URL + HASH and I got meaningful response (JSON) without any problem.

Tried to debug the problem, but even when I enable full debugging, this is what I get:

2024-05-12 08:00:06.022  [6d3ff1c0] Rituals Genie: Pushing 'onHeartbeatCallback' on to queue
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: Processing 'onHeartbeatCallback' message
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: Acquiring GIL for 'onHeartbeatCallback'
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: Calling message handler 'onHeartbeat' on 'module' type object.
2024-05-12 08:00:06.073  [6d3ff1c0] Rituals Genie: onHeartbeat called
2024-05-12 08:00:22.414  [6d3ff1c0] Rituals Genie: Acquiring GIL for 'onHeartbeatCallback'
2024-05-12 08:00:36.041  [6d3ff1c0] Rituals Genie: Pushing 'onHeartbeatCallback' on to queue
2024-05-12 08:00:36.091  [6d3ff1c0] Rituals Genie: Processing 'onHeartbeatCallback' message
2024-05-12 08:00:36.091  [6d3ff1c0] Rituals Genie: Acquiring GIL for 'onHeartbeatCallback'
2024-05-12 08:00:36.092  [6d3ff1c0] Rituals Genie: Calling message handler 'onHeartbeat' on 'module' type object.
2024-05-12 08:00:36.092  [6d3ff1c0] Rituals Genie: onHeartbeat called
2024-05-12 08:01:40.210  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:01:54.214  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:02:08.217  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:02:22.220  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly
2024-05-12 08:02:36.224  [6f7ff1c0] Error: Rituals Genie hardware (2) thread seems to have ended unexpectedly

After the plugin crashes + when I try to do any action on the hardware tab in the Domoticz (even pressing the UPDATE button without changing anything) the Domoticz stops responding.

Any help on this would be appreciated!

smitec11 commented 1 month ago

@thorazine-12,

The plugin was my first attempt to use the genie with Domoticz. I must say, I havent used it anymore, I switched to Home Assistant soon after I wrote this plugin, and never went back to Domoticz.

I had hoped other people would use the plugin to make a 100% version. I never got the http calls from the example of the domoticz plugin work without problems.