Just read this (long, but awesome) article breaking down how THC and CBD affect sleep.
I used to smoke before sleeping every night, but did find I wasn't well rested. Stopped it, had the weirdest dreams for like 2 weeks... then started sleeping WAY better.
Now I take valerian root and melatonin most nights.
Haven't tried CBD though... any help here?