trigger alarm event created

now alarm detection and trigger works perfectly