Temperature monitoring and alerting code for Raspberry-Pi