Good evening, everybody…
Please, I would need some help with the following issue:
I have installed the iCal-Binding on an openHAB4-System and reading my roster from my company’s website through an iCal file. I have implemented two filters, which filter the events as follows:
Whenever the location of an event contains the String “FRA -”, I will be leaving the house.
Whenever the location of an event contains the String “- FRA”, I will be returning home.
With the help of this forum I was able to create a rule which turns off my heaters 1 hour before I have to leave the house.
Now, I am stuck with turning the heaters back on 3 hours before I return home.
I cannot use the channel “current_end” since I cannot apply any filter to this channel. My roster contains other events, e.g. home office etc. So using the channel “current_end” would turn on the heaters every time an event ends, even when I am at home.
I also cannot use the filter-channel “result_0#end” because this gets updated the second the event starts. In other words, when the event (where I return back home) starts, this event is deleted and the “result_1#end” will instantly become “result_0#end”.
So what I am looking for is a way to filter the “current_event_end” for the Location “- FRA”, or in other words: How do I turn on my heaters 3 hours before the current DateTime item containing the String “- FRA” ends?
Right now I am starting my heaters at the beginning of the “return home event”, but they might run for up to 15 hours unnecessarily until I get back home.
Any help is greatly appreciated…