One trick when working from home is to wear a "work hat:". When you are working, wear the hat, and your family knows to not disturb you.

Various studies (Jerry Weinberg, et.al) show it takes you 15 minutes to get "in the groove", but most environments interrupt every 11 minutes.

I also like listening to psydub and similar music because it is the right beat for my brain.

Consulting Embedded Systems Engineer with 40 years of experience with Mission-Critical Projects.