From cb542f1e77f9b8bb3fb4fa209ce865bab77f98e5 Mon Sep 17 00:00:00 2001 From: Armilar Date: Fri, 25 Aug 2023 12:36:47 +0000 Subject: [PATCH 1/7] v4.2.1.2 - New pageItem-Parameter fontSize (add nextion2text) --- HMI/US/portrait/diff-filtered.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMI/US/portrait/diff-filtered.txt b/HMI/US/portrait/diff-filtered.txt index 049d9e163..d83bf164a 100644 --- a/HMI/US/portrait/diff-filtered.txt +++ b/HMI/US/portrait/diff-filtered.txt @@ -1,4 +1,4 @@ -+++ /dev/fd/62 2023-08-24 14:50:12.470366313 +0000 ++++ /dev/fd/62 2023-08-25 12:36:32.776738343 +0000 +I/n2t-out/Program.s.txt ++ HMI/US/portrait/n2t-out/Program.s.txt +1 +12,11 @@ From f0a3a04edb2365b2e34e132c29740489a74a4e12 Mon Sep 17 00:00:00 2001 From: Thomas <101348966+tt-tom17@users.noreply.github.com> Date: Fri, 15 Sep 2023 19:20:53 +0200 Subject: [PATCH 2/7] v4.2.1.6 - Fix ServicePage Dimmode 'next' -> 'home' - Fix Log '.USERICON' to Debug.log - Fix Link PowerIcon to Alias (Thermocard) --- ioBroker/NsPanelTs.ts | 37 ++++++++++++++------------ ioBroker/NsPanelTs_without_Examples.ts | 33 ++++++++++++----------- 2 files changed, 38 insertions(+), 32 deletions(-) diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index a9e9d7396..cda689264 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------- -TypeScript v4.2.1.5 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne +TypeScript v4.2.1.6 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne - abgestimmt auf TFT 52 / v4.2.1 / BerryDriver 8 / Tasmota 13.1.0 @joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts @@ -139,8 +139,8 @@ ReleaseNotes: - 23.04.2023 - v4.0.5.10 Fixed error wrong icon index in GeneratePowerPage by fre4242 - 28.04.2023 - v4.0.5.11 light 'hue' and light 'rgb' have '.TEMPERATURE' optional - 02.05.2023 - v4.0.5.12 Add new Function Debug mode from script activatable via panel - - 02.05.2023 - v4.0.5.13 Fix Problems with weather-instances-number !="0" #876 - - 02.05.2023 - v4.0.5.14 Fix: Remove empty log statements #883 + - 02.05.2023 - v4.0.5.13 Fix Problems with weather-instances-number !="0" #876 + - 02.05.2023 - v4.0.5.14 Fix: Remove empty log statements #883 - 30.07.2023 - v4.0.5.15 Improved screensaverAdvanced icon handling: option to load from iobroker object #944 - 12.08.2023 - v4.1.4 Upgrade TFT 51 / 4.1.4 - 12.08.2023 - v4.1.4.1 Fix Label CANCEL for popupTimer @@ -149,22 +149,25 @@ ReleaseNotes: - 12.08.2023 - v4.1.4.2 Add onStop function() to Schedules - 13.08.2023 - v4.1.4.3 Add InSel to popUpLight - 13.08.2023 - v4.1.4.4 Add Parameter inSel_ChoiceState to InSel to show/hide Focus - - 21.08.2023 - v4.2.0 Upgrade TFT 52 / 4.2.0 + - 21.08.2023 - v4.2.0 Upgrade TFT 52 / 4.2.0 - 21.08.2023 - v4.2.0 Add new alias state for iconcolor and buttontext for icon for subpages - - 22.08.2023 - v4.2.0.1 Add iconArray to Alias "Klimaanlage" (airCondition) - - 23.08.2023 - v4.2.0.2 Add CardGrid2 with maxItems = 8 + - 22.08.2023 - v4.2.0.1 Add iconArray to Alias "Klimaanlage" (airCondition) + - 23.08.2023 - v4.2.0.2 Add CardGrid2 with maxItems = 8 - 23.08.2023 - v4.2.1 Upgrade TFT 52 / 4.2.1 - - 23.08.2023 - v4.2.1.1 Add WINDOWOPEN to cardThermo (Thermostat) + - 23.08.2023 - v4.2.1.1 Add WINDOWOPEN to cardThermo (Thermostat) - 25.08.2023 - v4.2.1.2 Add Parameter fontSize for v4.3.0 - 27.08.2023 - v4.2.1.3 Add MQTT-Port-Check (use with exec) --> function CheckMQTTPorts() - 27.08.2023 - v4.2.1.3 Add MQTT-Port-Check for ServiceMenu - 01.09.2023 - v4.2.1.4 Fix iconId2 in Alias door/window - 02.09.2023 - v4.2.1.4 Add dynamically USERICON to Alias info - - 04.09.2023 - v4.2.1.5 Fix Debug with 0_userdata.0... - - 04.09.2023 - v4.2.1.5 Add minValue/maxValue to Blinds + - 04.09.2023 - v4.2.1.5 Fix Debug with 0_userdata.0... + - 04.09.2023 - v4.2.1.5 Add minValue/maxValue to Blinds + - 15.09.2023 - v4.2.1.6 Fix ServicePage Dimmode 'next' -> 'home' + - 15.09.2023 - v4.2.1.6 Fix Log '.USERICON' to Debug.log + - 15.09.2023 - v4.2.1.6 Fix Link PowerIcon to Alias (Thermocard) Next Release with TFT DEV (always implemented) - - 25.08.2023 - v4.3.0 Add Parameter fontSize (0-4) to cardGrid (with useValue) + - xx.xx.2023 - v4.3.0 Add Parameter fontSize (0-4) to cardGrid (with useValue) *********************************************************************************************************** @@ -913,11 +916,11 @@ let NSPanel_Service = let NSPanel_ScreensaverDimmode = { 'type': 'cardEntities', - 'heading': 'Dimmode (1)', + 'heading': 'Dimmode', 'useColor': true, 'subPage': true, 'parent': NSPanel_Screensaver, - 'next': 'NSPanel_ScreensaverOther', + 'home': 'NSPanel_Service', 'items': [ { id: AliasPath + 'Dimmode.brightnessDay', name: 'Brightness Tag', icon: 'brightness-5', offColor: Menu, onColor: Menu, minValue: 5, maxValue: 10}, { id: AliasPath + 'Dimmode.brightnessNight', name: 'Brightness Nacht', icon: 'brightness-4', offColor: Menu, onColor: Menu, minValue: 0, maxValue: 4}, @@ -1187,7 +1190,7 @@ export const config = { // bottomScreensaverEntity 4 { ScreensaverEntity: 'accuweather.0.Current.WindDirection', - ScreensaverEntityFactor: 0, + ScreensaverEntityFactor: 1, ScreensaverEntityDecimalPlaces: 0, ScreensaverEntityIconOn: 'windsock', ScreensaverEntityIconOff: null, @@ -1412,7 +1415,7 @@ async function CheckDebugMode() { console.log('Debugmodus aktiviert'); }else{ Debug = false; - console.log('Debugmodus deaktiviert') + console.log('Debugmodus deaktiviert'); } } catch (err) { @@ -3817,7 +3820,7 @@ function CreateEntity(pageItem: PageItem, placeId: number, useColors: boolean = if (existsState(pageItem.id + '.USERICON')) { iconId = Icons.GetIcon(getState(pageItem.id + '.USERICON').val); - console.log(iconId); + if (Debug) console.log('iconid von ' + pageItem.id + '.USERICON: ' + getState(pageItem.id + '.USERICON').val); RegisterEntityWatcher(pageItem.id + '.USERICON'); } @@ -4255,9 +4258,9 @@ function GenerateThermoPage(page: PageThermo): Payload[] { case 'POWER': if (existsState(id + '.POWER') && getState(id + '.POWER').val != null) { if (getState(id + '.POWER').val) { - bt[i - 1] = Icons.GetIcon('power-standby') + '~2016~1~' + 'POW' + '~'; + bt[i - 1] = Icons.GetIcon('power-standby') + '~2016~1~' + 'POWER' + '~'; } else { - bt[i - 1] = Icons.GetIcon('power-standby') + '~33840~1~' + 'POW' + '~'; + bt[i - 1] = Icons.GetIcon('power-standby') + '~33840~1~' + 'POWER' + '~'; } } else i--; break; diff --git a/ioBroker/NsPanelTs_without_Examples.ts b/ioBroker/NsPanelTs_without_Examples.ts index 0c5473c7d..fa9ecdfec 100644 --- a/ioBroker/NsPanelTs_without_Examples.ts +++ b/ioBroker/NsPanelTs_without_Examples.ts @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------- -TypeScript v4.2.1.5 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne +TypeScript v4.2.1.6 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne - abgestimmt auf TFT 52 / v4.2.1 / BerryDriver 8 / Tasmota 13.1.0 @joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts @@ -139,8 +139,8 @@ ReleaseNotes: - 23.04.2023 - v4.0.5.10 Fixed error wrong icon index in GeneratePowerPage by fre4242 - 28.04.2023 - v4.0.5.11 light 'hue' and light 'rgb' have '.TEMPERATURE' optional - 02.05.2023 - v4.0.5.12 Add new Function Debug mode from script activatable via panel - - 02.05.2023 - v4.0.5.13 Fix Problems with weather-instances-number !="0" #876 - - 02.05.2023 - v4.0.5.14 Fix: Remove empty log statements #883 + - 02.05.2023 - v4.0.5.13 Fix Problems with weather-instances-number !="0" #876 + - 02.05.2023 - v4.0.5.14 Fix: Remove empty log statements #883 - 30.07.2023 - v4.0.5.15 Improved screensaverAdvanced icon handling: option to load from iobroker object #944 - 12.08.2023 - v4.1.4 Upgrade TFT 51 / 4.1.4 - 12.08.2023 - v4.1.4.1 Fix Label CANCEL for popupTimer @@ -149,22 +149,25 @@ ReleaseNotes: - 12.08.2023 - v4.1.4.2 Add onStop function() to Schedules - 13.08.2023 - v4.1.4.3 Add InSel to popUpLight - 13.08.2023 - v4.1.4.4 Add Parameter inSel_ChoiceState to InSel to show/hide Focus - - 21.08.2023 - v4.2.0 Upgrade TFT 52 / 4.2.0 + - 21.08.2023 - v4.2.0 Upgrade TFT 52 / 4.2.0 - 21.08.2023 - v4.2.0 Add new alias state for iconcolor and buttontext for icon for subpages - - 22.08.2023 - v4.2.0.1 Add iconArray to Alias "Klimaanlage" (airCondition) - - 23.08.2023 - v4.2.0.2 Add CardGrid2 with maxItems = 8 + - 22.08.2023 - v4.2.0.1 Add iconArray to Alias "Klimaanlage" (airCondition) + - 23.08.2023 - v4.2.0.2 Add CardGrid2 with maxItems = 8 - 23.08.2023 - v4.2.1 Upgrade TFT 52 / 4.2.1 - - 23.08.2023 - v4.2.1.1 Add WINDOWOPEN to cardThermo (Thermostat) + - 23.08.2023 - v4.2.1.1 Add WINDOWOPEN to cardThermo (Thermostat) - 25.08.2023 - v4.2.1.2 Add Parameter fontSize for v4.3.0 - 27.08.2023 - v4.2.1.3 Add MQTT-Port-Check (use with exec) --> function CheckMQTTPorts() - 27.08.2023 - v4.2.1.3 Add MQTT-Port-Check for ServiceMenu - 01.09.2023 - v4.2.1.4 Fix iconId2 in Alias door/window - 02.09.2023 - v4.2.1.4 Add dynamically USERICON to Alias info - - 04.09.2023 - v4.2.1.5 Fix Debug with 0_userdata.0... - - 04.09.2023 - v4.2.1.5 Add minValue/maxValue to Blinds + - 04.09.2023 - v4.2.1.5 Fix Debug with 0_userdata.0... + - 04.09.2023 - v4.2.1.5 Add minValue/maxValue to Blinds + - 15.09.2023 - v4.2.1.6 Fix ServicePage Dimmode 'next' -> 'home' + - 15.09.2023 - v4.2.1.6 Fix Log '.USERICON' to Debug.log + - 15.09.2023 - v4.2.1.6 Fix Link PowerIcon to Alias (Thermocard) Next Release with TFT DEV (always implemented) - - 25.08.2023 - v4.3.0 Add Parameter fontSize (0-4) to cardGrid (with useValue) + - xx.xx.2023 - v4.3.0 Add Parameter fontSize (0-4) to cardGrid (with useValue) *********************************************************************************************************** @@ -517,11 +520,11 @@ let NSPanel_Service = let NSPanel_ScreensaverDimmode = { 'type': 'cardEntities', - 'heading': 'Dimmode (1)', + 'heading': 'Dimmode', 'useColor': true, 'subPage': true, 'parent': NSPanel_Screensaver, - 'next': 'NSPanel_ScreensaverOther', + 'home': 'NSPanel_Service', 'items': [ { id: AliasPath + 'Dimmode.brightnessDay', name: 'Brightness Tag', icon: 'brightness-5', offColor: Menu, onColor: Menu, minValue: 5, maxValue: 10}, { id: AliasPath + 'Dimmode.brightnessNight', name: 'Brightness Nacht', icon: 'brightness-4', offColor: Menu, onColor: Menu, minValue: 0, maxValue: 4}, @@ -3302,7 +3305,7 @@ function CreateEntity(pageItem: PageItem, placeId: number, useColors: boolean = if (existsState(pageItem.id + '.USERICON')) { iconId = Icons.GetIcon(getState(pageItem.id + '.USERICON').val); - console.log(iconId); + if (Debug) console.log('iconid von ' + pageItem.id + '.USERICON: ' + getState(pageItem.id + '.USERICON').val); RegisterEntityWatcher(pageItem.id + '.USERICON'); } @@ -3740,9 +3743,9 @@ function GenerateThermoPage(page: PageThermo): Payload[] { case 'POWER': if (existsState(id + '.POWER') && getState(id + '.POWER').val != null) { if (getState(id + '.POWER').val) { - bt[i - 1] = Icons.GetIcon('power-standby') + '~2016~1~' + 'POW' + '~'; + bt[i - 1] = Icons.GetIcon('power-standby') + '~2016~1~' + 'POWER' + '~'; } else { - bt[i - 1] = Icons.GetIcon('power-standby') + '~33840~1~' + 'POW' + '~'; + bt[i - 1] = Icons.GetIcon('power-standby') + '~33840~1~' + 'POWER' + '~'; } } else i--; break; From 67bc1533bf24dd11bd897ec8b5420a141fde8c8b Mon Sep 17 00:00:00 2001 From: joBr99 Date: Sat, 16 Sep 2023 10:55:25 +0000 Subject: [PATCH 3/7] bump tft version (add nextion2text) --- HMI/US/landscape/n2t-out-visual/pageStartup.txt | 2 +- HMI/US/landscape/n2t-out/pageStartup.txt | 2 +- HMI/US/portrait/diff-filtered.txt | 2 +- HMI/US/portrait/n2t-out-visual/nspanel_US_P_Stats.txt | 8 ++++---- HMI/US/portrait/n2t-out-visual/pageStartup.txt | 2 +- HMI/US/portrait/n2t-out/pageStartup.txt | 2 +- HMI/n2t-out-visual/nspanel_Stats.txt | 8 ++++---- HMI/n2t-out-visual/pageStartup.txt | 2 +- HMI/n2t-out/pageStartup.txt | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/HMI/US/landscape/n2t-out-visual/pageStartup.txt b/HMI/US/landscape/n2t-out-visual/pageStartup.txt index d67c86faa..7057d64f6 100644 --- a/HMI/US/landscape/n2t-out-visual/pageStartup.txt +++ b/HMI/US/landscape/n2t-out-visual/pageStartup.txt @@ -396,7 +396,7 @@ Text tVersion Horizontal Alignment: center Vertical Alignment : center Input Type : character - Text : 52 + Text : 53 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 diff --git a/HMI/US/landscape/n2t-out/pageStartup.txt b/HMI/US/landscape/n2t-out/pageStartup.txt index 1f98f37d3..5a829182a 100644 --- a/HMI/US/landscape/n2t-out/pageStartup.txt +++ b/HMI/US/landscape/n2t-out/pageStartup.txt @@ -145,7 +145,7 @@ Text tVersion Dragging : 0 Send Component ID : disabled Associated Keyboard: none - Text : 52 + Text : 53 Max. Text Size : 10 Picture p0 diff --git a/HMI/US/portrait/diff-filtered.txt b/HMI/US/portrait/diff-filtered.txt index 049d9e163..98984001a 100644 --- a/HMI/US/portrait/diff-filtered.txt +++ b/HMI/US/portrait/diff-filtered.txt @@ -1,4 +1,4 @@ -+++ /dev/fd/62 2023-08-24 14:50:12.470366313 +0000 ++++ /dev/fd/62 2023-09-16 10:55:16.569411880 +0000 +I/n2t-out/Program.s.txt ++ HMI/US/portrait/n2t-out/Program.s.txt +1 +12,11 @@ diff --git a/HMI/US/portrait/n2t-out-visual/nspanel_US_P_Stats.txt b/HMI/US/portrait/n2t-out-visual/nspanel_US_P_Stats.txt index 35587c250..426be2a95 100644 --- a/HMI/US/portrait/n2t-out-visual/nspanel_US_P_Stats.txt +++ b/HMI/US/portrait/n2t-out-visual/nspanel_US_P_Stats.txt @@ -14,6 +14,10 @@ popupNotify 19 Component(s) 267 Line(s) of event code 172 Unique line(s) of event code +pageStartup + 19 Component(s) + 198 Line(s) of event code + 137 Unique line(s) of event code popupTimer 42 Component(s) 516 Line(s) of event code @@ -42,10 +46,6 @@ cardLChart 33 Component(s) 402 Line(s) of event code 266 Unique line(s) of event code -pageStartup - 19 Component(s) - 198 Line(s) of event code - 137 Unique line(s) of event code popupShutter 25 Component(s) 402 Line(s) of event code diff --git a/HMI/US/portrait/n2t-out-visual/pageStartup.txt b/HMI/US/portrait/n2t-out-visual/pageStartup.txt index e47c57071..e8059ec77 100644 --- a/HMI/US/portrait/n2t-out-visual/pageStartup.txt +++ b/HMI/US/portrait/n2t-out-visual/pageStartup.txt @@ -389,7 +389,7 @@ Text tVersion Horizontal Alignment: center Vertical Alignment : center Input Type : character - Text : 52 + Text : 53 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 diff --git a/HMI/US/portrait/n2t-out/pageStartup.txt b/HMI/US/portrait/n2t-out/pageStartup.txt index 23e10c92a..478b34cb9 100644 --- a/HMI/US/portrait/n2t-out/pageStartup.txt +++ b/HMI/US/portrait/n2t-out/pageStartup.txt @@ -139,7 +139,7 @@ Text tVersion Dragging : 0 Send Component ID : disabled Associated Keyboard: none - Text : 52 + Text : 53 Max. Text Size : 10 Picture p0 diff --git a/HMI/n2t-out-visual/nspanel_Stats.txt b/HMI/n2t-out-visual/nspanel_Stats.txt index 362f8d4f3..d0ba4fa98 100644 --- a/HMI/n2t-out-visual/nspanel_Stats.txt +++ b/HMI/n2t-out-visual/nspanel_Stats.txt @@ -18,6 +18,10 @@ popupFan 27 Component(s) 355 Line(s) of event code 206 Unique line(s) of event code +pageStartup + 20 Component(s) + 198 Line(s) of event code + 137 Unique line(s) of event code popupShutter 25 Component(s) 402 Line(s) of event code @@ -34,10 +38,6 @@ cardGrid 44 Component(s) 579 Line(s) of event code 330 Unique line(s) of event code -pageStartup - 20 Component(s) - 198 Line(s) of event code - 137 Unique line(s) of event code cardQR 34 Component(s) 410 Line(s) of event code diff --git a/HMI/n2t-out-visual/pageStartup.txt b/HMI/n2t-out-visual/pageStartup.txt index 2660b6d28..fa4cef64c 100644 --- a/HMI/n2t-out-visual/pageStartup.txt +++ b/HMI/n2t-out-visual/pageStartup.txt @@ -396,7 +396,7 @@ Text tVersion Horizontal Alignment: center Vertical Alignment : center Input Type : character - Text : 52 + Text : 53 Max. Text Size : 10 Word wrap : disabled Horizontal Spacing : 0 diff --git a/HMI/n2t-out/pageStartup.txt b/HMI/n2t-out/pageStartup.txt index aa5469994..9c34e02be 100644 --- a/HMI/n2t-out/pageStartup.txt +++ b/HMI/n2t-out/pageStartup.txt @@ -145,7 +145,7 @@ Text tVersion Dragging : 0 Send Component ID : disabled Associated Keyboard: none - Text : 52 + Text : 53 Max. Text Size : 10 Picture p0 From 4600458da3228b0eeecb6ff9b6cb780ab4778d7b Mon Sep 17 00:00:00 2001 From: Johannes <29555657+joBr99@users.noreply.github.com> Date: Sat, 16 Sep 2023 13:28:56 +0200 Subject: [PATCH 4/7] Update entities.md --- docs/entities.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/entities.md b/docs/entities.md index 20f079080..ef7e8cc11 100644 --- a/docs/entities.md +++ b/docs/entities.md @@ -18,6 +18,7 @@ key | optional | type | default | description `status` | True | string | `None` | Only valid for navigate and service items, adds a entity to track state for the icon `assumed_state` | True | string | `None` | Only for cover items, up, down and stop buttons are always shown `action_name` | True | string | `None` | Only valid for script; Button label +`font` | True | string | `None` | Used to change the font for cardGrid Icons; valid values are (`small`, `medium-icon` and `medium`). Currently only supported for homeassistant entities and not for internal ones. `effectList` | True | string | `None` | Only valid for light; for example `[Android, Aurora` (fav list for effects) From 13b17dab00f3648305ccc18374fa893fc3c4dc06 Mon Sep 17 00:00:00 2001 From: Johannes <29555657+joBr99@users.noreply.github.com> Date: Sat, 16 Sep 2023 13:34:09 +0200 Subject: [PATCH 5/7] bump version --- apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py b/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py index c8489c08c..25bbf4122 100644 --- a/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py +++ b/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py @@ -27,8 +27,8 @@ def initialize(self): controller = LuiController(cfg, mqttsend.send_mqtt_msg) desired_tasmota_driver_version = 8 - desired_display_firmware_version = 52 - version = "v4.2.0" + desired_display_firmware_version = 53 + version = "v4.3.1" model = cfg.get("model") if model == "us-l": From 586af0aac3be120875c43523b41e1baabf62e695 Mon Sep 17 00:00:00 2001 From: Armilar <102996011+Armilar@users.noreply.github.com> Date: Sun, 17 Sep 2023 13:36:28 +0200 Subject: [PATCH 6/7] v4.3.1.1 v4.2.1.6 Fix ServicePage Dimmode 'next' -> 'home' v4.2.1.6 Fix Log '.USERICON' to Debug.log v4.2.1.6 Fix Link PowerIcon to Alias (Thermocard) v4.3.1 Upgrade TFT 53 / 4.3.1 v4.3.1.1 Add Parameter fontSize (0-4) to cardGrid (with useValue) --- ioBroker/NsPanelTs_without_Examples.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/ioBroker/NsPanelTs_without_Examples.ts b/ioBroker/NsPanelTs_without_Examples.ts index fa9ecdfec..44cc6a226 100644 --- a/ioBroker/NsPanelTs_without_Examples.ts +++ b/ioBroker/NsPanelTs_without_Examples.ts @@ -1,6 +1,6 @@ /*----------------------------------------------------------------------- -TypeScript v4.2.1.6 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne -- abgestimmt auf TFT 52 / v4.2.1 / BerryDriver 8 / Tasmota 13.1.0 +TypeScript v4.3.1.1 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne +- abgestimmt auf TFT 53 / v4.3.1 / BerryDriver 8 / Tasmota 13.1.0 @joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts icon_mapping.ts: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/icon_mapping.ts (TypeScript muss in global liegen) @@ -165,9 +165,8 @@ ReleaseNotes: - 15.09.2023 - v4.2.1.6 Fix ServicePage Dimmode 'next' -> 'home' - 15.09.2023 - v4.2.1.6 Fix Log '.USERICON' to Debug.log - 15.09.2023 - v4.2.1.6 Fix Link PowerIcon to Alias (Thermocard) - - Next Release with TFT DEV (always implemented) - - xx.xx.2023 - v4.3.0 Add Parameter fontSize (0-4) to cardGrid (with useValue) + - 17.09.2023 - v4.3.1 Upgrade TFT 53 / 4.3.1 + - 17.09.2023 - v4.3.1.1 Add Parameter fontSize (0-4) to cardGrid (with useValue) *********************************************************************************************************** @@ -259,7 +258,7 @@ Erforderliche Adapter: Upgrades in Konsole: Tasmota BerryDriver : Backlog UpdateDriverVersion https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; Restart 1 - TFT EU STABLE Version : FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.2.1.tft + TFT EU STABLE Version : FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.3.1.tft --------------------------------------------------------------------------------------- */ @@ -862,8 +861,8 @@ export const config = { const request = require('request'); //Desired Firmware -const tft_version: string = 'v4.2.1'; -const desired_display_firmware_version = 52; +const tft_version: string = 'v4.3.1'; +const desired_display_firmware_version = 53; const berry_driver_version = 8; const tasmotaOtaUrl: string = 'http://ota.tasmota.com/tasmota32/release/'; @@ -960,8 +959,8 @@ async function CheckMQTTPorts() { CheckMQTTPorts(); async function Init_Release() { - const FWVersion = [41,42,43,44,45,46,47,48,49,50,51,52,53] - const FWRelease = ['3.3.1','3.4.0','3.5.0','3.5.X','3.6.0','3.7.3','3.8.0','3.8.3','3.9.4','4.0.5','4.1.4','4.2.1','4.3.0'] + const FWVersion = [41,42,43,44,45,46,47,48,49,50,51,52,53,54,55]; + const FWRelease = ['3.3.1','3.4.0','3.5.0','3.5.X','3.6.0','3.7.3','3.8.0','3.8.3','3.9.4','4.0.5','4.1.4','4.2.1','4.3.1','4.4.0','4.5.0']; try { if (existsObject(NSPanel_Path + 'Display_Firmware.desiredVersion') == false) { await createStateAsync(NSPanel_Path + 'Display_Firmware.desiredVersion', desired_display_firmware_version, { type: 'number' }); From 0803dd5214625056539762aed63923be33eef20c Mon Sep 17 00:00:00 2001 From: Armilar <102996011+Armilar@users.noreply.github.com> Date: Sun, 17 Sep 2023 13:36:34 +0200 Subject: [PATCH 7/7] v4.3.1.1 v4.2.1.6 Fix ServicePage Dimmode 'next' -> 'home' v4.2.1.6 Fix Log '.USERICON' to Debug.log v4.2.1.6 Fix Link PowerIcon to Alias (Thermocard) v4.3.1 Upgrade TFT 53 / 4.3.1 v4.3.1.1 Add Parameter fontSize (0-4) to cardGrid (with useValue) --- ioBroker/NsPanelTs.ts | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/ioBroker/NsPanelTs.ts b/ioBroker/NsPanelTs.ts index cda689264..edd3c9b61 100644 --- a/ioBroker/NsPanelTs.ts +++ b/ioBroker/NsPanelTs.ts @@ -1,6 +1,6 @@ /*----------------------------------------------------------------------- -TypeScript v4.2.1.6 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne -- abgestimmt auf TFT 52 / v4.2.1 / BerryDriver 8 / Tasmota 13.1.0 +TypeScript v4.3.1.1 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @Sternmiere / @Britzelpuf / @ravenS0ne +- abgestimmt auf TFT 53 / v4.3.1 / BerryDriver 8 / Tasmota 13.1.0 @joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts icon_mapping.ts: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/icon_mapping.ts (TypeScript muss in global liegen) @@ -165,9 +165,8 @@ ReleaseNotes: - 15.09.2023 - v4.2.1.6 Fix ServicePage Dimmode 'next' -> 'home' - 15.09.2023 - v4.2.1.6 Fix Log '.USERICON' to Debug.log - 15.09.2023 - v4.2.1.6 Fix Link PowerIcon to Alias (Thermocard) - - Next Release with TFT DEV (always implemented) - - xx.xx.2023 - v4.3.0 Add Parameter fontSize (0-4) to cardGrid (with useValue) + - 17.09.2023 - v4.3.1 Upgrade TFT 53 / 4.3.1 + - 17.09.2023 - v4.3.1.1 Add Parameter fontSize (0-4) to cardGrid (with useValue) *********************************************************************************************************** @@ -259,7 +258,7 @@ Erforderliche Adapter: Upgrades in Konsole: Tasmota BerryDriver : Backlog UpdateDriverVersion https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; Restart 1 - TFT EU STABLE Version : FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.2.1.tft + TFT EU STABLE Version : FlashNextion http://nspanel.pky.eu/lovelace-ui/github/nspanel-v4.3.1.tft --------------------------------------------------------------------------------------- */ @@ -1377,8 +1376,8 @@ export const config = { const request = require('request'); //Desired Firmware -const tft_version: string = 'v4.2.1'; -const desired_display_firmware_version = 52; +const tft_version: string = 'v4.3.1'; +const desired_display_firmware_version = 53; const berry_driver_version = 8; const tasmotaOtaUrl: string = 'http://ota.tasmota.com/tasmota32/release/'; @@ -1475,8 +1474,8 @@ async function CheckMQTTPorts() { CheckMQTTPorts(); async function Init_Release() { - const FWVersion = [41,42,43,44,45,46,47,48,49,50,51,52,53] - const FWRelease = ['3.3.1','3.4.0','3.5.0','3.5.X','3.6.0','3.7.3','3.8.0','3.8.3','3.9.4','4.0.5','4.1.4','4.2.1','4.3.0'] + const FWVersion = [41,42,43,44,45,46,47,48,49,50,51,52,53,54,55]; + const FWRelease = ['3.3.1','3.4.0','3.5.0','3.5.X','3.6.0','3.7.3','3.8.0','3.8.3','3.9.4','4.0.5','4.1.4','4.2.1','4.3.1','4.4.0','4.5.0']; try { if (existsObject(NSPanel_Path + 'Display_Firmware.desiredVersion') == false) { await createStateAsync(NSPanel_Path + 'Display_Firmware.desiredVersion', desired_display_firmware_version, { type: 'number' });