Added basic alarm function + serial command