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
      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
                                • Armilar
                                  Armilar Most Active Forum Testing @Palatinatus last edited by Armilar

                                  @palatinatus

                                  Wir schalten den SET nur als Fallback im Script 😉

                                  Deshalb funktioniert es...

                                  Schon mal versucht, die Büchse über den Sonoff-Adapter zu betreiben? Da gibt es nur Power true/false ...

                                  Alternativ den Alias lesend aus stat und schreibend auf cmnd

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

                                    @armilar

                                    nee den Sonoff Adapter habe ich noch nicht probiert.

                                    Wenn ich alternativ den Alias lesend aus stat und schreibend auf cmnd setze funktioniert es wenn ich zusätzlich (!!!) den stat auch in ACTUAL schreibe (also bei mir "mqtt.0.SmartHome.Haus.NN-Geschoss.NN-Zimmer.tasmota_6FA2ED.DVES_6FA2ED.stat.POWER")
                                    Da staunt der Laie und der Fachmann wundert sich. 😉

                                    Mein Problem ist damit gelöst.
                                    Vielen Dank 😄🎉👏🥳

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

                                      @palatinatus

                                      Ja wer hätte das gedacht 😉

                                      Super, hatte wenn ich das sehe doch etwas länger gedauert... Aber nun funktioniert es ja 😊

                                      1 Reply Last reply Reply Quote 2
                                      • R
                                        rockplums last edited by rockplums

                                        Hallo zusammen,

                                        ich habe aktuell 3 Panels laufen und habe jetzt ein Problem, wo ich einfach nicht weiterkomme.
                                        Wenn ich an ein Panel Text sende und die Datenpunkte:
                                        0_userdata.0.NSPanel.1.ScreensaverInfo.popupNotifyHeading
                                        und
                                        0_userdata.0.NSPanel.1.ScreensaverInfo.popupNotifyText setze,
                                        wird dieses korrekt am Panel dargestellt.

                                        Jetzt möchte ich diesen Inhalt am Panel nicht mehr angezeigt haben und kann dies nur durch Berührung am Screen machen. Jetzt meine Frage:
                                        Gibt es eine Möglichkeit, dass das Panel das Popup nicht mehr anzeigt, ohne das ich den Bildschirm berühre?
                                        Selbst wenn ich den Inhalt der Datenpunkte wieder entferne, bleibt die Anzeige auf dem Panel erhalten.

                                        Bildschirmfoto 2024-07-25 um 20.13.32.png

                                        Vielleicht kann mir ja jemand einen Tipp geben.

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

                                          @rockplums

                                          Kann es leider aktuell nicht testen. Aber aus dem Bauch heraus wäre eine Variante ein:

                                          notify~~
                                          

                                          direkt in den CustomSend Datenpunkt der MQTT-Instanz abzusetzen.

                                          R 1 Reply Last reply Reply Quote 1
                                          • R
                                            rockplums @Armilar last edited by

                                            @armilar

                                            Vielen Dank. Das funktioniert perfekt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            598
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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