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

      @michael_4358 sagte in SONOFF NSPanel mit Lovelace UI:

      nun zeigt das Panel nicht mehr die richtige Uhrzeit...
      Uhrzeit im pi und im Broker sind aber richtig...
      muss ich noch was beachten?

      zeit ist auf richtige Einstellung.
      node.js ist Version 16.18.1

      1cdd8e2b-b22f-4c58-9f78-52c0b01e6407-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="schedule" id="6Yu`)QwfE4qpNfmr268P" x="87" y="37">
          <field name="SCHEDULE">* * * * * *</field>
          <statement name="STATEMENT">
            <block type="debug" id="l?5O/}11]yr#/m#;`2FP">
              <field name="Severity">log</field>
              <value name="TEXT">
                <shadow type="text" id=";K3bqfLSLWG6r5B(k/C{">
                  <field name="TEXT">test</field>
                </shadow>
                <block type="time_get" id="(NH7-ko5K-Lstw6QrhtK">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                  <field name="OPTION">hh:mm:ss.sss</field>
                </block>
              </value>
            </block>
          </statement>
        </block>
      </xml>
      

      Im Spoiler ist das o.a. Blockly. Führe das mal aus und teile das Ergebnis mit

      M 1 Reply Last reply Reply Quote 0
      • M
        michael_4358 @Armilar last edited by

        @armilar said in SONOFF NSPanel mit Lovelace UI:

        <xml xmlns="https://developers.google.com/blockly/xml"> <block type="schedule" id="6Yu)QwfE4qpNfmr268P" x="87" y="37"> <field name="SCHEDULE">* * * * * *</field> <statement name="STATEMENT"> <block type="debug" id="l?5O/}11]yr#/m#;2FP"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id=";K3bqfLSLWG6r5B(k/C{"> <field name="TEXT">test</field> </shadow> <block type="time_get" id="(NH7-ko5K-Lstw6QrhtK"> <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation> <field name="OPTION">hh:mm:ss.sss</field> </block> </value> </block> </statement> </block> </xml>

        Bildschirm­foto 2022-12-08 um 16.37.47.png

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

          @michael_4358

          Sieht für mich aber immer noch nach einer falschen Zeitzone aus. Alternativ Sommer und Winterzeit.

          Was zeigt das Script, wenn du vorher:

          sudo ntpd -qg
          

          ausführst?

          M 1 Reply Last reply Reply Quote 0
          • M
            michael_4358 @Armilar last edited by

            @armilar said in SONOFF NSPanel mit Lovelace UI:

            sudo ntpd -qg

            sudo ntpd -qg
            sudo: ntpd: Befehl nicht gefunden
            
            Armilar 1 Reply Last reply Reply Quote 0
            • Armilar
              Armilar Most Active Forum Testing @michael_4358 last edited by Armilar

              @michael_4358

              was sagt:

              date
              

              und

              date -u
              

              oder noch besser gleich

              sudo timedatectl status
              

              da kommt ja eigentlich schon alles an Infos

              M 1 Reply Last reply Reply Quote 0
              • M
                michael_4358 @Armilar last edited by michael_4358

                @armilar said in SONOFF NSPanel mit Lovelace UI:

                sudo timedatectl status

                sudo timedatectl status
                               Local time: Do 2022-12-08 18:24:36 CET
                           Universal time: Do 2022-12-08 17:24:36 UTC
                                 RTC time: n/a
                                Time zone: Europe/Berlin (CET, +0100)
                System clock synchronized: no
                              NTP service: active
                          RTC in local TZ: no
                

                EdiT:

                der klassische rebot hat es gelöst.....

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

                  @michael_4358

                  Sehr gut... Ja das sieht doch ordentlich aus... 👍

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom_W last edited by

                    Absolut tolle Arbeit hier, hatte heute auch mal mein Skript geupdatet, kamen 2 Fehlermeldungen.
                    Kurz hier Forensuche, sleber Fehler wie bean, da selbe Ausgangssituation und auch schon die Lösung von Armilar dazu.
                    Absolut perfekt, danke!

                    1 Reply Last reply Reply Quote 1
                    • V
                      valbuz @Armilar last edited by

                      @armilar Danke! Werd's mal probieren 👍

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

                        @tom_w

                        Absolut tolle Arbeit hier, hatte heute auch mal mein Skript geupdatet, kamen 2 Fehlermeldungen.
                        Kurz hier Forensuche, sleber Fehler wie bean, da selbe Ausgangssituation und auch schon die Lösung von Armilar dazu.
                        Absolut perfekt, danke!

                        Ja, genauso soll es sein. Dann wächst der Spaßfaktor auch...

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

                          @valbuz

                          Viel erfolg...

                          1 Reply Last reply Reply Quote 0
                          • V
                            valbuz @Armilar last edited by

                            @armilar Hat soweit geklappt. Danke
                            Weisst Du auch wie ich das Berry Scripting wieder löschen kann? Flashen reicht da nicht.
                            Danke nochmals.
                            Pat

                            Armilar 1 Reply Last reply Reply Quote 0
                            • M
                              michael_4358 last edited by michael_4358

                              https://github.com/joBr99/nspanel-lovelace-ui/wiki/ioBroker-Card-Definitionen-(Seiten)#cardpower-ab-ts-script-v341

                              ich bin dabei mir die cardpower einzubinden.

                              habe den Datenpunkt angelegt und auch einen alias.
                              wenn ich diesen angelegt habe erscheint mir der nicht in den geräten... aber neu anlegen geht auch nicht da dieser schon vergeben ist...

                              B 1 Reply Last reply Reply Quote 0
                              • B
                                bean @michael_4358 last edited by

                                @michael_4358 said in SONOFF NSPanel mit Lovelace UI:

                                aber dann klemmt es.. der datenpunkt muss noch nachgetragen werden?
                                oder
                                verstehe ich das falsch?

                                Du brauchst ein eigenes Script, welches den Datenpunkt befüllt.
                                Bei deinem Link ist ein Beispielscript in Blockly hinterlegt, dieses kannst du anpassen.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  michael_4358 @bean last edited by

                                  @bean

                                  das habe ich gesehen aber dennoch muss ich doch diesen alias anlegen
                                  oder❓

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    bean @michael_4358 last edited by

                                    @michael_4358 said in SONOFF NSPanel mit Lovelace UI:

                                    das habe ich gesehen aber dennoch muss ich doch diesen alias anlegen
                                    oder

                                    Ja genau, ich habe einen Datenpunkt 0_userdata.0.NSPanel_1.CardPower vom Typ "json", und einen Alias auf diesen Datenpunkt. Das Script befüllt das userdata-Objekt und das Typescript liest den Alias

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      michael_4358 @bean last edited by

                                      @bean

                                      wie hast du den alias betitelt❓
                                      als info oder als was❓

                                      ich hab den als info angelegt und actual daruf gelegt und nun wird mir dieser nicht mehr angezeigt

                                      neu anlegen geht nicht weil schon vergeben
                                      löschen geht nicht weil nicht sichtbar...

                                      B M T 3 Replies Last reply Reply Quote 0
                                      • B
                                        bean @michael_4358 last edited by

                                        @michael_4358
                                        CardPower1.jpg CardPower2.jpg CardPower3.jpg

                                        1 Reply Last reply Reply Quote 1
                                        • M
                                          michael_4358 @michael_4358 last edited by

                                          @michael_4358 said in SONOFF NSPanel mit Lovelace UI:

                                          @bean

                                          das habe ich

                                          gerät als info angelegt und den actual drauf.

                                          doch der dp füllt sich nicht

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            bean @michael_4358 last edited by

                                            @michael_4358
                                            Läuft denn das blockly-Script, welches den Datenpunkt befüllt?

                                            Ganz unten im Script muss der CardPower Datenpunkt zum schreiben ausgewählt werden - und du musst natürlich das Script an deine Datenpunkte anpassen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            865
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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