It's largely due to the fact that you only sometimes work from home. Without doing it as part of a routine, you don't build in the habits that you have when going into the office is the routine. For you "home" equates to "personal time."
It takes a bit more mindfulness and discipline, but you can retrain yourself to not be so distracted even if you don't work from home very often.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.