MQTT based microservice architecture for smart homes. See project pelops for an overview. For projects that are realized using pelops please look at priamos.
Timer microservice. Listens on topics for specific messages, starts a timer when such a messages has been received and publishes a predefined message after the timer expired.