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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    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 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
                  • P
                    Palatinatus @Armilar last edited by Palatinatus

                    @armilar

                    Dankeschön 😊

                    Kannst Du vielleicht mal einen Blick auf mein nächstes Problem werfen, das ich schon lange mit mir herumtrage. Mit Zigbee klappt das schalten der Smart Plugs ganz gut, allerdings habe ich mit Tasmota so meine Problemchen.
                    https://forum.iobroker.net/post/1181758

                    Ich bin beim Einstieg in ioBroker gleich in Probleme gelaufen die ich nicht zufriedenstellend lösen konnte, immer wenn ich abweichend vom ioBroker Masterkurs selbst was cooles machen wollte.

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

                      @palatinatus

                      das script triggert nicht auf den Alias. (ACTUAL)

                      kann es leider nicht nachvollziehen.

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

                        @tt-tom
                        Trotzdem herzlichen Dank.
                        Werde demnächst einen weiteren Raspi mit weiteren NSPanels aufsetzen. Mal schauen ob sich das Problem denn auf magische Weise auflöst. 😉

                        L T 2 Replies Last reply Reply Quote 0
                        • L
                          lustig29 @Palatinatus last edited by

                          War es denn nicht mal im Gespräch, dass es eine Möglichkeit geben soll das Ns Panel ohne Skript zu programmieren, ähnlich wie bei Homeassitant?

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

                            @lustig29

                            Wir sind dabei einen Adapter zu programmieren, kann aber noch dauern. Der Plan ist zum Ende des Jahres. Die große Herausforderung ist die einfache Erstellung der Seiten.

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

                              @palatinatus

                              Irgendwie lässt mir das keine Ruhe.

                              Welche Statuswert senden eigentlich die Zigbee Dosen. True False oder auch on off??

                              Setzte das Panel bitte nochmal in den Debugmodus und ändere dann mal die Werte im Alias Datenpunkt SET von True auf False und zurück. Dann bitte den Protokollauszug posten.

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

                                @tt-tom
                                Bei den Girier Dosen (werden als Tuya BSD29_1 erkannt) gibt es kein ACTUAL sondern nur SET, das SET nimmt aber egal wo geschalten wird true oder false an.

                                Zu den mqtt Tasmota Gosund Dosen:
                                In Objekte/alias/0/Gosund_Port5/ nimmt ACTUAL den Wert true und false an. Irgendwie hab ich gerade das Gefühl da stimmt eher was nicht im "NsPanelTs.ts"-script nicht.

                                Armilar 1 Reply Last reply Reply Quote 0
                                • Armilar
                                  Armilar Most Active Forum Testing @Palatinatus last edited by

                                  @palatinatus

                                  gibt es kein ACTUAL sondern nur SET, das SET nimmt aber egal wo geschalten wird true oder false an.

                                  Die Theorie ist mir neu 😉

                                  4ecd5af3-8561-450a-9352-55a0e5985d47-image.png

                                  Es muss immer einen ACTUAL geben... SET und ACTUAL dürfen dabei auf den gleichen Datenpunkt

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    Palatinatus @Armilar last edited by Palatinatus

                                    @armilar
                                    Die Praxis ist anders 😉, s. Gosund_Port5 und Schreibtischlampe bzw. Schreibtischlampe_weiss. Könnte vielleicht am Zigbee liegen. 🤷‍♂️

                                    Bildschirmfoto 2024-07-20 um 18.01.43.png

                                    Armilar 1 Reply Last reply Reply Quote 0
                                    • Armilar
                                      Armilar Most Active Forum Testing @Palatinatus last edited by

                                      @palatinatus

                                      Welche Praxis?

                                      Geräte-Manager benutzen, Steckdose auswählen, ACTUAL und SET mit dem gleichen DP belegen, speichern und fertig

                                      P 1 Reply Last reply Reply Quote 0
                                      • P
                                        Palatinatus @Armilar last edited by

                                        @armilar

                                        🤷‍♂️ kann ja sein aber das war ja nicht das Problem. Beim Zigbee geht es ja auch wenn ACTUAL nicht da ist.

                                        Armilar 1 Reply Last reply Reply Quote 0
                                        • Armilar
                                          Armilar Most Active Forum Testing @Palatinatus last edited by

                                          @palatinatus

                                          Verstehe ich das richtig, die Gosund funktioniert nicht?

                                          Dann mache den ACTUAL genauso wie den SET über cmnd/POWER.

                                          P 1 Reply Last reply Reply Quote 0
                                          • P
                                            Palatinatus @Armilar last edited by Palatinatus

                                            @armilar
                                            cmnd/POWER wird nicht über den Button an der Steckdose auf true und false gesetzt.

                                            Bei der Zigbee habe ich über den Gerätemanager in ACTUAL nochmal das gleiche reinkopiert wie in SET stand:
                                            Bildschirmfoto 2024-07-20 um 18.24.35.png
                                            heißt hier jetzt allerdings ON_ACTUAL.
                                            Ich weiß zwar nicht wozu das Anlegen von ACTUAL gut sein soll, wenn es auch ohne funktioniert aber es geht zumindest immer noch. 😉

                                            Achso, das ursprüngliche Problem war und ist, dass das Button drücken an der Steckdose die Schalterstellung on/off im NSPanel nicht verändert hat. Bei der Zigbee Steckdose geht es, bei der Tasmota Steckdose über mqtt geht es nicht.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            260
                                            7128
                                            4304296
                                            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