NEWS
SONOFF NSPanel mit Lovelace UI
-
-
@michael_4358
Zeige mir mal ein Bild aus dem Objekten damit ich die Ordnerstruktur sehen kann -
das ist lediglich in den geraten.. in den Objekten ist der Punkt nicht..
-
@michael_4358 dann ist da ein Fehler. Das Script legt unter alias.0. Den Ordner Wetter an und verlinkt die Datenpunkte mit den Adapter. Sehe bitte da nochmal nach.
Ansonsten bitte im Script prüfen, ob diese beiden Einträge so vorhanden sind.
const autoCreateAlias = true; weatherEntity: 'alias.0.Wetter',
Wenn alias.0.Wetter nicht vorhanden ist und die Einträge so gesetzt sind. Das Script noch einmal neu starten.
-
-
-
Sieht so aus als ob du da etwas anderes nutzen wolltest. Lösche bitte mal den den Wetter Ordner komplett und starte das Script neu. Danach passen wir die Verknüpfungen an auf deine Werte. Aber nicht den Geräte Adapter nutzen. Direkt löschen.
-
hab ich gemacht nun ist kein wetter mehr da...
-
@michael_4358
script neu gestartet? -
@tt-tom ja
kein wetter alias Objekte mehr da -
zeige bitte nochmal wie es jetzt aussieht. von Alias angefangen
-
@tt-tom said in SONOFF NSPanel mit Lovelace UI:
zeige bitte nochmal wie es jetzt aussieht. von Alias angefangen
na es fehlt halt der wetter Objekt Ordner und es sind keine alias da
-
ist in den Einstellungen der Javascript Instanz die Option setObjekts aktiv?
-
@tt-tom
ja -
@michael_4358
dann starte mal die Java Instanz bitte neu. da muss sich irgend etwas verschluckt haben. -
gemacht nun hat er immer noch keine Symbole im panel
-
@michael_4358
kannst du mal das Script neu starten und die Meldungen vom Log posten -
4.10.2023, 20:12:44.109 [info ]: javascript.0 (763806) Stop script script.js.NSPanel.pdf 4.10.2023, 20:12:45.148 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: compiling TypeScript source... 4.10.2023, 20:12:45.520 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: source code did not change, using cached compilation result... 4.10.2023, 20:12:45.555 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: setObjects enabled - create Alias Channels possible 4.10.2023, 20:12:45.574 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: registered 29 subscriptions, 7 schedules, 0 messages, 0 logs and 0 file subscriptions 4.10.2023, 20:12:45.597 [debug]: mqtt.0 (758904) stateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"dimmode~8~100~6371","ack":false,"ts":1696443165559,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443165559} 4.10.2023, 20:12:45.597 [debug]: mqtt.0 (758904) onStateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"dimmode~8~100~6371","ack":false,"ts":1696443165559,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443165559} 4.10.2023, 20:12:45.598 [debug]: mqtt.0 (758904) stateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"pageType~pageStartup","ack":false,"ts":1696443165573,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443165573} 4.10.2023, 20:12:45.598 [debug]: mqtt.0 (758904) onStateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"pageType~pageStartup","ack":false,"ts":1696443165573,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443165573} 4.10.2023, 20:12:45.654 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: Desired TFT Firmware: 53 / v4.3.1 4.10.2023, 20:12:45.654 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: Installed TFT Firmware: 53 / v4.3.1 4.10.2023, 20:12:45.739 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: Debugmodus deaktiviert 4.10.2023, 20:12:46.199 [warn ]: javascript.0 (763806) at script.js.NSPanel.pdf:3352:46 4.10.2023, 20:12:46.200 [warn ]: javascript.0 (763806) at step (script.js.NSPanel.pdf:33:23) 4.10.2023, 20:12:46.200 [warn ]: javascript.0 (763806) at Object.next (script.js.NSPanel.pdf:14:53) 4.10.2023, 20:12:46.200 [warn ]: javascript.0 (763806) at fulfilled (script.js.NSPanel.pdf:5:58) 4.10.2023, 20:12:46.284 [debug]: mqtt.0 (758904) stateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"date~Mittwoch, 4. Oktober 2023","ack":false,"ts":1696443166272,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166272} 4.10.2023, 20:12:46.284 [debug]: mqtt.0 (758904) onStateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"date~Mittwoch, 4. Oktober 2023","ack":false,"ts":1696443166272,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166272} 4.10.2023, 20:12:46.285 [debug]: mqtt.0 (758904) stateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"time~20:12","ack":false,"ts":1696443166272,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166272} 4.10.2023, 20:12:46.285 [debug]: mqtt.0 (758904) onStateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"time~20:12","ack":false,"ts":1696443166272,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166272} 4.10.2023, 20:12:46.290 [debug]: mqtt.0 (758904) stateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"timeout~10","ack":false,"ts":1696443166272,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166272} 4.10.2023, 20:12:46.290 [debug]: mqtt.0 (758904) onStateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"timeout~10","ack":false,"ts":1696443166272,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166272} 4.10.2023, 20:12:46.295 [debug]: mqtt.0 (758904) stateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"pageType~cardEntities","ack":false,"ts":1696443166276,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166276} 4.10.2023, 20:12:46.296 [debug]: mqtt.0 (758904) onStateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"pageType~cardEntities","ack":false,"ts":1696443166276,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166276} 4.10.2023, 20:12:46.296 [debug]: mqtt.0 (758904) stateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"entityUpd~Rollos~button~bPrev~~65535~~~button~bNext~~65535~~~shutter~alias.0.NSPanel.MacRollo~~64512~MacRollo~~shutter~alias.0.NSPanel.KuechenRollo~~64512~Küche~~shutter~alias.0.NSPanel.LenaRollo~~64512~Lena~~shutter~alias.0.NSPanel.SchlafRollo~~64512~Schlafzimmer~","ack":false,"ts":1696443166276,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166276} 4.10.2023, 20:12:46.296 [debug]: mqtt.0 (758904) onStateChange mqtt.0.NSPanel.cmnd.NsPanel.CustomSend: {"val":"entityUpd~Rollos~button~bPrev~~65535~~~button~bNext~~65535~~~shutter~alias.0.NSPanel.MacRollo~~64512~MacRollo~~shutter~alias.0.NSPanel.KuechenRollo~~64512~Küche~~shutter~alias.0.NSPanel.LenaRollo~~64512~Lena~~shutter~alias.0.NSPanel.SchlafRollo~~64512~Schlafzimmer~","ack":false,"ts":1696443166276,"q":0,"c":"script.js.NSPanel.pdf","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1696443166276} 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: Start MQTT-Port-Check ------------------------------------- 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- admin.0 - 8081 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- hue.0 - 443 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- lovelace.0 - 8091 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- mqtt.0 - 1890 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- sainlogic.0 - 4500 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- shelly.0 - 1885 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- simple-api.0 - 8087 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- sonoff.0 - 1883 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- telegram.0 - 8443 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: -- zigbee.0 - /dev 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: - MQTT-Port-Check OK: Instance of Adapter: mqtt.0 is running on Port:1890 4.10.2023, 20:12:47.603 [info ]: javascript.0 (763806) script.js.NSPanel.pdf: End MQTT-Port-Check ---------------------------------------
-
das Script erkennt nicht das der Ordner gelöscht ist.
4.10.2023, 20:12:46.199 [warn ]: javascript.0 (763806) at script.js.NSPanel.pdf:3352:46 4.10.2023, 20:12:46.200 [warn ]: javascript.0 (763806) at step (script.js.NSPanel.pdf:33:23) 4.10.2023, 20:12:46.200 [warn ]: javascript.0 (763806) at Object.next (script.js.NSPanel.pdf:14:53) 4.10.2023, 20:12:46.200 [warn ]: javascript.0 (763806) at fulfilled (script.js.NSPanel.pdf:5:58)
die Warnung kann ich nicht nachvollziehen.
bist du bei discord angemeldet? dann können wir das Direkt machen. -
Leider nein…
Kann ich das nicht ggf selber regeln