ESP and VPN answerr

Hi, guys, my answer is:
I have the HA installation in my house with many esp sensor, programmed with esphome, and I want install one esp sensor in an other location. How I can make contact with two different network via internet connection?
I have try with VPN wireguard without results.

Thank you for your help.

Set up a Site to Site VPN

I try with zerotier but no work

Interesting setup.

If you have two separate networks connected by vpn. The ip that the remote esp must be reachable from you HA installation. I guess that the discovery would not work.
If you can ping it from the none remote network it would probably work.
Then you could configure that remote esp get static ip then manually configure HA to connect to it by writing in the ip of the remote esp ip when you add it.
/Mattias