Most farm sensor projects hit the same wall before any code runs: the Wi-Fi from the house does not reach the greenhouse. The fix is not a better router in the kitchen; it is the right way to push coverage out to where the plants are. Which way depends almost entirely on distance and whether you can run a cable.
The far-building problem.
Wi-Fi fades fast through walls, glass, and open air, so a signal that is strong in the living room is often useless a hundred feet away in a tunnel. Throwing a bigger antenna at the house rarely helps, because the limit is the link at the far end, not the source. The reliable answer is to get the network physically closer to the sensors: extend it, mount an access point out there, beam a link across, or run a wire. The honest order of preference is the reverse of the effort: a wire is the most reliable and the most work; a mesh node is the easiest and the least dependable at distance.
Four ways to reach.
Pick by how far you need to go and whether a cable is possible. The prose under the table is the real guide, since this is a distance question, not a single right answer.
| By distance | Mesh node | Outdoor AP | Point-to-point bridge | Run a cable + AP |
|---|---|---|---|---|
| Reaches | A room or two more | A nearby yard or building | Across a field, line of sight | Anywhere you can run wire |
| Needs | A mesh kit | A PoE drop to it | Two radios aimed at each other | Trenching or conduit |
| Effort | Easy | Moderate | Moderate to high | High |
| Reliability | Fair | Good | Good, if aligned | Best |
| Best for | Gaps in and near the house | A greenhouse within cable reach | A far building, no cable | The permanent answer |
For real distance, a point-to-point bridge (two aimed radios, such as Ubiquiti airMAX or TP-Link Pharos) shoots a link across a field with clear line of sight, then a normal access point covers the far building. Where you can bury Ethernet or fiber, that plus a Power-over-Ethernet access point at the far end is the most dependable setup there is. For the deep dive, see the point-to-point bridge.
Sensors need 2.4 GHz.
One detail trips up sensor builders. An ESP32 and most cheap boards join only 2.4 GHz Wi-Fi, not 5 GHz. That is usually fine, because 2.4 GHz also travels farther and pushes through obstacles better, which is what a far sensor wants anyway. But make sure the access point out at the greenhouse actually broadcasts a 2.4 GHz network, and that it is reachable by the boards. Some modern mesh systems hide or auto-steer bands in ways that confuse small devices, so a simple, named 2.4 GHz network is the friend of a sensor build.
Where it fits, and where it doesn’t.
Where it fits
- A greenhouse or barn within reach of your property network.
- Sensors that push readings often, or carry real data.
- Anywhere you can mount an outdoor AP or run a cable.
- A far building with clear line of sight (bridge).
Where it doesn’t
- A sensor miles out with no power or line of sight; use LoRa.
- Battery nodes that must sip power; Wi-Fi is hungry.
- Bands the sensors cannot see; they need 2.4 GHz.
- Blocked line of sight for a bridge; trees and hills break it.
Resources.
These open in a new tab:
Ubiquiti (UniFi & airMAX) TP-Link (Omada & Pharos) MikroTik When Wi-Fi can’t reach: LoRa
Frequently asked questions.
How do I get Wi-Fi to my greenhouse?
Get the network physically closer. For a building within cable reach, run Ethernet and mount an outdoor access point powered over that cable. For a far building with clear line of sight, use a point-to-point bridge. A mesh node can fill a short gap near the house. A bigger router indoors rarely helps.
Why won’t my ESP32 connect to my Wi-Fi?
The most common reason is the band. An ESP32 joins only 2.4 GHz networks, not 5 GHz. Make sure a 2.4 GHz network is available and reachable where the board is, and that a mesh system is not hiding or auto-steering it away from small devices.
What is a point-to-point Wi-Fi bridge?
Two directional radios aimed at each other that carry a network link across distance with clear line of sight, often hundreds of meters or more. You put a normal access point at the far end. It is the common way to reach a building you cannot run a cable to.
Is Wi-Fi or LoRa better for a far sensor?
Wi-Fi if you can get coverage there and the node has power, since it is simpler and carries more data. LoRa if the spot is far, remote, or battery-only, since it reaches much farther on far less power but carries only tiny messages.
Should I run a cable or go wireless?
A wired run, with a Power-over-Ethernet access point at the far end, is the most reliable option and worth it for a permanent install. Go wireless (an outdoor AP or a bridge) when trenching a cable is not practical.