At the End of the Driveway, Wi-Fi Gives Up. A Tiny LoRa Radio Doesn’t.
Photo: LoRa radio module mailbox sensor outdoor antenna closeup, via assets.esdemarca.com
The mailbox is about 300 feet from the router, through one exterior wall, a garage, a line of arborvitae, and whatever the neighbors' cars are doing to the 2.4 GHz band. Wi-Fi reaches about halfway down the driveway and then becomes a coin flip. I tried a $60 outdoor extender for a week. It worked, sort of, and then it needed a reboot during a rainstorm. That is when I decided the mailbox did not need Wi-Fi. It needed a radio with one job.
The driveway problem is not a bandwidth problem
A mailbox sensor sends a few bytes when the door opens. It does not stream video. It does not need a cloud account. It does not need to be on the same network as the thermostat. The only requirements are range, battery life, and a local receiver that does not depend on someone else's server.
LoRa fits that job almost too well. A 915 MHz LoRa link at a low spreading factor can cross a suburban lot with plenty of margin. It is not Wi-Fi, and it is not LoRaWAN unless you build a network server. Mine is point-to-point: one transmitter in the mailbox, one receiver in the garage, and a small ESP32 that turns the packets into MQTT messages.
Parts that cost less than the extender
The transmitter is a $12 SX1276 LoRa board paired with a low-power microcontroller. You can find integrated boards that combine both, but I used what was in the parts bin: an ATmega328P running at 3.3 V, a reed switch, a 10 kΩ pull-up, and a 3xAA battery holder with lithium AA cells. The antenna is a quarter-wave whip with a small ground plane inside a plastic project box.
The receiver is an ESP32 with a second SX1276 board, powered from a 5 V wall adapter in the garage. It listens on 915 MHz, checks a short packet, and publishes to a local MQTT broker. Home Assistant picks it up from there. No vendor app, no subscription, no port forwarding.
Range testing: 300 feet is easy if you respect the metal box
The first test was disappointing. With the transmitter inside the metal mailbox, the receiver in the garage saw nothing. That was not a range problem. That was a Faraday cage problem. I moved the antenna to the outside of the mailbox with a short coax pigtail and a plastic bulkhead, and the link came alive.
At 300 feet, through the garage wall, I measured around -95 dBm RSSI with a spreading factor of 9 and a 125 kHz bandwidth. That is not a strong signal, but it is enough for a short packet. At the curb, with the antenna at mailbox height, the packet still arrived. Across the street, behind a neighbor's SUV, it also arrived. The link margin is the point. I am not trying to win a range contest; I am trying to survive a wet leaf and a snowbank.
Wake, send, sleep
The firmware is deliberately boring. The reed switch pulls an interrupt pin low when the mailbox door opens. The MCU wakes, debounces for 50 ms, reads the switch again, and sends three identical packets spaced two seconds apart. Then it goes back to sleep. The radio is powered down between transmissions.
The three packets are for reliability, not for spam. If one packet is lost to a passing truck or a bad antenna angle, the next one probably gets through. The receiver de-duplicates by a packet counter and a timestamp. A mailbox opening is a rare event, so a little redundancy costs almost nothing.
Battery math that survives winter
A LoRa transmission at 17 dBm draws around 120 mA for roughly 100 ms. Three packets per event is about 36 mAs. If the mailbox opens twice a day, that is 72 mAs per day, or about 0.02 mAh per day from the radio. The sleep current dominates. A cheap development board with a linear regulator and a power LED can waste more than the radio. I removed the LED and used a low-quiescent regulator, and the sleeping board settled around 15 µA.
With 2,000 mAh of lithium AA capacity, the rough math says years. Reality says two to three winters. Cold reduces usable capacity, the reed switch pulls a tiny current through its pull-up, and the boost or buck converter is never perfect. Lithium AA cells handle cold better than alkaline, which is why I did not use the usual dollar-store batteries.
The hub is the easy part
The receiver runs a tiny packet parser. If the counter is new, it publishes a JSON payload with the mailbox ID, the switch state, the RSSI, and the battery voltage. Home Assistant turns that into a notification and a logbook entry. The whole thing is local. If the internet goes down, the mailbox still reports.
I mounted the receiver high in the garage, away from the metal garage door tracks. The antenna is vertical. The transmitter antenna is also vertical. That sounds like a small detail until you realize that a 90-degree mismatch can cost you more signal than 200 extra feet of distance.
What I would change
The reed switch is fine, but a Hall-effect sensor and a magnet might be more tolerant of leaf debris and ice. The plastic box needs a better gasket. The antenna pigtail should be shorter. And I would add a small solar panel only if the battery math failed, which it has not.
The $60 Wi-Fi extender was not a bad product. It was a bad fit for one dumb job at the end of a driveway. The $12 LoRa board does not care about the router, the cloud, or the neighbor's microwave. It just wakes up, says the mailbox is open, and goes back to sleep.