http temp output added, processing sleep logic added