5 Commits

Author SHA1 Message Date
Edward Firmo
5060947d16 Change idf validation to climate cool 2023-11-06 08:58:38 +01:00
Edward Firmo
e434667ad3 Fix link to idf file 2023-11-06 08:49:53 +01:00
Edward Firmo
e3a6368efa Improved name of esp-idf & bluetooth test 2023-11-06 08:21:47 +01:00
Edward Firmo
f85f87f3e6 Add bluetooth proxy to esp-idf test 2023-11-06 08:19:58 +01:00
Edward Firmo
ce814af3d3 Change framework back to default
As users should flash with serial to change framework
2023-11-06 08:16:45 +01:00
4 changed files with 21 additions and 10 deletions

View File

@@ -90,15 +90,15 @@ jobs:
with:
yaml_file: "./.test/esphome_advanced_climate_heat.yaml"
build_climate_heat_advanced_arduino:
name: Arduino
build_climate_cool_advanced_esp_idf:
name: esp-idf & Bluetooth proxy
runs-on: "ubuntu-latest"
needs:
- build_climate_heat
- build_climate_cool
- build_advanced
steps:
- uses: actions/checkout@v4.1.0
- name: Build core+advanced+climate_heat+arduino
- name: Build core+advanced+climate_cool+esp_idf
uses: esphome/build-action@v1.8.0
with:
yaml_file: "./.test/esphome_advanced_climate_heat_arduino.yaml"
yaml_file: "./.test/esphome_advanced_climate_cool_esp_idf.yaml"

View File

@@ -7,9 +7,11 @@ substitutions:
packages:
core_package: !include ../nspanel_esphome.yaml # Core package
advanced_package: !include ../nspanel_esphome_advanced.yaml
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
addon_climate_cool: !include ../nspanel_esphome_addon_climate_cool.yaml
esp32:
framework:
type: arduino
type: esp-idf
bluetooth_proxy:

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: