Compare commits
9 Commits
2b16753f6b
...
ce2fefa5b3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ce2fefa5b3 | ||
|
|
03395131d8 | ||
|
|
15cc5b9486 | ||
|
|
f255df3af2 | ||
|
|
b11baf8860 | ||
|
|
954699e87f | ||
|
|
1af0894820 | ||
|
|
f3a17959be | ||
|
|
effc26672f |
23
.github/workflows/build_esphome.yml
vendored
23
.github/workflows/build_esphome.yml
vendored
@@ -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
|
|
||||||
2
.github/workflows/validate_blueprint.yml
vendored
2
.github/workflows/validate_blueprint.yml
vendored
@@ -14,6 +14,6 @@ jobs:
|
|||||||
name: Validate Blueprint YAML
|
name: Validate Blueprint YAML
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4.1.0
|
||||||
- name: Validate nspanel_blueprint.yaml
|
- name: Validate nspanel_blueprint.yaml
|
||||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_blueprint.yaml
|
run: yamllint -c "./.yamllint/rules.yml" nspanel_blueprint.yaml
|
||||||
|
|||||||
10
.github/workflows/validate_esphome.yml
vendored
10
.github/workflows/validate_esphome.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
name: Validate ESPHome YAML
|
name: Validate ESPHome YAML
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4.1.0
|
||||||
- name: Validate nspanel_esphome.yaml
|
- name: Validate nspanel_esphome.yaml
|
||||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome.yaml
|
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome.yaml
|
||||||
- name: Validate nspanel_esphome_advanced.yaml
|
- name: Validate nspanel_esphome_advanced.yaml
|
||||||
@@ -25,3 +25,11 @@ jobs:
|
|||||||
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
|
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
|
||||||
- name: Validate nspanel_esphome_prebuilt.yaml
|
- name: Validate nspanel_esphome_prebuilt.yaml
|
||||||
run: yamllint -c "./.yamllint/rules.yml" 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
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ packages:
|
|||||||
## Overview of all changes
|
## Overview of all changes
|
||||||
1. New Upload TFT engine
|
1. New Upload TFT engine
|
||||||
2. Smaller TFT file size
|
2. Smaller TFT file size
|
||||||
3. Pre-built binary
|
|
||||||
|
|
||||||
|
|
||||||
## Details of all changes
|
## 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 |
|
| notification<br>confirm | bt_accept<br>bt_clear |
|
||||||
| fan | button_up<br>button_down<br>button_on<br>button_off |
|
| 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.
|
|
||||||
|
|
||||||
|
|
||||||
## Next topics we are currently working on
|
## Next topics we are currently working on
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|
||||||
|
|
||||||
@@ -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
|
|
||||||
9
test/ESPHome/advanced.yaml
Normal file
9
test/ESPHome/advanced.yaml
Normal 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
8
test/ESPHome/core.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user