i have a EFR32 MGM21 PoE Coordinator that i recently replaced with the dual radio mgm24 zwave/zigbee and was wondering if anyone had some pointers on how i could re-flash the old coordinator to be a Thread Border Router?
i believe this is the last version of the yaml i was using, so i’m thinking it would be the zeroconf section that would need to be modified, but i’m really new to the esp32/iot world and would prefer not to get to an un-recoverable state
esphome:
name: tubeszb-efr32-mgm210-poe-2023
project:
name: tubeszb.efr32_mgm210_poe_2023
version: "3.0"
esp32:
board: esp-wrover-kit
framework:
type: arduino
external_components:
- source: github://tube0013/esphome-stream-server-v2@testing1
# - source: github://vallejoyuridamian/esphome-stream-server-v2
- source: github://syssi/esphome-zeroconf@main
dashboard_import:
package_import_url: github://tube0013/tube_gateways/models/current/tubeszb-efr32-MGM210-poe/firmware/esphome/tubeszb-efr32-mgm210-poe-2023.yaml
#Olimex ESP32-PoE Ethernet
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
power_pin: GPIO12
# Optional manual IP
#manual_ip:
#static_ip:
#gateway:
#subnet: 255.255.255.0
# Enable logging
logger:
level: DEBUG
# Enable Home Assistant API
api:
reboot_timeout: 0s
ota:
web_server:
port: 80
version: 1
switch:
- platform: gpio
pin: 5
id: zRST_gpio
inverted: yes
restore_mode: ALWAYS_OFF
- platform: gpio
pin: 16
name: "Pull Bootloader pin (PA0) to Low"
id: zBSL
inverted: yes
restore_mode: ALWAYS_OFF
disabled_by_default: true
button:
- platform: restart
name: "Restart the Gateway"
disabled_by_default: true
- platform: template
name: "EFR32 Reset"
id: zRST
disabled_by_default: true
on_press:
- switch.turn_on: zRST_gpio
- delay: 15ms
- switch.turn_off: zRST_gpio
uart:
id: uart_bus
rx_pin: GPIO36
tx_pin: GPIO4
baud_rate: 115200
stream_server:
uart_id: uart_bus
id: ss
port: 6638 # optional, default is 6638
binary_sensor:
- platform: stream_server
stream_server: ss
name: "TubesZB Serial Connected"
zeroconf:
- service: tubeszb
protocol: tcp
port: 6638
txt:
version: 1.0
name: TubesZB
radio_type: ezsp
baud_rate: 115200
data_flow_control: software
i did find this https://esphome.io/components/openthread/ which had the below, but i’m not sure how the poe/ethernet would relay through the thread configuration. additionally, if i did want to disable zigbee what in the previous configuration would i need to eliminate?
# Example OpenThread component configuration
network:
enable_ipv6: true
openthread:
device_type: FTD
channel: 13
network_name: OpenThread-8f28
network_key: 0xdfd34f0f05cad978ec4e32b0413038ff
pan_id: 0x8f28
ext_pan_id: 0xd63e8e3e495ebbc3
pskc: 0xc23a76e98f1a6483639b1ac1271e2e27
mesh_local_prefix: fd53:145f:ed22:ad81::/64
force_dataset: true
Thanks!!
[edit]
i just found this that might help me get things on track:
https://www.reddit.com/r/MatterProtocol/comments/1i8b8dt/esp_thread_border_router_extend_your_thread/