How do i connect two HA install

I would like to read sensor data from a remote HA into my HA. I guess that should be possible although I can’t find any options to connect two HA installs. MQTT or the API, but how?

Thanks. All status en attribute info from the sensor is now visible with MQTT explorer. The MQTT integration on the main HA doesn’t auto discover the sensors. Must be a configuration error.

Discovery enabled ?

image

apparently autodiscovery only works on the default homeassistant prefix. Easily solved with

mqtt:
  discovery: true
  discovery_prefix: homeassistant_2