I have been scratching my head for a while trying to find a workaround for the time based issue on SmartThings.
For those who are not familiar with the “time based” issue, there seem to have a major problem with the service SmartThings is using for scheduling. It stops working after a while. It can be reset, but it will eventually fail again.
SmartThings says that they are working on migrating to a new scheduling service that will be able to handle the growth of the ST platform, but there is no official timeline for when that will be completed.
Yesterday, I finally was able to have my time based scenarios to work the way I wanted.
Here is my recipe.
In the IDE, I created a virtual switch for every time based event that I wanted.
I used “Simulated Switch” as device type.
Then using the Rule Machine SmartApp, I created rules that performed the desired action when a switch was turned On (I also make sure to turn Off the other switches in the actions list)
Finally, I created Recipes in IFTTT.
The recipes are based on the “time and date” channel and of course the “SmartThings” channel.
As long as the IFTTT service is up and running, my time based action are working.
Ironically, there was a major outage on the IFTTT service yesterday before I created my recipes.
I hope this will help others.