- Platform information:
- Hardware: Raspberry Pi 4 2GB with USB HDD
- OS: Raspberry Pi OS Lite (64-bit)
- Java Runtime Environment: openjdk version “21.0.11” 2026-04-21
OpenJDK Runtime Environment (build 21.0.11+10-1-deb13u2-Debian)
OpenJDK 64-Bit Server VM (build 21.0.11+10-1-deb13u2-Debian, mixed mode, sharing) - openHAB version: 5.2.0 running in Docker version 29.6.2 container
- Issue of the topic: Rule fails to trigger at 22:00 after upgrading to OH 5.2.0 (Works manually and morning rule works fine)
Hi everyone,
I recently upgraded my openHAB system from version 4.3.10 (32-bit) to 5.2.0 (64-bit) and restored my backup. Since the upgrade, I am facing a very strange issue with a time-triggered rule.
I use the Luxtronik Heatpump Binding to control my heat pump’s cooling mode via the item MSW26S_Comfort_Kuhlung_Betriebsart.
I have two simple rules:
- Morning Rule (Works perfectly): Triggers daily at 06:00 AM and sets the cooling mode to “Automatik”.
- Evening Rule (FAILS to trigger): Is supposed to trigger daily at 10:00 PM (22:00) and sets the cooling mode to “OFF”.
The Problem:
Since upgrading to OH 5.2.0, the evening rule never triggers automatically.
What I have already tested / verified:
- Manual Execution: If I run the evening rule manually via the MainUI, it executes perfectly and the heat pump switches to “OFF”. The Luxtronik Binding and the item configuration are working flawlessly.
- Recreating the Rule: Deleting and recreating the rule from scratch did not fix it.
- Trigger Type: Changing the trigger from
TimeOfDay(22:00) to aCronexpression did not change anything. It still won’t fire at 22:00. - Conditions: I completely removed all conditions from the evening rule to ensure nothing blocks it, but it still won’t trigger at 22:00.
Since the morning rule at 06:00 works and the evening rule works manually, I am completely at a loss as to why the 22:00 time trigger is being ignored by the system since the upgrade.
Here is the code of the working morning rule (06:00):
version: 1
rules:
Kuehlen-AN-Zeitsteuerung:
label: Kühlen-AN-Zeitsteuerung
conditions:
- id: "3"
config:
itemName: MSW26S_Comfort_Kuhlung_Betriebsart
operator: =
state: "0"
type: ItemState
actions:
- id: "2"
config:
command: "1"
itemName: MSW26S_Comfort_Kuhlung_Betriebsart
type: SendCommand
triggers:
- id: "1"
config:
time: 06:00
type: TimeOfDay
Here is the code of the failing evening rule (22:00)
version: 1
rules:
Kuehlen-AUS-Zeitsteuerung:
label: Kühlen-AUS-Zeitsteuerung
actions:
- id: "2"
config:
command: "0"
itemName: MSW26S_Comfort_Kuhlung_Betriebsart
type: SendCommand
triggers:
- id: "1"
config:
cronExpression: 0 00 22 * * ? *
type: Cron
Are there any known bugs or issues regarding openHAB 5.2.0 Rules?
I found and read a few days ago about a bug in Rules when restoring from a Backup. The solution was to delete the Rule und creat it manually - which I did as descriped.
Any help to find the issue would be amazing.
Thanks in advance,
dasSofa
