NEWS
SONOFF NSPanel mit Lovelace UI
-
Seit den letzten Node update, hatte ich den Rechner schon mehrmals Neugestartet, es wird ja auch alles im iobroker richtig angezeigt.
Nur wenn ich das Ns Panel skript starte steht die Meldung in den Fenster unter dem skript.*** NodeJS-Installation *** /usr/bin/nodejs v20.19.2 /usr/bin/node v20.19.2 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.31.0 nodejs: Installed: 20.19.2-1nodesource1 Candidate: 20.19.2-1nodesource1 Version table: *** 20.19.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.3-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main amd64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
-
stell bitte mal im Objektordner die Ansicht auf Experte um und zeige mal diesen Datenbaum
system.host.
-
@tt-tom
ich habe den Fehler gefunden, es war in diesen Datenbaum, da waren noch DP´s von alt Systemen drin, da ich mit den iobroker mehrmals umgezogen bin und da hat er sich die Version gezogen.
Habe die DP´s gelöscht und jetzt passt es auch mit der Version.
Danke für den Tipp mit den Datenbaum. -
Hallo Zusammen,
nach dem Update der Spriptausführung auf 8.9.2 haben sich mein e NSPanels aufgehangen.
Bin zurück zu 8.8.3, jetzt funktionieren sie wieder.
Nutze das Script V 4.4.0.1Habe mir das neue Script 4.7.1.2 heruntergeladen und angepasst.
Beim Starten des Scripts bekomme ich folgende Fehlermeldungen:script.js.NSPanel_3_V4_7_1_2: TypeScript compilation failed: let, vwIconColor: number[] = [], ^ ERROR: An element access expression should take an argument. export const config: Config = { ^ ERROR: This expression is not callable. Type '{ pages: (PageEntities | PageGrid | PageQR)[]; subPages: (PageEntities | PageGrid)[]; leftScreensaverEntity: undefined[]; bottomScreensaverEntity: ({ ...; } | ... 3 more ... | { ...; })[]; ... 12 more ...; if(existsState: any): void; }' has no call signatures. const: scriptVersion, string = 'v4.7.1.2', ^ ERROR: Cannot find name 'scriptVersion'. Did you mean 'javaScriptVersion'? const: tft_version, string = 'v4.7.1', ^ ERROR: Cannot find name 'tft_version'. const: desired_display_firmware_version = 56, ^ ERROR: Cannot find name 'desired_display_firmware_version'. const: berry_driver_version = 9, ^ ERROR: Cannot find name 'berry_driver_version'. const: tasmotaOtaUrl, string = 'http://ota.tasmota.com/tasmota32/release/', ^ ERROR: Cannot find name 'tasmotaOtaUrl'. let, timeoutSlider: any, ^ ERROR: No value exists in scope for the shorthand property 'let'. Either declare one or provide an initializer. let, timeoutSlider: any, ^ ERROR: 'any' only refers to a type, but is being used as a value here. let, vwIconColor: number[] = [], ^ ERROR: No value exists in scope for the shorthand property 'let'. Either declare one or provide an initializer. let, vwIconColor: number[] = [], ^ ERROR: 'number' only refers to a type, but is being used as a value here. let, weatherForecast: boolean, ^ ERROR: No value exists in scope for the shorthand property 'let'. Either declare one or provide an initializer. let, weatherForecast: boolean, ^ ERROR: 'boolean' only refers to a type, but is being used as a value here. let, pageCounter: number = 0, ^ ERROR: No value exists in scope for the shorthand property 'let'. Either declare one or provide an initializer. let, pageCounter: number = 0, ^ ERROR: 'number' only refers to a type, but is being used as a value here. let, alwaysOn: boolean = false, ^ ERROR: No value exists in scope for the shorthand property 'let'. Either declare one or provide an initializer. let, alwaysOn: boolean = false, ^ ERROR: 'boolean' only refers to a type, but is being used as a value here. let, valueHiddenCards: boolean = false, ^ ERROR: No value exists in scope for the shorthand property 'let'. Either declare one or provide an initializer. let, valueHiddenCards: boolean = false, ^ ERROR: 'boolean' only refers to a type, but is being used as a value here. await createStateAsync(NSPanel_Path + 'IoBroker.ScriptVersion', scriptVersion, { type: 'string', write: false }); ^ ERROR: Cannot find name 'scriptVersion'. setIfExists(NSPanel_Path + 'IoBroker.ScriptVersion', scriptVersion, null, true); ^ ERROR: Cannot find name 'scriptVersion'. await createStateAsync(NSPanel_Path + 'Display_Firmware.desiredVersion', desired_display_firmware_version, { type: 'number', write: false }); ^ ERROR: Cannot find name 'desired_display_firmware_version'. await setStateAsync(NSPanel_Path + 'Display_Firmware.desiredVersion', desired_display_firmware_version, true); ^ ERROR: Cannot find name 'desired_display_firmware_version'. log('Desired TFT Firmware: ' + desired_display_firmware_version + ' / ' + tft_version, 'info'); ^ ERROR: Cannot find name 'desired_display_firmware_version'. log('Desired TFT Firmware: ' + desired_display_firmware_version + ' / ' + tft_version, 'info'); ^ ERROR: Cannot find name 'tft_version'. await createStateAsync(NSPanel_Path + 'Display_Firmware.TFT.desiredVersion', String(desired_display_firmware_version), { type: 'string', write: false }); ^ ERROR: Cannot find name 'desired_display_firmware_version'. await setStateAsync(NSPanel_Path + 'Display_Firmware.TFT.desiredVersion', String(desired_display_firmware_version) + ' / ' + tft_version, true); ^ ERROR: Cannot find name 'desired_display_firmware_version'. await setStateAsync(NSPanel_Path + 'Display_Firmware.TFT.desiredVersion', String(desired_display_firmware_version) + ' / ' + tft_version, true); ^ ERROR: Cannot find name 'tft_version'. valueHiddenCards = obj.state.val; ^ ERROR: Cannot assign to 'valueHiddenCards' because it is a constant. alwaysOn = false; ^ ERROR: Cannot find name 'alwaysOn'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. alwaysOn = false; ^ ERROR: Cannot find name 'alwaysOn'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. alwaysOn = false; ^ ERROR: Cannot find name 'alwaysOn'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. notification = notification + '~' + v_popupNotifyFontIdText + '~' + Icons.GetIcon(v_popupNotifyIcon) + '~' + v_popupNotifyIconColor; ^ ERROR: Cannot find name 'Icons'. weatherForecast = obj.state.val; ^ ERROR: Cannot find name 'weatherForecast'. if (parseFloat(getState(NSPanel_Path + 'Berry_Driver.currentVersion').val) < berry_driver_version) { ^ ERROR: Cannot find name 'berry_driver_version'. 'Verfügbare Version: ' + String(berry_driver_version), ^ ERROR: Cannot find name 'berry_driver_version'. if (parseInt(getState(NSPanel_Path + 'Display_Firmware.currentVersion').val) < desired_display_firmware_version) { ^ ERROR: Cannot find name 'desired_display_firmware_version'. 'Verfügbare Version: ' + String(desired_display_firmware_version), ^ ERROR: Cannot find name 'desired_display_firmware_version'. desired_display_firmware_url = `http://nspanel.de/nspanel-us-l-${tft_version}.tft`; ^ ERROR: Cannot find name 'tft_version'. desired_display_firmware_url = `http://nspanel.de/nspanel-us-p-${tft_version}.tft`; ^ ERROR: Cannot find name 'tft_version'. desired_display_firmware_url = `http://nspanel.de/nspanel-${tft_version}.tft`; ^ ERROR: Cannot find name 'tft_version'. await setStateAsync(NSPanel_Path + 'TFT_Firmware.onlineVersion', <iobJS.State>{ val: tft_version, ack: true }); ^ ERROR: Cannot find name 'tft_version'. let urlString = `http://${get_current_tasmota_ip_address()}/cm?cmnd=OtaUrl ${tasmotaOtaUrl}${tasmotaOtaVersion}`; ^ ERROR: Cannot find name 'tasmotaOtaUrl'. urlString = `http://${get_current_tasmota_ip_address()}/cm?user=${tasmota_web_admin_user}&password=${tasmota_web_admin_password}&cmnd=OtaUrl ${tasmotaOtaUrl}${tasmotaOtaVersion}`; ^ ERROR: Cannot find name 'tasmotaOtaUrl'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : iconId; ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('window-open'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('window-open'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-closed') : Icons.GetIcon('window-closed-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-closed') : Icons.GetIcon('window-closed-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-closed') : Icons.GetIcon('window-closed-variant'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : role == 'door' ? Icons.GetIcon('door-open') : Icons.GetIcon('window-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : role == 'door' ? Icons.GetIcon('door-open') : Icons.GetIcon('window-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : role == 'door' ? Icons.GetIcon('door-open') : Icons.GetIcon('window-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : iconId; ^ ERROR: Cannot find name 'Icons'. ? Icons.GetIcon(pageItem.icon) ^ ERROR: Cannot find name 'Icons'. ? Icons.GetIcon('thermometer') ^ ERROR: Cannot find name 'Icons'. : Icons.GetIcon('information-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = Icons.GetIcon(getState(pageItem.id + '.USERICON').val); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('window-open'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('window-open'); ^ ERROR: Cannot find name 'Icons'. let icon_up = Icons.GetIcon('arrow-up'); ^ ERROR: Cannot find name 'Icons'. let icon_stop = Icons.GetIcon('stop'); ^ ERROR: Cannot find name 'Icons'. let icon_down = Icons.GetIcon('arrow-down'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('garage'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('garage'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('garage-open'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('garage-open'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('garage-open'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('garage-open'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-open') : Icons.GetIcon('window-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-open') : Icons.GetIcon('window-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-open') : Icons.GetIcon('window-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-closed') : Icons.GetIcon('window-closed-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-closed') : Icons.GetIcon('window-closed-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'door' ? Icons.GetIcon('door-closed') : Icons.GetIcon('window-closed-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : iconId; ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('motion-sensor'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('motion-sensor'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('motion-sensor'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('motion-sensor'); ^ ERROR: Cannot find name 'Icons'. ? Icons.GetIcon(pageItem.icon) ^ ERROR: Cannot find name 'Icons'. ? Icons.GetIcon('thermometer') ^ ERROR: Cannot find name 'Icons'. : Icons.GetIcon('information-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = Icons.GetIcon(getState(pageItem.id + '.USERICON').val); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('gesture-tap-button'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('timer-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('timer-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('fan'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('fan'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lock'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lock'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lock'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lock'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lock-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lock-open-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('plus-minus-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('plus-minus-variant'); ^ ERROR: Cannot find name 'Icons'. iconId = Icons.GetIcon('volume-low'); ^ ERROR: Cannot find name 'Icons'. iconId = Icons.GetIcon('volume-medium'); ^ ERROR: Cannot find name 'Icons'. iconId = Icons.GetIcon('volume-high'); ^ ERROR: Cannot find name 'Icons'. iconId = Icons.GetIcon('volume-mute'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('alert-outline'); ^ ERROR: Cannot find name 'Icons'. iconId = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('alert-outline'); ^ ERROR: Cannot find name 'Icons'. if (Icons.GetIcon(itemFahrzeug) != '') { ^ ERROR: Cannot find name 'Icons'. iconId = Icons.GetIcon(itemFahrzeug); ^ ERROR: Cannot find name 'Icons'. if (page.type == 'cardThermo' && pageCounter == 0 && page.items[0].alwaysOnDisplay != undefined) { ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. if (id && existsObject(id) && alwaysOn == false) { ^ ERROR: Cannot find name 'alwaysOn'. alwaysOn = true; ^ ERROR: Cannot find name 'alwaysOn'. else if (id && existsObject(id) && page.type == 'cardThermo' && pageCounter == 1) { ^ ERROR: Cannot find name 'pageCounter'. bt[i++] = Icons.GetIcon('alpha-a-circle') + '~' + rgb_dec565(On) + '~1~' + 'AUTT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('alpha-a-circle') + '~33840~1~' + 'AUTT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('alpha-m-circle') + '~' + rgb_dec565(On) + '~1~' + 'MANT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('alpha-m-circle') + '~33840~1~' + 'MANT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('party-popper') + '~' + rgb_dec565(On) + '~1~' + 'PART' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('party-popper') + '~33840~1~' + 'PART' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('palm-tree') + '~' + rgb_dec565(On) + '~1~' + 'VACT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('palm-tree') + '~33840~1~' + 'VACT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('fast-forward-60') + '~' + rgb_dec565(On) + '~1~' + 'BOOT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i++] = Icons.GetIcon('fast-forward-60') + '~33840~1~' + 'BOOT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('water-percent') + '~65504~1~' + 'HUM' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('water-percent') + '~63488~1~' + 'HUM' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('water-percent') + '~2016~1~' + 'HUM' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('water-percent') + '~65504~1~' + 'HUM' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('water-percent') + '~63488~1~' + 'HUM' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('battery-low') + '~63488~1~' + 'LBAT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('battery-high') + '~2016~1~' + 'LBAT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('account-wrench') + '~60897~1~' + 'MAIN' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('account-wrench') + '~33840~1~' + 'MAIN' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('wifi-off') + '~63488~1~' + 'WLAN' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('wifi') + '~2016~1~' + 'WLAN' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('power-standby') + '~2016~1~' + 'POWER' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('power-standby') + '~33840~1~' + 'POWER' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('alert-circle') + '~63488~1~' + 'ERR' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('alert-circle') + '~33840~1~' + 'ERR' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('briefcase-check') + '~2016~1~' + 'WORK' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('briefcase-check') + '~33840~1~' + 'WORK' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('window-open-variant') + '~63488~1~' + 'WIN' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[i - 1] = Icons.GetIcon('window-closed-variant') + '~2016~1~' + 'WIN' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'AUTO' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'AUTO' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'COOL' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'COOL' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'HEAT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'HEAT' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'ECO' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'ECO' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'FAN_ONLY' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'FAN_ONLY' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'DRY' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'DRY' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'ECO' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[iconIndex] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~0~' + 'ECO' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[7] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'SWING' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[7] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'SWING' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[0] = Icons.GetIcon(tempIcon) + '~' + tempIconOffColor + '~1~' + 'POWER' + '~'; ^ ERROR: Cannot find name 'Icons'. bt[0] = Icons.GetIcon(tempIcon) + '~' + tempIconOnColor + '~1~' + 'POWER' + '~'; ^ ERROR: Cannot find name 'Icons'. if (useMediaEvents && pageCounter == 1) { ^ ERROR: Cannot find name 'pageCounter'. if (useMediaEvents && pageCounter == 1) { ^ ERROR: Cannot find name 'pageCounter'. if (page.type == 'cardMedia' && pageCounter == 0 && page.items[0].alwaysOnDisplay != undefined) { ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. if (alwaysOn == false) { ^ ERROR: Cannot find name 'alwaysOn'. alwaysOn = true; ^ ERROR: Cannot find name 'alwaysOn'. else if (page.type == 'cardMedia' && pageCounter == 1) { ^ ERROR: Cannot find name 'pageCounter'. alwaysOn = true; ^ ERROR: Cannot find name 'alwaysOn'. else if (page.type == 'cardMedia' && pageCounter == -1) { ^ ERROR: Cannot find name 'pageCounter'. let media_icon = Icons.GetIcon('playlist-music'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon('spotify'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon(page.items[0].playerMediaIcon); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon('alpha-s-circle'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon(page.items[0].playerMediaIcon); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon('alpha-b-circle'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon(page.items[0].playerMediaIcon); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon('dlna'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon(page.items[0].playerMediaIcon); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon('alpha-a-circle'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon(page.items[0].playerMediaIcon); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon('clock-time-twelve-outline'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon(page.items[0].playerMediaIcon); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon('alpha-m-circle'); ^ ERROR: Cannot find name 'Icons'. media_icon = Icons.GetIcon(page.items[0].playerMediaIcon); ^ ERROR: Cannot find name 'Icons'. let iconplaypause = Icons.GetIcon('pause'); //pause ^ ERROR: Cannot find name 'Icons'. let shuffle_icon = Icons.GetIcon('shuffle-variant'); //shuffle ^ ERROR: Cannot find name 'Icons'. shuffle_icon = Icons.GetIcon('shuffle-disabled'); //shuffle ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('pause'); //pause ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('play'); //play ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('pause'); //pause ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('play'); //play ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('pause'); //pause ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('play'); //play ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('play'); //play ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('pause'); //pause ^ ERROR: Cannot find name 'Icons'. iconplaypause = Icons.GetIcon('play'); //play ^ ERROR: Cannot find name 'Icons'. speakerListString = 'input_sel' + '~' + tid + '?speakerlist' + '~' + Icons.GetIcon('speaker') + '~' + speakerListIconCol + '~' + findLocale('media', 'speaker') + '~' + 'media0~'; ^ ERROR: Cannot find name 'Icons'. Icons.GetIcon('playlist-play') + ^ ERROR: Cannot find name 'Icons'. 'input_sel' + '~' + tid + '?tracklist' + '~' + Icons.GetIcon('animation-play-outline') + '~' + trackListIconCol + '~' + findLocale('media', 'tracklist') + '~' + 'media2~'; ^ ERROR: Cannot find name 'Icons'. 'input_sel' + '~' + tid + '?equalizer' + '~' + Icons.GetIcon('equalizer-outline') + '~' + equalizerListIconCol + '~' + findLocale('media', 'equalizer') + '~' + 'media3~'; ^ ERROR: Cannot find name 'Icons'. 'input_sel' + '~' + tid + '?favorites' + '~' + Icons.GetIcon('playlist-star') + '~' + equalizerListIconCol + '~' + findLocale('media', 'favorites') + '~' + 'media3~'; ^ ERROR: Cannot find name 'Icons'. let repeatIcon = Icons.GetIcon('repeat-variant'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-variant'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-once'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-variant'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-variant'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-once'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-variant'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-once'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-once'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-variant'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat'); ^ ERROR: Cannot find name 'Icons'. repeatIcon = Icons.GetIcon('repeat-once'); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon('shield-home'); //icon*~* ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon('shield-off'); //icon*~* ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon('shield'); //icon*~* ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon('bell-ring'); //iconcolor*~* ^ ERROR: Cannot find name 'Icons'. let icon = Icons.GetIcon('lock-remove'); //iconcolor*~* ^ ERROR: Cannot find name 'Icons'. let iconId1 = Icons.GetIcon('wifi'); ^ ERROR: Cannot find name 'Icons'. let iconId2 = Icons.GetIcon('key'); ^ ERROR: Cannot find name 'Icons'. iconId2 = getState(page.items[0].id + '.SWITCH').val ? Icons.GetIcon('router-wireless') : Icons.GetIcon('router-wireless-off'); ^ ERROR: Cannot find name 'Icons'. iconId2 = getState(page.items[0].id + '.SWITCH').val ? Icons.GetIcon('router-wireless') : Icons.GetIcon('router-wireless-off'); ^ ERROR: Cannot find name 'Icons'. if (page.type == 'cardPower' && pageCounter == 0 && page.items[0].alwaysOnDisplay != undefined) { ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. if (alwaysOn == false) { ^ ERROR: Cannot find name 'alwaysOn'. alwaysOn = true; ^ ERROR: Cannot find name 'alwaysOn'. else if (page.type == 'cardPower' && pageCounter == 1) { ^ ERROR: Cannot find name 'pageCounter'. power_string = power_string + Icons.GetIcon(array_icon[i + 1]) + '~'; // icon~ ^ ERROR: Cannot find name 'Icons'. Icons.GetIcon(array_icon[0]) + ^ ERROR: Cannot find name 'Icons'. if (alwaysOn == true) { ^ ERROR: Cannot find name 'alwaysOn'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. alwaysOn = false; ^ ERROR: Cannot find name 'alwaysOn'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. if (timeoutSlider) { ^ ERROR: Cannot find name 'timeoutSlider'. clearTimeout(timeoutSlider); ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = null; ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = setTimeout(async function () { ^ ERROR: Cannot find name 'timeoutSlider'. if (timeoutSlider) { ^ ERROR: Cannot find name 'timeoutSlider'. clearTimeout(timeoutSlider); ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = null; ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = setTimeout(async function () { ^ ERROR: Cannot find name 'timeoutSlider'. if (timeoutSlider) { ^ ERROR: Cannot find name 'timeoutSlider'. clearTimeout(timeoutSlider); ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = null; ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = setTimeout(async function () { ^ ERROR: Cannot find name 'timeoutSlider'. if (timeoutSlider) { ^ ERROR: Cannot find name 'timeoutSlider'. clearTimeout(timeoutSlider); ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = null; ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = setTimeout(async function () { ^ ERROR: Cannot find name 'timeoutSlider'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 0; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. pageCounter = 1; ^ ERROR: Cannot find name 'pageCounter'. if (timeoutSlider) { ^ ERROR: Cannot find name 'timeoutSlider'. clearTimeout(timeoutSlider); ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = null; ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = setTimeout(async function () { ^ ERROR: Cannot find name 'timeoutSlider'. if (timeoutSlider) { ^ ERROR: Cannot find name 'timeoutSlider'. clearTimeout(timeoutSlider); ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = null; ^ ERROR: Cannot find name 'timeoutSlider'. timeoutSlider = setTimeout(async function () { ^ ERROR: Cannot find name 'timeoutSlider'. navigationString = 'button~bUp~' + Icons.GetIcon(activePage.parentIcon); ^ ERROR: Cannot find name 'Icons'. navigationString = 'button~bUp~' + Icons.GetIcon('arrow-up-bold') + '~' + rgb_dec565(White); ^ ERROR: Cannot find name 'Icons'. navigationString = 'button~bSubPrev~' + Icons.GetIcon(activePage.prevIcon); ^ ERROR: Cannot find name 'Icons'. navigationString = 'button~bSubPrev~' + Icons.GetIcon('arrow-left-bold') + '~' + rgb_dec565(White); ^ ERROR: Cannot find name 'Icons'. navigationString += '~~~button~bHome~' + Icons.GetIcon(activePage!.homeIcon); ^ ERROR: Cannot find name 'Icons'. navigationString += '~~~button~bHome~' + Icons.GetIcon('home') + '~' + rgb_dec565(White) + '~~'; ^ ERROR: Cannot find name 'Icons'. navigationString += '~~~button~bSubNext~' + Icons.GetIcon(activePage.nextIcon); ^ ERROR: Cannot find name 'Icons'. navigationString += '~~~button~bSubNext~' + Icons.GetIcon('arrow-right-bold') + '~' + rgb_dec565(White) + '~~'; ^ ERROR: Cannot find name 'Icons'. const getNavigationStringForPage = (icon: string, color: number) => `button~bUp~${Icons.GetIcon(icon)}~${color} ~~~delete~~~~~`; ^ ERROR: Cannot find name 'Icons'. const prevIcon = activePage && activePage.prevIcon ? Icons.GetIcon(activePage!.prevIcon) : Icons.GetIcon('arrow-left-bold'); ^ ERROR: Cannot find name 'Icons'. const prevIcon = activePage && activePage.prevIcon ? Icons.GetIcon(activePage!.prevIcon) : Icons.GetIcon('arrow-left-bold'); ^ ERROR: Cannot find name 'Icons'. const nextIcon = activePage && activePage.nextIcon ? Icons.GetIcon(activePage!.nextIcon) : Icons.GetIcon('arrow-right-bold'); ^ ERROR: Cannot find name 'Icons'. const nextIcon = activePage && activePage.nextIcon ? Icons.GetIcon(activePage!.nextIcon) : Icons.GetIcon('arrow-right-bold'); ^ ERROR: Cannot find name 'Icons'. let icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. let icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. let icon2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. let icon2 = pageItem.icon2 !== undefined ? Icons.GetIcon(pageItem.icon2) : Icons.GetIcon('lightbulb-outline'); ^ ERROR: Cannot find name 'Icons'. icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : role == 'socket' ? Icons.GetIcon('power-socket-de') : Icons.GetIcon('lightbulb'); ^ ERROR: Cannot find name 'Icons'. icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('window-open'); ^ ERROR: Cannot find name 'Icons'. icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : Icons.GetIcon('window-open'); ^ ERROR: Cannot find name 'Icons'. let icon_up = Icons.GetIcon('arrow-up'); ^ ERROR: Cannot find name 'Icons'. let icon_stop = Icons.GetIcon('stop'); ^ ERROR: Cannot find name 'Icons'. let icon_down = Icons.GetIcon('arrow-down'); ^ ERROR: Cannot find name 'Icons'. iconTiltLeft = Icons.GetIcon('arrow-top-right'); ^ ERROR: Cannot find name 'Icons'. iconTiltStop = Icons.GetIcon('stop'); ^ ERROR: Cannot find name 'Icons'. iconTiltRight = Icons.GetIcon('arrow-bottom-left'); ^ ERROR: Cannot find name 'Icons'. Icons.GetIcon(vIcon) + ^ ERROR: Cannot find name 'Icons'. icon = pageItem.icon !== undefined ? Icons.GetIcon(pageItem.icon) : 'fan'; ^ ERROR: Cannot find name 'Icons'. weatherForecast = getState(NSPanel_Path + 'ScreensaverInfo.weatherForecast').val; ^ ERROR: Cannot find name 'weatherForecast'. entityIcon = Icons.GetIcon(GetDasWetterIcon(parseInt(icon))); ^ ERROR: Cannot find name 'Icons'. entityIcon = Icons.GetIcon(GetAccuWeatherIcon(parseInt(icon))); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(iconName); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(leftScreensaverEntity.ScreensaverEntityIconOn); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(leftScreensaverEntity.ScreensaverEntityIconOff); ^ ERROR: Cannot find name 'Icons'. if (weatherForecast) { ^ ERROR: Cannot find name 'weatherForecast'. payloadString += '~' + '~' + Icons.GetIcon(sun) + '~' + rgb_dec565(MSYellow) + '~' + 'Sonne' + '~' + formatDate(getDateObject(arraySunEvent[nextSunEvent]), 'hh:mm') + '~'; ^ ERROR: Cannot find name 'Icons'. payloadString += '~' + '~' + Icons.GetIcon(WeatherIcon) + '~' + WheatherColor + '~' + DayOfWeek + '~' + tempMinMaxString + '~'; ^ ERROR: Cannot find name 'Icons'. Icons.GetIcon(config.bottomScreensaverEntity[4].ScreensaverEntityIconOn) + ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(iconName); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(entity.ScreensaverEntityIconOn); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(entity.ScreensaverEntityIconOff); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(iconName); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(indicatorScreensaverEntity.ScreensaverEntityIconOn); ^ ERROR: Cannot find name 'Icons'. icon = Icons.GetIcon(indicatorScreensaverEntity.ScreensaverEntityIconOff); ^ ERROR: Cannot find name 'Icons'. ScreensaverEntityIconOn: config.mrIcon1ScreensaverEntity.ScreensaverEntityIconOn ? Icons.GetIcon(config.mrIcon1ScreensaverEntity.ScreensaverEntityIconOn) : '', ^ ERROR: Cannot find name 'Icons'. ScreensaverEntityIconOff: config.mrIcon1ScreensaverEntity.ScreensaverEntityIconOff ? Icons.GetIcon(config.mrIcon1ScreensaverEntity.ScreensaverEntityIconOff) : '', ^ ERROR: Cannot find name 'Icons'. ScreensaverEntityIconOn: config.mrIcon2ScreensaverEntity.ScreensaverEntityIconOn ? Icons.GetIcon(config.mrIcon2ScreensaverEntity.ScreensaverEntityIconOn) : '', ^ ERROR: Cannot find name 'Icons'. ScreensaverEntityIconOff: config.mrIcon2ScreensaverEntity.ScreensaverEntityIconOff ? Icons.GetIcon(config.mrIcon2ScreensaverEntity.ScreensaverEntityIconOff) : '', ^ ERROR: Cannot find name 'Icons'. payloadString += Icons.GetIcon(icon); ^ ERROR: Cannot find name 'Icons'. vwIcon[0] = vwIconColor[0]; ^ ERROR: Cannot find name 'vwIconColor'. vwIcon[1] = vwIconColor[1]; ^ ERROR: Cannot find name 'vwIconColor'. vwIcon[2] = vwIconColor[2]; ^ ERROR: Cannot find name 'vwIconColor'. vwIcon[3] = vwIconColor[3]; ^ ERROR: Cannot find name 'vwIconColor'. vwIcon[4] = vwIconColor[4]; ^ ERROR: Cannot find name 'vwIconColor'. if (weatherForecast) { ^ ERROR: Cannot find name 'weatherForecast'. vwIcon[1] = vwIconColor[1]; ^ ERROR: Cannot find name 'vwIconColor'. vwIcon[2] = vwIconColor[2]; ^ ERROR: Cannot find name 'vwIconColor'. vwIcon[3] = vwIconColor[3]; ^ ERROR: Cannot find name 'vwIconColor'. vwIcon[4] = vwIconColor[4]; ^ ERROR: Cannot find name 'vwIconColor'. return Icons.GetIcon(item.icon) || iconId; ^ ERROR: Cannot find name 'Icons'. return Icons.GetIcon(ss.ScreensaverEntityIconSelect[ss.ScreensaverEntityIconSelect.length - 1].icon) || iconId; ^ ERROR: Cannot find name 'Icons'. return ((iconKey && existsState(iconKey) && Icons.GetIcon(getState(iconKey).val)) || ^ ERROR: Cannot find name 'Icons'. Icons.GetIcon(iconKey) || ^ ERROR: Cannot find name 'Icons'. (def && defIndex !== undefined ? Icons.GetIcon(def[defIndex]) : undefined) || ^ ERROR: Cannot find name
Kann es an der Scriptversion liegen?
Tasmota ist 14.6.0/usr/bin/nodejs v20.19.2
/usr/bin/node v20.19.2
/usr/bin/npm 10.8.2
/usr/bin/npx 10.8.2
/usr/bin/corepack 0.31.0js-controller: 7.0.6
admin: 7.6.17
javascript: 8.8.3Danke für Eure Hilfe
Gregor
-
@gregors Klar, kann auch nicht funktionieren, bitte immer alles aktuell halten.
Javascript Adapter und Scripte passen immer zueinander, eine alte Version mit einer neuen geht in dem Fall nicht.Lies hier doch mal durch, das Thema hatten wir jetzt so oft in den letzten Tagen..
-
-
@tt-tom Es gibt mit der aktuellen Skript-Version v4.7.1.2 mehrere Problemchen, sodass ich weiterhin die 4.0.5 (mit Änderungen auf axios) nutze.
Icon-Farben werden nicht korrekt angezeigt:
Unter 4.0.5 keine Probleme:
- Der Entitiy Watcher achtet jetzt auf 'any' statt 'ne', was die Seite mit den Icons ständig neu aufbaut, da die aliase wohl sehr oft synchronisiert werden.
Dadurch wird das Teil unbedienbar.
-
das mit 2 hab ich verbrochen... hm frag mich nur wieso das nicht aufgefallen ist - wohl weil man dazu auch states braucht die häufig für nix aktualisiert werden
muß das mit tt-tom mal durchsprechen.
-
@ticaki Bei mir sind es Objekte, welche Node-Red von einer Easy Eaton ohne Rücksicht auf Änderungen oder nicht mehrmals die Sekunde geliefert bekommt.
Edit: der Takt steht auf 500 ms. Allerdings nutze ich in der Übersicht auf dem NS-Panel 6 davon.
Wird wohl bei anderen gepollten Datenpunkten ähnlich sein.
-
@peterfido 500ms ist da tatsächlich sportlich - der große Screensaver braucht da AFAIK schon länger fürs ganze handling.
Wenn das Farben problem bestätigt ist, werde ich das ändern und hoffen das es keine Seiteneffekte hat. -
Icon-Farben werden nicht korrekt angezeigt
Kannst du das bitte genauer definieren, was da nicht passt.
Bitte auch die Objektdaten von dem Channel
alias.0.NSPanel.Terrasse.LED2.EinZeit
und die Datenpunkte darunter. -
-
@tt-tom Wenn ich die Datenpunkte direkt, ohne alias hole, passt die Farbe. Allerdings habe ich unterschiedliche für soll und ist, so dass ich das nicht mal eben pauschal ändern kann. Evtl. passt da was mit .ACTUAL nicht.
-
@peterfido
Im Script wird immer Actual ausgewertet
True ist onColor und false offColor. -
@tt-tom ich weiß. Unter der 4.0.5 funktioniert das auch noch. Da ich die Skript-Engine aktualisiert habe, und es heißt, dass man dafür auch die aktuelle Version vom NS-Panel-Skript braucht, habe ich das mit aktualisiert. Die aufgetrenen Probleme damit habe ich gleich hier gemeldet.
Einige schreiben ja, dass ihr Panel nicht mehr reagiert / sich aufhängt. Das könnte mit der Änderung am Entity-Watcher zu tun haben. Dass die Farben von onColor trotz einem false genommen wird, irgendwo anders dran.
-
@tt-tom sagte in SONOFF NSPanel mit Lovelace UI:
@peterfido
Im Script wird immer Actual ausgewertet
True ist onColor und false offColor.Wenn ich das richtig sehe - link auf meinen fork https://github.com/ticaki/nspanel-lovelace-ui/blob/5803a489f5877be8378c2d549fc1f559b1e4e0b3/ioBroker/DEV/NSPanelTs.ts#L4988
wird der wert von Actual genommen und dann von Set überschrieben.
-
Ich glaube nicht dass das ein "Fehler" ist. In dem teil vom Code wurde schon länger nichts mehr geändert und SET wurde soweit ich weiß schon immer nach ACTUAL verwendet. Das hat teils damit zu tun, das Adapter mit Verzögerung Werte bestätigen und es zu einem springen/flackern führt, wenn der Nutzer einen Schalter auf true stellt, der anschließend auf false springt und dann wenn der Wert bestätigt ist wieder zurück auf true.
Sind deine ACTUAL und SET Werte typischerweise ungleich? Oder ist das nur ein Zustand der durchs updaten herbeigeführt wurde und so normalerweise nicht vorkommt?
-
@ticaki Die sind schonmal ungleich. Ich unterscheide zwischen soll und ist. Das Set im alias wird nur durch die NSPanel genutzt. Abgeschaltet wird SPS intern nach Zeitablauf. Da geht nur ACTUAL auf false.
Der Fehler ist ja durchaus durch Dich gefunden. Es fehlt mir der Sinn, erst ACTUAL abzufragen und im nächsten Schritt durch SET zu ersetzen. Wenn z.B. die Sicherung ausgelöst hat, bleibt ACTUAL auch false, egal, ob soll ein gesetzt wurde.
Das von mir auf axios geänderte 4.0.5 läuft weiterhin fehlerfrei unter der Skript-Engine 8.9.2.
-
Hallo Zusammen,
ich habe auch Probleme in der Farbe der Icons, vorher war es so das bei Lampe an das Icon die Farbe des Lichtes hatte und bei aus war es grau, jetzt hat es bei aus die letzte Farbe des Lichtes nur viel dunkler und wenn ich die Lampe sehr dunkel Stelle ist das Icon schwarz und somit nicht mehr zu sehen, habe nur auf das aktuelle Skript geupdatet.
-
Servus, bei dem IconScreensaverEntity wird mir nur ein Icon angezeigt, die Farbe wechselt. An was kann das liegen?
// Status Icon mrIcon1ScreensaverEntity: { ScreensaverEntity: 'Meine_Geräte.0.Garage.Garage_stellung_NSPanel', ScreensaverEntityIconOn: 'garage-open-variant', ScreensaverEntityIconOff: 'garage-variant-lock', ScreensaverEntityValue: null, ScreensaverEntityValueDecimalPlace: null, ScreensaverEntityValueUnit: null, ScreensaverEntityOnColor: MSRed, ScreensaverEntityOffColor: MSGreen