Using new method for accelerometer alarm.
Set 1 second cooldown before alarm can be triggered again.
Events are now logged on to the server.