I am using the Time Of Day Pattern. I used in with OH2 and with OH and Java based framework which is now even easier and more powerful to use: