diff --git a/README.md b/README.md index 075040bc..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). @@ -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` @@ -354,9 +358,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 ``` @@ -768,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. diff --git a/apps/nspanel-lovelace-ui/luibackend/pages.py b/apps/nspanel-lovelace-ui/luibackend/pages.py index 1e93c66a..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(".")[1] - value = entityId.split(".")[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"