iMac causes WiFi interference / outage
I had the same wifi issues with two iMacs, one iPhone, one android... the iMacs were the problem. This worked for me:

Resolving Stubborn Wi-Fi Connection Problems in Mac OS X

I hope it does for you.

Cheers