OpenThreadBorderRouter-HA

OpenThreadBorderRouter-HA

Aplicación Docker from pureelectricity's Repository

Visión general

OpenThread Border Router (Home Assistant Optimized) This container runs an OpenThread Border Router (OTBR) specifically tweaked for integration with Home Assistant via the Silicon Labs EFR32MG21 chipset (SkyConnect, ZBT-1, Sonoff ZBDongle-E). CRITICAL PREREQUISITES - READ BEFORE INSTALLING: 1. Enable IPv6 in Unraid: Navigate to Settings > Network Settings. Ensure "Network Protocol" is set to IPv4 + IPv6. If this is disabled, Thread networking will not function. 2. Host Kernel Configuration (Persistence Required): Unraid resets network forwarding rules on every reboot. You must apply the following commands on the Unraid Host to prevent the Thread network from breaking. Commands to run: [code] sysctl -w net.ipv6.conf.all.forwarding=1 sysctl -w net.ipv6.conf.br0.accept_ra=2 sysctl -w net.ipv6.conf.eth0.accept_ra=2 [/code] How to automate this (Choose one): Option A: User Scripts Plugin (Recommended) Install the "User Scripts" plugin. Create a new script with the commands above and set it to run "At Startup of Array". Option B: The Go File (Native) Edit the file /boot/config/go on your flash drive and add the commands to the bottom of the file. This will execute them during the boot sequence. 3. USB Firmware: Your USB stick MUST be flashed with OpenThread RCP Firmware at 460800 baud. (Multiprotocol firmware is not supported). Configuration Notes: - Network Type: Must be Host for mDNS discovery. - WebUI Port: Default is 8099 (to avoid conflict with Unraid Port 80).

Argumentos en tiempo de ejecución

Interfaz web
http://[IP]:[PORT:8099]/
Red
host
Concha
bash
Privilegiado
true
Parámetros adicionales
--cap-add=SYS_ADMIN --cap-add=NET_ADMIN --sysctl "net.ipv6.conf.all.disable_ipv6=0" --sysctl "net.ipv4.conf.all.forwarding=1" --sysctl "net.ipv6.conf.all.forwarding=1"

Configuración de plantillas

Radio Device (Passthrough)Devicerw

Map your physical USB stick here (use /dev/serial/by-id/...). It maps to /dev/ttyUSB0 inside the container.

Objetivo
/dev/ttyUSB0
Por defecto
/dev/serial/by-id/YOUR_DEVICE_HERE
Radio Path (Internal)Variable

The internal path to the radio. Leave this as /dev/ttyUSB0 matching the internal side of the device mapping above.

Objetivo
DEVICE
Por defecto
/dev/ttyUSB0
Valor
/dev/ttyUSB0
BaudrateVariable

Baudrate for RCP Firmware. SkyConnect/ZBT-1/Sonoff-E usually use 460800.

Objetivo
BAUDRATE
Por defecto
460800
Valor
460800
Flow ControlVariable

Hardware Flow Control. Set to 1 for SkyConnect/ZBT-1. Set to 0 if using a generic stick without flow control support.

Objetivo
FLOW_CONTROL
Por defecto
1
Valor
1
Backbone InterfaceVariable

The Unraid Host interface connected to your LAN/Internet. Usually br0 or eth0.

Objetivo
BACKBONE_IF
Por defecto
br0
Valor
br0
OTBR WebUI PortVariable

Port for the OTBR Web Interface. Changed from default 80 to prevent conflict with Unraid.

Objetivo
OTBR_WEB_PORT
Por defecto
8099
Valor
8099
OTBR REST PortVariable

Port for the REST API (Used by Home Assistant).

Objetivo
OTBR_REST_PORT
Por defecto
8081
Valor
8081
Enable NAT64Variable

Enable NAT64 translation.

Objetivo
NAT64
Por defecto
1
Valor
1
Enable FirewallVariable

Enable internal firewall.

Objetivo
FIREWALL
Por defecto
1
Valor
1
Data StoragePathrw

Persistent storage for Thread credentials and dataset.

Objetivo
/data/thread
Por defecto
/mnt/user/appdata/otbr
TUN AdapterDevicerw

Required for creating the wpan0 network interface.

Objetivo
/dev/net/tun
Por defecto
/dev/net/tun
Valor
/dev/net/tun
Local TimePathro

Sync time with host.

Objetivo
/etc/localtime
Por defecto
/etc/localtime
Valor
/etc/localtime
Auto-Flash FirmwareVariable

Disable automatic firmware flashing attempts.

Objetivo
AUTOFLASH_FIRMWARE
Por defecto
0
Valor
0
Log LevelVariable

Log verbosity (info, debug, warn).

Objetivo
OTBR_LOG_LEVEL
Por defecto
info
Valor
info

Detalles

Repositorio
ghcr.io/ownbee/hass-otbr-docker:latest
Última actualización2026-05-31
Visto por primera vez2025-12-15

Ejecute OpenThreadBorderRouter-HA en Unraid.

OpenThreadBorderRouter-HA se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.