Have you heard of [syncthing](https://syncthing.net/) ? It syncs a folder between devices, like Dropbox, without the need for someone else's computer. No cloud, it's just your pc talking to your phone, directly and automatically, through your home WiFi.
Your detail is correct, but I feel like the point is - it would not work if there would be no server