If you get woken by unwanted energies, you may try imagining going to bed inside an energetic "cocoon" of light with a guardian spirit watching over you. This guardian spirit will alert you to anything important, but send everything else away.
The cocoon shields you from everything except what your guardian allows through in your best interest (this guardian is a facet/construct of yours, after all).
Inside the cocoon, it is pleasantly dark/dimly lighted, perfect for sleeping happily (choose your own preferences about all this).
If this doesn't appear quite right for you, find your own imagery that works better. It is merely a tool to focus your intent on being undisturbed when you choose to.