I take trazodone for months now (for insomnia only) and never had a problem with lingering sedation or dizziness in the morning. Then again, melatonin never gave me sedation, since it never worked for me in the first place...
You could also try drinking some Tilia +/- lavender tea.