If you’ve struggled with poor sleep the chances are you have tried endless gadgets, supplements and lifestyle hacks.