If you stay for the credits after Lights Out (2016), you might see a line that reads “based on the short film by David F. Sandberg.”  Back in 2013, the Lights Out director made a short under the same name, with the same concept. In the feature, Sandberg uses a shot-for-shot recreation of the short in the opening sequence. Here’s a comparison: