Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. SONOFF NSPanel mit Lovelace UI

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SONOFF NSPanel mit Lovelace UI

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Palatinatus @TT-Tom last edited by

      @tt-tom
      Die Version des TypeScript ist noch v4.3.3.43. Daran kann es aber nicht liegen, oder?

      T 1 Reply Last reply Reply Quote 0
      • T
        TT-Tom @Palatinatus last edited by

        @palatinatus

        Nein. Hast du die Objektdaten mal angepasst wie ich geschrieben habe?

        P 1 Reply Last reply Reply Quote 0
        • P
          Palatinatus @TT-Tom last edited by Palatinatus

          @tt-tom

          ja, bzw. mit dem Löschen der Konvertierungsfunktion stand das aber schon genau so drin.

          T 1 Reply Last reply Reply Quote 0
          • T
            TT-Tom @Palatinatus last edited by TT-Tom

            @palatinatus

            die Konvertierung für read brauchst du aber oder reden wir jetzt aneinander vorbei. wie sehen jetzt die Objektdaten aus von ACTUAL

            P 1 Reply Last reply Reply Quote 0
            • P
              Palatinatus @TT-Tom last edited by

              @tt-tom

              Bildschirmfoto 2024-07-19 um 14.40.26.png

              und mitlerweile TypeScript v4.4.0.1 .

              T 1 Reply Last reply Reply Quote 0
              • T
                TT-Tom @Palatinatus last edited by TT-Tom

                @palatinatus
                es sieht alles okay aus, wenn du vom Panel schaltest, funktioniert es dann??

                Wenn du am Gerät schaltest, wechsle bitte mal die Seite damit sie sich neu aufbaut. Hast du dann den richtigen Status?

                P 1 Reply Last reply Reply Quote 0
                • P
                  Palatinatus @TT-Tom last edited by Palatinatus

                  @tt-tom

                  Wenn ich vom Panel aus schalte funktioniert es (auch dann wenn in ACTUAL nicht einem Datenpunkt zugeordnet wurde).

                  Wenn ich an der Steckdose schalte ändert sich der Schalter im NSPanel nicht, auch dann nicht wenn ich die Seite wechsle.

                  Das ist mein 2. NSPanel. Kann es daran liegen, dass es noch ein 1. im ioBroker gibt?

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    TT-Tom @Palatinatus last edited by

                    @palatinatus
                    wenn die MQTT Pfade im Script richtig sind, ist das kein Problem mit mehreren Panels. Jedes Panel hat einen eigenen Pfad im MQTT.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      Palatinatus @TT-Tom last edited by Palatinatus

                      @tt-tom

                      Ich habe an meinem 1. NSPanel in der Zwischenzeit noch eine weitere Gosund Steckdose eingebunden. Die verhält sich genauso. Das heißt das Button-drücken an der Steckdose wird im NSPanel nicht mit dem Schalter synchronisiert. Da es sich da genauso verhält scheinen die Pfade wohl zu stimmen.
                      Irgendwie ist das blöd.
                      Glaube das Problem liegt woanders.
                      (Gestern hatte ich auch ein Problem auf dessen Lösung ich niemals selbst gekommen wäre: https://forum.iobroker.net/post/1181611 )

                      T 2 Replies Last reply Reply Quote 0
                      • T
                        TT-Tom @Palatinatus last edited by

                        @Palatinatus
                        😕 zeige mal wie die config im Script von der Seite aussieht.

                        1 Reply Last reply Reply Quote 0
                        • T
                          TT-Tom @Palatinatus last edited by TT-Tom

                          @palatinatus

                          ah deine MQTT Einstellungen waren nicht sauber. Wie ist denn jetzt der aktuelle Stand, dann vergleiche ich mal mit meinen. Hast du für die Panels eine eigene Instanz angelegt?

                          EDIT: betreibst du einen eigenen MQTT Server??

                          P 2 Replies Last reply Reply Quote 0
                          • P
                            Palatinatus @TT-Tom last edited by

                            @tt-tom

                            Die erste ist eine Gosund und die zweite die Obi Steckdose.

                            let Meine_zweite_Seite: PageType =
                            {
                            'type': 'cardEntities',
                            'heading': 'Meine zweite Seite',
                            'useColor': true,
                            //'prev': 'NSPanel_Service',
                            //'next': 'WLAN',
                            'items': [
                            { id: 'alias.0.NSPanel.2.Gosund_Port1', name: 'Gosund Steckdose PO1'}
                            ]

                            };

                            let Meine_dritte_Seite: PageType =
                            {
                            'type': 'cardEntities',
                            'heading': 'Meine dritte Seite',
                            'useColor': true,
                            //'prev': 'NSPanel_Service',
                            //'next': 'WLAN',
                            'items': [
                            { id: 'alias.0.NSPanel.2.Gosund_Port3', name: 'Gosund Steckdose PO3'}
                            ]

                            };

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              TT-Tom @Palatinatus last edited by

                              @palatinatus ja passt so.

                              beantworte bitte noch mal die MQTT fragen

                              1 Reply Last reply Reply Quote 0
                              • P
                                Palatinatus @TT-Tom last edited by Palatinatus

                                @tt-tom
                                Der MQTT Server ist mosquitto (mosquitto version 2.0.11) und läuft auf dem gleichen Raspi cm4 wie der ioBroker.

                                Unter Instanzen habe ich keine NSPanels. Die sind unter Geräte.

                                Bildschirmfoto 2024-07-19 um 16.22.22.png

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  TT-Tom @Palatinatus last edited by TT-Tom

                                  @palatinatus sagte in SONOFF NSPanel mit Lovelace UI:

                                  Unter Instanzen habe ich keine NSPanels. Die sind unter Geräte.

                                  da hast du mich falsch verstanden, für die MQTT Kommunikation mit den Panels könntest du eine zusätzliche Instanz vom MQTT Adapter anlegen. Hast du nicht, muss du auch nicht.

                                  Der Geräte-Adapter ist hier erstmal egal, der hilft dir nur beim Anlegen der Alias, mehr nicht.

                                  hier besteht ein Problem in der Kommunikation bzw. Auswertung des Status vom Alias Datenpunkt ACTUAL.

                                  nochmal explicit testen -> schalten am Gerät ändert auch den Datenpunkt ACTUAL von true auf false und zurück??????

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    Palatinatus @TT-Tom last edited by

                                    @tt-tom

                                    ja, schalten am Gerät ändert auch den Datenpunkt ACTUAL von true auf false und zurück!!!

                                    Bildschirmfoto 2024-07-19 um 16.35.55.png

                                    Bildschirmfoto 2024-07-19 um 16.36.10.png

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      TT-Tom @Palatinatus last edited by

                                      @palatinatus

                                      okay, letzter Versuch dann bin ich mit mein Latein am Ende.

                                      am Panel kannst Du auf der Service-Seite unter Einstellung / Script den Debugmodus aktivieren. bitte mach dies und beobachte das Protokoll und schalte dann noch einmal am Gerät, poste mir dann die Protokollmeldungen.

                                      P 1 Reply Last reply Reply Quote 0
                                      • P
                                        Palatinatus @TT-Tom last edited by

                                        @tt-tom

                                        Ich finde das Log nicht, wo ist das denn?

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          TT-Tom @Palatinatus last edited by TT-Tom

                                          @palatinatus

                                          zum Beispiel unterhalb vom Script werden dir Meldungen angezeigt, die vom Script kommen oder hier Protokolle.

                                          ca65d436-54f2-4f1e-868a-7f14c3a4522a-image.png

                                          P 1 Reply Last reply Reply Quote 0
                                          • P
                                            Palatinatus @TT-Tom last edited by Palatinatus

                                            @tt-tom
                                            Ich habe mehrfach an der Steckdose geschalten. Wonach suchst Du im Log? Gesendet wird ja eigentlich: "send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]"

                                            Bildschirmfoto 2024-07-19 um 17.03.37.png

                                            oder als Download:

                                            2024-07-19 17:05:47.019 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Icon1 else false ~17299~
                                            2024-07-19 17:05:47.075 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:05:47.081 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:05:47.085 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:05:48.020 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0FE0.cmnd.CustomSend[SmartHome/nspanel_CA0FE0/cmnd/CustomSend]
                                            2024-07-19 17:05:48.060 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0FE0.cmnd.CustomSend[SmartHome/nspanel_CA0FE0/cmnd/CustomSend]
                                            2024-07-19 17:05:48.064 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0FE0.cmnd.CustomSend[SmartHome/nspanel_CA0FE0/cmnd/CustomSend]
                                            2024-07-19 17:06:00.006 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: moments.js --> Datum 2024-07-19T05:41:00+02:00 valid?: true
                                            2024-07-19 17:06:00.008 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: moments.js --> Datum NO valid?: false
                                            2024-07-19 17:06:00.008 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: HandleScreensaverUpdate payload: weatherUpdate~~6550430.9 °C~~65363~Sonne~05:41~~26095~Wind~3.6m/s~~26095~Böen~5.4m/s~~65535~Windr.~NO~
                                            2024-07-19 17:06:00.009 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Entity ist kein String
                                            2024-07-19 17:06:00.009 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Icon1 else false 
                                            2024-07-19 17:06:00.009 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Entity ist kein String
                                            2024-07-19 17:06:00.009 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Icon1 else false ~17299~
                                            2024-07-19 17:06:00.527 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0FE0.cmnd.CustomSend[SmartHome/nspanel_CA0FE0/cmnd/CustomSend]
                                            2024-07-19 17:06:00.536 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0FE0.cmnd.CustomSend[SmartHome/nspanel_CA0FE0/cmnd/CustomSend]
                                            2024-07-19 17:06:00.541 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0FE0.cmnd.CustomSend[SmartHome/nspanel_CA0FE0/cmnd/CustomSend]
                                            2024-07-19 17:06:00.546 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0FE0.cmnd.CustomSend[SmartHome/nspanel_CA0FE0/cmnd/CustomSend]
                                            2024-07-19 17:06:00.550 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:00.554 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:00.559 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:00.573 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:05.007 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: HandleScreensaverUpdate payload: weatherUpdate~~6550430.9 °C~~38066~Fr~17° 31°~~65504~Sa~19° 32°~~25407~So~16° 26°~~38066~Mo~14° 25°~
                                            2024-07-19 17:06:05.008 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Entity ist kein String
                                            2024-07-19 17:06:05.008 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Icon1 else false 
                                            2024-07-19 17:06:05.008 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Entity ist kein String
                                            2024-07-19 17:06:05.009 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Icon1 else false ~17299~
                                            2024-07-19 17:06:05.058 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:05.062 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:05.064 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:23.013 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: moments.js --> Datum 2024-07-19T05:41:00+02:00 valid?: true
                                            2024-07-19 17:06:23.017 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: moments.js --> Datum NO valid?: false
                                            2024-07-19 17:06:23.018 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: HandleScreensaverUpdate payload: weatherUpdate~~6550430.9 °C~~65363~Sonne~05:41~~26095~Wind~3.6m/s~~26095~Böen~5.4m/s~~65535~Windr.~NO~
                                            2024-07-19 17:06:23.019 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Entity ist kein String
                                            2024-07-19 17:06:23.019 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Icon1 else false 
                                            2024-07-19 17:06:23.019 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Entity ist kein String
                                            2024-07-19 17:06:23.020 - info: javascript.0 (172507) script.js.NSPanels.NSPanal_x2_Bastelei_20240719: Icon1 else false ~17299~
                                            2024-07-19 17:06:23.075 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:23.085 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]
                                            2024-07-19 17:06:23.088 - info: mqtt.0 (170132) send2Server mqtt.0.SmartHome.nspanel_CA0EE4.cmnd.CustomSend[SmartHome/nspanel_CA0EE4/cmnd/CustomSend]

                                            In der Konsole der Steckdose:
                                            Bildschirmfoto 2024-07-19 um 17.28.23.png

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            820
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            265
                                            7292
                                            5000347
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo