When I was working long hours at an startup. My sleep cycle got disturbed.
Here is what works for me:
1. Reduce room temperature to 25*C. Go to bed at 10:30pm
2. Automatically shutdown the airconditioner at 4:30am.
3. Jump out of bed at 5am without any alarm clock.
This habit continues in the month when no airconditioner is needed.