Remote control of devices

EN: I have a proxmox server with several home assistant installations. I would like to know if it is possible to centralize the server in one place and control the devices in different homes?

Thanks for the help

ES: Buenas, la cuestion es que tengo un servidor de virtualizacion proxmox desde el cual estoy corriendo distintas maquinas de home assistant, mi cuestión es saber si se puede centralizar home assistant para tener conectadas varias viviendas pero el servidor tenerlo en un único lugar.

Gracias de antemano por la ayuda

It depends on the technology used by the devices.
Generally speaking, as long as HA is able to reach the devices or hubs vi a TCP/IP, yes.

Yes, but how do I make it communicate with the devices for the connection with another public IP?
that is, I can connect with the app to the server, but how can I add these devices if they are outside the server’s local network?

Depends entirely on those devices.

If they’re WiFi based then you’ll need to set up a VPN between the locations. If they’re not WiFi based then you’ll need some form of local gateway, and a VPN.