The Flasher smartapp could fit your use case. However, due to ST issues it may not be working properly at the moment.