After updating openHAB to 4.0 (running on Debian 12 with zulu17) some of my rules just won´t get executed by themself (by the triggers in the rule), but work if i run them manually in the Webinterface.
The errors are the following:
I don´t know why there is no description why the rules fail to execute. Can someone help me?
One example rule with this error is this:
rule "Luftreiniger Küche Filter unter 10 Prozent Benachrichtigung"
when
Time cron "0 0 18 1/1 * ? *"
then
if (EG_Luftreiniger_Kueche_filterlife.state < 1) {
executeCommandLine("/home/openhab/signal-api.sh", "Verbleibende Filterlaufzeit in Luftreiniger Küche beträgt unter 1%", "+49123456789")
}
end```
Thanks
Can somebody help me here please? I cannot find any problem.
It also seems to not happen after every restart of openhab, but if it happens, it continues for many rules.
Can i enable some sort of debug message to find the root of the problem?
The script works if i run it manually via WebUI and its not the only rule.
This simple rule also throws this error:
rule "Timer JIB Trockner Keller zurücksetzten"
when
Item KG_Trockner_JIB_status changed from ON to OFF
then
KG_Trockner_JIB_countdown.postUpdate("0")
end
When running the same rule again, all works fine, but after every restart, this error happens when the trigger fires.
Hi, I haven’t read logs at the moment but I have something similar. I’m using Docker and after moving from OH3 to OH4 I have issues with rules that I added years ago.
My rule has this syntax:
rule "Read Daikin State"
when
Item DaikinMode changed
then
....
etc.
....
end
I’ve noted that it is triggered only by a command and not by an update.
In my case, if I’m changing the clima mode from OH it works, if I change the clima mode from Alexa (using official Daikin Skill) it does not trigger because OH only receives an update and not a command