Make sure you have a dedicated room in the house just for work.
Schedule even the little things on your calendar.
Use your Slack status as best you can and setup automatic Do Not Disturb times.
Establish well-defined break times.
Talk with your family members that are at home during the day about your schedule.