Compare commits

..

96 Commits
v4.7.2 ... main

Author SHA1 Message Date
Armilar
52c695cf1c Update script version to v5.1.1.2 and fix screensaver logic 2025-12-21 15:33:31 +01:00
Johannes
8805e2189c Remove Tasmota downgrade instructions
Removed instructions for downgrading Tasmota to version 15.0.1.
2025-12-12 17:20:06 +01:00
Nigel Rook
341cdb47ab Fix weather entities reverting to daily forecast (#1402) 2025-11-29 16:47:04 +01:00
Stephen Wesche
3b25d47bc7 Improve clarity and formatting in prepare_nspanel.md (#1400)
Updated formatting and corrected typos in the NSPanel flashing guide.
2025-11-29 15:55:14 +01:00
jacekowski
a721d4ccd7 deduplicate registed callbacks (#1401) 2025-11-29 15:43:57 +01:00
Armilar
044abda65b Add check for ACTUAL state existence before SET 2025-11-21 23:33:54 +01:00
Armilar
155b08d6d5 Change subscription change type from 'any' to 'ne' 2025-11-21 23:19:57 +01:00
Armilar
c038745d1b Update NSPanel DEV TypeScript version to 5.1.1.1 2025-11-21 23:07:35 +01:00
Thomas
154c9aced1 v5.1.0.3 DEV - Fix QR-Code Generation cardQR
v5.1.0.3 DEV -  Fix QR-Code Generation cardQR
2025-11-18 14:47:02 +01:00
tt-tom17
f5119f86ac v5.1.0.3 DEV - Fix QR-Code Generation cardQR 2025-11-18 14:16:09 +01:00
Armilar
77b7400b04 v5.1.0.2 DEV - Update TFT compatibility from 60 to 61
Updated compatibility notes for TFT version.
2025-11-16 12:41:44 +01:00
Armilar
995e7eebd2 Update script version to v5.1.0.2
Add Swiss-Weather-API Adapter by starwarsfan (many ThanX)
2025-11-16 12:36:26 +01:00
Armilar
c91ca0912a Merge pull request #1397 from starwarsfan/feature/swiss-weather-api
Add Swiss-Weather-API Adapter
2025-11-16 11:38:25 +01:00
Armilar
a6742f88c8 Merge pull request #1396 from starwarsfan/feature/fixTrailingWhitespaces
Feature/fix trailing whitespaces
2025-11-16 11:37:40 +01:00
Yves Schumann
9f146ec8b3 Add Swiss-Weather-API Adapter 2025-11-15 23:08:55 +01:00
Yves Schumann
0cccfac4a6 Fix trailing whitespaces on dev version 2025-11-15 22:56:44 +01:00
Yves Schumann
fbe5f9658e Fix trailing whitespaces 2025-11-15 22:42:34 +01:00
Armilar
603d207e12 Update script version to v5.1.0.1 and fix icons
Better Weather for Brightsky
2025-11-12 17:56:24 +01:00
Armilar
338c3af940 Update NSPanel TypeScript to version 5.1.0.0
Breaking Change in TFT 5.1.0 
- popupNotify with 3 Buttons
- Change Return Values from
    - no to button1
    - yes to button3
    - add button2 (centered)
2025-11-12 12:49:07 +01:00
Johannes
ce6ff734d1 Add downgrade instructions for Tasmota
Added instructions for downgrading Tasmota to version 15.0.1.
2025-10-30 16:49:45 +01:00
Armilar
4308c12508 v5.0.2.1 - Fix syntax error in Magenta color definition 2025-10-19 21:59:48 +02:00
Armilar
ea0f3cc411 Fix syntax error in Magenta color definition 2025-10-19 21:58:18 +02:00
Armilar
2b4c8d3b94 v5.0.2.1 - Update TypeScript version and fix URLs in comments 2025-10-19 10:56:08 +02:00
Armilar
ff25f07b8f Enhance comments for Tasmota32 version configuration
Added German and English comments for clarity on Tasmota version settings.
2025-10-19 10:48:02 +02:00
Armilar
59efd21251 Update TypeScript version and URLs in NSPanelTs.ts 2025-10-19 10:43:05 +02:00
Thomas
20ae492cf3 fix useValue 2025-09-29 16:37:01 +02:00
Armilar
512a89b7d6 Merge pull request #1385 from tt-tom17/main
Erweitere die CreateEntity-Funktion
2025-09-29 17:33:41 +03:00
tt-tom17
a6c366ed41 Erweitere die CreateEntity-Funktion um die Unterstützung für useValue und COLORDEC bei Rolle info 2025-09-29 16:28:17 +02:00
Armilar
e13d1aaecb v5.0.0.2 - DEV Update NSPanelTs.ts
Remove Startup Schedule at 3:30am
2025-09-19 10:26:13 +02:00
Armilar
3b6d53c78c Update NSPanelTs.ts 2025-09-19 10:24:27 +02:00
Armilar
f789e33fe5 v5.0.0.2 - DEV Update NSPanelTs.ts
Remove Startup Schedule at 3:30am
2025-09-19 10:14:47 +02:00
Armilar
22455546f6 Update NSPanelTs.ts
Remove Startup at 3:30
2025-09-19 10:11:47 +02:00
Armilar
e0e9815911 v5.0.0.1 - Update NsPanelTs.ts 2025-09-08 20:18:09 +02:00
Armilar
3e0d0e8854 v5.0.0.1 - Update NSPanelTs.ts 2025-09-08 20:17:14 +02:00
Armilar
98f70b20f0 Merge pull request #1375 from ticaki/main
update sliderItems types
2025-08-26 22:47:15 +02:00
Armilar
4c02b5bc26 v4.9.5.2 - DEV Update NSPanelTs.ts
Add Bright Sky Weather Adapter
2025-08-21 11:45:31 +02:00
Armilar
fb841abf45 v4.9.5.1 - Update NsPanelTs.ts
- Add USERICONS and colorScale to Alias-Channel Slider
- Prevent version search to the old directory path (Berry-Driver) 
- Add cardThermo2 to Script
- Add Pirate-Weather Adapter
- TFT 58 / 4.9.5 - Add cardThermo2 (eu/us-l/us-p) to HMI (TFT)
2025-08-14 09:46:42 +02:00
Armilar
bff89f0364 v4.9.5 - DEV Update NSPanelTs.ts 2025-08-14 09:39:33 +02:00
dependabot[bot]
27ccc0cfe7 Bump docker/login-action from 3.4.0 to 3.5.0 (#1377)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 22:12:20 +02:00
Armilar
22a54c88c8 v4.9.5.1 - DEV Update NSPanelTs.ts 2025-08-12 15:39:34 +02:00
Armilar
87c58cc62d v4.9.5.1 - DEV Update NSPanelTs.ts
Small fixes
2025-08-12 13:05:04 +02:00
Armilar
1ee19213bd v4.9.5.1 - DEV Update NSPanelTs.ts
Add cardThermo2
2025-08-11 22:14:21 +02:00
Armilar
0c3d173f40 v4.9.4.3 - DEV Update NSPanelTs.ts 2025-08-10 11:32:14 +02:00
Armilar
cc201fb7fe v4.9.4.3 - DEV Update NSPanelTs.ts 2025-08-10 11:31:10 +02:00
ticaki
44d2c6fbfc update sliderItems types 2025-08-06 17:03:59 +02:00
Armilar
9cd2f6a464 v4.9.4.2 - DEV Update NSPanelTs.ts
Update TFT US Versions
2025-08-05 17:16:03 +02:00
Armilar
7473d13762 v4.9.4.2 - DEV Update NSPanelTs.ts
* New Berry Update Path (RAW)
2025-08-05 14:14:53 +02:00
Armilar
f57b3fe8e4 v4.9.4.2 - DEV Update NSPanelTs.ts
Prevent version search to the old directory path (Berry-Driver)
2025-08-05 14:04:00 +02:00
Armilar
9b1558c9a6 v4.9.4.1 - DEV Update NSPanelTs.ts 2025-08-05 13:08:24 +02:00
Armilar
6181dec958 v4.49.4.1 - DEV Update NSPanelTs.ts
* Fix cardEntities Sliders in HMI
* Fix Sliders
* Add USERICONS and  colorScale to Alias-Channel slider
2025-08-05 13:05:53 +02:00
Johannes
a94cf0cef3 fixes #1373 2025-08-02 21:22:31 +02:00
Johannes
d01ccede57 Update nspanel-lovelace-ui.py 2025-07-31 20:39:04 +02:00
Johannes
65be5ffeb0 implements #1351 2025-07-31 20:37:31 +02:00
Johannes
d53afb0b20 fixes #1369 2025-07-31 20:11:02 +02:00
Armilar
9822870fc9 v4.9.3 - EU, US-L, US-P - Update NsPanelTs.ts 2025-07-31 17:54:36 +02:00
Armilar
8a54d1422c v4.9.3 - EU, US-p, US-l - Update NSPanelTs.ts 2025-07-31 17:52:14 +02:00
Armilar
3f573557f0 Merge pull request #1370 from ticaki/main
ready for 9.0.11
2025-07-30 22:06:08 +02:00
ticaki
c2ca3b26d1 fix 2025-07-30 21:59:16 +02:00
ticaki
476a252a92 ready for 9.0.11 2025-07-30 21:52:36 +02:00
Armilar
0af779973b v4.9.3 - DEV Update NSPanelTs.ts
popupShutter2 Changes (new Parameter shutterZeroIsClosed changing Direction of %-Value in HMI (0 <--> 100))
2025-07-30 14:01:04 +02:00
Armilar
8e0609a781 v4.9.3 - DEV Update NSPanelTs.ts
Some Shutter2 Changes
2025-07-30 13:59:25 +02:00
Armilar
5dab816259 v4.9.2.2 - Update NsPanelTs.ts 2025-07-28 14:11:29 +02:00
Armilar
5f8409f5f1 v4.9.2.3 - DEV Update NSPanelTs.ts
- 28.07.2025 - v4.9.2.3  Quick-Fix Errors with TypeScript in JS > 9.X (by ticaki)
2025-07-28 14:10:24 +02:00
Armilar
3d85e86a95 v4.9.2.3 - Update NsPanelTs.ts
Quick-Fix Errors with TypeScript (Bugs in JavaScript > 9.X) by ticaki
2025-07-28 10:17:57 +02:00
Armilar
85de880cda Merge pull request #1368 from ticaki/main
fix/ignore typescript errors
2025-07-28 00:15:53 +02:00
ticaki
98269b19aa fix/ignore typescript errors 2025-07-28 00:10:22 +02:00
Armilar
d77382ee88 v4.9.2.2 - Update NsPanelTs.ts
* Add Weather-Adapter OpenWeatherMap
* Accuweather deprecated
2025-07-25 21:49:57 +02:00
Armilar
e925d133d2 v4.9.2.2 - DEV Update NSPanelTs.ts
* Fix Examples
* Fix OpenWeatherMap fewclouds night
2025-07-25 21:43:23 +02:00
Armilar
5ef3e8132b v4.9.2.2 - DEV Update NSPanelTs.ts
* AccuWeather deprecated
* Add OpenWeatherMap
2025-07-25 16:03:06 +02:00
Armilar
662b79a389 v4.9.2 - DEV - Update NSPanelTs.ts 2025-07-24 14:11:30 +02:00
Armilar
c984ff53a3 v4.8.0 - Update NsPanelTs.ts
* Add popupShutter2
* Add popupLight2
* Add popupSlider (cardMedia EQ)
* Fix Demomodus cardPower
* Small Fixes
2025-06-30 12:40:43 +02:00
Armilar
f8b748a418 Merge pull request #1360 from ticaki/main
Types and variables for popupShutter2 changed.
2025-06-30 12:13:09 +02:00
Armilar
bc31670760 v4.9.0.1 - DEV Update NSPanelTs.ts
Small Fixes
2025-06-30 12:06:11 +02:00
Armilar
cbf6abf4dd v4.9.0 - DEV Update NSPanelTs.ts
Small Fixes
2025-06-30 12:02:17 +02:00
Armilar
5c85e4a6e1 Update NSPanelTs.ts
Change Release
2025-06-30 11:58:08 +02:00
Armilar
cbede2412e v4.9.0 - DEV Update NSPanelTs.ts
New Beta
2025-06-30 11:57:26 +02:00
ticaki
82d22743cc rename customIcons for shutter 2025-06-29 16:08:32 +02:00
ticaki
640d0dfa14 check customIcons 2025-06-29 15:43:19 +02:00
ticaki
ccc62d1e6a Types and variables for popupShutter2 changed. 2025-06-29 15:35:04 +02:00
Armilar
6cec0245a3 v4.7.5 - DEV Update NSPanelTs.ts
Add TFT US-P v4.7.5
2025-06-26 13:01:27 +02:00
Armilar
f3c98adf06 v4.7.5.1 - DEV Update NSPanelTs.ts 2025-06-25 23:48:29 +02:00
Armilar
f4487e4285 v4.7.5.1 - DEV Update NSPanelTs.ts
TFT EU + US-P
2025-06-25 23:46:34 +02:00
Armilar
8e2780b2cb Update NSPanelTs.ts DEV 4.7.5.1
Add popupLight2
2025-06-25 14:21:25 +02:00
Armilar
0372221973 Update NSPanelTs.ts DEV 4.7.4.1
- Add popupShutter2
2025-06-25 00:20:01 +02:00
Johannes
947ef2d592 Update pages.py 2025-06-24 20:28:23 +02:00
Johannes
a1f39236c4 implements #1350 2025-06-23 22:38:20 +02:00
Thomas
4cdd1ed586 Merge pull request #1357 from tt-tom17/main
v4.7.2.4 - DEV-Update NSPanel.ts
2025-06-21 12:28:25 +02:00
tt-tom17
1836d29931 v4.7.2.4 - DEV-Update NSPanel.ts
- fix DEMO mode check of Powerpage
2025-06-21 12:22:07 +02:00
tt-tom17
fca29cfbd8 v4.7.2.4 - DEV-Update NSPanel.ts
- fix DEMO mode check of Powerpage
2025-06-21 12:18:14 +02:00
Armilar
b27910c1af Merge pull request #1354 from ticaki/main
IconSelect left and indicatorScreensaverEntity added
2025-06-20 10:35:21 +02:00
ticaki
f046ae6031 IconSelect left and indicatorScreensaverEntity added 2025-06-20 10:28:46 +02:00
Thomas
4475ab1277 Merge pull request #1348 from ticaki/main
States only respond to any if ack = false
2025-06-13 00:23:53 +02:00
dependabot[bot]
9afdb71a7c Bump home-assistant/builder from 2024.08.2 to 2025.03.0 (#1317)
Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2024.08.2 to 2025.03.0.
- [Release notes](https://github.com/home-assistant/builder/releases)
- [Commits](https://github.com/home-assistant/builder/compare/2024.08.2...2025.03.0)

---
updated-dependencies:
- dependency-name: home-assistant/builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-12 20:08:47 +02:00
dependabot[bot]
c84d78551f Bump docker/login-action from 3.3.0 to 3.4.0 (#1316)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-12 20:08:35 +02:00
Johannes
5e2a4b17ae Update prepare_ha.md 2025-06-12 20:07:00 +02:00
ticaki
5803a489f5 States only respond to any if ack = false 2025-06-12 15:29:17 +02:00
8 changed files with 4698 additions and 1582 deletions

View File

@@ -92,7 +92,7 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3.5.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@@ -100,7 +100,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2024.08.2
uses: home-assistant/builder@2025.03.0
with:
args: |
${{ env.BUILD_ARGS }} \

View File

@@ -151,7 +151,7 @@ class LuiController(object):
items = self._config.get_all_entity_names()
apis.ha_api.log(f"gtest123: {items}")
prefixes = ("navigate.", "delete", "iText")
items = [x for x in items if not (x is None or x.startswith(prefixes))]
items = set([x for x in items if not (x is None or x.startswith(prefixes))])
apis.ha_api.log(f"Registering callbacks for the following items: {items}")
for item in items:
if apis.ha_api.entity_exists(item):

View File

@@ -309,6 +309,11 @@ class LuiPagesGen(object):
unit_of_measurement = entity.attributes.get("unit_of_measurement", "")
value = entity.state
try:
value = str(round(float(value), 1))
except:
print("An exception occurred")
# limit value to 4 chars on us-p
if self._config.get("model") == "us-p" and cardType == "cardEntities":
value = entity.state[:4]
@@ -382,13 +387,29 @@ class LuiPagesGen(object):
elif entityType == "weather":
entityTypePanel = "text"
unit = get_attr_safe(entity, "temperature_unit", "")
if type(item.stype) == int:
rt = None
index = item.stype
if type(item.stype) == str and ":" in item.stype and len(item.stype.split(":")) == 2:
spintstr = item.stype.split(":")
rt = spintstr[0]
index = int(spintstr[1])
if type(index) == int:
bits = get_attr_safe(entity, "supported_features", 0b0)
if not rt:
rt = "daily"
if bits & 0b001: #FORECAST_DAILY
rt = "daily"
elif bits & 0b010: #FORECAST_HOURLY
rt = "hourly"
elif bits & 0b100: #FORECAST_TWICE_DAILY
rt = "twice_daily"
results = apis.ha_api.call_service(
"weather/get_forecasts", target={"entity_id": entityId}, service_data={"type": "daily"}
"weather/get_forecasts", target={"entity_id": entityId}, service_data={"type": rt}
)
forecast = results.get("result", {}).get("response", {}).get(entityId, {}).get('forecast') or entity.attributes.get('forecast', [])
if len(forecast) >= item.stype:
day_forecast = forecast[item.stype]
if len(forecast) >= index:
day_forecast = forecast[index]
fdate = dp.parse(day_forecast['datetime'])
global babel_spec
if babel_spec is not None:
@@ -1074,3 +1095,4 @@ class LuiPagesGen(object):
self._send_mqtt_msg(f"pageType~popupNotify")
self._send_mqtt_msg(f"entityUpdateDetail~{ident}~{heading}~65535~{b1}~65535~{b2}~65535~{msg}~65535~0")

View File

@@ -34,7 +34,7 @@ class NsPanelLovelaceUIManager(ad.ADBase):
desired_tasmota_driver_version = 8
desired_display_firmware_version = 53
version = "v4.3.3"
version = "v4.7.3"
model = cfg.get("model")
if model == "us-l":

View File

@@ -94,37 +94,3 @@ Now, to install NSPanel Lovelace UI Backend with HACS, follow these steps:
proceed with the download
7. The Backend Application is now installed, and HACS will inform you when updates are available
# Workaround for HomeAssistant 2024.04
AppDaemon is using the old REST API that until AppDaemon moved on the the websocket API this woraround is needed to get weather forecast data from homeassistant. (https://github.com/AppDaemon/appdaemon/issues/1837)
To get the forecast data in appdaemon, there is a script needed in homeassistant's configuration.yaml:
```yaml
template:
- trigger:
- platform: time_pattern
hours: /1
- platform: homeassistant
event: start
action:
- service: weather.get_forecasts
data:
type: daily
target:
entity_id: weather.home # change to your weather entity
response_variable: daily
sensor:
- name: Weather Forecast Daily
unique_id: weather_forecast_daily
state: "{{ states('weather.home') }}" # # change to your weather entity in this line
attributes:
temperature: "{{ state_attr('weather.home', 'temperature') }}" # change to your weather entity
temperature_unit: "{{ state_attr('weather.home', 'temperature_unit') }}" # change to your weather entity
forecast: "{{ daily['weather.home'].forecast }}" # change to your weather entity
```
![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/29555657/41f21db3-a6e2-4e4f-8dab-b9351ecd23e5)
Adjust the entities in your apps.yaml that are accessing the forecast to the newly created trigger template:
![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/29555657/1cfd913d-88be-4cb0-9a68-0e864ee1ad4f)

View File

@@ -1,65 +1,71 @@
# Flash Tasmota to your NSPanel
# Flash Tasmota to Your NSPanel
You need to connect to your nspanel via serial and flash tasmota [tasmota32-nspanel.bin](http://ota.tasmota.com/tasmota32/release/tasmota32-nspanel.bin) to your NSPanel.
You can use the Tasmota Web Installer to do so. [Tasmota Web Installer](https://tasmota.github.io/install/)
You need to connect to your NSPanel via serial and flash Tasmota using [tasmota32-nspanel.bin](http://ota.tasmota.com/tasmota32/release/tasmota32-nspanel.bin).
You can use the [Tasmota Web Installer](https://tasmota.github.io/install/) to do so.
Checkout Blakadders Template Repo for more information on flashing, do not use the autoexec.be from this page.
Check out Blakadder's Template Repo for more information on flashing. **Do not** use the autoexec.be from that page.
[NSPanel Page of the Tasmota Template Repository](https://templates.blakadder.com/sonoff_NSPanel.html)
If you prefer EspHome over Tasmota, you can use this thrid party esphome component, which is replacing tasmota and the berry driver of this project.
[ESPHome component](https://github.com/sairon/esphome-nspanel-lovelace-ui)
If you prefer ESPHome over Tasmota, you can use this third-party ESPHome component, which replaces Tasmota and the Berry driver used in this project.
[ESPHome Component](https://github.com/sairon/esphome-nspanel-lovelace-ui)
---
## Configure Tasmota Template for NSPanel
Configure the NSPanel template for Tasmota. (Go to Configuration and Configure Other and paste the template there, make sure to tick the activate checkbox)
Configure the NSPanel template for Tasmota. (Go to Configuration > Configure Other, paste the template there, and make sure to tick the Activate checkbox.)
![tasmota-template-config](img/tasmota-template-config.png)
You can use the following template or copy the one on the [Tasmota Template Repo Site](https://templates.blakadder.com/sonoff_NSPanel.html).
You can use the following template or copy the one from the [Tasmota Template Repo Site](https://templates.blakadder.com/sonoff_NSPanel.html):
`{"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1,"CMND":"ADCParam 2,11200,10000,3950 | Sleep 0 | BuzzerPWM 1"}`
{"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1,"CMND":"ADCParam 2,11200,10000,3950 | Sleep 0 | BuzzerPWM 1"}
After a reboot of tasmota your screen will light up with the stock display firmware.
After a reboot of Tasmota, your screen will light up with the stock display firmware.
---
## Upload Berry Driver to Tasmota
Go to `Consoles` > `Console` in Tasmota and execute the following command:
Go to Consoles > Console in Tasmota and execute the following command:
```
Backlog UrlFetch https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; SetOption151 0;Restart 1
```
Backlog UrlFetch https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; SetOption151 0; Restart 1
This will download the autoexec.be file from the repository and restart tasmota.
This downloads the autoexec.be file from the repository and restarts Tasmota.
Note: The command is also disabling matter to free up memory, as it's most likely not used by any homeassistant users anyway.
(Matter could cause memory issues during flashing of the Nextion Screen, but you can still enable it if you need to.)
Note: This command also disables Matter to free up memory, as it's unlikely to be used by most Home Assistant users. (Matter can cause memory issues during flashing of the Nextion screen, but you can re-enable it later if needed.)
---
## Flash Firmware to Nextion Screen
Due the limitations of Berry, it's not possible to download the tft file directly from github, so I'm also renting a small server where you can download the file via HTTP.
Due to the limitations of Berry, it's not possible to download the TFT file directly from GitHub. A small server is available to download the file via HTTP.
Use the one following commands in the tasmota console (not berry console) to flash the latest release from this repository:
Use one of the following commands in the Tasmota console (not the Berry console) to flash the latest release from this repository:
EU Version: `FlashNextion http://nspanel.pky.eu/lui-release.tft`
EU Version:
FlashNextion http://nspanel.pky.eu/lui-release.tft
US Version Portrait: `FlashNextion http://nspanel.pky.eu/lui-us-p-release.tft`
US Version Portrait:
FlashNextion http://nspanel.pky.eu/lui-us-p-release.tft
US Version Landscape: `FlashNextion http://nspanel.pky.eu/lui-us-l-release.tft`
US Version Landscape:
FlashNextion http://nspanel.pky.eu/lui-us-l-release.tft
After sending the command, the screen should show a progress bar. The flashing progress takes around 5 minutes.
After sending the command, the screen should show a progress bar. The flashing process takes around 5 minutes.
Note: For the US Version Users - keep in mind that you need to add the model config option to your apps.yaml later, more details on config overview page
Note for US users: You'll need to add the model config option to your apps.yaml later. More details can be found on the config overview page.
---
<details>
<summary>Alternatively you can use your own webserver or the one build into HomeAssistant:</summary>
<summary>Alternatively, you can use your own web server or the one built into Home Assistant:</summary>
<br>
Upload the nspanel.tft from the lastest release to a Webserver (for example www folder of Home Assistant) and execute the following command in Tasmota Console. (Development Version: [tft file from HMI folder](HMI/nspanel.tft))
Upload the nspanel.tft from the latest release to a web server (for example, the www folder of Home Assistant) and execute the following command in the Tasmota Console.
(Development version: [TFT file from HMI folder](HMI/nspanel.tft))
**Webserver must be HTTP, HTTPS is not supported, due to limitations of berry lang on tasmota**
**The web server must be HTTP. HTTPS is not supported due to Berry language limitations in Tasmota.**
`FlashNextion http://ip-address-of-your-homeassistant:8123/local/nspanel.tft`
FlashNextion http://ip-address-of-your-homeassistant:8123/local/nspanel.tft
</details>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff