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

      @frank579

      Ja, das sieht auch sehr schön aus. Wie erwartet. Aber warum kann es dann der ioBroker nicht?

      Sieh mal nach, ob in deiner ioBroker JavaScript-Adapter-Instanz u.a.

      request

      unter npm-Module eingetragen ist?

      e773c294-3625-4484-a46b-8812a2e1568a-image.png

      Falls nicht, kurz eintragen, speichern und den ioBroker mal durchstarten

      F 1 Reply Last reply Reply Quote 0
      • TomDuke
        TomDuke last edited by

        @Armilar

        auf meinem Raspberry, dort läuft mein ioBroker, ist die Zeit auch korrekt,
        habs mit Date ausgelesen, Neustart vom Pi hat auch nichts gebracht

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

          @tomduke

          Erstelle kurz ein Blockly

          f266ac6f-d6f8-498d-8d42-9b9e9ddfb677-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>
          

          Dann vergleiche es mit der Uhrzeit

          TomDuke 1 Reply Last reply Reply Quote 0
          • F
            Frank579 @Armilar last edited by

            @armilar
            War nicht drin, hat aber auch nichts verändert 😞

            Armilar egal 2 Replies Last reply Reply Quote 0
            • Armilar
              Armilar Most Active Forum Testing @Frank579 last edited by Armilar

              @frank579

              294a6bef-9470-45db-830a-7196b7486059-image.png

              Das ist die Funktion über die wir sprechen. Trage mal die IP fest ein und starte neu? Was passiert?

              EDIT: Also wie gerade eben im Browser:

              `http://${get_current_tasmota_ip_address()}/cm?cmnd=Status0`
              

              Die Formatierung der Anführungszeichen sollte ` sein.

              F 1 Reply Last reply Reply Quote 0
              • TomDuke
                TomDuke @Armilar last edited by

                @armilar sagte in SONOFF NSPanel mit Lovelace UI:

                @tomduke

                Erstelle kurz ein Blockly

                f266ac6f-d6f8-498d-8d42-9b9e9ddfb677-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>
                

                Dann vergleiche es mit der Uhrzeit

                Ok, damit geht es, danke

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

                  @chrille1507 sagte in SONOFF NSPanel mit Lovelace UI:

                  red

                  460f58bf-d4a0-4c78-b66e-ff9b8556e7ec-image.png

                  Es gibt im Script keine Farbekonstante mit kleingeschriebenen "red" sondern mit großgeschriebenen "Red". Da dürfte der Fehler liegen

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

                    @tomduke

                    Wie damit geht es? Ist die gleiche Funktion wie im Script??? Sollte auch die gleiche Zeit anzeigen...

                    1 Reply Last reply Reply Quote 0
                    • egal
                      egal @Frank579 last edited by

                      @frank579
                      WebAdmin Passwort im Tasmota vergeben ?
                      das war mein Thema 😉

                      Armilar F 2 Replies Last reply Reply Quote 2
                      • F
                        Frank579 @Armilar last edited by

                        @armilar
                        sieht jetzt so aus

                        function get_tasmota_status0() {
                            try {
                                if (Debug) {
                                    console.log('Requesting tasmota status0');
                                }
                                request({ 
                                    url: `http://192.168.50.62/cm?cmnd=Status0`,
                                    headers: {
                                        'User-Agent': 'ioBroker'
                        

                        kommt aber auch nichts

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

                          @egal

                          guter Hinweis... darf nämlich nicht

                          egal 1 Reply Last reply Reply Quote 1
                          • F
                            Frank579 @egal last edited by Frank579

                            @egal sagte in SONOFF NSPanel mit Lovelace UI:

                            WebAdmin Passwort im Tasmota vergeben ?

                            Natürlich 🙂
                            Habe überall Passwörter gesetzt ...

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              Frank579 @Frank579 last edited by

                              @frank579
                              okay dann muss ich das wohl mal raus holen 🙂

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

                                @frank579

                                IP ermitteln kann das Skript schon... Passworter hacken noch nicht 😉

                                F 1 Reply Last reply Reply Quote 0
                                • egal
                                  egal @Armilar last edited by egal

                                  @armilar
                                  oder script anpassen:

                                  `http://${get_current_tasmota_ip_address()}/cm?user=admin&password=PASSWORD&cmnd=Status0`
                                  

                                  (alle meine Tasmotas, Shellys, ESP-Homes + Co haben Passwörter)

                                  edit: Korrektur s.o.

                                  Armilar F 2 Replies Last reply Reply Quote 0
                                  • Armilar
                                    Armilar Most Active Forum Testing @egal last edited by

                                    @egal

                                    Habe ich eben auch drüber nachgedacht... Mit weiteren Parametern 🙄

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      Frank579 @Armilar last edited by

                                      @armilar
                                      Ohne Passwort geht's 👍
                                      Hätte man drauf kommen können wenn man es nirgendwo angeben muss. Dachte aber läuft alles über MQTT

                                      Armilar 1 Reply Last reply Reply Quote 0
                                      • F
                                        Frank579 @egal last edited by

                                        @egal sagte in SONOFF NSPanel mit Lovelace UI:

                                        http://${get_current_tasmota_ip_address()}/cm?user=admin&PASSWORD&cmnd=Status0

                                        Glaube dann mach ich das auch mal so 🙂

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

                                          @frank579

                                          Ich vermute jetzt sind alle Warnungen weg?

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            Frank579 @Armilar last edited by

                                            @armilar Ja Super jetzt läuft alles 👍

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            535
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            265
                                            7308
                                            5011732
                                            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