Have I got this right so far

I basically have the app, and a wifi to infared unit.
Im going to be controlling a bluray, onkyo amp, projector and a htpc running xmbc.
Do i need x2 infa red units as theres only 3 irs on each? I dont mind more irs as I can put my lights and sockets on it.
Im struggerling to get me head around it all.
Thanks for any help