Already for 2 years I'm facing a very annoying issue with my domoticz installation.
0.1% of all commands are simply not executed for some reason, and I have no clue why.
An example from today:
In one of my device-scripts I have the following if-statement:

'Alle woonkamerverlichting' is a selector switch.
Today at 12:33 the device 'donker' went off, because I opened the curtains.
This is confirmed in the log of the device:

However, the big problem is that the selector switch 'Alle woonkamerverlichting' was not turned off. the log of the device shows nothing at 12:33.
This happens only a few times per week and most of the times I don't notice it of course. I wonder what could be happening??
In the log there are no errors.
So either the device-changed trigger is somehow 'missed' by domoticz or the commandarray to turn of the selector switch is not executed.
or could it be that domoticz gets overwhelmed if there are multipe triggers or incoming mqqt messages (from sensors) at the same time?
Many thanks in advance!!
For me its a big issue because I can't rely on domoticz anymore. I have to write my scripts now in such a way that commands are always executed multiple times...