An Investigation on Pervasive Technologies for IoT-based Thermal Monitoring