Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Aus HTML Befehl das Ergebnis in ein Datenpunkt schreiben

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Aus HTML Befehl das Ergebnis in ein Datenpunkt schreiben

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @RainerSausK last edited by

      @RainerSausK

      nimm das setze result oben weg

      damit bekommst du dann deinen wert auf result angewendet
      Image 6.png

      <block xmlns="https://developers.google.com/blockly/xml" type="debug" id="Scb!Qt)8`|HCX`DvQw$C" x="-837.0377807617189" y="262.00010681152366">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id=":BDGJMc@S17GI^G%@,vR">
            <field name="TEXT">test</field>
          </shadow>
          <block type="text_getSubstring" id="iq4o[qwqQ_mj)m]oy5|~">
            <mutation at1="true" at2="true"></mutation>
            <field name="WHERE1">FROM_START</field>
            <field name="WHERE2">FROM_START</field>
            <value name="STRING">
              <block type="variables_get" id=":w?^d}~kaH.z3=?lrAxg">
                <field name="VAR" id="C{Leg;p1r5dq4z$;*6:^">dddd</field>
              </block>
            </value>
            <value name="AT1">
              <block type="math_arithmetic" id="(gp6Jj,HS%#,V@7c(dAB">
                <field name="OP">ADD</field>
                <value name="A">
                  <shadow type="math_number" id="*b~*[wwwPMw^TygNZiA.">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="text_indexOf" id=")nXls=P*bF71,P@y@!F-">
                    <field name="END">FIRST</field>
                    <value name="VALUE">
                      <block type="variables_get" id="pP8B,ajHOue)I:kGVgRE">
                        <field name="VAR" id="C{Leg;p1r5dq4z$;*6:^">dddd</field>
                      </block>
                    </value>
                    <value name="FIND">
                      <shadow type="text" id="Cw[HZ~Z^`@FTRFWIe#Wi">
                        <field name="TEXT">&lt;sessionId&gt;</field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="uO1*s.@[SvHUeSW;SVW_">
                    <field name="NUM">11</field>
                  </shadow>
                </value>
              </block>
            </value>
            <value name="AT2">
              <block type="math_arithmetic" id="b3Ln`w^E0{,/=P,PuSGb">
                <field name="OP">MINUS</field>
                <value name="A">
                  <shadow type="math_number" id=".AQX7iGUyx.M/2HQ5`ny">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="text_indexOf" id="[`!5VnH4hV{S!c~0p[x2">
                    <field name="END">FIRST</field>
                    <value name="VALUE">
                      <block type="variables_get" id="7e;Xwc;#h#nxk{y=VrjH">
                        <field name="VAR" id="C{Leg;p1r5dq4z$;*6:^">dddd</field>
                      </block>
                    </value>
                    <value name="FIND">
                      <shadow type="text" id="2rOSC8j:%M#c,^J9^ONV">
                        <field name="TEXT">&lt;/sessionId&gt; </field>
                      </shadow>
                    </value>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id="l|PFF8P`;S=F5mzRvAL=">
                    <field name="NUM">1</field>
                  </shadow>
                </value>
              </block>
            </value>
          </block>
        </value>
      </block>
      
      R 1 Reply Last reply Reply Quote 0
      • R
        RainerSausK @liv-in-sky last edited by

        @liv-in-sky Bitte um Nachsicht...

        Wie bekomme ich denn "result" in meinen Datenpunkt? Das ist nach meinem Verständnis keine Variable?

        3adb886f-e40b-4198-aab8-ef12c0a8ef7e-grafik.png

        Wenn ich die Variable "dddd" nicht vorbelege, bekomme ich eine Fehlermeldung.

        Danke für die Rückmeldung...

        R liv-in-sky 3 Replies Last reply Reply Quote 0
        • R
          RainerSausK @RainerSausK last edited by

          @RainerSausK Das Ergebnis müsste dochg jetzt in "dddd" stehen, oder?

          1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @RainerSausK last edited by liv-in-sky

            @RainerSausK

            klicke ddd an und wähle result aus

            smart85.gif

            R 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @RainerSausK last edited by

              @RainerSausK und mache das erste blockly module weg - setze ... auf (ganz oben)

              das brauchst du nicht nur das request blockly

              1 Reply Last reply Reply Quote 0
              • R
                RainerSausK @liv-in-sky last edited by

                @liv-in-sky Ich habe bei mir kein "result"?!

                0435be35-5c39-4215-b85a-7e1dfeca32f8-grafik.png

                liv-in-sky 3 Replies Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @RainerSausK last edited by

                  @RainerSausK

                  dann gehe unter Variablen und lege eine variable result an

                  1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @RainerSausK last edited by liv-in-sky

                    @RainerSausK

                    Image 8.png

                    ich habe 2 monitore und daher das log und das script offen und kann so beobachten

                    1 Reply Last reply Reply Quote 1
                    • liv-in-sky
                      liv-in-sky @RainerSausK last edited by

                      @RainerSausK
                      smart85.gif

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        RainerSausK @liv-in-sky last edited by

                        @liv-in-sky Supi... Das hat funktioniert. Es steht zwar noch mehr im Datenpunkt als benötigt,

                        a2d58fe7-7eab-4dbb-82a4-924913353800-grafik.png

                        aber jetzt komme ich den Rest sicherlich auch hin.

                        Vielen dank für deine Unterstützung und Geduld...

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @RainerSausK last edited by

                          @RainerSausK

                          👍

                          1 Reply Last reply Reply Quote 0
                          • I
                            ITCrowd @RainerSausK last edited by ITCrowd

                            @RainerSausK Lange Rede kurzer Sinn.
                            Aber genau das stand alles im ersten Post. 😂

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            548
                            Online

                            32.1k
                            Users

                            80.6k
                            Topics

                            1.3m
                            Posts

                            blockly javascript multimedia
                            4
                            17
                            490
                            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