Reading this I’m reminded of a strange issue of rules
somehow not being triggered any more. (Everything scripted in jython).
I never found the cause but grew suspicious towards a group of rules doing presence detection and an alarm system. There was nothing in there that looked suspicious, just those effects appearing more often after a logOut/alarm/login.
What I did was to install habApp and then migrate/rewrite the functions within that framework. I ended with a much clearer implementation and I haven’t seen that issue again.