Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bluetooth Proxy board definitions for wESP32 modules #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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