added ios alram on/off temp code