Flash lora-inet in your browser
LoRa gateway firmware for ESP32 + SX1278 boards (LILYGO T3 V1.6.1 / LoRa32 V2.1_1.6, 433 MHz). Plug the board into USB and install it from Chrome or Edge — no PlatformIO, no esptool, no command line.
v0.4.1-stage3 · ESP32 · 4 MB flash · MITConnect and install
Connect the board with a USB data cable, then pick its serial port in the browser dialog.
The browser asks for permission to access the serial port. Nothing is uploaded anywhere; the firmware files are served from this page.
Before you start
- Chrome or Edge 89+ on a desktop. Firefox and Safari do not support Web Serial.
- A USB data cable (many charge-only cables have no data lines).
- Board: LILYGO T3 V1.6.1 / LoRa32 V2.1_1.6, ESP32-PICO-D4, SX1278, 4 MB flash. This build is not for ESP32-S2/S3/C3 boards.
- Windows: a CP210x or CH9102 USB-serial driver may be needed. Linux: your user must be in the
dialoutgroup. - The 433 MHz antenna must be connected before the board transmits. The firmware refuses to transmit until the antenna is confirmed in the web UI.
Back up settings and the network key first
If this board already runs lora-inet, erasing the flash removes Wi-Fi settings, the web password and the network key. Without the same key on both boards the link stops working and the key must be copied again.
- Export or write down the network key (Security → network key).
- Keep a full flash backup:
tools/backup_flash.sh /dev/serial/by-id/… board-a. - The installer offers an erase option; use it for the first install or when switching from other firmware (e.g. Meshtastic).
- Boards still on the old partition table A (before 0.4.0) must be installed with erase, or migrated first with
tools/migrate_partitions.sh.
What happens when you click install
- The browser connects to the ESP32 bootloader over USB.
- It writes the bootloader, the partition table, the OTA metadata and the application — about 1.1 MB in total.
- The board reboots into lora-inet. The first boot takes a few seconds and runs a self-test.
- A Wi-Fi access point
LoRaGW-XXXXappears. Join it and open http://10.10.10.10/; the password is shown on the OLED until it is changed.
Do not unplug the board while flashing. If the upload fails, reconnect and try again — the bootloader stays accessible.
After flashing
First setup
Choose the role (SERVER or CLIENT), set the Wi-Fi and the web password, configure the radio profile and confirm the antenna. Details: Quick start.
Pair two boards
Both boards need the same network key and the same radio profile. Generate the key on one board and copy it to the other (Security → network key, or tools/netkey_copy.py).
Troubleshooting
“Failed to connect” or no serial port in the list
- Use another USB cable (data lines) and another port; avoid unpowered hubs.
- Windows: install the CP210x/CH9102 driver and check Device Manager.
- Linux: add your user to
dialout, then log out and back in. - Close programs that hold the port:
pio device monitor,minicom, Arduino IDE. - If the board does not enter the bootloader, hold BOOT, plug USB in, release BOOT, then click install again.
“Web Serial is not supported”
- Open the page in Chrome or Edge on a desktop, over HTTPS, in a top-level tab.
- Some managed browsers disable serial access by policy.
The board flashes but no access point appears
- Wait 10–15 seconds and press RESET once.
- Check the OLED: the AP name and IP are shown there.
- Reinstall with the erase option; a partition table from older firmware may be incompatible.
Links
- Source code and documentation (README, protocol, hardware, test plan)
- Hardware and pinout
- All releases
- MIT license
Experimental firmware, provided as is, without warranty. Radio power and duty-cycle limits are the operator's responsibility.