Hi all, I'm way overdue setting up a solution to record footage from my (currently) three Dahua IP cams which I've had in place a few months now. I've finally got round to it so I'd appreciate some guidance as I'd like the solution to have multiple purposes 
So my requirements for the solution are:
Sorry about the lengthy post but I'm hoping with this information I can get some useful advice on the best solutions to consider.
Thanks!

So my requirements for the solution are:
- Record and manage IP camera footage
- I should also be able to view the feeds on my mobile phone
- It would be nice if I could view the feeds on my TV
- Run a VPN server so I can secure my home network
- Run a Ubiquiti Unifi controller to manage my APs
- Be a media server/NAS for my documents, photos and movies
- I should be able to view my photos and stream the movies on my TV
- I should be able to access my documents from anywhere on a laptop and my phone
- Be compact, quiet and energy efficient
- I already have monitors and peripherals in the location where this will go
- As it will be always on, I do want to make sure it is as energy efficient as possible
- Compact would be nice but if that sacrifices computing power, future-proofing or inflates the cost too much then I would drop this requirement
Sorry about the lengthy post but I'm hoping with this information I can get some useful advice on the best solutions to consider.
Thanks!