Temperature control using relay.

If exhaust pin is an OUTPUT why are you treating it as INPUT?