Enviar por SMS: IoT in Buildings and Optimization of Energy Consumption