iobroker.nspanel-lovelace-ui 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -0
- package/admin/i18n/de/translations.json +5 -1
- package/admin/i18n/en/translations.json +5 -1
- package/admin/i18n/es/translations.json +8 -4
- package/admin/i18n/fr/translations.json +9 -5
- package/admin/i18n/it/translations.json +11 -7
- package/admin/i18n/nl/translations.json +8 -4
- package/admin/i18n/pl/translations.json +5 -1
- package/admin/i18n/pt/translations.json +16 -12
- package/admin/i18n/ru/translations.json +6 -2
- package/admin/i18n/uk/translations.json +5 -1
- package/admin/i18n/zh-cn/translations.json +5 -1
- package/admin/jsonConfig.json5 +50 -6
- package/build/lib/classes/Page.js +4 -2
- package/build/lib/classes/Page.js.map +2 -2
- package/build/lib/classes/config-manager.js +231 -82
- package/build/lib/classes/config-manager.js.map +2 -2
- package/build/lib/classes/data-item.js +2 -1
- package/build/lib/classes/data-item.js.map +2 -2
- package/build/lib/classes/library.js +1 -0
- package/build/lib/classes/library.js.map +2 -2
- package/build/lib/classes/navigation.js +29 -5
- package/build/lib/classes/navigation.js.map +2 -2
- package/build/lib/const/config-manager-const.js +372 -378
- package/build/lib/const/config-manager-const.js.map +2 -2
- package/build/lib/const/definition.js +121 -0
- package/build/lib/const/definition.js.map +2 -2
- package/build/lib/const/tools.js +1 -1
- package/build/lib/const/tools.js.map +2 -2
- package/build/lib/controller/panel.js +166 -5
- package/build/lib/controller/panel.js.map +3 -3
- package/build/lib/pages/pageAlarm.js +2 -0
- package/build/lib/pages/pageAlarm.js.map +2 -2
- package/build/lib/pages/pageChart.js +1 -0
- package/build/lib/pages/pageChart.js.map +2 -2
- package/build/lib/pages/pageItem.js +222 -50
- package/build/lib/pages/pageItem.js.map +2 -2
- package/build/lib/pages/pagePower.js +1 -0
- package/build/lib/pages/pagePower.js.map +2 -2
- package/build/lib/pages/pageQR.js +1 -0
- package/build/lib/pages/pageQR.js.map +2 -2
- package/build/lib/pages/screensaver.js +23 -9
- package/build/lib/pages/screensaver.js.map +2 -2
- package/build/lib/templates/button.js +14 -26
- package/build/lib/templates/button.js.map +2 -2
- package/build/lib/templates/number.js +1 -1
- package/build/lib/templates/number.js.map +1 -1
- package/build/lib/templates/system-templates.js +76 -10
- package/build/lib/templates/system-templates.js.map +2 -2
- package/build/lib/templates/text.js +633 -40
- package/build/lib/templates/text.js.map +2 -2
- package/build/lib/types/pages.js +4 -0
- package/build/lib/types/pages.js.map +2 -2
- package/build/lib/types/type-pageItem.js.map +2 -2
- package/build/lib/types/types.js +1 -0
- package/build/lib/types/types.js.map +2 -2
- package/build/main.js +77 -10
- package/build/main.js.map +2 -2
- package/io-package.json +31 -29
- package/package.json +6 -6
- package/script/example_sendTo_script_iobroker.ts +67 -53
package/README.md
CHANGED
|
@@ -84,6 +84,21 @@ Adapter Community (ioBroker Forum): [Forum](https://forum.iobroker.net/topic/800
|
|
|
84
84
|
Placeholder for the next version (at the beginning of the line):
|
|
85
85
|
### **WORK IN PROGRESS**
|
|
86
86
|
-->
|
|
87
|
+
### 0.2.4 (2025-08-06)
|
|
88
|
+
- (ticaki) popupSlider added
|
|
89
|
+
- (ticaki) Auto update of berry driver
|
|
90
|
+
- (ticaki) Admin option added for how shutter positions are interpreted.
|
|
91
|
+
- (ticaki) add Screensaver Notifications fixed #361 3 States or `sendTo('nspanel-lovelace-ui.0', 'screensaverNotify', { panel: 'panelTopic', heading: 'Heading', text: 'Text', enabled: true });`
|
|
92
|
+
- (ticaki) Hide pages - fixed #360
|
|
93
|
+
- (ticaki) RuleTimer1 changed to RuleTimer3
|
|
94
|
+
- (tt-tom17) hide pages for cardPower, cardQR and cardChart
|
|
95
|
+
- (tt-tom17) added hide cards feature to service pages
|
|
96
|
+
|
|
97
|
+
### 0.2.3 (2025-07-27)
|
|
98
|
+
- (ticaki) openweathermap added as standard weather adapter
|
|
99
|
+
- (ticaki) Some adjustments due to updated firmware
|
|
100
|
+
- (ticaki) Some improvements
|
|
101
|
+
|
|
87
102
|
### 0.2.2 (2025-07-19)
|
|
88
103
|
- (tt-tom17) improved PageQR
|
|
89
104
|
- (ticaki) BREAKING: alias def changed
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "Ist online",
|
|
157
157
|
"StateObjects.status": "Status JSON",
|
|
158
158
|
"useBetaTFTText": "Beta TFT-Firmware in Verwendung",
|
|
159
|
+
"useBetaVersionText": "Beta-Version in Verwendung",
|
|
160
|
+
"useBetaVersion": "Beta-Version verwenden",
|
|
159
161
|
"headerDateFormat": "Datumsformat",
|
|
160
162
|
"openTasmotaConsole": "Tasmota-Konsole öffnen",
|
|
161
163
|
"tasmotaUpdate": "Tasmota Update",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Einteilung X-Achse",
|
|
216
218
|
"labelFactorCardChart": "Wertefaktor für Diagramm",
|
|
217
219
|
"labelmaxXAxisLabels": "Anzahl X-Achsen-Beschriftungen",
|
|
218
|
-
"openLinkWikiPageChart": "Wiki-Seite für PageChart öffnen"
|
|
220
|
+
"openLinkWikiPageChart": "Wiki-Seite für PageChart öffnen",
|
|
221
|
+
"shutterClosedIsZero": "Die Position von 0 wird als vollständig geschlossen angezeigt (maximal ausgefahren).",
|
|
222
|
+
"hideCards": "Seiten verbergen"
|
|
219
223
|
}
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "Is online",
|
|
157
157
|
"StateObjects.status": "Status json",
|
|
158
158
|
"useBetaTFTText": "Beta TFT firmware in use",
|
|
159
|
+
"useBetaVersionText": "Beta version in use",
|
|
160
|
+
"useBetaVersion": "Use beta version",
|
|
159
161
|
"headerDateFormat": "Date format",
|
|
160
162
|
"openTasmotaConsole": "Open Tasmota console",
|
|
161
163
|
"tasmotaUpdate": "Tasmota update",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Number of X-axis ticks",
|
|
216
218
|
"labelFactorCardChart": "Factor for card chart",
|
|
217
219
|
"labelmaxXAxisLabels": "Number of X-axis labels",
|
|
218
|
-
"openLinkWikiPageChart": "Open Wiki page for PageChart"
|
|
220
|
+
"openLinkWikiPageChart": "Open Wiki page for PageChart",
|
|
221
|
+
"shutterClosedIsZero": "The position of 0 is displayed as fully closed (maximally extended).",
|
|
222
|
+
"hideCards": "Hide pages"
|
|
219
223
|
}
|
|
@@ -152,16 +152,18 @@
|
|
|
152
152
|
"StateObjects.mqttClientId": "ID de cliente MQTT",
|
|
153
153
|
"StateObjects.onlineVersion": "Versión de firmware en línea",
|
|
154
154
|
"StateObjects.safeboot": "Bota segura",
|
|
155
|
-
"StateObjects.uptime": "
|
|
155
|
+
"StateObjects.uptime": "Uptime",
|
|
156
156
|
"StateObjects.isOnline": "Está en línea",
|
|
157
157
|
"StateObjects.status": "Estado JSON",
|
|
158
158
|
"useBetaTFTText": "Firmware beta TFT en uso",
|
|
159
|
+
"useBetaVersionText": "Versión beta en uso",
|
|
160
|
+
"useBetaVersion": "Usar versión beta",
|
|
159
161
|
"headerDateFormat": "Formato de fecha",
|
|
160
162
|
"openTasmotaConsole": "Consola abierta de Tasmota",
|
|
161
163
|
"tasmotaUpdate": "Actualización de Tasmota",
|
|
162
164
|
"tasmotaUpdateHelp": "Actualice el firmware de Tasmota en el panel.",
|
|
163
165
|
"longWeekdayName": "Formato largo de lunes a viernes",
|
|
164
|
-
"MonthFormat": "Formato mes",
|
|
166
|
+
"MonthFormat": "Formato de mes",
|
|
165
167
|
"longYear": "Formato de año largo",
|
|
166
168
|
"nsPanelSettings": "Configuración de Nspanel",
|
|
167
169
|
"nsPanelInitLabel": "Inicialización de Nspanel",
|
|
@@ -189,7 +191,7 @@
|
|
|
189
191
|
"valueUnit": "Unidad",
|
|
190
192
|
"powerMaxValueForSpeed": "Potencia máxima",
|
|
191
193
|
"powerDirectionReverse": "Dirección de flujo inverso",
|
|
192
|
-
"useColorScale": "
|
|
194
|
+
"useColorScale": "Usar escala de color",
|
|
193
195
|
"selectColorForIcon": "Seleccione Color para el icono",
|
|
194
196
|
"powerMinValueForColor": "potencia mínima para el color",
|
|
195
197
|
"powerMaxValueForColor": "potencia máxima para el color",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Número de garrapatas del eje X",
|
|
216
218
|
"labelFactorCardChart": "Factor para la tabla de tarjetas",
|
|
217
219
|
"labelmaxXAxisLabels": "Número de etiquetas de eje X",
|
|
218
|
-
"openLinkWikiPageChart": "Abra la página de wiki para pagechart"
|
|
220
|
+
"openLinkWikiPageChart": "Abra la página de wiki para pagechart",
|
|
221
|
+
"shutterClosedIsZero": "La posición de 0 se muestra como completamente cerrada (se extiende al máximo).",
|
|
222
|
+
"hideCards": "Esconder las páginas"
|
|
219
223
|
}
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"tasmotaTool": "Envoyez des paramètres Tasmota au panneau",
|
|
85
85
|
"berryTool": "Installer Berry Driver",
|
|
86
86
|
"tftTool": "Installer le firmware TFT",
|
|
87
|
-
"internalServerIp": "IP de l'
|
|
87
|
+
"internalServerIp": "IP de l'Iobroker",
|
|
88
88
|
"tasmotaAddTableSendTo": "Ajouter un panneau à la liste",
|
|
89
89
|
"tasmotaSendTo": "Envoyez des paramètres Tasmota au panneau",
|
|
90
90
|
"berryInstallSendTo": "Installer Berry Driver",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"StateObjects.dimNightHourStart": "Début de nuit",
|
|
129
129
|
"StateObjects.dimNightHourEnd": "Fin de nuit",
|
|
130
130
|
"StateObjects.dimDelay": "Retard pour l'amarrage",
|
|
131
|
-
"StateObjects.dimSchedule": "Activer
|
|
131
|
+
"StateObjects.dimSchedule": "Activer l'horaire de gradation",
|
|
132
132
|
"StateObjects.dayMode": "Mode jour",
|
|
133
133
|
"StateObjects.screenSaver.screenSaver": "Économiseur d'écran",
|
|
134
134
|
"StateObjects.screenSaver.doubleClick": "Double cliquer",
|
|
@@ -154,8 +154,10 @@
|
|
|
154
154
|
"StateObjects.safeboot": "Coffre-fort",
|
|
155
155
|
"StateObjects.uptime": "Durée de la baisse",
|
|
156
156
|
"StateObjects.isOnline": "Est en ligne",
|
|
157
|
-
"StateObjects.status": "Statut
|
|
157
|
+
"StateObjects.status": "Statut json",
|
|
158
158
|
"useBetaTFTText": "Firmware bêta TFT utilisé",
|
|
159
|
+
"useBetaVersionText": "Version bêta utilisée",
|
|
160
|
+
"useBetaVersion": "Utiliser la version bêta",
|
|
159
161
|
"headerDateFormat": "Format de date",
|
|
160
162
|
"openTasmotaConsole": "Console Tasmota ouverte",
|
|
161
163
|
"tasmotaUpdate": "Mise à jour de Tasmota",
|
|
@@ -167,7 +169,7 @@
|
|
|
167
169
|
"nsPanelInitLabel": "Initialisation nspanel",
|
|
168
170
|
"openLinkAliasTable": "Table d'alias ouverte",
|
|
169
171
|
"headerMaintain": "Entretien",
|
|
170
|
-
"RefreshMaintainTable": "
|
|
172
|
+
"RefreshMaintainTable": "Table de rafraîchissement",
|
|
171
173
|
"timezone": "Fuseau horaire",
|
|
172
174
|
"openLinkToTasmota": "Ouvrir tasmota webui",
|
|
173
175
|
"resetTasmota": "Réinitialisation d'usine Tasmota",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Nombre de tiques de l'axe X",
|
|
216
218
|
"labelFactorCardChart": "Facteur pour le tableau des cartes",
|
|
217
219
|
"labelmaxXAxisLabels": "Nombre d'étiquettes de l'axe X",
|
|
218
|
-
"openLinkWikiPageChart": "Page wiki ouverte pour Pagechart"
|
|
220
|
+
"openLinkWikiPageChart": "Page wiki ouverte pour Pagechart",
|
|
221
|
+
"shutterClosedIsZero": "La position de 0 est affichée comme entièrement fermée (étendues au maximum).",
|
|
222
|
+
"hideCards": "Masquer les pages"
|
|
219
223
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dimActive": "Luminosità attiva",
|
|
40
40
|
"dimStandby": "Luminosità standby",
|
|
41
41
|
"dimNightActive": "Nightness Night Active",
|
|
42
|
-
"dimNightStandby": "Luminosità
|
|
42
|
+
"dimNightStandby": "Luminosità notturna in standby",
|
|
43
43
|
"dimNightHourStart": "Inizio notturno",
|
|
44
44
|
"dimNightHourEnd": "Fine notturna",
|
|
45
45
|
"screenSaverTimeout": "Tempo di oscuramento",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"lockOpen": "Blocca aperta",
|
|
72
72
|
"lockClosed": "Blocca chiusa",
|
|
73
73
|
"getRandomMqttCredentialsHelp": "Genera credenziali MQTT casuali e ottieni una porta gratuita",
|
|
74
|
-
"getRandomMqttCredentials": "
|
|
74
|
+
"getRandomMqttCredentials": "Riempire le credenziali MQTT e la porta",
|
|
75
75
|
"useTasmotaAdmin": "Usa la password di Tasmota WebUI",
|
|
76
76
|
"fixBrokenCommonTypes": "Correggi i tipi comuni rotti",
|
|
77
77
|
"doubleClickTime": "Tempo di doppubleclick",
|
|
@@ -106,11 +106,11 @@
|
|
|
106
106
|
"tftInstallSendToMQTTHelp": "Aggiorna il firmware TFT sul pannello.",
|
|
107
107
|
"check!": "Controllo!",
|
|
108
108
|
"updateAvailable": "Aggiornamento disponibile",
|
|
109
|
-
"nsPanelInit": "
|
|
109
|
+
"nsPanelInit": "NSPanel initialization",
|
|
110
110
|
"nsPanelUpdate": "Aggiornamento di configurazione NSPanel",
|
|
111
111
|
"nsPanelModel": "Nspanel hardwaremodel",
|
|
112
112
|
"NSPanel_configuration_text": "Aggiunto il Tasmota Nspanel all'adattatore. Sovrascrivi le impostazioni con valori predefiniti. Richiede circa 40 secondi.",
|
|
113
|
-
"NSPanel_configuration_update_text": "Aggiorna Tasmota
|
|
113
|
+
"NSPanel_configuration_update_text": "Aggiorna il Tasmota NSPanel. Sovrascrivi le impostazioni con valori predefiniti. Richiede circa 40 secondi.",
|
|
114
114
|
"eu-Version": "Eu-Landscape",
|
|
115
115
|
"us-l-Version": "Scape US-LAND",
|
|
116
116
|
"us-p-Version": "US-PORTRAIT",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"StateObjects.dimActive": "Luminosità attiva",
|
|
125
125
|
"StateObjects.dimStandby": "Luminosità standby",
|
|
126
126
|
"StateObjects.dimNightActive": "Nightness Night Active",
|
|
127
|
-
"StateObjects.dimNightStandby": "Luminosità
|
|
127
|
+
"StateObjects.dimNightStandby": "Luminosità notturna in standby",
|
|
128
128
|
"StateObjects.dimNightHourStart": "Inizio notturno",
|
|
129
129
|
"StateObjects.dimNightHourEnd": "Fine notturna",
|
|
130
130
|
"StateObjects.dimDelay": "Ritardo per oscuramento",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"StateObjects.screenSaver.doubleClick": "Doppio clic",
|
|
135
135
|
"StateObjects.screenSaver.infoIcon": "Icona delle informazioni",
|
|
136
136
|
"StateObjects.screenSaver.layout": "Disposizione",
|
|
137
|
-
"StateObjects.screenSaver.rotationTime": "
|
|
137
|
+
"StateObjects.screenSaver.rotationTime": "Intervallo di rotazione (0 = nessuna modifica)",
|
|
138
138
|
"StateObjects.screenSaver.timeout": "Timeout dello screensaver",
|
|
139
139
|
"StateObjects.detachLeft": "Staccare il pulsante sinistro",
|
|
140
140
|
"StateObjects.detachRight": "Staccare il pulsante destro",
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "È online",
|
|
157
157
|
"StateObjects.status": "Stato JSON",
|
|
158
158
|
"useBetaTFTText": "Firmware beta tft in uso",
|
|
159
|
+
"useBetaVersionText": "Versione beta in uso",
|
|
160
|
+
"useBetaVersion": "Usa la versione beta",
|
|
159
161
|
"headerDateFormat": "Formato della data",
|
|
160
162
|
"openTasmotaConsole": "Console Tasmota aperta",
|
|
161
163
|
"tasmotaUpdate": "Aggiornamento di Tasmota",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Numero di zecche dell'asse X",
|
|
216
218
|
"labelFactorCardChart": "Fattore per il grafico delle carte",
|
|
217
219
|
"labelmaxXAxisLabels": "Numero di etichette dell'asse X",
|
|
218
|
-
"openLinkWikiPageChart": "Pagina wiki aperta per PageChart"
|
|
220
|
+
"openLinkWikiPageChart": "Pagina wiki aperta per PageChart",
|
|
221
|
+
"shutterClosedIsZero": "La posizione di 0 viene visualizzata come completamente chiusa (al massimo esteso).",
|
|
222
|
+
"hideCards": "Nascondi pagine"
|
|
219
223
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dimActive": "Helderheid actief",
|
|
40
40
|
"dimStandby": "Helderheid stand -by",
|
|
41
41
|
"dimNightActive": "Helderheidsnacht actief",
|
|
42
|
-
"dimNightStandby": "
|
|
42
|
+
"dimNightStandby": "Felheid Night Standby",
|
|
43
43
|
"dimNightHourStart": "Nachtstart",
|
|
44
44
|
"dimNightHourEnd": "Nacht einde",
|
|
45
45
|
"screenSaverTimeout": "Dimmen",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"actualtemp": "Werkelijke temperatuur",
|
|
53
53
|
"Colour temperature": "Kleurtemperatuur",
|
|
54
54
|
"Color temperature": "Kleurtemperatuur",
|
|
55
|
-
"StateObjects.buttons.indicator": "
|
|
55
|
+
"StateObjects.buttons.indicator": "Schermenver -indicator",
|
|
56
56
|
"Humidity": "Vochtigheid",
|
|
57
57
|
"Humidity2": "Vochtigheid",
|
|
58
58
|
"panelName": "Paneelnaam (uniek)",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"StateObjects.dimActive": "Helderheid actief",
|
|
125
125
|
"StateObjects.dimStandby": "Helderheid stand -by",
|
|
126
126
|
"StateObjects.dimNightActive": "Helderheidsnacht actief",
|
|
127
|
-
"StateObjects.dimNightStandby": "
|
|
127
|
+
"StateObjects.dimNightStandby": "Felheid Night Standby",
|
|
128
128
|
"StateObjects.dimNightHourStart": "Nachtstart",
|
|
129
129
|
"StateObjects.dimNightHourEnd": "Nacht einde",
|
|
130
130
|
"StateObjects.dimDelay": "Vertraging voor het dimmen",
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "Is online",
|
|
157
157
|
"StateObjects.status": "Status JSON",
|
|
158
158
|
"useBetaTFTText": "Beta TFT -firmware in gebruik",
|
|
159
|
+
"useBetaVersionText": "Beta -versie in gebruik",
|
|
160
|
+
"useBetaVersion": "Gebruik bètaversie",
|
|
159
161
|
"headerDateFormat": "Datumformaat",
|
|
160
162
|
"openTasmotaConsole": "Open Tasmota -console",
|
|
161
163
|
"tasmotaUpdate": "Tasmota -update",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Aantal x-as teken",
|
|
216
218
|
"labelFactorCardChart": "Factor voor kaartgrafiek",
|
|
217
219
|
"labelmaxXAxisLabels": "Aantal x-aslabels",
|
|
218
|
-
"openLinkWikiPageChart": "Open de wiki -pagina voor PageCart"
|
|
220
|
+
"openLinkWikiPageChart": "Open de wiki -pagina voor PageCart",
|
|
221
|
+
"shutterClosedIsZero": "De positie van 0 wordt weergegeven als volledig gesloten (maximaal verlengd).",
|
|
222
|
+
"hideCards": "Verberg pagina's"
|
|
219
223
|
}
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "Jest online",
|
|
157
157
|
"StateObjects.status": "Status Json",
|
|
158
158
|
"useBetaTFTText": "W użyciu oprogramowanie układowe beta tft",
|
|
159
|
+
"useBetaVersionText": "Używana wersja beta",
|
|
160
|
+
"useBetaVersion": "Użyj wersji beta",
|
|
159
161
|
"headerDateFormat": "Format daty",
|
|
160
162
|
"openTasmotaConsole": "Otwarta konsola Tasmota",
|
|
161
163
|
"tasmotaUpdate": "Aktualizacja Tasmota",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Liczba kleszczy osi X",
|
|
216
218
|
"labelFactorCardChart": "Współczynnik wykresu kart",
|
|
217
219
|
"labelmaxXAxisLabels": "Liczba etykiet osi x",
|
|
218
|
-
"openLinkWikiPageChart": "Otwórz stronę Wiki dla Pagechart"
|
|
220
|
+
"openLinkWikiPageChart": "Otwórz stronę Wiki dla Pagechart",
|
|
221
|
+
"shutterClosedIsZero": "Pozycja 0 jest wyświetlana jako w pełni zamknięta (maksymalnie rozszerzona).",
|
|
222
|
+
"hideCards": "Ukryj strony"
|
|
219
223
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dimActive": "Brilho ativo",
|
|
40
40
|
"dimStandby": "Brilho em espera",
|
|
41
41
|
"dimNightActive": "Brightness Night Active",
|
|
42
|
-
"dimNightStandby": "
|
|
42
|
+
"dimNightStandby": "BLIGHTNEN Night Standby",
|
|
43
43
|
"dimNightHourStart": "Night Start",
|
|
44
44
|
"dimNightHourEnd": "Final noturno",
|
|
45
45
|
"screenSaverTimeout": "Tempo de escurecimento",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"press": "imprensa",
|
|
71
71
|
"lockOpen": "Lock aberto",
|
|
72
72
|
"lockClosed": "Lock fechado",
|
|
73
|
-
"getRandomMqttCredentialsHelp": "Gerar credenciais aleatórias
|
|
73
|
+
"getRandomMqttCredentialsHelp": "Gerar credenciais aleatórias do MQTT e obter uma porta grátis",
|
|
74
74
|
"getRandomMqttCredentials": "Preencher credenciais e porta MQTT",
|
|
75
75
|
"useTasmotaAdmin": "Use a senha do Tasmota Webui",
|
|
76
76
|
"fixBrokenCommonTypes": "Corrigir tipos comuns quebrados",
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
"tasmotaAdminPassword": "Senha do Tasmota Webui",
|
|
83
83
|
"selectTool": "Selecione Tasmota Tool",
|
|
84
84
|
"tasmotaTool": "Envie as configurações do Tasmota para o painel",
|
|
85
|
-
"berryTool": "Instale o
|
|
85
|
+
"berryTool": "Instale o driver da baga",
|
|
86
86
|
"tftTool": "Instale o firmware TFT",
|
|
87
87
|
"internalServerIp": "Ip do iobroker",
|
|
88
88
|
"tasmotaAddTableSendTo": "Adicionar painel à lista",
|
|
89
89
|
"tasmotaSendTo": "Envie as configurações do Tasmota para o painel",
|
|
90
|
-
"berryInstallSendTo": "Instale o
|
|
90
|
+
"berryInstallSendTo": "Instale o driver da baga",
|
|
91
91
|
"tftInstallSendTo": "Instale o firmware TFT",
|
|
92
92
|
"openLinkWikiPageQR": "Página do wiki aberto para páginaqr",
|
|
93
93
|
"pageQRdata": "Dados para PageQR",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"headline": "Título",
|
|
96
96
|
"pageQRselType": "Seleção do tipo QR",
|
|
97
97
|
"wlanhidden": "wifi oculto",
|
|
98
|
-
"wlantype": "Criptografia
|
|
98
|
+
"wlantype": "Criptografia WiFi",
|
|
99
99
|
"qrPass": "Senha wifi",
|
|
100
100
|
"pwdHidden": "Senha oculta de wifi",
|
|
101
101
|
"switchForWifi": "Mudar para ativar a WLAN",
|
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
"tftInstallSendToMQTTHelp": "Atualize o firmware TFT no painel.",
|
|
107
107
|
"check!": "Verificar!",
|
|
108
108
|
"updateAvailable": "Atualização disponível",
|
|
109
|
-
"nsPanelInit": "Inicialização
|
|
110
|
-
"nsPanelUpdate": "Atualização de configuração do
|
|
109
|
+
"nsPanelInit": "Inicialização do NSPALE",
|
|
110
|
+
"nsPanelUpdate": "Atualização de configuração do NSPALEL",
|
|
111
111
|
"nsPanelModel": "NSPALEL HARDWAREMODEL",
|
|
112
112
|
"NSPanel_configuration_text": "Adicionado o Tasmota NSpanel ao adaptador. Substitua as configurações com valores padrão. Leva cerca de 40 segundos.",
|
|
113
113
|
"NSPanel_configuration_update_text": "Atualize o Tasmota NSPALEL. Substitua as configurações com valores padrão. Leva cerca de 40 segundos.",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"StateObjects.dimActive": "Brilho ativo",
|
|
125
125
|
"StateObjects.dimStandby": "Brilho em espera",
|
|
126
126
|
"StateObjects.dimNightActive": "Brightness Night Active",
|
|
127
|
-
"StateObjects.dimNightStandby": "
|
|
127
|
+
"StateObjects.dimNightStandby": "BLIGHTNEN Night Standby",
|
|
128
128
|
"StateObjects.dimNightHourStart": "Night Start",
|
|
129
129
|
"StateObjects.dimNightHourEnd": "Final noturno",
|
|
130
130
|
"StateObjects.dimDelay": "Atraso para escurecer",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"StateObjects.power1": "Rellais 1",
|
|
144
144
|
"StateObjects.power2": "Rellais 2",
|
|
145
145
|
"StateObjects.nspanel": "NSPALEL",
|
|
146
|
-
"StateObjects.bigIconLeft": "
|
|
146
|
+
"StateObjects.bigIconLeft": "Big Icon restou",
|
|
147
147
|
"StateObjects.bigIconRight": "Ícone grande certo",
|
|
148
148
|
"StateObjects.currentPage": "Página atual",
|
|
149
149
|
"StateObjects.displayVersion": "Exibir versão do firmware",
|
|
@@ -151,11 +151,13 @@
|
|
|
151
151
|
"StateObjects.firmwareversion": "Versão do firmware",
|
|
152
152
|
"StateObjects.mqttClientId": "ID do cliente MQTT",
|
|
153
153
|
"StateObjects.onlineVersion": "Versão de firmware online",
|
|
154
|
-
"StateObjects.safeboot": "
|
|
154
|
+
"StateObjects.safeboot": "Botta segura",
|
|
155
155
|
"StateObjects.uptime": "Tempo de atividade",
|
|
156
156
|
"StateObjects.isOnline": "Está online",
|
|
157
157
|
"StateObjects.status": "Status JSON",
|
|
158
158
|
"useBetaTFTText": "Firmware Beta TFT em uso",
|
|
159
|
+
"useBetaVersionText": "Versão beta em uso",
|
|
160
|
+
"useBetaVersion": "Use a versão beta",
|
|
159
161
|
"headerDateFormat": "Formato de data",
|
|
160
162
|
"openTasmotaConsole": "Open Tasmota Console",
|
|
161
163
|
"tasmotaUpdate": "Atualização do Tasmota",
|
|
@@ -211,9 +213,11 @@
|
|
|
211
213
|
"stateForValues": "Ponto de dados para valores",
|
|
212
214
|
"stateForDB": "Ponto de dados para valores do banco de dados",
|
|
213
215
|
"labelYAchse": "Rótulo do eixo Y.",
|
|
214
|
-
"labelrangeHours": "
|
|
216
|
+
"labelrangeHours": "Varia em horas",
|
|
215
217
|
"labelmaxXAxisTicks": "Número de carrapatos de eixo x",
|
|
216
218
|
"labelFactorCardChart": "Fator para gráfico de cartões",
|
|
217
219
|
"labelmaxXAxisLabels": "Número de etiquetas do eixo x",
|
|
218
|
-
"openLinkWikiPageChart": "Página do wiki aberto para PagChart"
|
|
220
|
+
"openLinkWikiPageChart": "Página do wiki aberto para PagChart",
|
|
221
|
+
"shutterClosedIsZero": "A posição de 0 é exibida como totalmente fechada (estendida ao máximo).",
|
|
222
|
+
"hideCards": "Ocultar páginas"
|
|
219
223
|
}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"overviewOfPanels": "Обзор панелей",
|
|
79
79
|
"macAdressOfPanel": "MAC -адрес панели",
|
|
80
80
|
"ipFromPanel": "IP панели",
|
|
81
|
-
"tasmotaDeviceTools": "
|
|
81
|
+
"tasmotaDeviceTools": "Tasmota Device Tools",
|
|
82
82
|
"tasmotaAdminPassword": "TASMOTA WEBUI Пароль",
|
|
83
83
|
"selectTool": "Выберите инструмент TASMOTA",
|
|
84
84
|
"tasmotaTool": "Отправить настройки Tasmota на панель",
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "Онлайн",
|
|
157
157
|
"StateObjects.status": "Статус JSON",
|
|
158
158
|
"useBetaTFTText": "Бета -ТФТ -прошивка используется",
|
|
159
|
+
"useBetaVersionText": "Бета -версия используется",
|
|
160
|
+
"useBetaVersion": "Используйте бета -версию",
|
|
159
161
|
"headerDateFormat": "Формат даты",
|
|
160
162
|
"openTasmotaConsole": "Открытая консоль TASMOTA",
|
|
161
163
|
"tasmotaUpdate": "Обновление TASMOTA",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Количество клещей оси X",
|
|
216
218
|
"labelFactorCardChart": "Фактор для карты карты",
|
|
217
219
|
"labelmaxXAxisLabels": "Количество ярлыков оси X",
|
|
218
|
-
"openLinkWikiPageChart": "Открыть страницу вики для PageChart"
|
|
220
|
+
"openLinkWikiPageChart": "Открыть страницу вики для PageChart",
|
|
221
|
+
"shutterClosedIsZero": "Положение 0 отображается как полностью закрытое (максимально расширенное).",
|
|
222
|
+
"hideCards": "Скрыть страницы"
|
|
219
223
|
}
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "Є в Інтернеті",
|
|
157
157
|
"StateObjects.status": "Статус JSON",
|
|
158
158
|
"useBetaTFTText": "Бета -прошивка TFT у використанні",
|
|
159
|
+
"useBetaVersionText": "Бета -версія, що використовується",
|
|
160
|
+
"useBetaVersion": "Використовуйте бета -версію",
|
|
159
161
|
"headerDateFormat": "Формат дати",
|
|
160
162
|
"openTasmotaConsole": "Відкрита консоль Тасмоти",
|
|
161
163
|
"tasmotaUpdate": "Оновлення Тасмоти",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "Кількість кліщів осі X",
|
|
216
218
|
"labelFactorCardChart": "Фактор карткової діаграми",
|
|
217
219
|
"labelmaxXAxisLabels": "Кількість мітків осі X",
|
|
218
|
-
"openLinkWikiPageChart": "Відкрийте сторінку Wiki для PageChart"
|
|
220
|
+
"openLinkWikiPageChart": "Відкрийте сторінку Wiki для PageChart",
|
|
221
|
+
"shutterClosedIsZero": "Положення 0 відображається як повністю закрите (максимально розширене).",
|
|
222
|
+
"hideCards": "Сховати сторінки"
|
|
219
223
|
}
|
|
@@ -156,6 +156,8 @@
|
|
|
156
156
|
"StateObjects.isOnline": "在线",
|
|
157
157
|
"StateObjects.status": "状态JSON",
|
|
158
158
|
"useBetaTFTText": "使用的beta tft固件",
|
|
159
|
+
"useBetaVersionText": "使用的beta版本",
|
|
160
|
+
"useBetaVersion": "使用beta版本",
|
|
159
161
|
"headerDateFormat": "日期格式",
|
|
160
162
|
"openTasmotaConsole": "打开tasmota控制台",
|
|
161
163
|
"tasmotaUpdate": "tasmota更新",
|
|
@@ -215,5 +217,7 @@
|
|
|
215
217
|
"labelmaxXAxisTicks": "X轴tick数量",
|
|
216
218
|
"labelFactorCardChart": "卡图的因素",
|
|
217
219
|
"labelmaxXAxisLabels": "X轴标签的数量",
|
|
218
|
-
"openLinkWikiPageChart": "打开Wiki页面的PageChart"
|
|
220
|
+
"openLinkWikiPageChart": "打开Wiki页面的PageChart",
|
|
221
|
+
"shutterClosedIsZero": "0的位置显示为完全闭合(最大扩展)。",
|
|
222
|
+
"hideCards": "隐藏页面"
|
|
219
223
|
}
|
package/admin/jsonConfig.json5
CHANGED
|
@@ -204,6 +204,17 @@
|
|
|
204
204
|
"lg": 4,
|
|
205
205
|
"xl": 4
|
|
206
206
|
},
|
|
207
|
+
"shutterClosedIsZero": {
|
|
208
|
+
"type": "checkbox",
|
|
209
|
+
"label": "shutterClosedIsZero",
|
|
210
|
+
"default": true,
|
|
211
|
+
"newLine": true,
|
|
212
|
+
"xs": 12,
|
|
213
|
+
"sm": 12,
|
|
214
|
+
"md": 6,
|
|
215
|
+
"lg": 4,
|
|
216
|
+
"xl": 4
|
|
217
|
+
},
|
|
207
218
|
"_openLinkAdapterInsatllation": {
|
|
208
219
|
"type": "sendTo",
|
|
209
220
|
"label": "openLinkAdapterInsatllation",
|
|
@@ -252,8 +263,8 @@
|
|
|
252
263
|
"items": {
|
|
253
264
|
"_useBetaTFTText": {
|
|
254
265
|
"type": "staticText",
|
|
255
|
-
"label": "
|
|
256
|
-
"text": "
|
|
266
|
+
"label": "useBetaVersionText",
|
|
267
|
+
"text": "useBetaVersionText",
|
|
257
268
|
"style": {
|
|
258
269
|
"color": "red"
|
|
259
270
|
},
|
|
@@ -570,7 +581,7 @@
|
|
|
570
581
|
},
|
|
571
582
|
"useBetaTFT": {
|
|
572
583
|
"type": "checkbox",
|
|
573
|
-
"label": "
|
|
584
|
+
"label": "useBetaVersion",
|
|
574
585
|
"default": false,
|
|
575
586
|
"newLine": true,
|
|
576
587
|
"expertMode": true,
|
|
@@ -641,8 +652,8 @@
|
|
|
641
652
|
"items": {
|
|
642
653
|
"_useBetaTFTText": {
|
|
643
654
|
"type": "staticText",
|
|
644
|
-
"label": "
|
|
645
|
-
"text": "
|
|
655
|
+
"label": "useBetaVersionText",
|
|
656
|
+
"text": "useBetaVersionText",
|
|
646
657
|
"style": {
|
|
647
658
|
"color": "red"
|
|
648
659
|
},
|
|
@@ -947,6 +958,17 @@
|
|
|
947
958
|
"label": "alwaysOnDisplay",
|
|
948
959
|
"default": false
|
|
949
960
|
},
|
|
961
|
+
{
|
|
962
|
+
"attr": "hiddenByTrigger",
|
|
963
|
+
"xs": 12,
|
|
964
|
+
"sm": 12,
|
|
965
|
+
"md": 6,
|
|
966
|
+
"lg": 4,
|
|
967
|
+
"xl": 4,
|
|
968
|
+
"type": "checkbox",
|
|
969
|
+
"label": "hiddenByTrigger",
|
|
970
|
+
"default": false
|
|
971
|
+
},
|
|
950
972
|
{
|
|
951
973
|
"attr": "selType",
|
|
952
974
|
"xs": 12,
|
|
@@ -1202,6 +1224,17 @@
|
|
|
1202
1224
|
"label": "alwaysOnDisplay",
|
|
1203
1225
|
"default": false
|
|
1204
1226
|
},
|
|
1227
|
+
{
|
|
1228
|
+
"attr": "hiddenByTrigger",
|
|
1229
|
+
"xs": 12,
|
|
1230
|
+
"sm": 12,
|
|
1231
|
+
"md": 6,
|
|
1232
|
+
"lg": 4,
|
|
1233
|
+
"xl": 4,
|
|
1234
|
+
"type": "checkbox",
|
|
1235
|
+
"label": "hiddenByTrigger",
|
|
1236
|
+
"default": false
|
|
1237
|
+
},
|
|
1205
1238
|
{
|
|
1206
1239
|
"attr": "power1_header",
|
|
1207
1240
|
"type": "header",
|
|
@@ -2812,6 +2845,17 @@
|
|
|
2812
2845
|
"label": "alwaysOnDisplay",
|
|
2813
2846
|
"default": false
|
|
2814
2847
|
},
|
|
2848
|
+
{
|
|
2849
|
+
"attr": "hiddenByTrigger",
|
|
2850
|
+
"xs": 12,
|
|
2851
|
+
"sm": 12,
|
|
2852
|
+
"md": 6,
|
|
2853
|
+
"lg": 4,
|
|
2854
|
+
"xl": 4,
|
|
2855
|
+
"type": "checkbox",
|
|
2856
|
+
"label": "hiddenByTrigger",
|
|
2857
|
+
"default": false
|
|
2858
|
+
},
|
|
2815
2859
|
{
|
|
2816
2860
|
"attr": "chart_color",
|
|
2817
2861
|
"xs": 4,
|
|
@@ -2913,7 +2957,7 @@
|
|
|
2913
2957
|
"xl": 8,
|
|
2914
2958
|
"type": "objectId",
|
|
2915
2959
|
"label": "stateForDB",
|
|
2916
|
-
"customFilter": {common: {custom:
|
|
2960
|
+
"customFilter": {"common": {"custom": "_dataSources"}},
|
|
2917
2961
|
"hidden": "!data.selInstanceDataSource > 0"
|
|
2918
2962
|
//"custom": { "influxdb.0": { "enabled": true,}}
|
|
2919
2963
|
},
|
|
@@ -43,6 +43,7 @@ class Page extends import_baseClassPage.BaseClassPage {
|
|
|
43
43
|
id;
|
|
44
44
|
lastCardCounter = 0;
|
|
45
45
|
isScreensaver;
|
|
46
|
+
hidden = false;
|
|
46
47
|
//readonly enums: string | string[];
|
|
47
48
|
config;
|
|
48
49
|
//config: Card['config'];
|
|
@@ -53,6 +54,7 @@ class Page extends import_baseClassPage.BaseClassPage {
|
|
|
53
54
|
this.card = card.card;
|
|
54
55
|
this.id = card.id;
|
|
55
56
|
this.panel = card.panel;
|
|
57
|
+
this.hidden = pageItemsConfig && "hidden" in pageItemsConfig ? !!pageItemsConfig.hidden : false;
|
|
56
58
|
this.enums = pageItemsConfig && "enums" in pageItemsConfig && pageItemsConfig.enums ? pageItemsConfig.enums : "";
|
|
57
59
|
this.device = pageItemsConfig && "device" in pageItemsConfig && pageItemsConfig.device ? pageItemsConfig.device : "";
|
|
58
60
|
if (this.device) {
|
|
@@ -84,7 +86,7 @@ class Page extends import_baseClassPage.BaseClassPage {
|
|
|
84
86
|
}
|
|
85
87
|
options = await this.getItemFromTemplate(options);
|
|
86
88
|
if (!options) {
|
|
87
|
-
this.log.error(`Dont get a template for ${a}`);
|
|
89
|
+
this.log.error(`Dont get a template for ${a} in ${this.name}`);
|
|
88
90
|
continue;
|
|
89
91
|
}
|
|
90
92
|
options.dpInit = typeof options.dpInit === "string" && options.device ? options.dpInit.replace("#\xB0^\xB0#", options.device) : options.dpInit;
|
|
@@ -124,7 +126,7 @@ class Page extends import_baseClassPage.BaseClassPage {
|
|
|
124
126
|
const newTemplate = structuredClone(template);
|
|
125
127
|
delete newTemplate.adapter;
|
|
126
128
|
if (options.type && options.type !== template.type && !(options.type == "button" && template.type == "text")) {
|
|
127
|
-
this.log.error(`Type: ${String(options.type)}is not equal with ${template.type}`);
|
|
129
|
+
this.log.error(`Type: ${String(options.type)} is not equal with ${template.type}`);
|
|
128
130
|
return void 0;
|
|
129
131
|
}
|
|
130
132
|
const colorTrue = (options.color || {}).true;
|