Added temperature recording to OTP check functions