I have just migrated to openhab3 (step by step, most things are migrated, n ow I am going to migrated my rules). I have created some very basic Schedule rules via the gui, but the rules never get executed. They are listed under “Rules”, they are also listed under “Schedule”, but not started and I do not find any information about the rules in the logs.
So I assume I am missing some simple config for docker, right?
Rich you are right, the cron is executed. But something immediately resets the actions. From the event log:
2021-03-19 05:40:00.557 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'HeizungDiele_SetTemperature' changed from 17.00 °C to 21.0 °C
2021-03-19 05:40:36.582 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'HeizungDiele_SetTemperature' changed from 21.0 °C to 17.00 °C
The first action is triggered by my cron. How can I find the reason for the second action?
BTW: after I switched to openhab3 last weekend, I discovered this behavior several times: I change the state of an item and a few moments later the state switches back to the old state. As this happened sometimes without any visible pattern and only for manual actions, I decided to look into this somewhere later. But this cron thing happens each day, so I think there could be a chance to find the reason.
“Immediately” is half a minute later. While we can’t tell who did that update, you can look for suspects.
The favourite would a channel linked to that Item. It’s quite normal for a binding to update an Item state when it gets a status from a device or service.
Is your rule supposed to be sending a command to some device, not just updating an Item state?
Well, yes. You seem to have missed a key understanding of openHAB workflow. If you want something to happen, send a command. If you want to look at some condition, examine the state.