Change framework back to default

As users should flash with serial to change framework
This commit is contained in:
Edward Firmo
2023-11-06 08:16:45 +01:00
parent 039e5e56b7
commit ce814af3d3
4 changed files with 14 additions and 5 deletions

View File

@@ -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"

View File

@@ -12,4 +12,4 @@ packages:
esp32:
framework:
type: arduino
type: esp-idf

View File

@@ -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

View File

@@ -53,8 +53,8 @@ esphome:
##### TYPE OF ESP BOARD #####
esp32:
board: esp32dev
framework:
type: esp-idf
# framework:
# type: esp-idf
##### WIFI SETUP #####
wifi: