Split Wall_Display from NSPANEL_HA_BLUEPRINT

This commit is contained in:
Edward Firmo
2024-04-07 18:15:50 +02:00
parent 41b2dc0d58
commit 1718d9d6cf
2 changed files with 48 additions and 26 deletions

View File

@@ -0,0 +1,47 @@
########################
##### EXPERIMENTAL #####
########################
#####################################################################################################
##### NSPANEL ESPHOME created by Blackymas - https://github.com/Blackymas/NSPanel_HA_Blueprint #####
##### ESPHOME PRE-BUILT - Wall_Display variation by https://github.com/MichaelHeimann #####
##### PLEASE only make changes if it is necessary and also the required knowledge is available. #####
##### For normal use with the Blueprint, no changes are necessary. #####
#####################################################################################################
substitutions:
heater_relay: "1" # possible values: 1/2
temp_units: "°C" #Temperatures in Fahrenheit
temp_min: "16" #Min supported temperature is 40°F
temp_max: "26" #Max supported temperature is 80°F
temp_step: "0.5" #Temperature granularity is 1°F
packages:
climate_heat: !include ../esphome/nspanel_esphome_addon_climate_heat.yaml
prebuilt_package: !include nspanel_esphome_prebuilt.yaml
dashboard_import:
package_import_url: github://Blackymas/NSPanel_HA_Blueprint/prebuilt/Wall_Display.yaml@main
import_full_config: false
esphome:
project:
name: esphome.Wall_Display
on_boot:
- priority: 602.0
then:
- text.set:
id: fw_url
value: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/prebuilt/wall_display.bin"
esp32:
framework:
type: esp-idf
sdkconfig_options:
CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST: "y"
CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY: "y"
CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC: "y"
CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH: "y"
CONFIG_MBEDTLS_DYNAMIC_BUFFER: "y"
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA: "y"
CONFIG_MBEDTLS_DYNAMIC_FREE_CA_CERT: "y"
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP: "y"
...

View File

@@ -13,11 +13,6 @@ substitutions:
wifi_ssid: nspanel
wifi_password: NSPanel_Blueprint
pre_built: "true"
heater_relay: "1" # possible values: 1/2
temp_units: "°C" #Temperatures in Fahrenheit
temp_min: "16" #Min supported temperature is 40°F
temp_max: "26" #Max supported temperature is 80°F
temp_step: "0.5" #Temperature granularity is 1°F
##### External components #####
external_components:
@@ -29,7 +24,6 @@ external_components:
packages:
core_package: !include ../esphome/nspanel_esphome_core.yaml
upload_tft_package: !include ../esphome/nspanel_esphome_addon_upload_tft.yaml
climate_heat: !include ../esphome/nspanel_esphome_addon_climate_heat.yaml
api:
services:
@@ -74,7 +68,7 @@ esp32_improv:
esphome:
name_add_mac_suffix: true
project:
name: esphome.Wall_Display
name: esphome.NSPanel_HA_Blueprint
version: "${version}"
on_boot:
- priority: 602.0
@@ -82,25 +76,6 @@ esphome:
- text.set:
id: fw_url
value: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/prebuilt/nspanel_esphome_prebuilt.bin"
esp32:
framework:
type: esp-idf
sdkconfig_options:
CONFIG_D0WD_PSRAM_CLK_IO: "5"
CONFIG_D0WD_PSRAM_CS_IO: "18"
CONFIG_ESP32_REV_MIN_3: "y"
CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST: "y"
CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY: "y"
CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC: "y"
CONFIG_MBEDTLS_SSL_VARIABLE_BUFFER_LENGTH: "y"
CONFIG_MBEDTLS_DYNAMIC_BUFFER: "y"
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA: "y"
CONFIG_MBEDTLS_DYNAMIC_FREE_CA_CERT: "y"
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP: "y"
psram:
# mode: quad
speed: 80MHz
improv_serial: