Added function for SMS-alerts
Moved logic for reading the sensors