Did you check your battery connection? I had a problem where my keys got stuck in the car sometimes, and the alarm went off randomly. After trying everything I eventually realized the negative connection to my battery was loose.