Updated TempMonitor example