I just told my immediate family that I wanted no visitors (luckily DH's family are all interstate so I knew they weren't going to pop in).
I thought it was best to let them know in advance so whenever I spoke to them before the birth I kept saying....no visitors until I'm up to it.....

Not sure my mum believed me but she did when I had her and told her I just wanted to get home and settled before I had visitors.

That said I settled better than I though so had visitors pretty soon after but I felt like I was in control of when they came....

Goodluck