There are two versions I have heard, the circumstances are slightly different, but the authenticity,
the efficiency and the greatness of Vayu Stuti is not changed by believing one version or the other; the differences are merely academical and purely a personal choice.
* There are some different versions, each one is valid and the difference is purely academical.
#1 – The incident happened in Udupi, Srimadacharya’s students normally would recite dwadasha stotra during naividya (bhog or offering to lord). Blinds are
drawn during this time, normally Srimadacharya would remove the blinds after the naividya, when he did not do this, the shishyas started chanting the
dvadasha stotra again, after 3 repitions when Srimadacharya did not emerge, the shishyas requested Sri Trivikrama Panditacharya to peep inside the Garbha
Gudi (The innermost sanctorum). When he peeked in, he was astonished by what he saw; Sri Hanuman worshipping Sri Rama, Sri Bheemsena devaru worshipping Sri
Krishna and Srimadacharya worshipping Sri VedaVyasa. Seeing this wonderful sight he instantly burst into praise of Srimadacharya, which is the Vayu Stuti as
we know it.
#2 – The incident happened in Badri when Srimadacharya and Sri TrivikramaPanditacharya were alone, during Naividya time, when Srimadacharya did not open the
blinds, Sri TrivikramaPanditacharya peeked and saw Sri Hanuman worshipping Sri Rama, Sri Bheemsena devaru preparing food for Sri Krishna and Sri Madhvacharya
learning the Vedas from Sri Veda Vyasa. There was an instant outburst of emotions and Sri VayuStuti was composed extempore.
On offering the Vayu Stuti to Srimadacharya, Srimadacharya accepted it and provided his seal of approval compose the Sri LaxmiNarasimha NakaStuti to be chanted before and after Sri VayuStuti thereby creating a samputa for it. SriMadacharya wanted Sri Hari’s praise to be recited first.
* Along the same lines, Sri Appanacharya’s stotra on Sri Guru Raghavendra has the approval of Sri Guru Raghavendra with the seven letters “sakshi Hayasi” (Hayagriva roopi Paramatma is proof for the efficacy of this sholka)
* Blinds are drawn during Naividya time, because Sri Hari in idols eats through eyes; i.e. if food items are place before the idols eyes, nyasa symbols are done and tulsi is placed on items. It is considered as eaten by lord. Hence the items are covered from the kitchen, to the idols until Naivedya. Reciting of Dwadasha stotra during Naivedya is also common practise after SriMadAcharya recited Dwadasha Stotra to neutralize the poisoning of the bullock.