Skip to content

Commit

Permalink
Add Bluetooth Proxy board definitions for wESP32 modules
Browse files Browse the repository at this point in the history
  • Loading branch information
x-cubed committed Jan 11, 2024
1 parent 65d39ef commit 2a51b6b
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
46 changes: 46 additions & 0 deletions bluetooth-proxy/silicognition-wesp32-lan8270.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
substitutions:
name: wesp32-bluetooth-proxy
friendly_name: Bluetooth Proxy

esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
project:
name: esphome.bluetooth-proxy
version: "1.0"

esp32:
board: wesp32
framework:
type: esp-idf

# Revisions 1-6 of the board use the SMSC LAN8720
# https://wesp32.com/files/wESP32-Product-Brief.pdf
ethernet:
type: LAN8720
mdc_pin: GPIO16
mdio_pin: GPIO17
clk_mode: GPIO0_IN
phy_addr: 0

api:
logger:
ota:

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/silicognition-wesp32-lan8720.yaml@main

esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true

bluetooth_proxy:
active: true

button:
- platform: safe_mode
name: Safe Mode Boot
entity_category: diagnostic
46 changes: 46 additions & 0 deletions bluetooth-proxy/silicognition-wesp32-rtl8201.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
substitutions:
name: wesp32-bluetooth-proxy
friendly_name: Bluetooth Proxy

esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: true
project:
name: esphome.bluetooth-proxy
version: "1.0"

esp32:
board: wesp32
framework:
type: esp-idf

# Revisions 7 and above of the board use the Realtek RTL8201
# https://wesp32.com/files/wESP32-Product-Brief.pdf
ethernet:
type: RTL8201
mdc_pin: GPIO16
mdio_pin: GPIO17
clk_mode: GPIO0_IN
phy_addr: 0

api:
logger:
ota:

dashboard_import:
package_import_url: github://esphome/firmware/bluetooth-proxy/silicognition-wesp32-rtl8201.yaml@main

esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true

bluetooth_proxy:
active: true

button:
- platform: safe_mode
name: Safe Mode Boot
entity_category: diagnostic

0 comments on commit 2a51b6b

Please sign in to comment.