There's a possible easy solution you should have tried first. And that solution is stop using any device that you think emits blue light, such as a mobile phone, pc, tv a few hours before going to bed. This will allow melatonin to accumulate within your brain.
P.S. I've read even moonlight can...