Add timer for temperature and interrupt for pir