Hacker News new | ask | show | jobs
by wpietri 1815 days ago
Which part?

If you're starting from scratch, I'd say start with the lighting. I put multiple Hue bulbs in my main rooms and then wrote some software to control them: https://github.com/wpietri/sunrise

I don't recommend using this software, but it's easy enough to write something similar. Basically make sure the amount of light around you is as if you were camping: bright mornings and days, dim evenings, dark nights.

Also helpful to me was looking at other things that might mess with sleep. E.g., gradually weaning off caffeine and other stimulants. Avoiding exciting things (video games, action movies) after 8 pm or so.

If at that point you're still struggling, I'd look at why. Look in the same way you'd debug an obscure software problem.

Is that helpful?

1 comments

Thanks a lot . I really like the concept of imitating the natural day lighting scenario with hue lights
Glad to hear it. Good luck!