Skip to content

Repository files navigation

Thread Border Router with ESP32

thread architecture overview diagram

Bullet points

  • Supports single ESP32-S31 microcontroller setup

  • Supports stable and fast 1 GB/s Ethernet network connection instead of rely on Wi-Fi

Features

Backend

  • Thread Border Router with Ethernet-Backhaul, Auto-Attach after Reboot

  • REST-API with Setup-Token-Auth (Device-Info, Thread-State, Dataset, Neighbors, Commissioner, OTA)

  • OTA with GitHub Releases, including Rollback-Protection

  • 16-MB-Partitionslayout incl. prepared nvs_keys for future encryption

  • CI: firmware build

Frontend

  • Fast Astro SSR with Qwik interactions

  • CI: static file generation

  • dev-proxy for local development

Prerequisites

  • ESP-IDF master-branch installed under ~/.espressif/preview
  • Target: esp32s31

Get Started

Flash Thread border router firmware:

. ~/.espressif/preview/export.sh
cd ot_br
idf.py --preview set-target esp32s31
idf.py build flash monitor

Web change

  1. Edit frontend

  2. Build frontend

cd web && pnpm build
  1. Build Firmware incl. UI-Partition and flash
cd ../ot_br && idf.py build flash monitor
  1. Browser: (Hard-) Reload

open

http://esp-ot-br.local

Supported Hardware Platforms

Single SoC Module

  • ESP32-S31 single SoC (Function-CoreBoard-1, Korvo-1)

ESP31-S31 dev board

Thread end device example

Thread CoAP light

About

Thread Border Router with ESP32 - Supports reliable single module with Ethernet

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages