Bridge two esp32 water pump monitoring

Can somebody help me code my two esp32?

One esp32 has an ultrasonic sensor connected to pins 26(trigger) , 27(echo), grnd and +V5 pins…
The other esp32 has a relay module connected to pins 26( trigger) , gnd and +V5…

I want to trigger my relay module if the ultrasonic measures a specific distance. for example if distance >10 inches, the relay module will be triggered on and if distance < 3, the relay module will be LOW or turned off. Can somebody knows how to bridge this two esp?

Hoping for responses…

Have a look at

For bridge widget :wink: