PID controller

Sorry because this is off-topic question but it also related with PID...

How can I reset Output value of PID? I want to make a regulation of temperature in room, and output of PID is making regulation of windows (how much open/close are them). I want that PID start making calculation every 3 minutes from begin (Output = 0). I read that if I put PID in manual mode and than back in auto it doesn't change value of output so i need to find other solution...