From ce2fefa5b34df1c8ecc60167c2d111a796023c5c Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Thu, 12 Oct 2023 11:35:15 +0200 Subject: [PATCH] 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. --- .github/workflows/build_esphome.yml | 23 -------------- ReleaseNotes.md | 5 --- docs/en/prebuilt.md | 15 --------- nspanel_esphome_prebuilt.yaml | 47 ----------------------------- 4 files changed, 90 deletions(-) delete mode 100644 .github/workflows/build_esphome.yml delete mode 100644 docs/en/prebuilt.md delete mode 100644 nspanel_esphome_prebuilt.yaml diff --git a/.github/workflows/build_esphome.yml b/.github/workflows/build_esphome.yml deleted file mode 100644 index fce2899..0000000 --- a/.github/workflows/build_esphome.yml +++ /dev/null @@ -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@v4.1.0 - #with: - # ref: dev # Check out the 'dev' branch - - uses: esphome/build-action@v1.8.0 - with: - yaml_file: nspanel_esphome_prebuilt.yaml diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 8852e9c..bc4a5fd 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -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
confirm | bt_accept
bt_clear | | fan | button_up
button_down
button_on
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 diff --git a/docs/en/prebuilt.md b/docs/en/prebuilt.md deleted file mode 100644 index 2133569..0000000 --- a/docs/en/prebuilt.md +++ /dev/null @@ -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 - - diff --git a/nspanel_esphome_prebuilt.yaml b/nspanel_esphome_prebuilt.yaml deleted file mode 100644 index f361559..0000000 --- a/nspanel_esphome_prebuilt.yaml +++ /dev/null @@ -1,47 +0,0 @@ -substitutions: - device_name: nspanel - wifi_ssid: "nspanel" - wifi_password: "NSPanel_HA_Blueprint" - nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint" - -packages: - remote_package: - url: https://github.com/Blackymas/NSPanel_HA_Blueprint - ref: dev - files: - - nspanel_esphome.yaml # Core package - # - nspanel_esphome_advanced.yaml - 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 - import_full_config: false - -button: - - id: !extend tft_update - internal: true - - #- id: !extend tft_reparse_off - # internal: true - -wifi: - ap: {} - #power_save_mode: LIGHT # To make it compatible with BLE - -# In combination with the `ap` this allows the user -# to provision wifi credentials to the device. -captive_portal: - -# Sets up Bluetooth LE (Only on ESP32) to allow the user -# to provision wifi credentials to the device. -#esp32_improv: -# authorizer: none - -# Sets up the improv via serial client for Wi-Fi provisioning -improv_serial: