entrance

Ansible role that deploys my edge device with connectivity containers. Currently it deploys a thread border router via the zbt-1 dongle by Home Assistant, a zigbee2MQTT interface using the Sonoff zigbee dongle and a DSMR reader with a generic P1 to USB converter.

653 BJ2
otbr.env.j2
653 B20 lines • plaintext
1# OpenThread Border Router Environment Variables
2OT_RCP_DEVICE=spinel+hdlc+uart:///dev/ttyThread?uart-baudrate=460800&uart-flow-control
3OT_RCP_BAUDRATE=460800
4OT_RCP_BAUDRATE_FC=hw
5
6OT_INFRA_IF=wlan0
7OT_THREAD_IF=wpan0
8OT_LOG_LEVEL=7
9
10# Enable services on the BR
11OTBR_WEB=1                        # web UI on :80 (host net)
12OTBR_NAT64_ENABLE={{ '1' if otbr_nat64 else '0' }}               # optional, but you had it on
13OT_DUA_ENABLE=1                   # recommended for 1.3+ networks
14OT_MLR_ENABLE=1
15
16# Backbone (Thread 1.3 / PBBR)
17OTBR_BACKBONE_INTERFACE=eth0
18
19# Optional: let REST listen on all addresses
20OTBR_AGENT_OPTS=--rest-listen-address 0.0.0.0