1)
What inspired Shlomo to say this now?
1.
Rashi (from Mechilta Bo 12): He saw the cloud, which showed that the Shechinah dwells in the house that he built 1 - "Ki be'Anan Era'eh Al ha'Kapores" (Vayikra 16:2).
1
Radak: It is because Hashem said that He will dwell among Yisrael in Arafel, i.e. a cloud - "Anan v'Arafel" (Devarim 4:11). Yonason translates ba'Arafel as 'in Yerushalayim', i.e. there He will make His cloud of glory dwell.