Energy Efficiency in Smart Buildings Through IoT Sensor Integration