Logics for 4-5 independent temperature events

You need to study the blinkWithoutDelay example - in order to manage several things at once you have to avoid using delay and start using timestamps.