diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index 746e102..f431bf0 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -91,14 +91,14 @@ jobs: yaml_file: "./.test/esphome_advanced_climate_heat.yaml" build_climate_heat_advanced_arduino: - name: Arduino + name: esp-idf runs-on: "ubuntu-latest" needs: - build_climate_heat - build_advanced steps: - uses: actions/checkout@v4.1.0 - - name: Build core+advanced+climate_heat+arduino + - name: Build core+advanced+climate_heat+esp_idf uses: esphome/build-action@v1.8.0 with: yaml_file: "./.test/esphome_advanced_climate_heat_arduino.yaml" diff --git a/.test/esphome_advanced_climate_heat_arduino.yaml b/.test/esphome_advanced_climate_heat_esp_idf.yaml similarity index 96% rename from .test/esphome_advanced_climate_heat_arduino.yaml rename to .test/esphome_advanced_climate_heat_esp_idf.yaml index 10e0587..cc70dbc 100644 --- a/.test/esphome_advanced_climate_heat_arduino.yaml +++ b/.test/esphome_advanced_climate_heat_esp_idf.yaml @@ -12,4 +12,4 @@ packages: esp32: framework: - type: arduino + type: esp-idf diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 8cbe64d..6246121 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -65,6 +65,7 @@ If you have a custom automation using very long hold (more than 15s) of hardware ## Overview of noteworthy changes 1. New Upload TFT engine 2. Hardware restarts with button hold for 15s +3. Support to `esp-idf` framework   ## Details of noteworthy changes @@ -74,6 +75,7 @@ We rebuilt the Upload TFT engine and now it will be using less resources from ES The original engine from Nextion component still as a fallback in case the new engine fails, but it might be removed in a future version. +  ### 2. Hardware restarts with button hold for 15s Now if you press the hardware buttons for more than 15s, the panel will act as the following: | Button | Action | Details | @@ -81,6 +83,12 @@ Now if you press the hardware buttons for more than 15s, the panel will act as t | Left | Power cycle the screen | It can remove the need to power cycle the panel when the screen can't stablish connection to ESPHome (`Nextion is not connected!` on logs). | | Right | Restarts the panel | It is equivalent to press the "Restart" button on the Settings page or from Home Assistant, but is available even when the Wi-Fi isn't connected or Home Assistant is out. | +  +### 3. Support to `esp-idf` framework +Although this project still using ESPHome default framework (currently `arduino`), we started supporting the framework `esp-idf` as this is a recomendation from ESPHome team since an year ago or so. +The `arduino` protocol still more popular and therefore more components are available, but as `esp-idf` is maintained by EspressIF and is kept updated, more boards are supported and the memory management is better, making it ideal if you wanna customize your panel to support memory consumption functionalities, like `bluetooth_proxy` or [Improv](https://www.improv-wifi.com/). +Please look at [customizations docs in the Wiki](https://github.com/Blackymas/NSPanel_HA_Blueprint/wiki/(EN)-Customization#framework-esp-idf) for more details on how to change the framework. +   ## Next topics we are currently working on See here: https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap @@ -88,6 +96,7 @@ See here: https://github.com/Blackymas/NSPanel_HA_Blueprint/labels/roadmap ## Special thanks to: - @misery - Fixing a typo in the docs (#1176) - @Floppe - Adding space for value fields on Home page (#1180) + ## New Contributors @misery @Floppe \ No newline at end of file diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml index e421ca3..c586e2e 100644 --- a/nspanel_esphome_core.yaml +++ b/nspanel_esphome_core.yaml @@ -53,8 +53,8 @@ esphome: ##### TYPE OF ESP BOARD ##### esp32: board: esp32dev - framework: - type: esp-idf +# framework: +# type: esp-idf ##### WIFI SETUP ##### wifi: