Well done getting through the game. I believe (from experience playing the game) that the light section is completely random. I couldn't find any pattern. I'm sure the dev will correct this soon :)
Thanks! I have to agree that it's random. I actually spent 5 minutes standing around just to see if there was a pattern or something.
I made the light part a little easier.