Connecting remote instances of Home Assistant

I have two instances of Home Assistant. One where I live installed on a Pi and controlling lighting, heating etc. in my home. I have another instance of Home Assistant a few kilometers away using ESP Home to measure the water-level and water-flow in a water-well. There is no wired connection between the two sites but both have Internet access.
I would like to be able to include the information about water-level and flow in my home instance of Home Assistant and am looking for suggestions about the best way to achieve this goal.

You’ll want two things.

  1. A VPN between those two locations so the devices can reach each other (or at least your home instance can reach the remote one).
  2. Home Assistant remote custom component

Thanks for this suggestion, I will get into it!