Programmable Relay Timer (Relay shield, Ubidots, IFTT?)

Sounds like you're trying to do the same thing as here, might be interesting.