Revert "Delete alarm.py"

This reverts commit c282a0b9b69784038c38d192315b4792e17ee97b.
clear