s and a triggers

For motion sensor and alarm clock wakeup