When I started using something like the hyperlink below my time management improved:
<a href="https://addons.mozilla.org/en-US/firefox/addon/leechblock/" rel="nofollow">https://addons.mozilla.org/en-US/firefox/addon/leechblock/</a><p>It is very easy to shift working hours towards afternoon/evening/night - if you do want to have some family life then I suggest isolating yourself into separate room during your working hours and making your family aware that 9-5 is when daddy works :-)
I just switched to remote work a few months ago... slack has been a lifesaver for staying connected w/ the team. Totally agree though w/ ramtatatam that you need a separate space to work WITH A DOOR (my first mistake.)