9 Commits

Author SHA1 Message Date
Edward Firmo
ce2fefa5b3 Remove pre-built
I'm removing this at it is getting too complex and will require github tokens to copy the build files. Instead I will focus in solving the problems making hard to build.
2023-10-12 11:35:15 +02:00
Edward Firmo
03395131d8 Add build to ESPHome validation 2023-10-12 10:35:51 +02:00
Edward Firmo
15cc5b9486 Removed improv BLE
Due to lack of memory
2023-10-12 10:04:48 +02:00
Edward Firmo
f255df3af2 Power save mode LIGHT 2023-10-12 09:56:05 +02:00
Edward Firmo
b11baf8860 Update nspanel_esphome_prebuilt.yaml 2023-10-12 09:49:38 +02:00
Edward Firmo
954699e87f Update nspanel_esphome_prebuilt.yaml 2023-10-12 09:46:30 +02:00
Edward Firmo
1af0894820 Update to latest checkout 2023-10-12 09:42:51 +02:00
Edward Firmo
f3a17959be Add dummy SSID 2023-10-12 09:39:44 +02:00
Edward Firmo
effc26672f Fill required substitutions 2023-10-12 09:36:57 +02:00
8 changed files with 27 additions and 76 deletions

View File

@@ -1,23 +0,0 @@
name: Build ESPHome binary
on:
push:
paths:
- "nspanel_esphome_*.yaml"
pull_request:
#schedule:
# - cron: "0 0 * * *"
workflow_dispatch:
jobs:
code_scan:
name: ESPHome Builder
runs-on: "ubuntu-latest"
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: dev # Check out the 'dev' branch
- uses: esphome/build-action@v1.8.0
with:
yaml_file: nspanel_esphome_prebuilt.yaml

View File

@@ -14,6 +14,6 @@ jobs:
name: Validate Blueprint YAML
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.0
- name: Validate nspanel_blueprint.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_blueprint.yaml

View File

@@ -14,7 +14,7 @@ jobs:
name: Validate ESPHome YAML
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.0
- name: Validate nspanel_esphome.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome.yaml
- name: Validate nspanel_esphome_advanced.yaml
@@ -25,3 +25,11 @@ jobs:
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
- name: Validate nspanel_esphome_prebuilt.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_prebuilt.yaml
- name: Build core
uses: esphome/build-action@v1.8.0
with:
yaml_file: /test/ESPHome/core.yaml
- name: Build core+advanced
uses: esphome/build-action@v1.8.0
with:
yaml_file: /test/ESPHome/advanced.yaml

View File

@@ -63,7 +63,6 @@ packages:
## Overview of all changes
1. New Upload TFT engine
2. Smaller TFT file size
3. Pre-built binary
 
## Details of all changes
@@ -82,10 +81,6 @@ The TFT files are now 15 to 20% smaller when compared to the previous version. T
| notification<br>confirm | bt_accept<br>bt_clear |
| fan | button_up<br>button_down<br>button_on<br>button_off |
### 3. Pre-built binary
As this project grows, it also grows the needs for resources from your ESPHome compiller, and version 4.0 revealed some cases where we are getting very close to this limit.
In this release, we're excited to introduce a pre-built binary version of our firmware. Designed for ease of use, this pre-compiled edition eliminates the need for users to manually build the ESPHome part from the source code You can just transfer the firmware to your panel, onboard it to your Home Assistant and Wi-Fi and use it.
Please refer to [this document](\docs\en\prebuilt.md) for details on how to use this option.
&nbsp;
## Next topics we are currently working on

View File

@@ -1,15 +0,0 @@
# Pre-built binary
## What is it
## When to use this
## How to install
### New users
### Upgrade from a previous version
## How to upload a TFT file

View File

@@ -1,31 +0,0 @@
substitutions:
device_name: nspanel
nextion_update_url: ""
packages:
remote_package:
url: https://github.com/Blackymas/NSPanel_HA_Blueprint
ref: dev
files:
- nspanel_esphome.yaml # Core package only
refresh: 300s
esphome:
name_add_mac_suffix: true
project:
name: esphome.NSPanel_HA_Blueprint
version: "4.1dev3"
dashboard_import:
package_import_url: github://Blackymas/NSPanel_HA_Blueprint/nspanel_esphome_prebuilt.yaml@dev # Must be updated
ref: dev
import_full_config: false
captive_portal:
button:
- id: !extend tft_update
internal: true
# - id: !extend tft_reparse_off
# internal: true

View File

@@ -0,0 +1,9 @@
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
wifi_password: "NSPanel_HA_Blueprint"
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include /nspanel_esphome.yaml # Core package
advanced_package: !include /nspanel_esphome_advanced.yaml

8
test/ESPHome/core.yaml Normal file
View File

@@ -0,0 +1,8 @@
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
wifi_password: "NSPanel_HA_Blueprint"
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include /nspanel_esphome.yaml # Core package