This guide provides instructions on how to switch between different versions for each component of this project:
Blueprint, ESPHome, and Nextion TFT, allowing users to access development (dev
), beta, or previous versions.
Warning
Use non-main versions at your own risk. Only the main
/latest release is officially supported.
Important
Ensure all three components (Blueprint, ESPHome, TFT) are synchronized at the same version for system stability.
- ESPHome: Start with ESPHome for its straightforward update process.
- TFT: Then proceed with Nextion TFT.
- Blueprint: Finally, update Blueprint, as it requires more manual effort and careful handling.
For available versions and branches, visit: NSPanel_HA_Blueprint Tags.
Take note of the branch (dev
, beta
, or main
) or version name exactly as it is published, as this is case-sensitive.
Note
Understanding Tags in GitHub Tags on GitHub mark specific versions of a project, akin to bookmarks. They're created for each new release, allowing easy access to different project stages.
- dev: The development version, containing the latest code but potentially unstable.
- beta: The pre-release version, more stable than
dev
but still undergoing final testing. - main: The default latest version, where you will find the most recent release code.
Note
When using dev
or beta
, report findings in the issues section, clearly stating the version.
Please do not report issues related to old released versions.
-
Open your device's YAML config and find the key
ref:
, which is underremote_package:
in thepackages:
area: -
Change the value of
ref:
to the version you want to install, likeref: dev
orref: v4.1.4
: -
Save your settings and then install it.
Important
Older versions may require arduino
framework.
Please refer to this guide for setting the framework properly: Change framework
Warning
Older versions of the components may not be compatible with the latest ESPHome compiler or Home Assistant.
Ensure you are using a compatible version of Home Assistant and the compiler when working with older project versions to avoid potential issues. You can use our Version compatibility matrix to identify the minimum requirement per version as a reference for possible version incompatibility, although we don't have a register of the "Maximum version" supported.
The instructions to upload TFT will vary depending on the version you are installing and the framework you are using.
-
Go to your device's page under Settings > Devices & Services > ESPHome.
-
On the Configuration group, select your option for Update TFT display - Branch (either the version you want or
dev
/beta
). If that option is not visible, please expand the +n entities not shown and enable it. -
Press Update TFT display and wait for the upload to complete.
-
On the GitHub repository, click on your chosen version name on the NSPanel_HA_Blueprint Tags list, then select the tab Code.
-
Double-check that the correct version is shown below the repository name:
-
Locate the TFT file related to your model and download it to your local http server.
-
Double check your
nextion_update_url
substitution is pointing to the right URL where the file you just downloaded is available. -
Go to your device's page under Settings > Devices & Services > ESPHome.
-
On the Configuration group, press Update TFT display and wait for the upload to complete.
- Use your preferred code editor to edit the blueprint file under
/homeassistant/blueprints/automation/Blackymas/nspanel_blueprint.yaml
. - In the
source_url
key, change the URL replacingmain
by the version you want to install. - Go to Developer Tools, select the tab YAML and click the button to reload AUTOMATIONS.
- Go to the Blueprints dashboard (under Settings > Automations & Scenes, then select tab Blueprints).
- Find the Blueprint named NSPanel Configuration and click on the 3-dot menu related to that.
- Click Re-import blueprint.
- Go back to Developer Tools, select the tab YAML and click the button to reload AUTOMATIONS.
- Please note that the images provided in this guide might become outdated as the project evolves. It's always a good idea to refer to the latest version of the project for current details.
- For the most up-to-date information and updates, refer to the project's documents and check the issues and discussions sections on our GitHub repository.