get alarmcode