Esp32 in garage with a 4G router?

I have an esp32 which I want to connect to a relay to control my garage door.
Problem is that the garage is far away from my house and I need to have a 4G router in the garage.
Can anyone help with suggesting how I can connect the esp32 to my home assistant server over internet?

Surely there must be an easier way. Can you not run a LAN cable? Have you investigated power line adaptors?

Its way too far for any such solution. I was thinking about LoRa but LoRa doesn’t work inside the garage and needs an outside antenna. Since some company installed the 4G router for the car charging infrastructure I thought that would be easier.

Unifi nano station AC loco can bridge network at least a mile.

I would bridge network to a switch and AP(if needed) in the garage.

I use this to provide network at my gate some 200’ from home. No dropouts and I have a palm tree waving between the two bridge devices so line of sight in no issue. Also no issues during hurricanes. I’ve been using these 7 yrs outdoor in direct sunlight (heat) and not a hiccup.

You could check if that 4G router supports a VPN tunnel, and set that up?

In that way, the LAN side in the garage would be part of your home LAN network :wink:

No matter what your solution will be for the network connection I would also recommend maybe looking into a home Assistant in the garage. A small Pi3B+ might be enough.
This HA in the garage could then be integrated in the house HA with remote_homeassistant.
The two HAs can then work together when linked, but also independently if no connection is available.

If on 4G I would look at 2nd Pi

Tailscale or any overlay network would be good solution if using 4G

I still believe bridge network is simplest. In this case second pi is overkill since it is same local network.

Thanks guys!
Since the router is not mine I think I’ll go with the Pi (I have several lying around) and tailscale.
For some reason I didn’t think of putting a Pi there instead of an ESP.