Note: This repository is archived and not supported anymore. Please use lora-at instead.
Expose LoRa modules for remote access
r2lora exposes LoRa module functionality via REST API. This API can be accessed from any other device in the same network.
- REST API
- Lora RX start
- Lora TX
- FSK RX start
- FSK TX
- OOK RX start
- OOK TX
- Pull received messages
- RX stop
- Status and configuration
- Basic authentication
- Initial configuration via standalone WiFi access point
- FOTA updates from apt.r2server.ru
- ttgo-lora32-v2
- ttgo-lora32-v1
- ttgo-lora32-v21
- heltec_wifi_lora_32
- heltec_wifi_lora_32_V2
- ttgo-t-beam
-
Install PlatformIO GUI or CLI version
-
Clone this repository:
git clone https://github.com/dernasherbrezon/r2lora.git
- Build the application. Replace
board
with one of board names above.
cd r2lora
pio run -t upload -e board
After initial installation, r2lora will start WiFi access point "r2lora".
- Connect to "r2lora" WiFi
- Open http://192.168.4.1 address
- Make required changes to the configuration and save
- IMPORTANT disconnect from "r2lora" WiFi
If everything is ok, then r2lora will attempt to connect to your local WiFi. If connection is successful, then it will print IP address within your local network. You can open it to amend configuration.