I never managed to figure out working from home and the whole knack of separating work from leisure. The best option for me has been coworking / hotdesking. The extra cost is more than made up for by the increased productivity and, more importantly, sanity.
A slightly more expensive and less sociable backup is working at a cafe - which I still find preferable to working from home.
A slightly more expensive and less sociable backup is working at a cafe - which I still find preferable to working from home.