Everyone can have trouble separating "work" and "home". My wife who does research in machine learning / machine classification has a formal office and lab but also "works" almost every evening including weekends while at home. In some sense, even though she has more traditional "on location" job, she has more trouble separating "work" and "home".

I have worked "remotely" for years. Word of caution, while there are upsides, it can be rather lonely. For me this is the biggest hurdle to cross. Anyways, here is how I keep a separation.

1) Worlds do not collide.

First and most importantly, maintain a work specific environment. If you blend private and work use in a location or on a device, then you will never not be at work. Don't use your work phone or laptop for personal use. If you can dedicate a space in your home as on office then great (I realize not everyone can do this) but do not use your personal phone or laptop for company business.

Don't let work electronics invade your home life. Don't use / take them when with your family. Don't use them after dinner. Don't take them to bed with you. Want to play minecraft with your kids, watch a netflix movie, post on facebook, do game dev on the side, write a book, do your taxes.... Get a personal workstation.

Don't use your personal phone number, personal email, personal dropbox, personal github, personal whatever for work related stuff. I know it would be super convenient to just have your employer connect to your personal dropbox or github account. Just don't.

Finally, when you are sick, be sick. When you need to take the afternoon off to take your kid to the dentist, schedule it and take the time off. Don't half ass your health, family or job.

2) Be more "present" than everyone else.

While the first item is really my direct answer to your question, I do have a further recommendation that will help you be successful as a remote employee. Remote workers are invisible. You don't get the informal back channel communications at coffee or the hallway face time with your boss that an on-site employee gets. You must compensate for this.

Set formal hours when you will be available. Clearly and regularly communicate them to your team and your boss. Be the first on the call/standup. Participate via video and look professional. Kids and pets and other home life should not infiltrate your meetings.

Over document your code and issues, comments and feedback. Provide textbook test cases and instructions. Get clarification of tasks and priorities from your boss and team on a daily basis. One on one communication is great, but small group is even better. Under promise and over deliver, not the other way around. Under no circumstances should you "go silent" or be "heads down" for an extended period of time. When asked, all members of your team should be able to explain what you are working on today.

As a remote employee, you must always be reachable during expected hours. Going to make/get a coffee or use the bathroom? Say so in team chat. "Hey, just going to run and get a coffee" dropped in Slack costs nothing. The alternative will eventually be feedback to your boss that "I can never get a hold of that person".

Good luck with your remote work.