Change to local tft file hosting
@@ -39,18 +39,20 @@ This section covers the initial configuration. All important steps for installat
|
||||
> It is also possible to copy the code from the file _**"nspnael_blueprint.yaml "**_ and paste it into HA.
|
||||
> You can find instructions for this under [Using Automation Blueprints](https://www.home-assistant.io/docs/automation/using_blueprints/) und [Automation blueprint tutorial](https://www.home-assistant.io/docs/blueprint/tutorial/#create-the-blueprint-file)
|
||||
|
||||
2. in the next step you have to create a new ESP32 device in ESPHome
|
||||
2. You will need to download the nspanel.tft file and host it locally, you can use your Home assistant instance if required, see [Home Assistant HTTP](https://www.home-assistant.io/integrations/http/#hosting-files) 'Hosting Files section for details.
|
||||
|
||||
3. when the new ESP32 device has been created, next click _**"Edit "**_ on the device you have just created to open the web editor. Now the following code must be copied and pasted.
|
||||
3. In the next step you have to create a new ESP32 device in ESPHome
|
||||
|
||||
4. When the new ESP32 device has been created, next click _**"Edit "**_ on the device you have just created to open the web editor. Now the following code must be copied and pasted.
|
||||
|
||||
> _**IMPORTANT!**_ The already existing code in the ESPHome file must be _**"COMPLETELY "**_ deleted and _**"REPLACED "**_ by the code below.
|
||||
|
||||
> _**IMPORTANT!**_ in the block _**"CHANGE ME "**_ all values _**(device_name, wifi_ssid, wifi_password)**_ in the _**" "**_ must be replaced by your own values. It is also possible to work here with _**"!secret "**_.
|
||||
> _**IMPORTANT!**_ in the block _**"CHANGE ME "**_ all values _**(device_name, wifi_ssid, wifi_password, nextion_update_url )**_ in the _**" "**_ must be replaced by your own values. It is also possible to work here with _**"!secret "**_.
|
||||
|
||||
|
||||
> _**ATTENTION!**_ for _**"device_name"**_ max. 15 characters _**[a-z] and [0-9]**_ may be used and all must be _**"lowercase"**_. Furthermore, characters like _**[-], [SPECIAL CHARACTARS] and [SPACES]**_ are forbidden and will cause problems with the blueprint.
|
||||
> _**ATTENTION!**_ for _**"device_name"**_ max. 15 characters _**[a-z], [0-9] and [_]**_ may be used and all must be _**"lowercase"**_. Furthermore, characters like _**[-], [SPECIAL CHARACTARS] and [SPACES]**_ are forbidden and will cause problems with the blueprint.
|
||||
|
||||
**Example:** _**nspanel_blackymas**_
|
||||
**Example:** _**nspanel_kitchen**_
|
||||
|
||||
|
||||
### CODE:
|
||||
@@ -62,6 +64,7 @@ substitutions:
|
||||
device_name: "YOUR NSPANEL_NAME"
|
||||
wifi_ssid: "YOUR WIFI SSID"
|
||||
wifi_password: "YOUR WIFI PASSWORD"
|
||||
nextion_update_url: "YOUR PATH TO nspanel.tft FROM STEP 2"
|
||||
|
||||
##### CHANGE ME #####
|
||||
|
||||
@@ -69,7 +72,6 @@ substitutions:
|
||||
|
||||
##### DO NOT CHANGE ANYTHING! #####
|
||||
|
||||
nextion_update_url: "https://raw.githubusercontent.com/Blackymas/NSPanel_HA_Blueprint/main/nspanel.tft"
|
||||
packages:
|
||||
##### download esphome code from Github
|
||||
remote_package:
|
||||
@@ -96,7 +98,7 @@ packages:
|
||||
|
||||
> _**NOTE!**_ In the blueprint, in the _**"ESPHOME Node Name"**_ field, enter exactly the same name that you assigned in the _**"ESPHome File"**_.
|
||||
|
||||
> **Beispiel:** _**nspanel_blackymas**_
|
||||
> **Beispiel:** _**nspanel_kitchen**_
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user