Integration of internal and external signals in intake control