Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Mal wieder Bearbeitung von erzeugten Listen

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Mal wieder Bearbeitung von erzeugten Listen

Geplant Angeheftet Gesperrt Verschoben Blockly
11 Beiträge 3 Kommentatoren 913 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • H Offline
    H Offline
    Hausbaer
    schrieb am zuletzt editiert von
    #1

    Guten Morgen,

    das Bearbeiten von mit Skripten erzeugten Listen bereitet mir noch Kopfschmerzen.

    Ich brauch da nochmal Unterstützung.

    Über folgendes Blockly erzeuge ich mir eine Liste mit Mac-Adressen:

    8d937eac-e01e-4414-9815-a73574537021-image.png

    <block xmlns="https://developers.google.com/blockly/xml" type="schedule_create" id="p{JH-w___!#NoWc%H.xa" x="913" y="-162">
      <field name="NAME">schedule1</field>
      <value name="SCHEDULE">
        <shadow type="field_cron" id="*c,ozorf-ukDF{BOY#bU">
          <field name="CRON">* * * * *</field>
        </shadow>
      </value>
      <statement name="STATEMENT">
        <block type="debug" id="Z.}rdH!/;96YIdhWXSz{">
          <field name="Severity">info</field>
          <value name="TEXT">
            <shadow type="text" id="Q,1)^M%sNRUk}GtLF=51">
              <field name="TEXT">test</field>
            </shadow>
            <block type="text_join" id="8i#I-OtxR/.6WT_ic~=5">
              <mutation items="1"></mutation>
              <value name="ADD0">
                <block type="text" id="gL2**a)J^WJ1]DOfW+IU">
                  <field name="TEXT">Trigger hat aktualisiert!</field>
                </block>
              </value>
            </block>
          </value>
          <next>
            <block type="variables_set" id="Z[%W+Lr1mIic7hmCGiK~">
              <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
              <value name="VALUE">
                <block type="lists_create_with" id="WYNoUiH~bOV~*|#7gX!G">
                  <mutation items="0"></mutation>
                </block>
              </value>
              <next>
                <block type="controls_forEach" id="C0PmH{n5n7_x0SvWa1~C">
                  <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                  <value name="LIST">
                    <block type="selector" id="N7TI=~k~pRF/Bb^jL[r|">
                      <field name="TEXT">channel[state.id=unifi.0.default.clients.*.mac]</field>
                    </block>
                  </value>
                  <statement name="DO">
                    <block type="lists_setIndex" id="K%|fcw[c5=V(|C5``c,F" inline="false">
                      <mutation at="false"></mutation>
                      <field name="MODE">INSERT</field>
                      <field name="WHERE">LAST</field>
                      <value name="LIST">
                        <block type="variables_get" id="D}5N@m,iVB.x/M_.c00N">
                          <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                        </block>
                      </value>
                      <value name="TO">
                        <block type="lists_create_with" id="jLzATrp[BYaUr5#xEgOg">
                          <mutation items="2"></mutation>
                          <value name="ADD0">
                            <block type="variables_get" id="=4hR%DR=ZyMA3GkA!Wke">
                              <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                            </block>
                          </value>
                          <value name="ADD1">
                            <block type="get_value_var" id=",m#|GDAn.y99dqu3~zQO">
                              <field name="ATTR">val</field>
                              <value name="OID">
                                <shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
                                  <field name="oid">ID auswählen</field>
                                </shadow>
                                <block type="variables_get" id="N!J9yh=:.I]Os;_tfli[">
                                  <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <next>
                    <block type="update" id="~fL~tIck4G8z%%]yzIAy">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.it.test.testliste_it</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="variables_get" id="_Yy@brsm04O7}XG!pZg#">
                          <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                        </block>
                      </value>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </statement>
    </block>
    

    Das Ergebnis im DP sieht so aus, wobei das nicht vollständig ist:

    b9085fd3-2932-44df-be8a-da03115b2d8f-image.png

    Daraus lese ich den jeweils ersten Eintrag aus und lasse diesen zeitgleich löschen. Damit möchte ich weiterarbeiten.

    6a30e17e-a25d-4ccf-aa72-732c325cf97f-image.png

    <block xmlns="https://developers.google.com/blockly/xml" type="on" id="QJ[PiL_cEe]y0?6AauJ+" x="937.1389785106653" y="312.4999999999999">
      <field name="OID">0_userdata.0.it.test.testliste_it</field>
      <field name="CONDITION">ne</field>
      <field name="ACK_CONDITION"></field>
      <statement name="STATEMENT">
        <block type="variables_set" id="R.lFQo:TC`=(r:_cO)#6">
          <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
          <value name="VALUE">
            <block type="lists_create_with" id="7EO`G@@O?*Z])Es+rjg~">
              <mutation items="0"></mutation>
            </block>
          </value>
          <next>
            <block type="lists_setIndex" id="gK/DbSM2!?2{=s@8Yopc" inline="false">
              <mutation at="false"></mutation>
              <field name="MODE">INSERT</field>
              <field name="WHERE">LAST</field>
              <value name="LIST">
                <block type="variables_get" id="z=oHMJ)TFbZq[MKQz*P/">
                  <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
                </block>
              </value>
              <value name="TO">
                <block type="lists_getIndex" id="FPg^fZneuE/A?c;q#f*$">
                  <mutation statement="false" at="true"></mutation>
                  <field name="MODE">GET_REMOVE</field>
                  <field name="WHERE">FROM_START</field>
                  <value name="VALUE">
                    <block type="variables_get" id="5ZK8%QG;N|JRc[p|@rg|">
                      <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                    </block>
                  </value>
                  <value name="AT">
                    <block type="math_number" id="cu=J~sU@b@pQ|!Q^V}@+">
                      <field name="NUM">1</field>
                    </block>
                  </value>
                </block>
              </value>
              <next>
                <block type="update" id="m9e+9fIEAyON,QNKguXK">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">0_userdata.0.it.test.testliste_2</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="variables_get" id="^N/|Bf4SLxj?UOncFI!@">
                      <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
                    </block>
                  </value>
                </block>
              </next>
            </block>
          </next>
        </block>
      </statement>
    </block>
    

    Der Eintrag im DP sieht wie erwartet so aus:

    95fbfc8e-1817-4153-807d-e100d8cb8b04-image.png

    Und jetzt fängt mein Problem bzw. mein Unverständnis an.
    Wie bekomme ich den Wert nach dem Komma separariert (im Bild der rote Bereich), so dass ich damit weiterarbeiten kann?

    d74dde5b-f70b-432d-9bbd-8f3858966c94-image.png

    Vermutlich wird das über jsonata funktionieren? Nur: Wie muss das in diesem Fall aussehen?
    Der ganze Wert ist ein Attribut, zudem vom Schleife zu Schleife jedes Mal unterschiedlich.

    Danke für die Unterstützung

    mickymM CodierknechtC 2 Antworten Letzte Antwort
    0
    • H Hausbaer

      Guten Morgen,

      das Bearbeiten von mit Skripten erzeugten Listen bereitet mir noch Kopfschmerzen.

      Ich brauch da nochmal Unterstützung.

      Über folgendes Blockly erzeuge ich mir eine Liste mit Mac-Adressen:

      8d937eac-e01e-4414-9815-a73574537021-image.png

      <block xmlns="https://developers.google.com/blockly/xml" type="schedule_create" id="p{JH-w___!#NoWc%H.xa" x="913" y="-162">
        <field name="NAME">schedule1</field>
        <value name="SCHEDULE">
          <shadow type="field_cron" id="*c,ozorf-ukDF{BOY#bU">
            <field name="CRON">* * * * *</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="debug" id="Z.}rdH!/;96YIdhWXSz{">
            <field name="Severity">info</field>
            <value name="TEXT">
              <shadow type="text" id="Q,1)^M%sNRUk}GtLF=51">
                <field name="TEXT">test</field>
              </shadow>
              <block type="text_join" id="8i#I-OtxR/.6WT_ic~=5">
                <mutation items="1"></mutation>
                <value name="ADD0">
                  <block type="text" id="gL2**a)J^WJ1]DOfW+IU">
                    <field name="TEXT">Trigger hat aktualisiert!</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="variables_set" id="Z[%W+Lr1mIic7hmCGiK~">
                <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                <value name="VALUE">
                  <block type="lists_create_with" id="WYNoUiH~bOV~*|#7gX!G">
                    <mutation items="0"></mutation>
                  </block>
                </value>
                <next>
                  <block type="controls_forEach" id="C0PmH{n5n7_x0SvWa1~C">
                    <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                    <value name="LIST">
                      <block type="selector" id="N7TI=~k~pRF/Bb^jL[r|">
                        <field name="TEXT">channel[state.id=unifi.0.default.clients.*.mac]</field>
                      </block>
                    </value>
                    <statement name="DO">
                      <block type="lists_setIndex" id="K%|fcw[c5=V(|C5``c,F" inline="false">
                        <mutation at="false"></mutation>
                        <field name="MODE">INSERT</field>
                        <field name="WHERE">LAST</field>
                        <value name="LIST">
                          <block type="variables_get" id="D}5N@m,iVB.x/M_.c00N">
                            <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                          </block>
                        </value>
                        <value name="TO">
                          <block type="lists_create_with" id="jLzATrp[BYaUr5#xEgOg">
                            <mutation items="2"></mutation>
                            <value name="ADD0">
                              <block type="variables_get" id="=4hR%DR=ZyMA3GkA!Wke">
                                <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="get_value_var" id=",m#|GDAn.y99dqu3~zQO">
                                <field name="ATTR">val</field>
                                <value name="OID">
                                  <shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
                                    <field name="oid">ID auswählen</field>
                                  </shadow>
                                  <block type="variables_get" id="N!J9yh=:.I]Os;_tfli[">
                                    <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="update" id="~fL~tIck4G8z%%]yzIAy">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.it.test.testliste_it</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="variables_get" id="_Yy@brsm04O7}XG!pZg#">
                            <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
      

      Das Ergebnis im DP sieht so aus, wobei das nicht vollständig ist:

      b9085fd3-2932-44df-be8a-da03115b2d8f-image.png

      Daraus lese ich den jeweils ersten Eintrag aus und lasse diesen zeitgleich löschen. Damit möchte ich weiterarbeiten.

      6a30e17e-a25d-4ccf-aa72-732c325cf97f-image.png

      <block xmlns="https://developers.google.com/blockly/xml" type="on" id="QJ[PiL_cEe]y0?6AauJ+" x="937.1389785106653" y="312.4999999999999">
        <field name="OID">0_userdata.0.it.test.testliste_it</field>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <statement name="STATEMENT">
          <block type="variables_set" id="R.lFQo:TC`=(r:_cO)#6">
            <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
            <value name="VALUE">
              <block type="lists_create_with" id="7EO`G@@O?*Z])Es+rjg~">
                <mutation items="0"></mutation>
              </block>
            </value>
            <next>
              <block type="lists_setIndex" id="gK/DbSM2!?2{=s@8Yopc" inline="false">
                <mutation at="false"></mutation>
                <field name="MODE">INSERT</field>
                <field name="WHERE">LAST</field>
                <value name="LIST">
                  <block type="variables_get" id="z=oHMJ)TFbZq[MKQz*P/">
                    <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
                  </block>
                </value>
                <value name="TO">
                  <block type="lists_getIndex" id="FPg^fZneuE/A?c;q#f*$">
                    <mutation statement="false" at="true"></mutation>
                    <field name="MODE">GET_REMOVE</field>
                    <field name="WHERE">FROM_START</field>
                    <value name="VALUE">
                      <block type="variables_get" id="5ZK8%QG;N|JRc[p|@rg|">
                        <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                      </block>
                    </value>
                    <value name="AT">
                      <block type="math_number" id="cu=J~sU@b@pQ|!Q^V}@+">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="update" id="m9e+9fIEAyON,QNKguXK">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">0_userdata.0.it.test.testliste_2</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="variables_get" id="^N/|Bf4SLxj?UOncFI!@">
                        <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </statement>
      </block>
      

      Der Eintrag im DP sieht wie erwartet so aus:

      95fbfc8e-1817-4153-807d-e100d8cb8b04-image.png

      Und jetzt fängt mein Problem bzw. mein Unverständnis an.
      Wie bekomme ich den Wert nach dem Komma separariert (im Bild der rote Bereich), so dass ich damit weiterarbeiten kann?

      d74dde5b-f70b-432d-9bbd-8f3858966c94-image.png

      Vermutlich wird das über jsonata funktionieren? Nur: Wie muss das in diesem Fall aussehen?
      Der ganze Wert ist ein Attribut, zudem vom Schleife zu Schleife jedes Mal unterschiedlich.

      Danke für die Unterstützung

      mickymM Online
      mickymM Online
      mickym
      Most Active
      schrieb am zuletzt editiert von
      #2

      @hausbaer dais einfach eine Liste in einer Liste. Sprich jedes Element Deiner Liste enthält wieder eine Liste und du suchst aus dieser 2. Liste das 2. Element.

      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

      H 1 Antwort Letzte Antwort
      0
      • mickymM mickym

        @hausbaer dais einfach eine Liste in einer Liste. Sprich jedes Element Deiner Liste enthält wieder eine Liste und du suchst aus dieser 2. Liste das 2. Element.

        H Offline
        H Offline
        Hausbaer
        schrieb am zuletzt editiert von Hausbaer
        #3

        @mickym sagte in Mal wieder Bearbeitung von erzeugten Listen:

        @hausbaer dais einfach eine Liste in einer Liste. Sprich jedes Element Deiner Liste enthält wieder eine Liste und du suchst aus dieser 2. Liste das 2. Element.

        Das war mein Gedankengang, den ich mit diesem Schritt

        0644e6fe-141e-4f4c-805d-d4c963a83e47-image.png

        überprüfen wollte.

        Dann dürfte in diesem Fall der rote Bereich aus dem Bild eben NICHT auftauchen:

        d74dde5b-f70b-432d-9bbd-8f3858966c94-image.png

        1 Antwort Letzte Antwort
        0
        • H Hausbaer

          Guten Morgen,

          das Bearbeiten von mit Skripten erzeugten Listen bereitet mir noch Kopfschmerzen.

          Ich brauch da nochmal Unterstützung.

          Über folgendes Blockly erzeuge ich mir eine Liste mit Mac-Adressen:

          8d937eac-e01e-4414-9815-a73574537021-image.png

          <block xmlns="https://developers.google.com/blockly/xml" type="schedule_create" id="p{JH-w___!#NoWc%H.xa" x="913" y="-162">
            <field name="NAME">schedule1</field>
            <value name="SCHEDULE">
              <shadow type="field_cron" id="*c,ozorf-ukDF{BOY#bU">
                <field name="CRON">* * * * *</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="debug" id="Z.}rdH!/;96YIdhWXSz{">
                <field name="Severity">info</field>
                <value name="TEXT">
                  <shadow type="text" id="Q,1)^M%sNRUk}GtLF=51">
                    <field name="TEXT">test</field>
                  </shadow>
                  <block type="text_join" id="8i#I-OtxR/.6WT_ic~=5">
                    <mutation items="1"></mutation>
                    <value name="ADD0">
                      <block type="text" id="gL2**a)J^WJ1]DOfW+IU">
                        <field name="TEXT">Trigger hat aktualisiert!</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="Z[%W+Lr1mIic7hmCGiK~">
                    <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                    <value name="VALUE">
                      <block type="lists_create_with" id="WYNoUiH~bOV~*|#7gX!G">
                        <mutation items="0"></mutation>
                      </block>
                    </value>
                    <next>
                      <block type="controls_forEach" id="C0PmH{n5n7_x0SvWa1~C">
                        <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                        <value name="LIST">
                          <block type="selector" id="N7TI=~k~pRF/Bb^jL[r|">
                            <field name="TEXT">channel[state.id=unifi.0.default.clients.*.mac]</field>
                          </block>
                        </value>
                        <statement name="DO">
                          <block type="lists_setIndex" id="K%|fcw[c5=V(|C5``c,F" inline="false">
                            <mutation at="false"></mutation>
                            <field name="MODE">INSERT</field>
                            <field name="WHERE">LAST</field>
                            <value name="LIST">
                              <block type="variables_get" id="D}5N@m,iVB.x/M_.c00N">
                                <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                              </block>
                            </value>
                            <value name="TO">
                              <block type="lists_create_with" id="jLzATrp[BYaUr5#xEgOg">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="variables_get" id="=4hR%DR=ZyMA3GkA!Wke">
                                    <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="get_value_var" id=",m#|GDAn.y99dqu3~zQO">
                                    <field name="ATTR">val</field>
                                    <value name="OID">
                                      <shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
                                        <field name="oid">ID auswählen</field>
                                      </shadow>
                                      <block type="variables_get" id="N!J9yh=:.I]Os;_tfli[">
                                        <field name="VAR" id="W4;X?oU/157mw-PzDQBj">i</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="update" id="~fL~tIck4G8z%%]yzIAy">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.it.test.testliste_it</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id="_Yy@brsm04O7}XG!pZg#">
                                <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
          

          Das Ergebnis im DP sieht so aus, wobei das nicht vollständig ist:

          b9085fd3-2932-44df-be8a-da03115b2d8f-image.png

          Daraus lese ich den jeweils ersten Eintrag aus und lasse diesen zeitgleich löschen. Damit möchte ich weiterarbeiten.

          6a30e17e-a25d-4ccf-aa72-732c325cf97f-image.png

          <block xmlns="https://developers.google.com/blockly/xml" type="on" id="QJ[PiL_cEe]y0?6AauJ+" x="937.1389785106653" y="312.4999999999999">
            <field name="OID">0_userdata.0.it.test.testliste_it</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="variables_set" id="R.lFQo:TC`=(r:_cO)#6">
                <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
                <value name="VALUE">
                  <block type="lists_create_with" id="7EO`G@@O?*Z])Es+rjg~">
                    <mutation items="0"></mutation>
                  </block>
                </value>
                <next>
                  <block type="lists_setIndex" id="gK/DbSM2!?2{=s@8Yopc" inline="false">
                    <mutation at="false"></mutation>
                    <field name="MODE">INSERT</field>
                    <field name="WHERE">LAST</field>
                    <value name="LIST">
                      <block type="variables_get" id="z=oHMJ)TFbZq[MKQz*P/">
                        <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="lists_getIndex" id="FPg^fZneuE/A?c;q#f*$">
                        <mutation statement="false" at="true"></mutation>
                        <field name="MODE">GET_REMOVE</field>
                        <field name="WHERE">FROM_START</field>
                        <value name="VALUE">
                          <block type="variables_get" id="5ZK8%QG;N|JRc[p|@rg|">
                            <field name="VAR" id="I|c!zn3z=J?mtu(xi$dj">macliste</field>
                          </block>
                        </value>
                        <value name="AT">
                          <block type="math_number" id="cu=J~sU@b@pQ|!Q^V}@+">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="update" id="m9e+9fIEAyON,QNKguXK">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.it.test.testliste_2</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="variables_get" id="^N/|Bf4SLxj?UOncFI!@">
                            <field name="VAR" id="Z40ityO@RQa$E6Ck#2SM">bearbeitung</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
          

          Der Eintrag im DP sieht wie erwartet so aus:

          95fbfc8e-1817-4153-807d-e100d8cb8b04-image.png

          Und jetzt fängt mein Problem bzw. mein Unverständnis an.
          Wie bekomme ich den Wert nach dem Komma separariert (im Bild der rote Bereich), so dass ich damit weiterarbeiten kann?

          d74dde5b-f70b-432d-9bbd-8f3858966c94-image.png

          Vermutlich wird das über jsonata funktionieren? Nur: Wie muss das in diesem Fall aussehen?
          Der ganze Wert ist ein Attribut, zudem vom Schleife zu Schleife jedes Mal unterschiedlich.

          Danke für die Unterstützung

          CodierknechtC Online
          CodierknechtC Online
          Codierknecht
          Developer Most Active
          schrieb am zuletzt editiert von
          #4

          @hausbaer sagte in Mal wieder Bearbeitung von erzeugten Listen:

          Wie bekomme ich den Wert nach dem Komma separariert (im Bild der rote Bereich), so dass ich damit weiterarbeiten kann?

          Indem Du in Deine Liste keine weitere Liste sondern nur die Werte einfügst:

          61ac7088-b667-4101-962b-178b654d219b-image.png

          Oder indem Du nicht das 1. sondern das 2. Element liest.

          5c46553e-198b-4fa4-a13d-521da8ac118f-image.png

          "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

          Proxmox 9.1.1 LXC|8 GB|Core i7-6700
          HmIP|ZigBee|Tasmota|Unifi
          Zabbix Certified Specialist
          Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

          H 1 Antwort Letzte Antwort
          0
          • CodierknechtC Codierknecht

            @hausbaer sagte in Mal wieder Bearbeitung von erzeugten Listen:

            Wie bekomme ich den Wert nach dem Komma separariert (im Bild der rote Bereich), so dass ich damit weiterarbeiten kann?

            Indem Du in Deine Liste keine weitere Liste sondern nur die Werte einfügst:

            61ac7088-b667-4101-962b-178b654d219b-image.png

            Oder indem Du nicht das 1. sondern das 2. Element liest.

            5c46553e-198b-4fa4-a13d-521da8ac118f-image.png

            H Offline
            H Offline
            Hausbaer
            schrieb am zuletzt editiert von
            #5

            @codierknecht sagte in Mal wieder Bearbeitung von erzeugten Listen:

            @hausbaer sagte in Mal wieder Bearbeitung von erzeugten Listen:

            Wie bekomme ich den Wert nach dem Komma separariert (im Bild der rote Bereich), so dass ich damit weiterarbeiten kann?

            Indem Du in Deine Liste keine weitere Liste sondern nur die Werte einfügst:

            61ac7088-b667-4101-962b-178b654d219b-image.png

            Das wars. Danke

            1 Antwort Letzte Antwort
            0
            • H Offline
              H Offline
              Hausbaer
              schrieb am zuletzt editiert von Hausbaer
              #6

              Guten Morgen,

              noch eine Frage hierzu.

              Wenn ich mit

              b27ac34c-c9ca-4bf8-a7a2-a726173ae92e-image.png

              die MAC - Adressen auslesen will, erhalte ich als Ergebnis

              66be12a1-d091-4649-9434-d6de244b4614-image.png .

              Die MACs unter last_uplink interessieren mich an dieser Stelle nicht.

              Egal ob ich das im ID vom Selector mit
              -channel
              -state
              -device
              -ganz ohne

              probiere, im Endeffekt bleibt das Ergebnis immer gleich. Die Werte unter last_uplink sind mit vorhanden.

              Ich kann nun über Listen arbeiten, und die last_uplink rauslöschen, was meiner Meinung nach recht umständlich ist.

              Gibt es eine Möglichkeit, die "richtigen" Werte rauszufiltern?

              CodierknechtC 1 Antwort Letzte Antwort
              0
              • H Hausbaer

                Guten Morgen,

                noch eine Frage hierzu.

                Wenn ich mit

                b27ac34c-c9ca-4bf8-a7a2-a726173ae92e-image.png

                die MAC - Adressen auslesen will, erhalte ich als Ergebnis

                66be12a1-d091-4649-9434-d6de244b4614-image.png .

                Die MACs unter last_uplink interessieren mich an dieser Stelle nicht.

                Egal ob ich das im ID vom Selector mit
                -channel
                -state
                -device
                -ganz ohne

                probiere, im Endeffekt bleibt das Ergebnis immer gleich. Die Werte unter last_uplink sind mit vorhanden.

                Ich kann nun über Listen arbeiten, und die last_uplink rauslöschen, was meiner Meinung nach recht umständlich ist.

                Gibt es eine Möglichkeit, die "richtigen" Werte rauszufiltern?

                CodierknechtC Online
                CodierknechtC Online
                Codierknecht
                Developer Most Active
                schrieb am zuletzt editiert von Codierknecht
                #7

                @hausbaer
                Zum Beispiel so:

                7ff0ed77-beb6-4577-8918-b13ceb29f2de-image.png

                "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                HmIP|ZigBee|Tasmota|Unifi
                Zabbix Certified Specialist
                Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                H 1 Antwort Letzte Antwort
                0
                • CodierknechtC Codierknecht

                  @hausbaer
                  Zum Beispiel so:

                  7ff0ed77-beb6-4577-8918-b13ceb29f2de-image.png

                  H Offline
                  H Offline
                  Hausbaer
                  schrieb am zuletzt editiert von Hausbaer
                  #8

                  @codierknecht
                  Ich hab da mal wieder viel zu kompliziert gedacht.

                  Noch eine Frage zu dem Thema. Können mehrere Schleifen ineinander gesetzt werden?

                  dbc9223d-08f1-471a-a550-c35da3a44cb5-image.png

                  <block xmlns="https://developers.google.com/blockly/xml" type="controls_repeat_ext" id="Yo;9Do)P|loONVbhnZ=?" x="87.48501885744321" y="7388">
                    <value name="TIMES">
                      <shadow type="math_number" id="|wkXePKhbawu-BeQm[(S">
                        <field name="NUM">20</field>
                      </shadow>
                    </value>
                    <statement name="DO">
                      <block type="variables_set" id="I*Q0n:]@]o~5bQU_KAX3">
                        <field name="VAR" id="E;^-M!0BmTokhB,if9jM">z</field>
                        <value name="VALUE">
                          <block type="lists_getIndex" id="rC_29v!X0_5KKxT-VIF8">
                            <mutation statement="false" at="true"></mutation>
                            <field name="MODE">GET</field>
                            <field name="WHERE">FROM_START</field>
                            <value name="VALUE">
                              <block type="variables_get" id="mF.zX9`0;hzn}Y*{Jle~">
                                <field name="VAR" id="8$p?iD4n+cv)uKTiJRgF">Liste</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="math_number" id="e,aYFI6Hh/n9o_]Xs,)|">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="control_ex" id="z[uw;:{juHY_LEYtOKqu">
                            <field name="TYPE">false</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="OID">
                              <shadow type="field_oid" id="zi{ofqMDH(;,3_u=8xL*">
                                <field name="oid">ID auswählen</field>
                              </shadow>
                              <block type="text" id="wC7}_E5%@TknggrVqt18">
                                <field name="TEXT">ID A</field>
                              </block>
                            </value>
                            <value name="VALUE">
                              <shadow type="logic_boolean" id="xyJH^wWTFLK-YYhh_~fW">
                                <field name="BOOL">TRUE</field>
                              </shadow>
                            </value>
                            <value name="DELAY_MS">
                              <shadow type="math_number" id="MG/d[7gETLDYKI{a%%Av">
                                <field name="NUM">0</field>
                              </shadow>
                            </value>
                            <value name="EXPIRE">
                              <shadow type="math_number" id="|57Y)FO(k.a:i4yYHTOb">
                                <field name="NUM">0</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="control_ex" id="~eV]0TX.qty6+[v4E~%m">
                                <field name="TYPE">false</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="OID">
                                  <shadow type="field_oid" id="zi{ofqMDH(;,3_u=8xL*">
                                    <field name="oid">ID auswählen</field>
                                  </shadow>
                                  <block type="text" id="{zD0-z|eikplPHL(0e=.">
                                    <field name="TEXT">ID B</field>
                                  </block>
                                </value>
                                <value name="VALUE">
                                  <shadow type="logic_boolean" id="C,+H8Y~/2~,ghWHZ$(3-">
                                    <field name="BOOL">TRUE</field>
                                  </shadow>
                                  <block type="variables_get" id="`OZ@QD}iw%mM%Qs(rx!$">
                                    <field name="VAR" id="E;^-M!0BmTokhB,if9jM">z</field>
                                  </block>
                                </value>
                                <value name="DELAY_MS">
                                  <shadow type="math_number" id="Vrbz)+6`10o$hRE9Kb{u">
                                    <field name="NUM">0</field>
                                  </shadow>
                                </value>
                                <value name="EXPIRE">
                                  <shadow type="math_number" id="GYT}Nq@Jq919dy5DM:jC">
                                    <field name="NUM">0</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="controls_repeat_ext" id="Oo}ASGlhGup.!Vdh?(s#">
                                    <value name="TIMES">
                                      <shadow type="math_number" id="0dE,FR3f*SES+ZRae-e%">
                                        <field name="NUM">10</field>
                                      </shadow>
                                    </value>
                                    <statement name="DO">
                                      <block type="variables_set" id="g[/l(qpA1%V6|OgOMF8o">
                                        <field name="VAR" id="S1RY2[K*AX%~e@Z:9oll">y</field>
                                        <value name="VALUE">
                                          <block type="lists_getIndex" id="d=}DF3t/_}zYLP%{8ngU">
                                            <mutation statement="false" at="true"></mutation>
                                            <field name="MODE">GET</field>
                                            <field name="WHERE">FROM_START</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="RliVvBXU#`75?7=.)T^[">
                                                <field name="VAR" id="8$p?iD4n+cv)uKTiJRgF">Liste</field>
                                              </block>
                                            </value>
                                            <value name="AT">
                                              <block type="math_number" id="/+:LKcO@La_m?*f51I8h">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="controls_if" id="~!Zka:$hQmDsIeT*-j`=">
                                            <value name="IF0">
                                              <block type="logic_compare" id="%4)1ZXyX[sbS=[BPTe=I">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="variables_get" id="B!/#rM.x,83X#LawaW2q">
                                                    <field name="VAR" id="S1RY2[K*AX%~e@Z:9oll">y</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="f!BO$MIT^PFjGcXE$cZ[">
                                                    <field name="TEXT">X</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control_ex" id="F%Ln,GxU+WZzCw@1w4uB">
                                                <field name="TYPE">false</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="OID">
                                                  <shadow type="field_oid" id="zi{ofqMDH(;,3_u=8xL*">
                                                    <field name="oid">ID auswählen</field>
                                                  </shadow>
                                                  <block type="text" id="^:mNB5a!6,gCYD1`myfp">
                                                    <field name="TEXT">ID C</field>
                                                  </block>
                                                </value>
                                                <value name="VALUE">
                                                  <shadow type="logic_boolean" id="C,+H8Y~/2~,ghWHZ$(3-">
                                                    <field name="BOOL">TRUE</field>
                                                  </shadow>
                                                  <block type="text" id="Af%|pwT,wUl[|sJW~hLr">
                                                    <field name="TEXT">irgendeinText</field>
                                                  </block>
                                                </value>
                                                <value name="DELAY_MS">
                                                  <shadow type="math_number" id="Q|b]SNOzjdYmhKyZk/kM">
                                                    <field name="NUM">0</field>
                                                  </shadow>
                                                </value>
                                                <value name="EXPIRE">
                                                  <shadow type="math_number" id="x;zY$;b,l|@,k{qV%7{(">
                                                    <field name="NUM">0</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="lists_getIndex" id="CwacONL23N:{yf0C5lqn">
                                                <mutation statement="true" at="true"></mutation>
                                                <field name="MODE">REMOVE</field>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="V,J4].u?7pn(?9bT.[Ab">
                                                    <field name="VAR" id="8$p?iD4n+cv)uKTiJRgF">Liste</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="EEyiwL#bIxMTWEdmjoLh">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="lists_getIndex" id="JH5Nbd6E(/FtzZUvv^/3">
                                        <mutation statement="true" at="true"></mutation>
                                        <field name="MODE">REMOVE</field>
                                        <field name="WHERE">FROM_START</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="WxdEiK8b$Jyd7UKBAn}j">
                                            <field name="VAR" id="E;^-M!0BmTokhB,if9jM">z</field>
                                          </block>
                                        </value>
                                        <value name="AT">
                                          <block type="math_number" id="Kbj%jlN+5C$W|9c8:Z`p">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                  

                  Falls ja, hab ich noch irgendwo einen Fehler drin - es kommt in den Datenpunkten nichts an.

                  CodierknechtC 1 Antwort Letzte Antwort
                  0
                  • H Hausbaer

                    @codierknecht
                    Ich hab da mal wieder viel zu kompliziert gedacht.

                    Noch eine Frage zu dem Thema. Können mehrere Schleifen ineinander gesetzt werden?

                    dbc9223d-08f1-471a-a550-c35da3a44cb5-image.png

                    <block xmlns="https://developers.google.com/blockly/xml" type="controls_repeat_ext" id="Yo;9Do)P|loONVbhnZ=?" x="87.48501885744321" y="7388">
                      <value name="TIMES">
                        <shadow type="math_number" id="|wkXePKhbawu-BeQm[(S">
                          <field name="NUM">20</field>
                        </shadow>
                      </value>
                      <statement name="DO">
                        <block type="variables_set" id="I*Q0n:]@]o~5bQU_KAX3">
                          <field name="VAR" id="E;^-M!0BmTokhB,if9jM">z</field>
                          <value name="VALUE">
                            <block type="lists_getIndex" id="rC_29v!X0_5KKxT-VIF8">
                              <mutation statement="false" at="true"></mutation>
                              <field name="MODE">GET</field>
                              <field name="WHERE">FROM_START</field>
                              <value name="VALUE">
                                <block type="variables_get" id="mF.zX9`0;hzn}Y*{Jle~">
                                  <field name="VAR" id="8$p?iD4n+cv)uKTiJRgF">Liste</field>
                                </block>
                              </value>
                              <value name="AT">
                                <block type="math_number" id="e,aYFI6Hh/n9o_]Xs,)|">
                                  <field name="NUM">1</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="control_ex" id="z[uw;:{juHY_LEYtOKqu">
                              <field name="TYPE">false</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="OID">
                                <shadow type="field_oid" id="zi{ofqMDH(;,3_u=8xL*">
                                  <field name="oid">ID auswählen</field>
                                </shadow>
                                <block type="text" id="wC7}_E5%@TknggrVqt18">
                                  <field name="TEXT">ID A</field>
                                </block>
                              </value>
                              <value name="VALUE">
                                <shadow type="logic_boolean" id="xyJH^wWTFLK-YYhh_~fW">
                                  <field name="BOOL">TRUE</field>
                                </shadow>
                              </value>
                              <value name="DELAY_MS">
                                <shadow type="math_number" id="MG/d[7gETLDYKI{a%%Av">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                              <value name="EXPIRE">
                                <shadow type="math_number" id="|57Y)FO(k.a:i4yYHTOb">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="control_ex" id="~eV]0TX.qty6+[v4E~%m">
                                  <field name="TYPE">false</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="OID">
                                    <shadow type="field_oid" id="zi{ofqMDH(;,3_u=8xL*">
                                      <field name="oid">ID auswählen</field>
                                    </shadow>
                                    <block type="text" id="{zD0-z|eikplPHL(0e=.">
                                      <field name="TEXT">ID B</field>
                                    </block>
                                  </value>
                                  <value name="VALUE">
                                    <shadow type="logic_boolean" id="C,+H8Y~/2~,ghWHZ$(3-">
                                      <field name="BOOL">TRUE</field>
                                    </shadow>
                                    <block type="variables_get" id="`OZ@QD}iw%mM%Qs(rx!$">
                                      <field name="VAR" id="E;^-M!0BmTokhB,if9jM">z</field>
                                    </block>
                                  </value>
                                  <value name="DELAY_MS">
                                    <shadow type="math_number" id="Vrbz)+6`10o$hRE9Kb{u">
                                      <field name="NUM">0</field>
                                    </shadow>
                                  </value>
                                  <value name="EXPIRE">
                                    <shadow type="math_number" id="GYT}Nq@Jq919dy5DM:jC">
                                      <field name="NUM">0</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="controls_repeat_ext" id="Oo}ASGlhGup.!Vdh?(s#">
                                      <value name="TIMES">
                                        <shadow type="math_number" id="0dE,FR3f*SES+ZRae-e%">
                                          <field name="NUM">10</field>
                                        </shadow>
                                      </value>
                                      <statement name="DO">
                                        <block type="variables_set" id="g[/l(qpA1%V6|OgOMF8o">
                                          <field name="VAR" id="S1RY2[K*AX%~e@Z:9oll">y</field>
                                          <value name="VALUE">
                                            <block type="lists_getIndex" id="d=}DF3t/_}zYLP%{8ngU">
                                              <mutation statement="false" at="true"></mutation>
                                              <field name="MODE">GET</field>
                                              <field name="WHERE">FROM_START</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="RliVvBXU#`75?7=.)T^[">
                                                  <field name="VAR" id="8$p?iD4n+cv)uKTiJRgF">Liste</field>
                                                </block>
                                              </value>
                                              <value name="AT">
                                                <block type="math_number" id="/+:LKcO@La_m?*f51I8h">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="controls_if" id="~!Zka:$hQmDsIeT*-j`=">
                                              <value name="IF0">
                                                <block type="logic_compare" id="%4)1ZXyX[sbS=[BPTe=I">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="variables_get" id="B!/#rM.x,83X#LawaW2q">
                                                      <field name="VAR" id="S1RY2[K*AX%~e@Z:9oll">y</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="text" id="f!BO$MIT^PFjGcXE$cZ[">
                                                      <field name="TEXT">X</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control_ex" id="F%Ln,GxU+WZzCw@1w4uB">
                                                  <field name="TYPE">false</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid" id="zi{ofqMDH(;,3_u=8xL*">
                                                      <field name="oid">ID auswählen</field>
                                                    </shadow>
                                                    <block type="text" id="^:mNB5a!6,gCYD1`myfp">
                                                      <field name="TEXT">ID C</field>
                                                    </block>
                                                  </value>
                                                  <value name="VALUE">
                                                    <shadow type="logic_boolean" id="C,+H8Y~/2~,ghWHZ$(3-">
                                                      <field name="BOOL">TRUE</field>
                                                    </shadow>
                                                    <block type="text" id="Af%|pwT,wUl[|sJW~hLr">
                                                      <field name="TEXT">irgendeinText</field>
                                                    </block>
                                                  </value>
                                                  <value name="DELAY_MS">
                                                    <shadow type="math_number" id="Q|b]SNOzjdYmhKyZk/kM">
                                                      <field name="NUM">0</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="EXPIRE">
                                                    <shadow type="math_number" id="x;zY$;b,l|@,k{qV%7{(">
                                                      <field name="NUM">0</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="lists_getIndex" id="CwacONL23N:{yf0C5lqn">
                                                  <mutation statement="true" at="true"></mutation>
                                                  <field name="MODE">REMOVE</field>
                                                  <field name="WHERE">FROM_START</field>
                                                  <value name="VALUE">
                                                    <block type="variables_get" id="V,J4].u?7pn(?9bT.[Ab">
                                                      <field name="VAR" id="8$p?iD4n+cv)uKTiJRgF">Liste</field>
                                                    </block>
                                                  </value>
                                                  <value name="AT">
                                                    <block type="math_number" id="EEyiwL#bIxMTWEdmjoLh">
                                                      <field name="NUM">1</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="lists_getIndex" id="JH5Nbd6E(/FtzZUvv^/3">
                                          <mutation statement="true" at="true"></mutation>
                                          <field name="MODE">REMOVE</field>
                                          <field name="WHERE">FROM_START</field>
                                          <value name="VALUE">
                                            <block type="variables_get" id="WxdEiK8b$Jyd7UKBAn}j">
                                              <field name="VAR" id="E;^-M!0BmTokhB,if9jM">z</field>
                                            </block>
                                          </value>
                                          <value name="AT">
                                            <block type="math_number" id="Kbj%jlN+5C$W|9c8:Z`p">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    

                    Falls ja, hab ich noch irgendwo einen Fehler drin - es kommt in den Datenpunkten nichts an.

                    CodierknechtC Online
                    CodierknechtC Online
                    Codierknecht
                    Developer Most Active
                    schrieb am zuletzt editiert von
                    #9

                    @hausbaer sagte in Mal wieder Bearbeitung von erzeugten Listen:

                    Können mehrere Schleifen ineinander gesetzt werden?

                    Können? Ja!
                    Sollen? Kommt drauf an. So wie Du das machst sieht es jedenfalls irgendwie "spooky" aus.
                    Du entfernst da Elemente aus einer Liste, über die bereits iteriert wird. Das verursacht gerne mal Probleme.
                    Kommt im Detail darauf an, aus welchen Gründen man sowas macht.
                    Das lässt sich anhand der Beispieldaten schlecht beurteilen.

                    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                    Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                    HmIP|ZigBee|Tasmota|Unifi
                    Zabbix Certified Specialist
                    Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                    1 Antwort Letzte Antwort
                    0
                    • mickymM Online
                      mickymM Online
                      mickym
                      Most Active
                      schrieb am zuletzt editiert von mickym
                      #10

                      Wenn Du es über JSONATA ohne viel Code lösen willst, dann poste mal Dein ganzes Array hier in CodeTags. Dann extrahiere ich Dir die MAC-Adressen über JSONATA. Dann kannst Du Dir das Schleifengedöns wahrscheinlich sparen.

                      Nehme ich also mal das als Datenausgangsbasis:

                      [
                        [
                          "unifi.0.default.clients.dc:a6:32:fd:s9.9a.mac",
                          "dc:a6:32:fd:s9.9a"
                        ],
                        [
                          "unifi.0.default.clients.dc:a6:32:fd:s9.9a.last_uplink.mac",
                          "dc:a6:32:fd:s9.9e"
                        ],
                        [
                          "unifi.0.default.clients.dc:a6:32:fd:s9.9a.mac",
                          "dc:a6:32:fd:s9.9b"
                        ],
                        [
                          "unifi.0.default.clients.dc:a6:32:fd:s9.9a.last_uplink.mac",
                          "dc:a6:32:fd:s9.9c"
                        ]
                        ,  [
                          "unifi.0.default.clients.dc:a6:32:fd:s9.9a.mac",
                          "dc:a6:32:fd:s9.9f"
                        ]
                      ]
                      

                      dann bekommst du Deine Liste einfach mit:

                      $[$not($contains($[0],"last_uplink"))].$[1]
                      

                      wenn man das Vorhandensein mehrerer Strings ausschließen will, dann kann man auch mit regulären Ausdrücken arbeiten.

                      $[$not($contains($[0],/last_uplink|test/))].$[1]
                      

                      das schließt aus ob nun "test" oder "last_uplink" in dem String vorhanden ist. Eigentlich finde ich das wieder sehr kompakt.

                      "unifi.0.default.clients.dc:a6:32:fd:s9.9a.last_uplink.mac"
                      "unifi.0.default.clients.dc:a6:32:fd:s9.9a.test.mac"
                      

                      Leider hat das Blockly ein Bug und hängt an die Liste, immer so ein internes Element an. Aber muss man halt abschneiden. - da ich Blockly nicht nutze - und JSONATA von den meisten Blockly-Fans eh nicht verwendet wird, wird wohl keiner ein Issue erstellen.

                      Hier das Blockly

                      0e558f1c-fd3a-4fdf-89fd-d0cda3ae0994-image.png

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable id="f{SPWMDeJ!t?Tt{oHa-w">Liste</variable>
                       </variables>
                       <block type="variables_set" id="`3HAp-R7#*2x40x]5pl{" x="-287" y="-187">
                         <field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
                         <value name="VALUE">
                           <block type="convert_json2object" id="cSlw2L%r*FldiptQ+a?U">
                             <value name="VALUE">
                               <block type="text" id="|18vjM#(}.YE{KXtX#mU">
                                 <field name="TEXT">[   [     "unifi.0.default.clients.dc:a6:32:fd:s9.9a.mac",     "dc:a6:32:fd:s9.9a"   ],   [     "unifi.0.default.clients.dc:a6:32:fd:s9.9a.last_uplink.mac",     "dc:a6:32:fd:s9.9e"   ],   [     "unifi.0.default.clients.dc:a6:32:fd:s9.9a.mac",     "dc:a6:32:fd:s9.9b"   ],   [     "unifi.0.default.clients.dc:a6:32:fd:s9.9a.last_uplink.mac",     "dc:a6:32:fd:s9.9c"   ]   ,  [     "unifi.0.default.clients.dc:a6:32:fd:s9.9a.mac",     "dc:a6:32:fd:s9.9f"   ] ]</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <next>
                           <block type="debug" id="CN/v16=5#s1D|=8)yk[}">
                             <field name="Severity">info</field>
                             <value name="TEXT">
                               <shadow type="text" id="-n5X=}DS{1k*jws-P:%,">
                                 <field name="TEXT">test</field>
                               </shadow>
                               <block type="variables_get" id="}.xvDwB_Zh+k#VBzcMc3">
                                 <field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id="UFZ-qZdoYJ[UP3;js/SH">
                                 <field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
                                 <value name="VALUE">
                                   <block type="convert_jsonata" id="q/2`1@z7w?(=wWylL6J9">
                                     <value name="EXPRESSION">
                                       <shadow type="text" id="0*U-qP9wt6to2+;(zsXl">
                                         <field name="TEXT">$[$not($contains($[0],"last_uplink"))].$[1]</field>
                                       </shadow>
                                     </value>
                                     <value name="TARGET">
                                       <block type="variables_get" id="v`_w~vTA##99f+,j#CN`">
                                         <field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="debug" id="-F}Nw`irgr)0w_],AYKV">
                                     <field name="Severity">info</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="*fR:|[obP+4|R)-AOCP^">
                                         <field name="TEXT">test</field>
                                       </shadow>
                                       <block type="lists_getSublist" id="}/zTsh*p-V6mK,z!qD$l">
                                         <mutation at1="false" at2="false"></mutation>
                                         <field name="WHERE1">FIRST</field>
                                         <field name="WHERE2">LAST</field>
                                         <value name="LIST">
                                           <block type="variables_get" id="jdxs=WV==C.]F`0XK5VK">
                                             <field name="VAR" id="f{SPWMDeJ!t?Tt{oHa-w">Liste</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                      </xml>
                      

                      Wenn Du es selbst in JSONATA ausprobieren möchtest, hier der Link: https://try.jsonata.org/JjdV45PwH

                      858691b6-6922-4778-a830-ab1940d0e0c0-image.png

                      Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                      1 Antwort Letzte Antwort
                      0
                      • H Offline
                        H Offline
                        Hausbaer
                        schrieb am zuletzt editiert von Hausbaer
                        #11

                        Das exportieren der MAC Adressen via Schleifen ist nicht (mehr) das Problem.

                        Das läuft, sowohl für die MAC-Adressen der Devices, als auch für die der Clients.

                        Devices:

                        <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="{Pv5){4~w158o@Cmx}q}" x="863" y="413">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="=IFAs`DW|XS7^X`s8*9e">
                             <field name="oid">ID auswählen</field>
                           </shadow>
                           <block type="selector" id="58^jI6XQ=xT^~AV,~zXl">
                             <field name="TEXT">state[state.id=unifi.0.default.devices.*.mac]</field>
                           </block>
                         </value>
                         <statement name="STATEMENT">
                           <block type="procedures_callcustomnoreturn" id="5%;6a+^yk1`RV@4{Vi0h">
                             <mutation name="dp_devices_ausleitungen"></mutation>
                             <next>
                               <block type="variables_set" id="[FA)jVB;fy/]7!+LH~3P">
                                 <field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="oIXa$a?O`y+OB!*^mQ|G">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="CMkTSb~;;mcZ(jgB8ann">
                                     <field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
                                     <value name="VALUE">
                                       <block type="lists_create_with" id="ggtba#@?%OX`Z1oA-H69">
                                         <mutation items="0"></mutation>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_forEach" id="?Y?hy+QZj+5a~zR0G;~H">
                                         <field name="VAR" id="@eDJ]{C,Nm,#SY6K?]U(">aa</field>
                                         <value name="LIST">
                                           <block type="selector" id="^XNAb7vi]w@S2VwTqXR=">
                                             <field name="TEXT">state[state.id=unifi.0.default.devices.*.mac]</field>
                                           </block>
                                         </value>
                                         <statement name="DO">
                                           <block type="controls_if" id="[**|[4(K;A[}-r$[*xu`">
                                             <value name="IF0">
                                               <block type="logic_negate" id="XT[@q!W[j7[,qtFjB5Tk">
                                                 <value name="BOOL">
                                                   <block type="text_contains" id="jMJhXd-9y2H$G{QJcwc!">
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="X,U-l@983_k+TE{_{3s$">
                                                         <field name="VAR" id="@eDJ]{C,Nm,#SY6K?]U(">aa</field>
                                                       </block>
                                                     </value>
                                                     <value name="FIND">
                                                       <shadow type="text" id="Y!fQeiR$~q,R2xoq1x|R">
                                                         <field name="TEXT">abc</field>
                                                       </shadow>
                                                       <block type="text" id="|09j=fC4#Hd`5$BH;dFg">
                                                         <field name="TEXT">last_uplink</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="math_change" id="i9htiHBSz`4[beX`pq?=">
                                                 <field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
                                                 <value name="DELTA">
                                                   <shadow type="math_number" id="f4w,mg9WRl?MIajF`Mio">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="math_number" id="J]j2ed:Enu[+Y/X]4+?3">
                                                     <field name="NUM">1</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="lists_setIndex" id="q%~%p.jh.#JB1X5vHk[6">
                                                     <mutation at="false"></mutation>
                                                     <field name="MODE">INSERT</field>
                                                     <field name="WHERE">LAST</field>
                                                     <value name="LIST">
                                                       <block type="variables_get" id="BM)cE0eBqs85V~79*90?">
                                                         <field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
                                                       </block>
                                                     </value>
                                                     <value name="TO">
                                                       <block type="get_value_var" id="1AgbUBh*-^$t6Dvpf~l9">
                                                         <field name="ATTR">val</field>
                                                         <value name="OID">
                                                           <shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
                                                             <field name="oid">ID auswählen</field>
                                                           </shadow>
                                                           <block type="variables_get" id="exO0xXtklJ1.f7W.ix?X">
                                                             <field name="VAR" id="@eDJ]{C,Nm,#SY6K?]U(">aa</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="procedures_callnoreturn" id="x-j{N[b{[88+Tblj9}pj">
                                             <mutation name="consolenlog">
                                               <arg name="log_text"></arg>
                                             </mutation>
                                             <value name="ARG0">
                                               <block type="text_join" id="#[o94aQ|s`_92B}_)%^C">
                                                 <mutation items="3"></mutation>
                                                 <value name="ADD0">
                                                   <block type="text" id="JB_jbw1aI5B{#)+%.6{A">
                                                     <field name="TEXT">Anzahl der Unifi-Devices</field>
                                                   </block>
                                                 </value>
                                                 <value name="ADD1">
                                                   <block type="text_newline" id="^u~qy=-QF$wlN-L9lQ9m">
                                                     <field name="Type">\n</field>
                                                   </block>
                                                 </value>
                                                 <value name="ADD2">
                                                   <block type="variables_get" id="XSy/m7g6-e05[_qLbyZ7">
                                                     <field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="procedures_callnoreturn" id="}=}moQ[3S)9WMD9-?e8[">
                                                 <mutation name="consolenlog">
                                                   <arg name="log_text"></arg>
                                                 </mutation>
                                                 <value name="ARG0">
                                                   <block type="text_join" id="OoZkes5RXSrNO:w]_5jq">
                                                     <mutation items="3"></mutation>
                                                     <value name="ADD0">
                                                       <block type="text" id="`qFPH.o%G)Pg78]C/C-E">
                                                         <field name="TEXT">MAC aus der Bearbeitung:</field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD1">
                                                       <block type="text_newline" id="$J-n[`X88y^f4.TQ%AT$">
                                                         <field name="Type">\n</field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD2">
                                                       <block type="variables_get" id="PyHB@a8p5niFjDLPIN/1">
                                                         <field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="update" id=",V(_@q@1F4sl2yRJe^i0">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">0_userdata.0.it.unifi.devices.mac-ausleitung-devices</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="8?.rxjULyiPGvO$#_=CD">
                                                         <field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="update" id="2F;cV7Rp9+^TBm%`N?o]">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">0_userdata.0.it.unifi.devices.anzahl-devices</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="%f{]i~2{J*`mSZlZ7iX]">
                                                             <field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                        </block>
                        

                        Clients:

                        <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=";|_4R[q^C$8TYi+nZ1Lm" collapsed="true" x="613" y="538">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="=IFAs`DW|XS7^X`s8*9e">
                             <field name="oid">ID auswählen</field>
                           </shadow>
                           <block type="selector" id="T!VL+4xam{YN~.fbZ/^o">
                             <field name="TEXT">state[state.id=unifi.0.default.clients.*.mac]</field>
                           </block>
                         </value>
                         <statement name="STATEMENT">
                           <block type="procedures_callcustomnoreturn" id="JKd`s1-Epm~[HrrIFP=@">
                             <mutation name="dp_clients_ausleitungen"></mutation>
                             <next>
                               <block type="variables_set" id="=nE7[@Ygl*sQHLe{vkqN">
                                 <field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="7V{rE;#5.uZ~1a0b3AS$">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="N]qkH^m-!5S:EU(`8j)^">
                                     <field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
                                     <value name="VALUE">
                                       <block type="lists_create_with" id="%V1_Ldx@^i:h(25Oau!(">
                                         <mutation items="0"></mutation>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_forEach" id="9?^._bA$7kVnPT$!Rj:q">
                                         <field name="VAR" id="/dkW]|gqbdSPkvDzH].x">ab</field>
                                         <value name="LIST">
                                           <block type="selector" id="a@%]aZmNBYZ_#-FWyszT">
                                             <field name="TEXT">state[state.id=unifi.0.default.clients.*.mac]</field>
                                           </block>
                                         </value>
                                         <statement name="DO">
                                           <block type="controls_if" id="[rw6E]L/`rCAn=CYw]cw">
                                             <value name="IF0">
                                               <block type="logic_negate" id="B@o00wD75`}Ycw}E2.-T">
                                                 <value name="BOOL">
                                                   <block type="text_contains" id=".@lprXUoF6u_z_mNo1==">
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="glXn[O%6q/|SN6jt/S,I">
                                                         <field name="VAR" id="/dkW]|gqbdSPkvDzH].x">ab</field>
                                                       </block>
                                                     </value>
                                                     <value name="FIND">
                                                       <shadow type="text" id="Y!fQeiR$~q,R2xoq1x|R">
                                                         <field name="TEXT">abc</field>
                                                       </shadow>
                                                       <block type="text" id="8-+z5AtLU/lx[bA8;-IN">
                                                         <field name="TEXT">last_uplink</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="math_change" id="DC][(Wmtp+q*1-7*Ye#m">
                                                 <field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
                                                 <value name="DELTA">
                                                   <shadow type="math_number" id="f4w,mg9WRl?MIajF`Mio">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="math_number" id="1-mT;f*6^fo2v?;)AFt!">
                                                     <field name="NUM">1</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="lists_setIndex" id="8s=vQ!Db)JjYZ0m:!jG!">
                                                     <mutation at="false"></mutation>
                                                     <field name="MODE">INSERT</field>
                                                     <field name="WHERE">LAST</field>
                                                     <value name="LIST">
                                                       <block type="variables_get" id="NkML^iz$7J;;Ebb|tZzi">
                                                         <field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
                                                       </block>
                                                     </value>
                                                     <value name="TO">
                                                       <block type="get_value_var" id="qOs9jJ)f%s6l,kf#6gy#">
                                                         <field name="ATTR">val</field>
                                                         <value name="OID">
                                                           <shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
                                                             <field name="oid">ID auswählen</field>
                                                           </shadow>
                                                           <block type="variables_get" id="KZI={4fSw-pdi8cxJT;g">
                                                             <field name="VAR" id="/dkW]|gqbdSPkvDzH].x">ab</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="procedures_callnoreturn" id="YnTKT91nq|k;{[u,w-Uw">
                                             <mutation name="consolenlog">
                                               <arg name="log_text"></arg>
                                             </mutation>
                                             <value name="ARG0">
                                               <block type="text_join" id="?g@R)6ION`$QnbNCd!tk">
                                                 <mutation items="3"></mutation>
                                                 <value name="ADD0">
                                                   <block type="text" id="U-U/`]sM:%W^8eEqm/5F">
                                                     <field name="TEXT">Anzahl der Unifi-Clients:</field>
                                                   </block>
                                                 </value>
                                                 <value name="ADD1">
                                                   <block type="text_newline" id="^.PRJbAaAWcFeDoMi-sx">
                                                     <field name="Type">\n</field>
                                                   </block>
                                                 </value>
                                                 <value name="ADD2">
                                                   <block type="variables_get" id="D$LUWv/mc][j~REUWaAr">
                                                     <field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="procedures_callnoreturn" id=":ABj+P~$P|P2H/1]C!W]">
                                                 <mutation name="consolenlog">
                                                   <arg name="log_text"></arg>
                                                 </mutation>
                                                 <value name="ARG0">
                                                   <block type="text_join" id="kk#,vD+6tbOfvNNz1imI">
                                                     <mutation items="3"></mutation>
                                                     <value name="ADD0">
                                                       <block type="text" id="d,VRHXEvlqNoZYsI-f}*">
                                                         <field name="TEXT">MAC aus der Bearbeitung:</field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD1">
                                                       <block type="text_newline" id="gs2s`3ymM(Ndf3%{b`_)">
                                                         <field name="Type">\n</field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD2">
                                                       <block type="variables_get" id=",9f|9Bl)S`fuw@9pJN8J">
                                                         <field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="update" id="`4)}a^/.C$-qYOhlz%)-">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">0_userdata.0.it.unifi.clients.mac-ausleitung-clients</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="6ZheO|a`RXAJ6jI]IsWd">
                                                         <field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="update" id="%Vwhm/#8AA?nX,bKj|_N">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">0_userdata.0.it.unifi.clients.anzahl-clients</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="sohwNmAkSytn?.YDbiFe">
                                                             <field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                        </block>
                        

                        Nun möchte ich die MAC Adressen der Devices mit den MAC Adressen der AP-Points (für WLAN) bzw. Switches (für LAN) vergleichen. Wenn beide MACs zusammen passen, soll der Name des Switch bzw. des Access Point in einen DP geschrieben werden.

                        Das wollte ich über eine Schleife - in - Schleife Lösung bearbeiten, was mir aber bisher nicht gelingt.

                        <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="tt^d/rGT0a-;jc=Y^g9E" x="88" y="1388">
                         <field name="SCHEDULE">* * * * *</field>
                         <statement name="STATEMENT">
                           <block type="comment" id="y@BjcsW:aQLhT=Gpl48~">
                             <field name="COMMENT">Name des WLAN - AP</field>
                             <next>
                               <block type="variables_set" id="3q,,r-@3-ax,fz%}]QjT">
                                 <field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
                                 <value name="VALUE">
                                   <block type="lists_create_with" id="`xl5F9?38DC|~tJ*mdUK">
                                     <mutation items="0"></mutation>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_forEach" id="A8yQNS,#)v7UR6DF!{dL">
                                     <field name="VAR" id="U4qAbb4G8%()+]~H86?y">d</field>
                                     <value name="LIST">
                                       <block type="selector" id="_5Z(an$,i*fICxbV.LSO">
                                         <field name="TEXT">unifi.0.default.clients.*.ap_mac</field>
                                       </block>
                                     </value>
                                     <statement name="DO">
                                       <block type="lists_setIndex" id=":#cU4dl)~27;fQMCZnRx">
                                         <mutation at="false"></mutation>
                                         <field name="MODE">INSERT</field>
                                         <field name="WHERE">LAST</field>
                                         <value name="LIST">
                                           <block type="variables_get" id=".JPSG?z@pa6C~qJ6QH28">
                                             <field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
                                           </block>
                                         </value>
                                         <value name="TO">
                                           <block type="get_value_var" id="c`Do!o:,cFp[s/DA%9iW">
                                             <field name="ATTR">val</field>
                                             <value name="OID">
                                               <shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
                                                 <field name="oid">ID auswählen</field>
                                               </shadow>
                                               <block type="variables_get" id="Cwp!lS.2,p0l02sxJ;]M">
                                                 <field name="VAR" id="U4qAbb4G8%()+]~H86?y">d</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="procedures_callnoreturn" id="@dCssXR@ye?{-KGJ!EG|">
                                         <mutation name="consolenlog">
                                           <arg name="log_text"></arg>
                                         </mutation>
                                         <value name="ARG0">
                                           <block type="text_join" id="0Y_M@a!w*USZ#9@4G]2#">
                                             <mutation items="3"></mutation>
                                             <value name="ADD0">
                                               <block type="text" id="Bp|WXP)Jp{{2=AEPL!gZ">
                                                 <field name="TEXT">MAC Clients Channel / Port:</field>
                                               </block>
                                             </value>
                                             <value name="ADD1">
                                               <block type="text_newline" id="%J7zTlZeop8o26n}lQ!M">
                                                 <field name="Type">\n</field>
                                               </block>
                                             </value>
                                             <value name="ADD2">
                                               <block type="variables_get" id="ktVa$Es@Q:UU1hI|p].N">
                                                 <field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="@3yj[e,_IL!!$o$Qt2gP">
                                             <field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
                                             <value name="VALUE">
                                               <block type="lists_create_with" id=":MyJG=8UF;dmsjpr=H7}">
                                                 <mutation items="0"></mutation>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="~3Hh7m}U-2;I*f/8QXSq">
                                                 <field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
                                                 <value name="VALUE">
                                                   <block type="get_value" id="3Q~nLvekYBi%R9gN6au9">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">0_userdata.0.it.unifi.devices.mac-ausleitung-devices</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="procedures_callnoreturn" id="!1?wqzw.Q8c42*0Yn|hg">
                                                     <mutation name="consolenlog">
                                                       <arg name="log_text"></arg>
                                                     </mutation>
                                                     <value name="ARG0">
                                                       <block type="text_join" id="HYiz!p;jLHS_*BY5I@72">
                                                         <mutation items="3"></mutation>
                                                         <value name="ADD0">
                                                           <block type="text" id="FFE~~|@AIoNH:HX5w4G(">
                                                             <field name="TEXT">MAC Device Channel / Port:</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD1">
                                                           <block type="text_newline" id="#yw8m%4HXgbfkRgy5Y9a">
                                                             <field name="Type">\n</field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD2">
                                                           <block type="variables_get" id="Y]q!2r}WV~;MJYtaP^r(">
                                                             <field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="variables_set" id="e+A+e7Sxr3Y8JX}Dly9}">
                                                         <field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
                                                         <value name="VALUE">
                                                           <block type="lists_create_with" id="It;QRwd8JK.?rx2fS-lk">
                                                             <mutation items="0"></mutation>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="variables_set" id="O(}j+Sq8^(do`4u:v*Ua">
                                                             <field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
                                                             <value name="VALUE">
                                                               <block type="lists_create_with" id="6|KEKWSdlitn=`*bkNz!">
                                                                 <mutation items="0"></mutation>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="controls_repeat_ext" id="`-NE/hG:%!o*M+%sgq%:">
                                                                 <value name="TIMES">
                                                                   <shadow type="math_number" id="BKH~,crX_Lec57h6VPbT">
                                                                     <field name="NUM">10</field>
                                                                   </shadow>
                                                                   <block type="lists_length" id="N%;(Cb2nI=U|:KWrR5E[">
                                                                     <value name="VALUE">
                                                                       <block type="variables_get" id="Wcc9V@N^*hw1%m%9SscW">
                                                                         <field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <statement name="DO">
                                                                   <block type="procedures_callnoreturn" id="(e5$0}/Kzs;}a62|;Y%,">
                                                                     <mutation name="consolenlog">
                                                                       <arg name="log_text"></arg>
                                                                     </mutation>
                                                                     <value name="ARG0">
                                                                       <block type="text_join" id="(DL5lDUU~f]/WunRtFXd">
                                                                         <mutation items="1"></mutation>
                                                                         <value name="ADD0">
                                                                           <block type="text" id="])49oC!d3X7%PKNC|33)">
                                                                             <field name="TEXT">Erste Schleife zur Port Zuordnung wird gestartet!</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="variables_set" id="p^wHEx.DHSFsT=6$*Y(i">
                                                                         <field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
                                                                         <value name="VALUE">
                                                                           <block type="lists_getIndex" id="UHOD`}Fg?#32bFbuemrx">
                                                                             <mutation statement="false" at="true"></mutation>
                                                                             <field name="MODE">GET</field>
                                                                             <field name="WHERE">FROM_START</field>
                                                                             <value name="VALUE">
                                                                               <block type="variables_get" id="Ij?4!#|OzZOO?TC%M`(x">
                                                                                 <field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="AT">
                                                                               <block type="math_number" id="2RQ8elvqtLd@LnbuXq6_">
                                                                                 <field name="NUM">1</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="procedures_callnoreturn" id="6({F^QMY[+eX^Yh^eA%p">
                                                                             <mutation name="consolenlog">
                                                                               <arg name="log_text"></arg>
                                                                             </mutation>
                                                                             <value name="ARG0">
                                                                               <block type="text_join" id="%OWVei/w@MA`k]FqR4cZ">
                                                                                 <mutation items="3"></mutation>
                                                                                 <value name="ADD0">
                                                                                   <block type="text" id="sc9.}YaU|]b0:KD.`,7P">
                                                                                     <field name="TEXT">MAC WLAN Gerät zur Channel Suche:</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD1">
                                                                                   <block type="text_newline" id="0Sa;@lnlTbo1Lbri(X5/">
                                                                                     <field name="Type">\n</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD2">
                                                                                   <block type="variables_get" id="spbABkI~`cMyLg;*|%aV">
                                                                                     <field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="controls_repeat_ext" id="W3{ISe2v.M_+m8nzC)ej">
                                                                                 <value name="TIMES">
                                                                                   <shadow type="math_number" id="0d-i~6*LYSSVr*Sin3]}">
                                                                                     <field name="NUM">10</field>
                                                                                   </shadow>
                                                                                   <block type="get_value" id="|xUAoBe;TAQ)Hdm(et!H">
                                                                                     <field name="ATTR">val</field>
                                                                                     <field name="OID">0_userdata.0.it.unifi.devices.anzahl-devices</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <statement name="DO">
                                                                                   <block type="procedures_callnoreturn" id="O@S:g9{~1tTFqa*/C8s}">
                                                                                     <mutation name="consolenlog">
                                                                                       <arg name="log_text"></arg>
                                                                                     </mutation>
                                                                                     <value name="ARG0">
                                                                                       <block type="text_join" id="JDip2me!X8E9W%*#kK@S">
                                                                                         <mutation items="1"></mutation>
                                                                                         <value name="ADD0">
                                                                                           <block type="text" id="jGD,`u[(hCB~,HS+bFkQ">
                                                                                             <field name="TEXT">Zweite Schleife zur Port Zuordnung wird gestartet!</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                     <next>
                                                                                       <block type="variables_set" id="/{W@%SdG|CGy`NCWC94l">
                                                                                         <field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="lists_getIndex" id="2l9O5HU8b,NIJ^7oDtp~">
                                                                                             <mutation statement="false" at="true"></mutation>
                                                                                             <field name="MODE">GET</field>
                                                                                             <field name="WHERE">FROM_START</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="variables_get" id="oDV$~Ea`lQ%Ah0oqS*A4">
                                                                                                 <field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
                                                                                               </block>
                                                                                             </value>
                                                                                             <value name="AT">
                                                                                               <block type="math_number" id="AAkUJ`%c$Z0:AAkuRm9t">
                                                                                                 <field name="NUM">1</field>
                                                                                               </block>
                                                                                             </value>
                                                                                           </block>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="procedures_callnoreturn" id="g_e4$,{E/;ydN^7@-khH">
                                                                                             <mutation name="consolenlog">
                                                                                               <arg name="log_text"></arg>
                                                                                             </mutation>
                                                                                             <value name="ARG0">
                                                                                               <block type="text_join" id=";!a3.p2TP?D5GgDK@T|Z">
                                                                                                 <mutation items="3"></mutation>
                                                                                                 <value name="ADD0">
                                                                                                   <block type="text" id="}n/va+FSCH|_[GoCvB!L">
                                                                                                     <field name="TEXT">MAC AP CHANNEL:</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <value name="ADD1">
                                                                                                   <block type="text_newline" id="FE)Ps[/mY^LFkHU?2btm">
                                                                                                     <field name="Type">\n</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <value name="ADD2">
                                                                                                   <block type="variables_get" id="ru4/ns1?GxF5:0}yFrs0">
                                                                                                     <field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                               </block>
                                                                                             </value>
                                                                                             <next>
                                                                                               <block type="controls_if" id="@wAl=)bi7Fn3?6EzC_GI">
                                                                                                 <value name="IF0">
                                                                                                   <block type="logic_compare" id="tv^58FDm|]I{d|hvzjps">
                                                                                                     <field name="OP">EQ</field>
                                                                                                     <value name="A">
                                                                                                       <block type="variables_get" id="dX?H4DImMqq{DJ,Fj#+r">
                                                                                                         <field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="B">
                                                                                                       <block type="variables_get" id="klGChs0$+|B!G7~!:Ip;">
                                                                                                         <field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <statement name="DO0">
                                                                                                   <block type="procedures_callnoreturn" id="y8%?Q$Oj/@7(:EANgC?U">
                                                                                                     <mutation name="consolenlog">
                                                                                                       <arg name="log_text"></arg>
                                                                                                     </mutation>
                                                                                                     <value name="ARG0">
                                                                                                       <block type="text" id="krGY`QYC_u(/pH_at[Fv">
                                                                                                         <field name="TEXT">Mac-Adressen sind gleich! AP wird benannt!</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <next>
                                                                                                       <block type="comment" id="e!p?ejh),|%~MW@Z@lzJ">
                                                                                                         <field name="COMMENT">Name des AP</field>
                                                                                                         <next>
                                                                                                           <block type="control_ex" id="DmhTN=^0kUJ9hb:Z#rsU">
                                                                                                             <field name="TYPE">true</field>
                                                                                                             <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                             <value name="OID">
                                                                                                               <shadow type="field_oid" id="x6b]s(D_O7s9{kT9_9_/">
                                                                                                                 <field name="oid">ID auswählen</field>
                                                                                                               </shadow>
                                                                                                               <block type="text_join" id="beVg-sk=PU59h0dEa*w^">
                                                                                                                 <mutation items="3"></mutation>
                                                                                                                 <value name="ADD0">
                                                                                                                   <block type="text" id="~.Q_hC{j/X/tl9v1{Lw!">
                                                                                                                     <field name="TEXT">0_userdata.0.it.unifi.clients.</field>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                                 <value name="ADD1">
                                                                                                                   <block type="variables_get" id="@CzUfH[LJp/wudfDc_cI">
                                                                                                                     <field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                                 <value name="ADD2">
                                                                                                                   <block type="text" id="`7jC(y:;XG4g2=9+0U85">
                                                                                                                     <field name="TEXT">.ap_sw_name</field>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                             <value name="VALUE">
                                                                                                               <shadow type="logic_boolean" id="]BS~xRB;6.T-NO;3A;s$">
                                                                                                                 <field name="BOOL">TRUE</field>
                                                                                                               </shadow>
                                                                                                               <block type="get_value_var" id="L/Xn2i]4/|Z(|Uho_UOy">
                                                                                                                 <field name="ATTR">val</field>
                                                                                                                 <value name="OID">
                                                                                                                   <shadow type="field_oid" id="a~KFJD~fN6qom,t0(4)T">
                                                                                                                     <field name="oid">ID auswählen</field>
                                                                                                                   </shadow>
                                                                                                                   <block type="text_join" id="4*9`E2f(VY#dW8*gr^bN">
                                                                                                                     <mutation items="3"></mutation>
                                                                                                                     <value name="ADD0">
                                                                                                                       <block type="text" id="v4pCJxOolBH*DjQM!)Sv">
                                                                                                                         <field name="TEXT">unifi.0.default.clients.</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                     <value name="ADD1">
                                                                                                                       <block type="variables_get" id="d6^zOq(^:?AbQuhW`}O.">
                                                                                                                         <field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                     <value name="ADD2">
                                                                                                                       <block type="text" id="S|}MJ=0BLu#U{I~KZAzO">
                                                                                                                         <field name="TEXT">.name</field>
                                                                                                                       </block>
                                                                                                                     </value>
                                                                                                                   </block>
                                                                                                                 </value>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                             <value name="DELAY_MS">
                                                                                                               <shadow type="math_number" id="5|hYDxp5jWY~VCq(ii{H">
                                                                                                                 <field name="NUM">0</field>
                                                                                                               </shadow>
                                                                                                             </value>
                                                                                                             <value name="EXPIRE">
                                                                                                               <shadow type="math_number" id="%_SAJF/KjETa7qNaCp7~">
                                                                                                                 <field name="NUM">0</field>
                                                                                                               </shadow>
                                                                                                             </value>
                                                                                                           </block>
                                                                                                         </next>
                                                                                                       </block>
                                                                                                     </next>
                                                                                                   </block>
                                                                                                 </statement>
                                                                                                 <next>
                                                                                                   <block type="lists_getIndex" id="D-|i7{ho!wD=i2Dd9`{N">
                                                                                                     <mutation statement="true" at="true"></mutation>
                                                                                                     <field name="MODE">REMOVE</field>
                                                                                                     <field name="WHERE">FROM_START</field>
                                                                                                     <value name="VALUE">
                                                                                                       <block type="variables_get" id="a4E}eLqA0,xLH0`4A7I(">
                                                                                                         <field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="AT">
                                                                                                       <block type="math_number" id="?4uJ(K|#J!e3N1o4Usz`">
                                                                                                         <field name="NUM">1</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </next>
                                                                                               </block>
                                                                                             </next>
                                                                                           </block>
                                                                                         </next>
                                                                                       </block>
                                                                                     </next>
                                                                                   </block>
                                                                                 </statement>
                                                                                 <next>
                                                                                   <block type="lists_getIndex" id="k?1Y2m9fu!g4$uLtlxt9">
                                                                                     <mutation statement="true" at="true"></mutation>
                                                                                     <field name="MODE">REMOVE</field>
                                                                                     <field name="WHERE">FROM_START</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="variables_get" id="lEKq75IhYSAC},`ht)Mz">
                                                                                         <field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="AT">
                                                                                       <block type="math_number" id="ki+$Qq9}#`eEFfLTb^h@">
                                                                                         <field name="NUM">1</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                        </block>
                        

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        700

                        Online

                        32.7k

                        Benutzer

                        82.4k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe