From d2460f47f66784fb77f4fda4f1df4e4033d30291 Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 9 Jun 2022 17:48:30 +0200 Subject: [PATCH 1/5] set maxsplit to 3 for iText #270 --- apps/nspanel-lovelace-ui/luibackend/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 1e93c66a..054650e1 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -179,8 +179,8 @@ class LuiPagesGen(object): else: return f"~text~{entityId}~{get_icon_id('alert-circle-outline')}~17299~page not found~" if entityType == "iText": - key = entityId.split(".")[1] - value = entityId.split(".")[2] + key = entityId.split(".", 3)[1] + value = entityId.split(".", 3)[2] icon_id = get_icon_id(icon) if icon is not None else get_icon_id("alert-circle-outline") return f"~text~{entityId}~{icon_id}~17299~{key}~{value}" if not self._ha_api.entity_exists(entityId): From c401dc7d3d665257d1eb655e43e2462ec48b1e1f Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 9 Jun 2022 17:56:01 +0200 Subject: [PATCH 2/5] Update pages.py --- apps/nspanel-lovelace-ui/luibackend/pages.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 054650e1..5e9d35cf 100644 --- a/apps/nspanel-lovelace-ui/luibackend/pages.py +++ b/apps/nspanel-lovelace-ui/luibackend/pages.py @@ -179,10 +179,10 @@ class LuiPagesGen(object): else: return f"~text~{entityId}~{get_icon_id('alert-circle-outline')}~17299~page not found~" if entityType == "iText": - key = entityId.split(".", 3)[1] - value = entityId.split(".", 3)[2] + value = entityId.split(".", 2)[1] + name = name if name is not None else "conf name missing" icon_id = get_icon_id(icon) if icon is not None else get_icon_id("alert-circle-outline") - return f"~text~{entityId}~{icon_id}~17299~{key}~{value}" + return f"~text~{entityId}~{icon_id}~17299~{name}~{value}" if not self._ha_api.entity_exists(entityId): return f"~text~{entityId}~{get_icon_id('alert-circle-outline')}~17299~Not found check~ apps.yaml" From e3971ce7e422cfa5ac4b2823fd0af98c5aa217f5 Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 9 Jun 2022 17:56:51 +0200 Subject: [PATCH 3/5] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 075040bc..ef83719d 100644 --- a/README.md +++ b/README.md @@ -354,9 +354,11 @@ nspanel-1: title: Guest Wifi qrCode: "WIFI:S:test_ssid;T:WPA;P:test_pw;;" entities: - - entity: iText.Name.test_ssid + - entity: iText.test_ssid + name: Name icon: mdi:wifi - - entity: iText.Password.test_pw + - entity: iText.test_pw + name: Password icon: mdi:key ``` From 8d4ccf792021455ee74256a61b06c05fb2763a6a Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 10 Jun 2022 17:36:55 +0200 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ef83719d..fac5d625 100644 --- a/README.md +++ b/README.md @@ -246,6 +246,10 @@ Support for ESPHome is WIP, see this third-party [ESPHome component](https://git ## Configuration +Note this is the documentation of the current development version and might have changed since latest release, so see the documentation of the current release visit: + +https://github.com/joBr99/nspanel-lovelace-ui/tree/v2.9.3 + ### Configuring the MQTT integration in AppDaemon For the app to work you need a working MQTT Configuration in AppDaemon. Please add the configuration of your mqtt server, user and password to your existing `appdaemon.yaml` From 39c94690f30b28872c2d2c033db0076f5598e48c Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 11 Jun 2022 09:20:34 +0200 Subject: [PATCH 5/5] fixed #269 --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index fac5d625..c3275e1f 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ You only need to do one **Tasmota** OR **ESPHome** ### Flash Tasmota to your NSPanel -You need to connect to your nspanel via serial and flash the [tasmota32-nspanel.bin](https://github.com/tasmota/install/raw/main/firmware/unofficial/tasmota32-nspanel.bin) to your NSPanel. +You need to connect to your nspanel via serial and flash tasmtoa [tasmota32-nspanel.factory.bin](https://tasmota.github.io/install/firmware/development/tasmota32-nspanel.factory.bin) to your NSPanel. You can use the Tasmota Web Installer to do so. [Tasmota Web Installer](https://tasmota.github.io/install/) Make sure to come back to this guide, before uploading the nspanel.be/autoexec.be files. For more deatils see the [NSPanel Page of the Tasmota Template Repository](https://templates.blakadder.com/sonoff_NSPanel.html). @@ -774,11 +774,6 @@ Since release 1.1 you can update the berry driver directly from the Tasmota Cons ## FAQ - Frequently Asked Questions -### Flashing of the Display Firmware with FlashNextion doesn't work - -1. Make sure to use the [tasmota32-nspanel.bin](https://github.com/tasmota/install/raw/main/firmware/unofficial/tasmota32-nspanel.bin) Tasmota build. -2. Make sure to use HTTP and **not HTTPS** - ### Waiting for content - This is taking longer than usual on the screen Please check your MQTT Topics in your apps.yaml and your mqtt configuration on tasmota.