DisclaimerPlease, proceed carefully following the tips published in this blog, specially when Main Power is involved. I'm not responsible for any damages caused by what is written in this blog.
OpenHAB 3 - Rules triggers by DateTime item - Home Automation System [Versione in italiano]
by Marco Lamanna
In this video we talk about the possibility of managing the activation of a rule based on date and time through an item of type DateTime.
Up to version 3.2 of OpenHAB the rules that can be activated via date / time had wired the time conditions in the definition of the rule itself.
In version 3.3 the possibility has been added to set an item of type DateTime as a trigger for activating the rule: in this way it is possible to set the activation of the rule through the interface, without having to change the definition of the rule itself.
This video does not presume to be a tutorial, but simply a step by step of what has been done to achieve the goal. I hope that it will help someone.
Enjoy your viewing