For me what helped is taking 7.5 mg of mirtazapine. At higher levels it's an anti-depressant but at lower levels it's an anti-histamine. It gets me drowsy. Together with 0.3 mg melatonin it knocks me out. I only take it 3 times per week max to not have habituation kick in.
So 3 days out of 7 days I have guaranteed good sleep. The other 4 days are a toss up. But an average of 5 days of good sleep is much better than 3.5 days out of 7 days.