NEWS
Betatest NSPanel-lovelace-ui v0.2.x
-
@hm_krause ich weiß war bei mir genauso. (Letztendlich hatte ich soviel probiert und getestet das ich zum Schluss als es dann startete nicht mehr sicher war was ich falsch oder richtig gemacht habe.) Hast du nach dem Start des scriptes den Adapter neu gestartet. Vielleicht zeigst du mal deine Adapter seite..?
-
@teletapi
Das minimal script ist im Basisscript enthalten da muss man nix machen. Wenn du im Adapter auf script drückst erstellt der Adapter ein JS Ordner in dem das passende script enthalten ist das einmal starten und danach den Adapter neustarten. Evtl. würde ich nochmal in den Adapter gehen und auf Tabelle aktualisieren gehn und wenn du das Panel da aufrufst muss die tasmota Version drin sein die du nutzt. Die war bei mir vorher auch nicht drin. -
@hm_krause
Das letzte Mal waren die topics unterschiedlich zwischen dem Skript und der Adapter konfiguration -
Danke für deine Hinweise.
Lege bitte mal im Script eine Seite an. uniqename muss main sein.
Bin noch unterwegs und kann leider nicht besser helfen von hier.
-
@teletapi
Meinst Du mit Basisscript dieses:
https://github.com/ticaki/ioBroker.nspanel-lovelace-ui/blob/main/script/example_sendTo_script_iobroker.ts
Hier noch: -
@hm_krause Den fehler hatte ich bisher noch nicht der ist mir neu. Aber ja das ist das script was durch den Adsapter erstellt werden soll natürlich unter dem passenden Ordner. hast du mal geschaut ob deine Topics passen
-
@teletapi
..und was hattest Du als Basisscript? -
@hm_krause Das gleiche wie du
-
@teletapi
und..
und...
-
@hm_krause
Oben steht woran es liegt. Irgendwas wurde umbenannt nach dem initialisieren. -
@ticaki
? -
@hm_krause
Lösche das Panel und das Skript. Dann initialisiere das Panel und führe das erstellte Skript ausBin ebenfalls unterwegs daher eher kurz anbebunden
-
@hm_krause
Der Fehler liegt im Tasmota TopicDer Adapter legt die Daten in Tasmota an, du brauchst in Tasmota nichts anpassen.
Lösche das Panel auf dem 2.Tab (NSpanel Einstellungen) und das Script im Javascript Adapter.
Dann Instanz neu starten und von vorne anlegen, mqtt einstellungen kannst du lassen.Schritt für schritt laut wiki
-
@ticaki
@teletapi
Das ändern des Panelnamens war die Lösung welche nun zum Start des Adapters führte.
Unter dem vorherigen Namen war das Script von dem Projekt
https://forum.iobroker.net/topic/58170/sonoff-nspanel-mit-lovelace-ui
angelegt.
Danke für Eure Hilfe.
Das Panel ist noch offline, dachte aber das hier minimal den Sreensaver angezeigt wird.
Leider nur "waiting for content...
Was muss ich hier noch tun? -
dein Topic stimmt laut Bildern nicht
in tasmota steht übersetzt nspanel_1/nspanel_1/%prefix%
im Adapter steht nspanel_1/%prefix%
lösche in Tasmota -> /%topic%
prüfe aber auch den Topic im Script
-
0,1 und 0,01 ergeben beide nur eine Nachkommastelle.
ja, kann den Fehler nachstellen, muss ich mir in Ruhe ansehen.
-
@hm_krause
Skript ausführen und Adapter neustarten.Das andere Projekt hat nichts mit diesem hier zu tun. ( außer den selben Betreuern)
Bin in ca 1h zuhause
-
-
prüfe im script, was hier hinter panelTopic steht, da muss
nspanel_1
stehenconst config: ScriptConfig.Config = { panelTopic: 'SmartHome/NSPanel_1', weatherEntity: 'openweathermap.0.', defaultOffColor: Off, defaultOnColor: On, defaultBackgroundColor: HMIDark, weatherAddDefaultItems: false,
der Name vom Script, muss gleich dem Namen vom Panel sein.
Script starten, danach adapter neu starten.
bitte auch mal das Log zeigen vom Scriptstart und Adapterstart.
-
@tt-tom
...vom Scriptjavascript.0 19:50:26.202 info Compiling TypeScript source script.js.nspanel-lovelace-ui_0.Panel_1 javascript.0 19:50:26.309 info source code did not change, using cached compilation result... javascript.0 19:50:26.321 info registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions javascript.0 19:50:26.522 info [ 'Panel for Topic: nspanel_1 Script version 0.9.1 is correct!', 'No navigation items found! This needs to be fixed!', 'done' ] javascript.0 19:50:26.588 info Stopping script script.js.nspanel-lovelace-ui_0.Panel_1
...Adapter
nspanel-lovelace-ui.0 2025-08-14 19:52:02.321 info [Panel_1] Panel startup finished! nspanel-lovelace-ui.0 2025-08-14 19:52:02.320 debug [Panel_1] Set screeensaver timeout to 2s. nspanel-lovelace-ui.0 2025-08-14 19:52:02.220 debug [Panel_1] Set screeensaver timeout to 15s. nspanel-lovelace-ui.0 2025-08-14 19:52:01.867 debug [///Adapter-Info] Switch page to visible! nspanel-lovelace-ui.0 2025-08-14 19:52:00.070 debug [controller] Panel E4_65_B8_48_80_70 created nspanel-lovelace-ui.0 2025-08-14 19:51:59.867 warn [Panel_1-navigation] Dont find navigation main page for main nspanel-lovelace-ui.0 2025-08-14 19:51:59.867 warn [Panel_1-navigation] Dont find a navigation node with name main nspanel-lovelace-ui.0 2025-08-14 19:51:59.866 warn [Panel_1-navigation] Dont find a navigation node with name main nspanel-lovelace-ui.0 2025-08-14 19:51:57.927 warn [Panel_1] is offline! nspanel-lovelace-ui.0 2025-08-14 19:51:57.919 info [Panel_1] is online! nspanel-lovelace-ui.0 2025-08-14 19:51:57.754 debug [system-notifications] Received notifications from "system.host.iob-huawei": {"system":{"categories":{},"description":{"en":"These notifications are collected by the ioBroker system and point to issues you should check and fix.","de":"Diese Benachrichtigungen werden vom ioBroker-System erfasst und weisen auf Probleme hin, die überprüft und behoben werden sollten.","ru":"Эти уведомления собираются системой ioBroker и указывают на проблемы, которые вы должны проверить и исправить.","pt":"Essas notificações são coletadas pelo sistema ioBroker e apontam para problemas que você deve verificar e corrigir.","nl":"Deze meldingen worden verzameld door het ioBroker-systeem en wijzen op problemen die u moet controleren en oplossen.","fr":"Ces notifications sont collectées par le système ioBroker et indiquent des problèmes que vous devez vérifier et résoudre.","it":"Queste notifiche vengono raccolte dal sistema ioBroker e indicano problemi che dovresti controllare e correggere.","es":"Estas notificaciones son recopiladas por el sistema ioBroker y señalan problemas que debe verificar y solucionar.","pl":"Te powiadomienia są zbierane przez system ioBroker i wskazują problemy, które należy sprawdzić i naprawić.","uk":"Ці сповіщення збираються системою ioBroker і вказують на проблеми, які ви повинні перевірити та виправити.","zh-cn":"这些通知由ioBroker系统收集,并指出您应检查并修复的问题"},"name":{"en":"System Notifications","de":"System-Benachrichtigungen","ru":"Системные уведомления","pt":"Notificações do sistema","nl":"Systeemmeldingen","fr":"Notifications système","it":"Notifiche di sistema","es":"Notificaciones del sistema","pl":"Powiadomienia systemowe","uk":"Системні сповіщення","zh-cn":"系统通知"}}} nspanel-lovelace-ui.0 2025-08-14 19:51:57.748 debug [system-notifications] Request notifications from "system.host.iob-huawei" nspanel-lovelace-ui.0 2025-08-14 19:51:57.748 debug [system-notifications] Received notifications from "system.host.Iobroker": {} nspanel-lovelace-ui.0 2025-08-14 19:51:57.725 debug [system-notifications] Request notifications from "system.host.Iobroker" nspanel-lovelace-ui.0 2025-08-14 19:51:57.713 debug [mqttClient] subscripe to: nspanel_1/stat/# nspanel-lovelace-ui.0 2025-08-14 19:51:57.711 debug [mqttClient] subscripe to: nspanel_1/tele/# nspanel-lovelace-ui.0 2025-08-14 19:51:57.711 debug [Panel_1] Panel E4_65_B8_48_80_70 is initialised! nspanel-lovelace-ui.0 2025-08-14 19:51:57.671 debug [controller] Set current Date with time: Thu Aug 14 2025 19:51:57 GMT+0200 (Central European Summer Time) nspanel-lovelace-ui.0 2025-08-14 19:51:57.606 debug [mqttClient] subscripe to: nspanel_1/stat/RESULT nspanel-lovelace-ui.0 2025-08-14 19:51:57.559 debug [controller] controller created nspanel-lovelace-ui.0 2025-08-14 19:51:57.557 debug 42818.65625k nspanel-lovelace-ui.0 2025-08-14 19:51:57.556 info [mqttClient] Connection is active. nspanel-lovelace-ui.0 2025-08-14 19:51:57.502 debug Check configuration! nspanel-lovelace-ui.0 2025-08-14 19:51:55.469 info Force an MQTT reconnect from the Nspanel with the ip 192.168.178.56 in 10 seconds! nspanel-lovelace-ui.0 2025-08-14 19:51:55.391 debug [library] Load language de nspanel-lovelace-ui.0 2025-08-14 19:51:55.390 info Raw script config found for nspanel_1 nspanel-lovelace-ui.0 2025-08-14 19:51:55.388 error [config-manager] No navigation items found! This needs to be fixed! nspanel-lovelace-ui.0 2025-08-14 19:51:55.387 debug [config-manager] Screensaver pageItems count: 17 nspanel-lovelace-ui.0 2025-08-14 19:51:55.384 warn Invalid color value: "0_userdata.0.Abfallkalender.1.color" nspanel-lovelace-ui.0 2025-08-14 19:51:55.291 info [config-manager] Start converting configuration for nspanel_1 nspanel-lovelace-ui.0 2025-08-14 19:51:55.238 info starting. Version 0.2.4 (non-npm: ticaki/ioBroker.nspanel-lovelace-ui#955fb48e830b9ffc2f648d9d50adbbde0e5318ba) in /opt/iobroker/node_modules/iobroker.nspanel-lovelace-ui, node: v20.19.4, js-controller: 7.0.6 nspanel-lovelace-ui.0 2025-08-14 19:51:50.324 info terminating nspanel-lovelace-ui.0 2025-08-14 19:51:49.837 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason nspanel-lovelace-ui.0 2025-08-14 19:51:49.836 info terminating nspanel-lovelace-ui.0 2025-08-14 19:51:49.835 info [mqttClient] Connection is closed. nspanel-lovelace-ui.0 2025-08-14 19:51:49.833 debug [///Adapter-Info] Switch page to invisible! nspanel-lovelace-ui.0 2025-08-14 19:51:49.822 info Got terminate signal TERMINATE_YOURSELF