Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

dernasherbrezon/r2lora

Repository files navigation

Note: This repository is archived and not supported anymore. Please use lora-at instead.

About

Expose LoRa modules for remote access

Design

diagram

r2lora exposes LoRa module functionality via REST API. This API can be accessed from any other device in the same network.

Features

  • 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

Supported boards

How to install / compile

  1. Install PlatformIO GUI or CLI version

  2. Clone this repository:

git clone https://github.com/dernasherbrezon/r2lora.git
  1. Build the application. Replace board with one of board names above.
cd r2lora
pio run -t upload -e board

How to configure

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.

Releases

No releases published

Packages

No packages published