Introducing "Add-on: Bluetooth Proxy"

Supports:
- #1983
- #1946
- #1815
This commit is contained in:
Edward Firmo
2024-04-18 18:34:49 +02:00
parent c9be4d2422
commit 544b2bc9cf
21 changed files with 198 additions and 113 deletions

View File

@@ -2274,6 +2274,9 @@ script:
#ifdef NSPANEL_HA_BLUEPRINT_ADVANCED
ESP_LOGCONFIG(TAG, " - Advanced");
#endif
#ifdef NSPANEL_HA_BLUEPRINT_ADDON_BLUETOOTH_PROXY
ESP_LOGCONFIG(TAG, " - Bluetooth Proxy");
#endif
#ifdef NSPANEL_HA_BLUEPRINT_ADDON_UPLOAD_TFT
ESP_LOGCONFIG(TAG, " - Upload TFT");
#endif
@@ -2296,10 +2299,7 @@ script:
ESP_LOGCONFIG(TAG, " - Pre-built (Wall Display)");
#endif
#if defined(USE_BLUETOOTH_PROXY) || defined(USE_WEBSERVER) || defined(USE_CAPTIVE_PORTAL)
ESP_LOGCONFIG(TAG, "Non-standard components:");
#ifdef USE_CAPTIVE_PORTAL
ESP_LOGCONFIG(TAG, " - Captive portal");
#endif
ESP_LOGCONFIG(TAG, "Components:");
#ifdef USE_ESP32_BLE_SERVER
ESP_LOGCONFIG(TAG, " - BLE server");
#endif
@@ -2309,6 +2309,9 @@ script:
#ifdef USE_BLUETOOTH_PROXY
ESP_LOGCONFIG(TAG, " - Bluetooth proxy");
#endif
#ifdef USE_CAPTIVE_PORTAL
ESP_LOGCONFIG(TAG, " - Captive portal");
#endif
#ifdef USE_IMPROV
ESP_LOGCONFIG(TAG, " - Improv (BLE)");
#endif
@@ -2533,6 +2536,9 @@ script:
disp1->set_component_font("home.wifi_icon", id(home_chip_font_id));
disp1->set_component_font_color("home.chip_relay1", id(home_relay1_icon_color));
disp1->set_component_font_color("home.chip_relay2", id(home_relay2_icon_color));
#if defined(USE_ESP32_BLE_SERVER) || defined(USE_ESP32_BLE_CLIENT) || defined(USE_BLUETOOTH_PROXY) || defined(USE_IMPROV)
disp1->set_component_text("home.bt_icon", "\uE0AE");
#endif
boot_progress->execute(8);
- wait_until:
condition: