Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. JavaScript
  5. [Suche] Javascript das eine Tabelle im JSON ausgibt

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.7k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.0k

[Suche] Javascript das eine Tabelle im JSON ausgibt

Scheduled Pinned Locked Moved JavaScript
39 Posts 4 Posters 3.1k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • liv-in-skyL liv-in-sky

    @paul53

    also wenn ich die variable 'name' benutze, bekomme ich als resultat den scriptnamen

    getState(i).val ? myState="⚪" : myState="⚫"
    
    Liste.push({
        
      "Name"  : name, //getObject(i).common.name ,
       "ID" :  myState
         
        
    })
    
    
    

    ???

    @quorle was meinst du mit beschnitten - was soll da eigentlich stehen

    paul53P Offline
    paul53P Offline
    paul53
    wrote on last edited by
    #19

    @liv-in-sky sagte:

    also wenn ich die variable 'name' benutze, bekomme ich als resultat den scriptnamen

    Ja, die Variable name ist im Javascript-Adapter vordefiniert und liefert den Script name.

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    liv-in-skyL 1 Reply Last reply
    0
    • paul53P paul53

      @liv-in-sky sagte:

      also wenn ich die variable 'name' benutze, bekomme ich als resultat den scriptnamen

      Ja, die Variable name ist im Javascript-Adapter vordefiniert und liefert den Script name.

      liv-in-skyL Offline
      liv-in-skyL Offline
      liv-in-sky
      wrote on last edited by
      #20

      @paul53

      den braucht er wahrscheinlich nicht - ich kann ihm nur den object namen anbieten - ich habe das "beschnitten" nicht verstanden - deine function mit ausgabe werten ist natürlich eleganter.

      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

      paul53P 1 Reply Last reply
      0
      • liv-in-skyL liv-in-sky

        @paul53

        den braucht er wahrscheinlich nicht - ich kann ihm nur den object namen anbieten - ich habe das "beschnitten" nicht verstanden - deine function mit ausgabe werten ist natürlich eleganter.

        paul53P Offline
        paul53P Offline
        paul53
        wrote on last edited by paul53
        #21

        @liv-in-sky sagte:

        ich habe das "beschnitten" nicht verstanden

        Die Funktion Name(ObjectID) gibt einen verkürzten Namen zurück.

        let name = getObject(ObjectID).common.name.substring(12);
        name = name.replace('Status obere Position', 'oben');
        name = name.replace('Status untere Position', 'unten');
        return name;
        

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        liv-in-skyL 1 Reply Last reply
        0
        • paul53P paul53

          @liv-in-sky sagte:

          ich habe das "beschnitten" nicht verstanden

          Die Funktion Name(ObjectID) gibt einen verkürzten Namen zurück.

          let name = getObject(ObjectID).common.name.substring(12);
          name = name.replace('Status obere Position', 'oben');
          name = name.replace('Status untere Position', 'unten');
          return name;
          
          liv-in-skyL Offline
          liv-in-skyL Offline
          liv-in-sky
          wrote on last edited by
          #22

          @paul53 achso. es soll ein name gekürzt werden

          das kann natürlih eingebaut werden - habe ich wohl in seinem alten script übersehen

          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            quorle
            wrote on last edited by
            #23

            Sorry, hatte die Tage einiges anderes zu erledigen.

            Also mit "Beschneiden" meinte ich das ersetzen des Namens:

            Beispiel:
            Ist Zustand: Schlafzimmer Balkontüre Status untere Position

            Soll Zustand:
            Schlafzimmer Balkontüre

            liv-in-skyL 1 Reply Last reply
            0
            • Q quorle

              Sorry, hatte die Tage einiges anderes zu erledigen.

              Also mit "Beschneiden" meinte ich das ersetzen des Namens:

              Beispiel:
              Ist Zustand: Schlafzimmer Balkontüre Status untere Position

              Soll Zustand:
              Schlafzimmer Balkontüre

              liv-in-skyL Offline
              liv-in-skyL Offline
              liv-in-sky
              wrote on last edited by
              #24

              @quorle

              wenn das was mit den zusätzlichen bildern zu tun hat, kannst du das auh noch einbauen - also ein bild für oben und eines für unten. man könnte auch noch danach sortieren .

              nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

              Q 1 Reply Last reply
              0
              • liv-in-skyL liv-in-sky

                @quorle

                wenn das was mit den zusätzlichen bildern zu tun hat, kannst du das auh noch einbauen - also ein bild für oben und eines für unten. man könnte auch noch danach sortieren .

                Q Offline
                Q Offline
                quorle
                wrote on last edited by
                #25

                @liv-in-sky

                Also Aktuell sieht das Script so aus:

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable id="Fwt*3`3ScyT(qDt?gf(T">ObjectID</variable>
                   <variable id="V2M7szHj0grpg_E~L6Y:">Liste</variable>
                   <variable id="K@h0-NY5VaI|@t!5/iJh">Wert</variable>
                   <variable id="y$E$s)SL1AaL_Wwl$Jw.">myList</variable>
                   <variable id="2TXuU=:-J^z#1tz2?m+)">test</variable>
                   <variable id="Z=?7wCQ1-49/,bxoE1#|">counter</variable>
                   <variable id="uraW(G+9^E9Lr!q;.Md?">i</variable>
                   <variable id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</variable>
                   <variable id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</variable>
                 </variables>
                 <block type="procedures_defcustomreturn" id="]lQM=r`L^2M}s^@n(USH" x="-1312" y="-1962">
                   <mutation statements="false">
                     <arg name="ObjectID" varid="Fwt*3`3ScyT(qDt?gf(T"></arg>
                   </mutation>
                   <field name="NAME">Name</field>
                   <field name="SCRIPT">bGV0IG5hbWUgPSBnZXRPYmplY3QoT2JqZWN0SUQpLmNvbW1vbi5uYW1lLnN1YnN0cmluZygxMik7Cm5hbWUgPSBuYW1lLnJlcGxhY2UoJ1N0YXR1cyBvYmVyZSBQb3NpdGlvbicsICdvYmVuJyk7Cm5hbWUgPSBuYW1lLnJlcGxhY2UoJ1N0YXR1cyB1bnRlcmUgUG9zaXRpb24nLCAndW50ZW4nKTsKcmV0dXJuIG5hbWU7Cg==</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 </block>
                 <block type="procedures_defcustomreturn" id="!t;U0AgoNU@W*^{W;)1~" x="-1313" y="-1913">
                   <mutation statements="false">
                     <arg name="Liste" varid="V2M7szHj0grpg_E~L6Y:"></arg>
                     <arg name="Wert" varid="K@h0-NY5VaI|@t!5/iJh"></arg>
                   </mutation>
                   <field name="NAME">Multisort</field>
                   <field name="SCRIPT">dmFyIFdlcnQgPSBXZXJ0IC0gMTsgCkxpc3RlLnNvcnQoZnVuY3Rpb24oYSwgYil7CiAgICByZXR1cm4gYltXZXJ0XSAtIGFbV2VydF07Cn0pOwpyZXR1cm4gTGlzdGU7</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 </block>
                 <block type="procedures_defcustomnoreturn" id="d+PXd6N1nBTxz}gaM@Co" x="-1312" y="-1862">
                   <mutation statements="false">
                     <arg name="myList" varid="y$E$s)SL1AaL_Wwl$Jw."></arg>
                   </mutation>
                   <field name="NAME">tabelleMit3Werten</field>
                   <field name="SCRIPT">ICAgIC8vQGxpdi1pbi1za3kgMjAyMCAgNC4yLi0xODo0Mg0KIA0KIA0KLy9ISUVSIFdJUkQgUEZBRCBVTkQgRklMRU5BTUUgREVGSU5JRVJUDQpjb25zdCBwYXRoID0gIi9odG1sZXhhbXBsZXNldHRpbmcuaHRtbCI7ICAgICAgICAgICAgICAgICAgIC8vRklsZW5hbWVuIGRlZmluaWVyZW4NCmNvbnN0IGhvbWUgPSd2aXMuMCcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL3dvIHNvbGwgZGFzIGZpbGUgaW0gaW9icm9rZXItZmlsZS1zeXN0ZW0gbGllZ2VuID8gKG9kZXIgei5iIGF1Y2ggaXFvbnRyb2wubWV0YSkNCmxldCAgIGJyYXVjaGVFaW5GaWxlPWZhbHNlOyAgICAgICAgICAgICAgICAgICAgICAgICAgLy8gYmVpIHRydWUgd2lyZCBlaW4gZmlsZSBnZXNjaHJpZWJlbg0KbGV0ICAgYnJhdWNoZUVpblZJU1dpZGdldD10cnVlOyAgICAgICAgICAgICAgICAgICAgIC8vIGJlaSB0cnVlIHdpcmQgZWluIGh0bWwtdGFiZWxsZSBpbiBlaW5lbiBkcCBnZXNjaHJpZWJlbiAtIHNpZWhlIG7DpGNoc3RlIHplaWxlDQpsZXQgZHBWSVM9ImNvbnRyb2xsLW93bi4wLkFBQVRFU1QuVGVzdEhUTUwiICAgICAgICAgLy9XSUNIVElHIHdlbm4gYnJhdWNoZUVpblZJU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ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZhcmJldHJlbm51bmdzTGluaWUrIjtcIiBhbGlnbj0iK0ZlbGQybEFsaWduKyI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPiI7IH0gDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSB7IGlmKGNvdW50ZXIlMz09MSApICB7IGh0bWxPdXQgPSBodG1sT3V0KyI8dGQgYWxpZ249IitGZWxkMWxBbGlnbisiIHN0eWxlPVwiY29sb3I6IitodG1sRmFyYkZlbGRlcnNjaHJpZnQyKyJcIj4mZW5zcDsiK3ZhbDArIiZlbnNwOzwvdGQ+PHRkICBhbGlnbj0iK0ZlbGQybEFsaWduKw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIiBzdHlsZT1cImJvcmRlci1yaWdodDogIit0cmVubnVuZ3NMaW5pZSsicHggc29saWQgIitmYXJiZXRyZW5udW5nc0xpbmllKyI7Y29sb3I6IitodG1sRmFyYkZlbGRlcnNjaHJpZnQyKyJcIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+Ijt9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSAgICB7aHRtbE91dCA9IGh0bWxPdXQrIjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBhbGlnbj0iK0ZlbGQybEFsaWduKyI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPjwvdHI+Ijt9DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGJyZWFrOyB9ZWxzZXsNCiAgICAgICAgICAgICAgICAgaWYoY291bnRlciUzPT0wICkgIHtodG1sT3V0ID0gaHRtbE91dCsiPHRyIGJnY29sb3I9XCIiK2ZhcmJlVW5nZXJhZGVaZWlsZW4rIlwiPjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBzdHlsZT1cIiBib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYXJiZXRyZW5udW5nc0xpbmllKyI7XCIgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iOyB9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgeyBpZihjb3VudGVyJTM9PTEgKSAgeyBodG1sT3V0ID0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249IitGZWxkMmxBbGlnbisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIgc3R5bGU9XCJib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrZmFyYmV0cmVubnVuZ3NMaW5pZSsiO2NvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPiI7fSANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgICAge2h0bWxPdXQgPSBodG1sT3V0KyI8dGQgYWxpZ249IitGZWxkMWxBbGlnbisiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD48L3RyPiI7fQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBicmVhazsgIH0gICAgICAgICAgICAgICAgICAgICAgIA0KLy8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIA0KICAgICAgICAgY2FzZSA0OiAvL2NvdW50ZXI9Y291bnRlcis4IA0KICAgICAgICAgaWYoY291bnRlciU4PT0wKSAgIHsNCiAgICAgICAgIA0KICAgICAgICAgICAgICAgICAgaWYoY291bnRlciU0PT0wKSAge2h0bWxPdXQgPSBodG1sT3V0KyI8dHIgYmdjb2xvcj1cIiIrZmFyYmVHZXJhZGVaZWlsZW4rIlwiPjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBzdHlsZT1cIiBib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYXJiZXRyZW5udW5nc0xpbmllKyI7XCIgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iOyB9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHtpZihjb3VudGVyJTQ9PTEgKSAgeyBodG1sT3V0ID0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249IitGZWxkMmxBbGlnbisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIgc3R5bGU9XCJjb2xvcjoiK2h0bWxGYXJiRmVsZGVyc2NocmlmdDIrIlwiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iO30gDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlICAgIHtpZihjb3VudGVyJTQ9PTMpICB7IGh0bWxPdXQ9IGh0bWxPdXQrIjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyIgc3R5bGU9XCJjb2xvcjoiK2h0bWxGYXJiRmVsZGVyc2NocmlmdDIrIlwiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgIGFsaWduPSIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgRmVsZDJsQWxpZ24rIiBzdHlsZT1cImJvcmRlci1yaWdodDogIit0cmVubnVuZ3NMaW5pZSsicHggc29saWQgIitmYXJiZXRyZW5udW5nc0xpbmllKyI7IGNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPjwvdHI+Ijt9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSAgICB7aHRtbE91dCA9IGh0bWxPdXQgPSBodG1sT3V0KyI8dGQgYWxpZ249IitGZWxkMWxBbGlnbisiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgc3R5bGU9XCIgYm9yZGVyLXJpZ2h0OiAiK3RyZW5udW5nc0xpbmllKyJweCBzb2xpZCAiDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICArZmFyYmV0cmVubnVuZ3NMaW5pZSsiO1wiIGFsaWduPSIrRmVsZDJsQWxpZ24rIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+Ijt9fQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBicmVhazt9ZWxzZXsNCiAgICAgICAgICAgICAgICAgIGlmKGNvdW50ZXIlND09MCkgIHtodG1sT3V0ID0gaHRtbE91dCsiPHRyIGJnY29sb3I9XCIiK2ZhcmJlVW5nZXJhZGVaZWlsZW4rIlwiPjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBzdHlsZT1cIiBib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYXJiZXRyZW5udW5nc0xpbmllKyI7XCIgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iOyB9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHtpZihjb3VudGVyJTQ9PTEgKSAgeyBodG1sT3V0ID0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249IitGZWxkMmxBbGlnbisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIgc3R5bGU9XCJib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrZmFyYmV0cmVubnVuZ3NMaW5pZSsiO2NvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPiI7fSANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgICAge2lmKGNvdW50ZXIlND09MykgIHsgaHRtbE91dD0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249Ig0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICtGZWxkMmxBbGlnbisiIHN0eWxlPVwiIGNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPjwvdHI+Ijt9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSAgICB7aHRtbE91dCA9IGh0bWxPdXQgPSBodG1sT3V0KyI8dGQgYWxpZ249IitGZWxkMWxBbGlnbisiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgc3R5bGU9XCIgYm9yZGVyLXJpZ2h0OiAiK3RyZW5udW5nc0xpbmllKyJweCBzb2xpZCAiKw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmFyYmV0cmVubnVuZ3NMaW5pZSsiO1wiIGFsaWduPSIrRmVsZDJsQWxpZ24rIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+Ijt9fQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSAgYnJlYWs7ICAgfSAgICAgICAgICAgICAgICAgICAgIA0KIA0KICAgICB9IC8vc3dpdGNoIGVuZGUNCiANCn0NCiANCmZ1bmN0aW9uIHRhYmVsbGVGaW5pc2goKSB7DQogDQogICAgICAgc3dpdGNoIChtZWhyZmFjaFRhYmVsbGU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jwvdGFibGU+IitodG1sVW50ZXIrIjwvZGl2PjwvYm9keT4iOw0KIGlmICghaHRtbFNpZ25hdHVyZSkgaHRtbFVudGVyPSIiOw0KIA0KIC8vbWl0IG9kZXIgb2huZSDDvGJlcnNjaHJpZnQgLSB6ZW50cmllcnQgb2RlciBsaW5rcw0KaHRtbFViZXJzY2hyaWZ0ID8gaHRtbE91dD1odG1sU3RhcnQraHRtbFVlYmVyK2h0bWxUYWJTdHlsZStodG1sVGFiVWViZXIraHRtbE91dCtodG1sRW5kIDogaHRtbE91dD1odG1sU3RhcnQraHRtbFRhYlN0eWxlK2h0bWxUYWJVZWJlcitodG1sT3V0K2h0bWxFbmQ7DQogLy9sb2coaHRtbE91dCk7DQogDQogDQp9DQogDQogDQogDQo=</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 </block>
                 <block type="variables_set" id="M*e-%li=rNRAKW!{S*Fi" disabled="true" x="-1287" y="-1761">
                   <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                   <value name="VALUE">
                     <block type="convert_json2object" id="HodxuAjF0Dakr,,xDdpw">
                       <value name="VALUE">
                         <block type="text" id="s=LJUvclbq%Wb6B;E/^k">
                           <field name="TEXT">[["WC Status untere Position",false],["WC oben",true],["Schlafzimmer Fenster Status untere Position",false],["Schlafzimmer Fenster oben",true],["Schlafzimmer Balkontüre Status untere Position",false],["Schlafzimmer Balkontüre oben",true],["Kinderzimmer Lea Status untere Position",false],["Kinderzimmer Lea oben",true],["Kinderzimmer Antonia Status untere Position",false],["Kinderzimmer Antonia oben",true],["Gästezimmer Status untere Position",true],["Gästezimmer oben",false],["Jonas Fenster Status untere Position",false],["Jonas Fenster oben",true],["Wohnzimmer Fenster Status untere Position",false],["Wohnzimmer Fenster oben",true],["Wohnzimmer Balkontüre Status untere Position",false],["Wohnzimmer Balkontüre oben",true],["WC Fenster Status untere Position",false],["WC Fenster oben",true],["Küche Fenster Status untere Position",false],["Küche Fenster oben",true]]</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <next>
                     <block type="schedule" id="Cqz)^1L5B-*_#wudd;?i">
                       <field name="SCHEDULE">*/20 * * * * *</field>
                       <statement name="STATEMENT">
                         <block type="variables_set" id="sWqJxa.MyY?*y-S}mHPz">
                           <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                           <value name="VALUE">
                             <block type="lists_create_with" id="s1KG8o;:gtQ6DjJt@w9I">
                               <mutation items="0"></mutation>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="R6exgi+-F7xoKVW/[NE.">
                               <field name="VAR" id="Z=?7wCQ1-49/,bxoE1#|">counter</field>
                               <value name="VALUE">
                                 <block type="math_number" id="AHHG~c/mltPLQ?]Ik;5M">
                                   <field name="NUM">-1</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="controls_forEach" id="~PaFX`X@5n{TM9K^{Jw6">
                                   <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                   <value name="LIST">
                                     <block type="selector" id="xQ^Q5{h5V@5PLI+YO@i.">
                                       <field name="TEXT">*_Position(functions=blinds)</field>
                                     </block>
                                   </value>
                                   <statement name="DO">
                                     <block type="debug" id="XZDv+4g$1.=ljXu_70B*" disabled="true">
                                       <field name="Severity">warn</field>
                                       <value name="TEXT">
                                         <shadow type="text">
                                           <field name="TEXT">test</field>
                                         </shadow>
                                         <block type="variables_get" id="WiV$3M9_AvyO[2zGP3_e">
                                           <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_if" id="BpYF0w{plR^$Bj;f$G-X">
                                           <mutation elseif="1"></mutation>
                                           <value name="IF0">
                                             <block type="logic_compare" id=":U;pkPjDX!X*x`]J^[=f">
                                               <field name="OP">GT</field>
                                               <value name="A">
                                                 <block type="text_indexOf" id="dQ?$f$~34KAwRQzHZy2v">
                                                   <field name="END">FIRST</field>
                                                   <value name="VALUE">
                                                     <block type="variables_get" id="YN=/IOiNU1e/z47W_hYO">
                                                       <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                     </block>
                                                   </value>
                                                   <value name="FIND">
                                                     <shadow type="text" id="YJ_ZaIlitzIz0lbSIy]Z">
                                                       <field name="TEXT">obere</field>
                                                     </shadow>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="(4uegeXx!R!5`x./Zrpy">
                                                   <field name="NUM">0</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="math_change" id=";nI|WSdj!-!_]9^hXce=">
                                               <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                               <value name="DELTA">
                                                 <shadow type="math_number" id="7NsDd4.5wRJiN$ohzcPz">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                               </value>
                                               <next>
                                                 <block type="procedures_callcustomnoreturn" id="7(!wl+gy1z~l4.6UX*QE">
                                                   <mutation name="etwas tun"></mutation>
                                                   <next>
                                                     <block type="lists_setIndex" id="V%X2]!(FWN#b!Icp,vEn">
                                                       <mutation at="true"></mutation>
                                                       <field name="MODE">INSERT</field>
                                                       <field name="WHERE">FROM_START</field>
                                                       <value name="LIST">
                                                         <block type="variables_get" id="d@?Y!wCwVm2J;5#}l@|s">
                                                           <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                         </block>
                                                       </value>
                                                       <value name="AT">
                                                         <block type="variables_get" id="I{J?cUEic):/$hl^3n{K">
                                                           <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                         </block>
                                                       </value>
                                                       <value name="TO">
                                                         <block type="lists_create_with" id="/zCL;!FCpeJcaTRNromK">
                                                           <mutation items="2"></mutation>
                                                           <value name="ADD0">
                                                             <block type="procedures_callcustomreturn" id="Qf=s6+J.KB`I0omt2dx-" inline="true">
                                                               <mutation name="Name">
                                                                 <arg name="ObjectID"></arg>
                                                               </mutation>
                                                               <value name="ARG0">
                                                                 <block type="variables_get" id="7`$xI^f!0)3kG%TM66sA">
                                                                   <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="get_value_var" id="~#Cp6j.d%w8Wx2-Fr,Xd" disabled="true">
                                                               <field name="ATTR">val</field>
                                                               <value name="OID">
                                                                 <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                                   <field name="TEXT"></field>
                                                                 </shadow>
                                                                 <block type="variables_get" id="G,BvC-qYrP^?;J`$oD`G">
                                                                   <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <value name="IF1">
                                             <block type="logic_compare" id=",#NtYtMgV}/:2E1_hNrG">
                                               <field name="OP">GT</field>
                                               <value name="A">
                                                 <block type="text_indexOf" id="Yg}H-~{a7x8)+qu:9M|/">
                                                   <field name="END">FIRST</field>
                                                   <value name="VALUE">
                                                     <block type="variables_get" id="8;*NmuJL+=2ZjdGLV@w*">
                                                       <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                     </block>
                                                   </value>
                                                   <value name="FIND">
                                                     <shadow type="text" id="NE#zvIT-6LZjV3/;?~mp">
                                                       <field name="TEXT">untere</field>
                                                     </shadow>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="J(GT5p9jH?jE][E#[[@;">
                                                   <field name="NUM">0</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO1">
                                             <block type="math_change" id=":_uor[5yVl8xBU+`cMV;">
                                               <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                               <value name="DELTA">
                                                 <shadow type="math_number" id="ieNW@ocv}L*#oj8$X~P1">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                               </value>
                                               <next>
                                                 <block type="procedures_callcustomnoreturn" id=";=/Mf4O*gPD.e3=$W%6*">
                                                   <mutation name="etwas tun"></mutation>
                                                   <next>
                                                     <block type="lists_setIndex" id="3`60`J~EA:*j}OOf+Z*c">
                                                       <mutation at="true"></mutation>
                                                       <field name="MODE">INSERT</field>
                                                       <field name="WHERE">FROM_START</field>
                                                       <value name="LIST">
                                                         <block type="variables_get" id="Q|]yh,v=L+mdd_rKMQdY">
                                                           <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                         </block>
                                                       </value>
                                                       <value name="AT">
                                                         <block type="variables_get" id="iyFeezsq|O~{G,#T^e=-">
                                                           <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                         </block>
                                                       </value>
                                                       <value name="TO">
                                                         <block type="lists_create_with" id="XbB!.OI/O0-lQFTag=P`">
                                                           <mutation items="2"></mutation>
                                                           <value name="ADD0">
                                                             <block type="procedures_callcustomreturn" id="Z_doi2a.Vs634-ZCc8|6" inline="true">
                                                               <mutation name="Name">
                                                                 <arg name="ObjectID"></arg>
                                                               </mutation>
                                                               <value name="ARG0">
                                                                 <block type="variables_get" id="fA)(tvzda:,Du0s;bs-#">
                                                                   <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="get_value_var" id="NZ3R^x0{NE3}p43(4,SN" disabled="true">
                                                               <field name="ATTR">val</field>
                                                               <value name="OID">
                                                                 <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                                   <field name="TEXT"></field>
                                                                 </shadow>
                                                                 <block type="variables_get" id="L,4oOHhVa[Gw1ak,Jb-6">
                                                                   <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="procedures_callcustomnoreturn" id="1tTT@y+3fd)eq*EKO%`c" disabled="true">
                                       <mutation name="tabelleMit3Werten">
                                         <arg name="myList"></arg>
                                       </mutation>
                                       <value name="ARG0">
                                         <block type="variables_get" id="T3wm-=*hL+H$*f^H0[J9">
                                           <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="?B@5=?PqH6v*6zKv6fcp">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">javascript.0.test.Test_gemischt</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="convert_object2json" id="qbFE#Dr-U2bJkWET{;3/">
                                               <field name="PRETTIFY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="variables_get" id="f6)^4$,h523yANg6}Xp7">
                                                   <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="debug" id="Xar6oL7+k!M:2n0atyZt">
                                               <field name="Severity">warn</field>
                                               <value name="TEXT">
                                                 <shadow type="text" id="E(2nqnZZxAhV95m0d7U|">
                                                   <field name="TEXT">test</field>
                                                 </shadow>
                                                 <block type="variables_get" id="JVA=ISb(J?rC5aZV)=i?">
                                                   <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
                 <block type="procedures_defcustomnoreturn" id="i*1!AZb|niUFaXh*t{,x" x="-1038" y="-987">
                   <mutation statements="false"></mutation>
                   <field name="NAME">etwas tun</field>
                   <field name="SCRIPT">LyoNCmdldFN0YXRlKGkpLnZhbCA/IG15U3RhdGU9IuKaqiIgOiBteVN0YXRlPSLimqsiDQoNCkxpc3RlLnB1c2goew0KICAgIA0KICAibmFtZSIgIDogZ2V0T2JqZWN0KGkpLmNvbW1vbi5uYW1lICwNCiAgICJpZCIgOiAgbXlTdGF0ZQ0KICAgICANCiAgICANCn0pDQoqLw0KZ2V0U3RhdGUoTGlzdGUpLnZhbCA/IG15U3RhdGU9IuKaqiIgOiBteVN0YXRlPSLimqsiDQoNCkxpc3RlLnB1c2goew0KICAgIA0KICAibmFtZSIgIDogZ2V0T2JqZWN0KGkpLmNvbW1vbi5uYW1lICwNCiAgICJpZCIgOiAgbXlTdGF0ZQ0KICAgICANCiAgICANCn0p</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 </block>
                </xml>
                

                Und als Ausgabe wird folgendes ausgegeben:
                Unbenannt.PNG

                Der obere Teil ist die Ausgabe von @paul53 , so sollte der Text eigentlich lauten.
                Der untere Teil ist von dir. Klar, die schwarzen Punkte kann man dann eventuell weglassen und mit der JSON-Tabelle direkt in VIS Arbeiten?

                paul53P 1 Reply Last reply
                0
                • Q quorle

                  @liv-in-sky

                  Also Aktuell sieht das Script so aus:

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <variables>
                     <variable id="Fwt*3`3ScyT(qDt?gf(T">ObjectID</variable>
                     <variable id="V2M7szHj0grpg_E~L6Y:">Liste</variable>
                     <variable id="K@h0-NY5VaI|@t!5/iJh">Wert</variable>
                     <variable id="y$E$s)SL1AaL_Wwl$Jw.">myList</variable>
                     <variable id="2TXuU=:-J^z#1tz2?m+)">test</variable>
                     <variable id="Z=?7wCQ1-49/,bxoE1#|">counter</variable>
                     <variable id="uraW(G+9^E9Lr!q;.Md?">i</variable>
                     <variable id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</variable>
                     <variable id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</variable>
                   </variables>
                   <block type="procedures_defcustomreturn" id="]lQM=r`L^2M}s^@n(USH" x="-1312" y="-1962">
                     <mutation statements="false">
                       <arg name="ObjectID" varid="Fwt*3`3ScyT(qDt?gf(T"></arg>
                     </mutation>
                     <field name="NAME">Name</field>
                     <field name="SCRIPT">bGV0IG5hbWUgPSBnZXRPYmplY3QoT2JqZWN0SUQpLmNvbW1vbi5uYW1lLnN1YnN0cmluZygxMik7Cm5hbWUgPSBuYW1lLnJlcGxhY2UoJ1N0YXR1cyBvYmVyZSBQb3NpdGlvbicsICdvYmVuJyk7Cm5hbWUgPSBuYW1lLnJlcGxhY2UoJ1N0YXR1cyB1bnRlcmUgUG9zaXRpb24nLCAndW50ZW4nKTsKcmV0dXJuIG5hbWU7Cg==</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   </block>
                   <block type="procedures_defcustomreturn" id="!t;U0AgoNU@W*^{W;)1~" x="-1313" y="-1913">
                     <mutation statements="false">
                       <arg name="Liste" varid="V2M7szHj0grpg_E~L6Y:"></arg>
                       <arg name="Wert" varid="K@h0-NY5VaI|@t!5/iJh"></arg>
                     </mutation>
                     <field name="NAME">Multisort</field>
                     <field name="SCRIPT">dmFyIFdlcnQgPSBXZXJ0IC0gMTsgCkxpc3RlLnNvcnQoZnVuY3Rpb24oYSwgYil7CiAgICByZXR1cm4gYltXZXJ0XSAtIGFbV2VydF07Cn0pOwpyZXR1cm4gTGlzdGU7</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   </block>
                   <block type="procedures_defcustomnoreturn" id="d+PXd6N1nBTxz}gaM@Co" x="-1312" y="-1862">
                     <mutation statements="false">
                       <arg name="myList" varid="y$E$s)SL1AaL_Wwl$Jw."></arg>
                     </mutation>
                     <field name="NAME">tabelleMit3Werten</field>
                     <field name="SCRIPT">ICAgIC8vQGxpdi1pbi1za3kgMjAyMCAgNC4yLi0xODo0Mg0KIA0KIA0KLy9ISUVSIFdJUkQgUEZBRCBVTkQg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NMaW5pZSsicHggc29saWQgIitmYXJiZXRyZW5udW5nc0xpbmllKw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIjtcImFsaWduPSIrRmVsZDJsQWxpZ24rIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+IjsgfSANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHtodG1sT3V0ID0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249IitGZWxkMmxBbGlnbisiIHN0eWxlPVwiY29sb3I6IisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBodG1sRmFyYkZlbGRlcnNjaHJpZnQyKyJcIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+PC90cj4iO30gYnJlYWs7DQogICAgICAgICB9ZWxzZXsNCiAgICAgICAgICAgICAgICAgIGlmKGNvdW50ZXIlMj09MCkgIHtodG1sT3V0ID0gaHRtbE91dCsiPHRyIGJnY29sb3I9XCIiK2ZhcmJlVW5nZXJhZGVaZWlsZW4rIlwiPjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBzdHlsZT1cIiBib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicHggc29saWQgIitmYXJiZXRyZW5udW5nc0xpbmllKyI7XCIgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iOyB9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2Uge2h0bWxPdXQgPSBodG1sT3V0KyI8dGQgIGFsaWduPSIrRmVsZ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K0ZlbGQybEFsaWduKw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIiBzdHlsZT1cImJvcmRlci1yaWdodDogIit0cmVubnVuZ3NMaW5pZSsicHggc29saWQgIitmYXJiZXRyZW5udW5nc0xpbmllKyI7Y29sb3I6IitodG1sRmFyYkZlbGRlcnNjaHJpZnQyKyJcIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+Ijt9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSAgICB7aHRtbE91dCA9IGh0bWxPdXQrIjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBhbGlnbj0iK0ZlbGQybEFsaWduKyI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPjwvdHI+Ijt9DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9IGJyZWFrOyB9ZWxzZXsNCiAgICAgICAgICAgICAgICAgaWYoY291bnRlciUzPT0wICkgIHtodG1sT3V0ID0gaHRtbE91dCsiPHRyIGJnY29sb3I9XCIiK2ZhcmJlVW5nZXJhZGVaZWlsZW4rIlwiPjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBzdHlsZT1cIiBib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYXJiZXRyZW5udW5nc0xpbmllKyI7XCIgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iOyB9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgeyBpZihjb3VudGVyJTM9PTEgKSAgeyBodG1sT3V0ID0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249IitGZWxkMmxBbGlnbisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIgc3R5bGU9XCJib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrZmFyYmV0cmVubnVuZ3NMaW5pZSsiO2NvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPiI7fSANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgICAge2h0bWxPdXQgPSBodG1sT3V0KyI8dGQgYWxpZ249IitGZWxkMWxBbGlnbisiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD48L3RyPiI7fQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBicmVhazsgIH0gICAgICAgICAgICAgICAgICAgICAgIA0KLy8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tIA0KICAgICAgICAgY2FzZSA0OiAvL2NvdW50ZXI9Y291bnRlcis4IA0KICAgICAgICAgaWYoY291bnRlciU4PT0wKSAgIHsNCiAgICAgICAgIA0KICAgICAgICAgICAgICAgICAgaWYoY291bnRlciU0PT0wKSAge2h0bWxPdXQgPSBodG1sT3V0KyI8dHIgYmdjb2xvcj1cIiIrZmFyYmVHZXJhZGVaZWlsZW4rIlwiPjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBzdHlsZT1cIiBib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYXJiZXRyZW5udW5nc0xpbmllKyI7XCIgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iOyB9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHtpZihjb3VudGVyJTQ9PTEgKSAgeyBodG1sT3V0ID0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249IitGZWxkMmxBbGlnbisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIgc3R5bGU9XCJjb2xvcjoiK2h0bWxGYXJiRmVsZGVyc2NocmlmdDIrIlwiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iO30gDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlICAgIHtpZihjb3VudGVyJTQ9PTMpICB7IGh0bWxPdXQ9IGh0bWxPdXQrIjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyIgc3R5bGU9XCJjb2xvcjoiK2h0bWxGYXJiRmVsZGVyc2NocmlmdDIrIlwiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgIGFsaWduPSIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgRmVsZDJsQWxpZ24rIiBzdHlsZT1cImJvcmRlci1yaWdodDogIit0cmVubnVuZ3NMaW5pZSsicHggc29saWQgIitmYXJiZXRyZW5udW5nc0xpbmllKyI7IGNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPjwvdHI+Ijt9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSAgICB7aHRtbE91dCA9IGh0bWxPdXQgPSBodG1sT3V0KyI8dGQgYWxpZ249IitGZWxkMWxBbGlnbisiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgc3R5bGU9XCIgYm9yZGVyLXJpZ2h0OiAiK3RyZW5udW5nc0xpbmllKyJweCBzb2xpZCAiDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICArZmFyYmV0cmVubnVuZ3NMaW5pZSsiO1wiIGFsaWduPSIrRmVsZDJsQWxpZ24rIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+Ijt9fQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBicmVhazt9ZWxzZXsNCiAgICAgICAgICAgICAgICAgIGlmKGNvdW50ZXIlND09MCkgIHtodG1sT3V0ID0gaHRtbE91dCsiPHRyIGJnY29sb3I9XCIiK2ZhcmJlVW5nZXJhZGVaZWlsZW4rIlwiPjx0ZCBhbGlnbj0iK0ZlbGQxbEFsaWduKyI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCBzdHlsZT1cIiBib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmYXJiZXRyZW5udW5nc0xpbmllKyI7XCIgYWxpZ249IitGZWxkMmxBbGlnbisiPiZlbnNwOyIrdmFsMSsiJmVuc3A7PC90ZD4iOyB9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIHtpZihjb3VudGVyJTQ9PTEgKSAgeyBodG1sT3V0ID0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249IitGZWxkMmxBbGlnbisNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIgc3R5bGU9XCJib3JkZXItcmlnaHQ6ICIrdHJlbm51bmdzTGluaWUrInB4IHNvbGlkICIrZmFyYmV0cmVubnVuZ3NMaW5pZSsiO2NvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPiI7fSANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVsc2UgICAge2lmKGNvdW50ZXIlND09MykgIHsgaHRtbE91dD0gaHRtbE91dCsiPHRkIGFsaWduPSIrRmVsZDFsQWxpZ24rIiBzdHlsZT1cImNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwwKyImZW5zcDs8L3RkPjx0ZCAgYWxpZ249Ig0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICtGZWxkMmxBbGlnbisiIHN0eWxlPVwiIGNvbG9yOiIraHRtbEZhcmJGZWxkZXJzY2hyaWZ0MisiXCI+JmVuc3A7Iit2YWwxKyImZW5zcDs8L3RkPjwvdHI+Ijt9IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSAgICB7aHRtbE91dCA9IGh0bWxPdXQgPSBodG1sT3V0KyI8dGQgYWxpZ249IitGZWxkMWxBbGlnbisiPiZlbnNwOyIrdmFsMCsiJmVuc3A7PC90ZD48dGQgc3R5bGU9XCIgYm9yZGVyLXJpZ2h0OiAiK3RyZW5udW5nc0xpbmllKyJweCBzb2xpZCAiKw0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmFyYmV0cmVubnVuZ3NMaW5pZSsiO1wiIGFsaWduPSIrRmVsZDJsQWxpZ24rIj4mZW5zcDsiK3ZhbDErIiZlbnNwOzwvdGQ+Ijt9fQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSAgYnJlYWs7ICAgfSAgICAgICAgICAgICAgICAgICAgIA0KIA0KICAgICB9IC8vc3dpdGNoIGVuZGUNCiANCn0NCiANCmZ1bmN0aW9uIHRhYmVsbGVGaW5pc2goKSB7DQogDQogICAgICAgc3dpdGNoIChtZWhyZmFjaFRhYmVsbGUpIHsgIA0KICAgICAgICAgY2FzZSAxOiAgICBicmVhazsNCiAgICAgICAgIGNhc2UgMjogICAgaWYoY291bnRlciUyPT0wKSAgaHRtbE91dCA9IGh0bWxPdXQucmVwbGFjZSgvPFwvdGQ+JC8sICc8L3RkPjx0ZD4mZW5zcDs8L3RkPjx0ZD4mZW5zcDs8L3RkPjwvdHI+Jyk7IA0KICAgICAgICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgICAgICAgICBicmVhazsNCiAgICAgICAgIGNhc2UgMzogICAgaWYoY291bnRlciUzPT0yKSAgaHRtbE91dCA9IGh0bWxPdXQucmVwbGFjZSgvPFwvdGQ+JC8sICI8L3RkPj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ogLy9sb2coaHRtbE91dCk7DQogDQogDQp9DQogDQogDQogDQo=</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   </block>
                   <block type="variables_set" id="M*e-%li=rNRAKW!{S*Fi" disabled="true" x="-1287" y="-1761">
                     <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                     <value name="VALUE">
                       <block type="convert_json2object" id="HodxuAjF0Dakr,,xDdpw">
                         <value name="VALUE">
                           <block type="text" id="s=LJUvclbq%Wb6B;E/^k">
                             <field name="TEXT">[["WC Status untere Position",false],["WC oben",true],["Schlafzimmer Fenster Status untere Position",false],["Schlafzimmer Fenster oben",true],["Schlafzimmer Balkontüre Status untere Position",false],["Schlafzimmer Balkontüre oben",true],["Kinderzimmer Lea Status untere Position",false],["Kinderzimmer Lea oben",true],["Kinderzimmer Antonia Status untere Position",false],["Kinderzimmer Antonia oben",true],["Gästezimmer Status untere Position",true],["Gästezimmer oben",false],["Jonas Fenster Status untere Position",false],["Jonas Fenster oben",true],["Wohnzimmer Fenster Status untere Position",false],["Wohnzimmer Fenster oben",true],["Wohnzimmer Balkontüre Status untere Position",false],["Wohnzimmer Balkontüre oben",true],["WC Fenster Status untere Position",false],["WC Fenster oben",true],["Küche Fenster Status untere Position",false],["Küche Fenster oben",true]]</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <next>
                       <block type="schedule" id="Cqz)^1L5B-*_#wudd;?i">
                         <field name="SCHEDULE">*/20 * * * * *</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="sWqJxa.MyY?*y-S}mHPz">
                             <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                             <value name="VALUE">
                               <block type="lists_create_with" id="s1KG8o;:gtQ6DjJt@w9I">
                                 <mutation items="0"></mutation>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id="R6exgi+-F7xoKVW/[NE.">
                                 <field name="VAR" id="Z=?7wCQ1-49/,bxoE1#|">counter</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="AHHG~c/mltPLQ?]Ik;5M">
                                     <field name="NUM">-1</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_forEach" id="~PaFX`X@5n{TM9K^{Jw6">
                                     <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                     <value name="LIST">
                                       <block type="selector" id="xQ^Q5{h5V@5PLI+YO@i.">
                                         <field name="TEXT">*_Position(functions=blinds)</field>
                                       </block>
                                     </value>
                                     <statement name="DO">
                                       <block type="debug" id="XZDv+4g$1.=ljXu_70B*" disabled="true">
                                         <field name="Severity">warn</field>
                                         <value name="TEXT">
                                           <shadow type="text">
                                             <field name="TEXT">test</field>
                                           </shadow>
                                           <block type="variables_get" id="WiV$3M9_AvyO[2zGP3_e">
                                             <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id="BpYF0w{plR^$Bj;f$G-X">
                                             <mutation elseif="1"></mutation>
                                             <value name="IF0">
                                               <block type="logic_compare" id=":U;pkPjDX!X*x`]J^[=f">
                                                 <field name="OP">GT</field>
                                                 <value name="A">
                                                   <block type="text_indexOf" id="dQ?$f$~34KAwRQzHZy2v">
                                                     <field name="END">FIRST</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="YN=/IOiNU1e/z47W_hYO">
                                                         <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                       </block>
                                                     </value>
                                                     <value name="FIND">
                                                       <shadow type="text" id="YJ_ZaIlitzIz0lbSIy]Z">
                                                         <field name="TEXT">obere</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="(4uegeXx!R!5`x./Zrpy">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="math_change" id=";nI|WSdj!-!_]9^hXce=">
                                                 <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                                 <value name="DELTA">
                                                   <shadow type="math_number" id="7NsDd4.5wRJiN$ohzcPz">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                 </value>
                                                 <next>
                                                   <block type="procedures_callcustomnoreturn" id="7(!wl+gy1z~l4.6UX*QE">
                                                     <mutation name="etwas tun"></mutation>
                                                     <next>
                                                       <block type="lists_setIndex" id="V%X2]!(FWN#b!Icp,vEn">
                                                         <mutation at="true"></mutation>
                                                         <field name="MODE">INSERT</field>
                                                         <field name="WHERE">FROM_START</field>
                                                         <value name="LIST">
                                                           <block type="variables_get" id="d@?Y!wCwVm2J;5#}l@|s">
                                                             <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                           </block>
                                                         </value>
                                                         <value name="AT">
                                                           <block type="variables_get" id="I{J?cUEic):/$hl^3n{K">
                                                             <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                           </block>
                                                         </value>
                                                         <value name="TO">
                                                           <block type="lists_create_with" id="/zCL;!FCpeJcaTRNromK">
                                                             <mutation items="2"></mutation>
                                                             <value name="ADD0">
                                                               <block type="procedures_callcustomreturn" id="Qf=s6+J.KB`I0omt2dx-" inline="true">
                                                                 <mutation name="Name">
                                                                   <arg name="ObjectID"></arg>
                                                                 </mutation>
                                                                 <value name="ARG0">
                                                                   <block type="variables_get" id="7`$xI^f!0)3kG%TM66sA">
                                                                     <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="ADD1">
                                                               <block type="get_value_var" id="~#Cp6j.d%w8Wx2-Fr,Xd" disabled="true">
                                                                 <field name="ATTR">val</field>
                                                                 <value name="OID">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                                     <field name="TEXT"></field>
                                                                   </shadow>
                                                                   <block type="variables_get" id="G,BvC-qYrP^?;J`$oD`G">
                                                                     <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                             <value name="IF1">
                                               <block type="logic_compare" id=",#NtYtMgV}/:2E1_hNrG">
                                                 <field name="OP">GT</field>
                                                 <value name="A">
                                                   <block type="text_indexOf" id="Yg}H-~{a7x8)+qu:9M|/">
                                                     <field name="END">FIRST</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="8;*NmuJL+=2ZjdGLV@w*">
                                                         <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                       </block>
                                                     </value>
                                                     <value name="FIND">
                                                       <shadow type="text" id="NE#zvIT-6LZjV3/;?~mp">
                                                         <field name="TEXT">untere</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="J(GT5p9jH?jE][E#[[@;">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO1">
                                               <block type="math_change" id=":_uor[5yVl8xBU+`cMV;">
                                                 <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                                 <value name="DELTA">
                                                   <shadow type="math_number" id="ieNW@ocv}L*#oj8$X~P1">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                 </value>
                                                 <next>
                                                   <block type="procedures_callcustomnoreturn" id=";=/Mf4O*gPD.e3=$W%6*">
                                                     <mutation name="etwas tun"></mutation>
                                                     <next>
                                                       <block type="lists_setIndex" id="3`60`J~EA:*j}OOf+Z*c">
                                                         <mutation at="true"></mutation>
                                                         <field name="MODE">INSERT</field>
                                                         <field name="WHERE">FROM_START</field>
                                                         <value name="LIST">
                                                           <block type="variables_get" id="Q|]yh,v=L+mdd_rKMQdY">
                                                             <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                           </block>
                                                         </value>
                                                         <value name="AT">
                                                           <block type="variables_get" id="iyFeezsq|O~{G,#T^e=-">
                                                             <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                           </block>
                                                         </value>
                                                         <value name="TO">
                                                           <block type="lists_create_with" id="XbB!.OI/O0-lQFTag=P`">
                                                             <mutation items="2"></mutation>
                                                             <value name="ADD0">
                                                               <block type="procedures_callcustomreturn" id="Z_doi2a.Vs634-ZCc8|6" inline="true">
                                                                 <mutation name="Name">
                                                                   <arg name="ObjectID"></arg>
                                                                 </mutation>
                                                                 <value name="ARG0">
                                                                   <block type="variables_get" id="fA)(tvzda:,Du0s;bs-#">
                                                                     <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="ADD1">
                                                               <block type="get_value_var" id="NZ3R^x0{NE3}p43(4,SN" disabled="true">
                                                                 <field name="ATTR">val</field>
                                                                 <value name="OID">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                                     <field name="TEXT"></field>
                                                                   </shadow>
                                                                   <block type="variables_get" id="L,4oOHhVa[Gw1ak,Jb-6">
                                                                     <field name="VAR" id="uraW(G+9^E9Lr!q;.Md?">i</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="procedures_callcustomnoreturn" id="1tTT@y+3fd)eq*EKO%`c" disabled="true">
                                         <mutation name="tabelleMit3Werten">
                                           <arg name="myList"></arg>
                                         </mutation>
                                         <value name="ARG0">
                                           <block type="variables_get" id="T3wm-=*hL+H$*f^H0[J9">
                                             <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="?B@5=?PqH6v*6zKv6fcp">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">javascript.0.test.Test_gemischt</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="convert_object2json" id="qbFE#Dr-U2bJkWET{;3/">
                                                 <field name="PRETTIFY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="f6)^4$,h523yANg6}Xp7">
                                                     <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="debug" id="Xar6oL7+k!M:2n0atyZt">
                                                 <field name="Severity">warn</field>
                                                 <value name="TEXT">
                                                   <shadow type="text" id="E(2nqnZZxAhV95m0d7U|">
                                                     <field name="TEXT">test</field>
                                                   </shadow>
                                                   <block type="variables_get" id="JVA=ISb(J?rC5aZV)=i?">
                                                     <field name="VAR" id="V2M7szHj0grpg_E~L6Y:">Liste</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                   <block type="procedures_defcustomnoreturn" id="i*1!AZb|niUFaXh*t{,x" x="-1038" y="-987">
                     <mutation statements="false"></mutation>
                     <field name="NAME">etwas tun</field>
                     <field name="SCRIPT">LyoNCmdldFN0YXRlKGkpLnZhbCA/IG15U3RhdGU9IuKaqiIgOiBteVN0YXRlPSLimqsiDQoNCkxpc3RlLnB1c2goew0KICAgIA0KICAibmFtZSIgIDogZ2V0T2JqZWN0KGkpLmNvbW1vbi5uYW1lICwNCiAgICJpZCIgOiAgbXlTdGF0ZQ0KICAgICANCiAgICANCn0pDQoqLw0KZ2V0U3RhdGUoTGlzdGUpLnZhbCA/IG15U3RhdGU9IuKaqiIgOiBteVN0YXRlPSLimqsiDQoNCkxpc3RlLnB1c2goew0KICAgIA0KICAibmFtZSIgIDogZ2V0T2JqZWN0KGkpLmNvbW1vbi5uYW1lICwNCiAgICJpZCIgOiAgbXlTdGF0ZQ0KICAgICANCiAgICANCn0p</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   </block>
                  </xml>
                  

                  Und als Ausgabe wird folgendes ausgegeben:
                  Unbenannt.PNG

                  Der obere Teil ist die Ausgabe von @paul53 , so sollte der Text eigentlich lauten.
                  Der untere Teil ist von dir. Klar, die schwarzen Punkte kann man dann eventuell weglassen und mit der JSON-Tabelle direkt in VIS Arbeiten?

                  paul53P Offline
                  paul53P Offline
                  paul53
                  wrote on last edited by paul53
                  #26

                  @quorle
                  Versuche es mal hiermit:

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <variables>
                     <variable id="Fwt*3`3ScyT(qDt?gf(T">ObjectID</variable>
                     <variable id="}dJI#n7D?(yn(S7IZetS">Liste</variable>
                     <variable id="K@h0-NY5VaI|@t!5/iJh">Wert</variable>
                     <variable id="2TXuU=:-J^z#1tz2?m+)">test</variable>
                     <variable id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</variable>
                     <variable id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</variable>
                     <variable id="fe!@@dhB{4wJ~YaxWG%C">i</variable>
                   </variables>
                   <block type="procedures_defcustomreturn" id="!t;U0AgoNU@W*^{W;)1~" x="-1288" y="-1812">
                     <mutation statements="false">
                       <arg name="Liste" varid="}dJI#n7D?(yn(S7IZetS"></arg>
                       <arg name="Wert" varid="K@h0-NY5VaI|@t!5/iJh"></arg>
                     </mutation>
                     <field name="NAME">Multisort</field>
                     <field name="SCRIPT">dmFyIFdlcnQgPSBXZXJ0IC0gMTsgCkxpc3RlLnNvcnQoZnVuY3Rpb24oYSwgYil7CiAgICByZXR1cm4gYltXZXJ0XSAtIGFbV2VydF07Cn0pOwpyZXR1cm4gTGlzdGU7</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   </block>
                   <block type="variables_set" id="M*e-%li=rNRAKW!{S*Fi" disabled="true" x="-1287" y="-1761">
                     <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                     <value name="VALUE">
                       <block type="convert_json2object" id="HodxuAjF0Dakr,,xDdpw">
                         <value name="VALUE">
                           <block type="text" id="s=LJUvclbq%Wb6B;E/^k">
                             <field name="TEXT">[["WC Status untere Position",false],["WC oben",true],["Schlafzimmer Fenster Status untere Position",false],["Schlafzimmer Fenster oben",true],["Schlafzimmer Balkontüre Status untere Position",false],["Schlafzimmer Balkontüre oben",true],["Kinderzimmer Lea Status untere Position",false],["Kinderzimmer Lea oben",true],["Kinderzimmer Antonia Status untere Position",false],["Kinderzimmer Antonia oben",true],["Gästezimmer Status untere Position",true],["Gästezimmer oben",false],["Jonas Fenster Status untere Position",false],["Jonas Fenster oben",true],["Wohnzimmer Fenster Status untere Position",false],["Wohnzimmer Fenster oben",true],["Wohnzimmer Balkontüre Status untere Position",false],["Wohnzimmer Balkontüre oben",true],["WC Fenster Status untere Position",false],["WC Fenster oben",true],["Küche Fenster Status untere Position",false],["Küche Fenster oben",true]]</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <next>
                       <block type="schedule" id="Cqz)^1L5B-*_#wudd;?i">
                         <field name="SCHEDULE">*/20 * * * * *</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="sWqJxa.MyY?*y-S}mHPz">
                             <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                             <value name="VALUE">
                               <block type="lists_create_with" id="s1KG8o;:gtQ6DjJt@w9I">
                                 <mutation items="0"></mutation>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id="R6exgi+-F7xoKVW/[NE.">
                                 <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="AHHG~c/mltPLQ?]Ik;5M">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="**}`+OgV6}BW5TBMd{`s">
                                     <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="u(R`,V@+GYc(yI=W0rOU">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_forEach" id="~PaFX`X@5n{TM9K^{Jw6">
                                         <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                         <value name="LIST">
                                           <block type="selector" id="xQ^Q5{h5V@5PLI+YO@i.">
                                             <field name="TEXT">*_Position(functions=blinds)</field>
                                           </block>
                                         </value>
                                         <statement name="DO">
                                           <block type="debug" id="XZDv+4g$1.=ljXu_70B*" disabled="true">
                                             <field name="Severity">warn</field>
                                             <value name="TEXT">
                                               <shadow type="text">
                                                 <field name="TEXT">test</field>
                                               </shadow>
                                               <block type="variables_get" id="WiV$3M9_AvyO[2zGP3_e">
                                                 <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="controls_if" id="BpYF0w{plR^$Bj;f$G-X">
                                                 <mutation elseif="1"></mutation>
                                                 <value name="IF0">
                                                   <block type="logic_compare" id=":U;pkPjDX!X*x`]J^[=f">
                                                     <field name="OP">GT</field>
                                                     <value name="A">
                                                       <block type="text_indexOf" id="dQ?$f$~34KAwRQzHZy2v">
                                                         <field name="END">FIRST</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="YN=/IOiNU1e/z47W_hYO">
                                                             <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                           </block>
                                                         </value>
                                                         <value name="FIND">
                                                           <shadow type="text" id="YJ_ZaIlitzIz0lbSIy]Z">
                                                             <field name="TEXT">obere</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="math_number" id="(4uegeXx!R!5`x./Zrpy">
                                                         <field name="NUM">0</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="math_change" id=";nI|WSdj!-!_]9^hXce=">
                                                     <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                                     <value name="DELTA">
                                                       <shadow type="math_number" id="7NsDd4.5wRJiN$ohzcPz">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                     </value>
                                                     <next>
                                                       <block type="lists_setIndex" id="V%X2]!(FWN#b!Icp,vEn">
                                                         <mutation at="true"></mutation>
                                                         <field name="MODE">INSERT</field>
                                                         <field name="WHERE">FROM_START</field>
                                                         <value name="LIST">
                                                           <block type="variables_get" id="d@?Y!wCwVm2J;5#}l@|s">
                                                             <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                           </block>
                                                         </value>
                                                         <value name="AT">
                                                           <block type="variables_get" id="I{J?cUEic):/$hl^3n{K">
                                                             <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                           </block>
                                                         </value>
                                                         <value name="TO">
                                                           <block type="procedures_callcustomreturn" id="Qf=s6+J.KB`I0omt2dx-" inline="true">
                                                             <mutation name="Name">
                                                               <arg name="ObjectID"></arg>
                                                             </mutation>
                                                             <value name="ARG0">
                                                               <block type="variables_get" id="7`$xI^f!0)3kG%TM66sA">
                                                                 <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                                 <value name="IF1">
                                                   <block type="logic_compare" id=",#NtYtMgV}/:2E1_hNrG">
                                                     <field name="OP">GT</field>
                                                     <value name="A">
                                                       <block type="text_indexOf" id="Yg}H-~{a7x8)+qu:9M|/">
                                                         <field name="END">FIRST</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="8;*NmuJL+=2ZjdGLV@w*">
                                                             <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                           </block>
                                                         </value>
                                                         <value name="FIND">
                                                           <shadow type="text" id="NE#zvIT-6LZjV3/;?~mp">
                                                             <field name="TEXT">untere</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="math_number" id="J(GT5p9jH?jE][E#[[@;">
                                                         <field name="NUM">0</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO1">
                                                   <block type="math_change" id=":_uor[5yVl8xBU+`cMV;">
                                                     <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                                     <value name="DELTA">
                                                       <shadow type="math_number" id="ieNW@ocv}L*#oj8$X~P1">
                                                         <field name="NUM">1</field>
                                                       </shadow>
                                                     </value>
                                                     <next>
                                                       <block type="lists_setIndex" id="3`60`J~EA:*j}OOf+Z*c">
                                                         <mutation at="true"></mutation>
                                                         <field name="MODE">INSERT</field>
                                                         <field name="WHERE">FROM_START</field>
                                                         <value name="LIST">
                                                           <block type="variables_get" id="Q|]yh,v=L+mdd_rKMQdY">
                                                             <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                           </block>
                                                         </value>
                                                         <value name="AT">
                                                           <block type="variables_get" id="iyFeezsq|O~{G,#T^e=-">
                                                             <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                           </block>
                                                         </value>
                                                         <value name="TO">
                                                           <block type="procedures_callcustomreturn" id="Z_doi2a.Vs634-ZCc8|6" inline="true">
                                                             <mutation name="Name">
                                                               <arg name="ObjectID"></arg>
                                                             </mutation>
                                                             <value name="ARG0">
                                                               <block type="variables_get" id="fA)(tvzda:,Du0s;bs-#">
                                                                 <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="control" id="?B@5=?PqH6v*6zKv6fcp">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">javascript.0.test.Test_gemischt</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="convert_object2json" id="qbFE#Dr-U2bJkWET{;3/">
                                                 <field name="PRETTIFY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="f6)^4$,h523yANg6}Xp7">
                                                     <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="debug" id="Xar6oL7+k!M:2n0atyZt">
                                                 <field name="Severity">warn</field>
                                                 <value name="TEXT">
                                                   <shadow type="text" id="E(2nqnZZxAhV95m0d7U|">
                                                     <field name="TEXT">test</field>
                                                   </shadow>
                                                   <block type="variables_get" id="JVA=ISb(J?rC5aZV)=i?">
                                                     <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                   <block type="procedures_defcustomreturn" id="]lQM=r`L^2M}s^@n(USH" x="-988" y="-1638">
                     <mutation statements="false">
                       <arg name="ObjectID" varid="Fwt*3`3ScyT(qDt?gf(T"></arg>
                     </mutation>
                     <field name="NAME">Name</field>
                     <field name="SCRIPT">bGV0IG15U3RhdGU7CmdldFN0YXRlKE9iamVjdElEKS52YWwgPyBteVN0YXRlPSLimqoiIDogbXlTdGF0ZT0i4pqrIgpsZXQgbmFtZSA9IGdldE9iamVjdChPYmplY3RJRCkuY29tbW9uLm5hbWUuc3Vic3RyaW5nKDEyKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIG9iZXJlIFBvc2l0aW9uJywgJ29iZW4nKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIHVudGVyZSBQb3NpdGlvbicsICd1bnRlbicpOwpyZXR1cm4geyAgICAKICAgICJOYW1lIjogbmFtZSwKICAgICJTdGF0dXMiOiBteVN0YXRlCn0=</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   </block>
                  </xml>
                  

                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                  1 Reply Last reply
                  0
                  • Q Offline
                    Q Offline
                    quorle
                    wrote on last edited by
                    #27

                    @paul53 :

                    Soweit so gut, die Ausgabe der Namen Passt nun einwandfrei. Danke für deine Hilfe.

                    @liv-in-sky :

                    Wie würde ich jetzt in die Tabellen ein PNG Bild bekommen?
                    Benutze noch dein Widget, was du hier gepostet hast.
                    Aber wenn ich im Widget Spalte 1 als Image deklariere, verschwindet der Text.

                    liv-in-skyL 1 Reply Last reply
                    0
                    • Q quorle

                      @paul53 :

                      Soweit so gut, die Ausgabe der Namen Passt nun einwandfrei. Danke für deine Hilfe.

                      @liv-in-sky :

                      Wie würde ich jetzt in die Tabellen ein PNG Bild bekommen?
                      Benutze noch dein Widget, was du hier gepostet hast.
                      Aber wenn ich im Widget Spalte 1 als Image deklariere, verschwindet der Text.

                      liv-in-skyL Offline
                      liv-in-skyL Offline
                      liv-in-sky
                      wrote on last edited by
                      #28

                      @quorle

                      poste mal die daten, die jetzt da sind - dann kann ich die importieren und ansehen

                      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                      Q 1 Reply Last reply
                      0
                      • liv-in-skyL liv-in-sky

                        @quorle

                        poste mal die daten, die jetzt da sind - dann kann ich die importieren und ansehen

                        Q Offline
                        Q Offline
                        quorle
                        wrote on last edited by
                        #29

                        @liv-in-sky

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="X^G~Pk/;SH@G?XbLq.{o">ObjectID</variable>
                           <variable id="}dJI#n7D?(yn(S7IZetS">Liste</variable>
                           <variable id="K@h0-NY5VaI|@t!5/iJh">Wert</variable>
                           <variable id="2TXuU=:-J^z#1tz2?m+)">test</variable>
                           <variable id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</variable>
                           <variable id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</variable>
                           <variable id="fe!@@dhB{4wJ~YaxWG%C">i</variable>
                         </variables>
                         <block type="procedures_defcustomreturn" id="]lQM=r`L^2M}s^@n(USH" x="-1212" y="-1863">
                           <mutation statements="false">
                             <arg name="ObjectID" varid="X^G~Pk/;SH@G?XbLq.{o"></arg>
                           </mutation>
                           <field name="NAME">Name</field>
                           <field name="SCRIPT">bGV0IG15U3RhdGU7CmdldFN0YXRlKE9iamVjdElEKS52YWwgPyBteVN0YXRlPSLimqoiIDogbXlTdGF0ZT0i4pqrIgpsZXQgbmFtZSA9IGdldE9iamVjdChPYmplY3RJRCkuY29tbW9uLm5hbWUuc3Vic3RyaW5nKDEyKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIG9iZXJlIFBvc2l0aW9uJywgJ29iZW4nKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIHVudGVyZSBQb3NpdGlvbicsICd1bnRlbicpOwpyZXR1cm4geyAgICAKICAgICJOYW1lIjogbmFtZSwKICAgICJTdGF0dXMiOiBteVN0YXRlCn0=</field>
                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                         </block>
                         <block type="procedures_defcustomreturn" id="!t;U0AgoNU@W*^{W;)1~" x="-1288" y="-1812">
                           <mutation statements="false">
                             <arg name="Liste" varid="}dJI#n7D?(yn(S7IZetS"></arg>
                             <arg name="Wert" varid="K@h0-NY5VaI|@t!5/iJh"></arg>
                           </mutation>
                           <field name="NAME">Multisort</field>
                           <field name="SCRIPT">dmFyIFdlcnQgPSBXZXJ0IC0gMTsgCkxpc3RlLnNvcnQoZnVuY3Rpb24oYSwgYil7CiAgICByZXR1cm4gYltXZXJ0XSAtIGFbV2VydF07Cn0pOwpyZXR1cm4gTGlzdGU7</field>
                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                         </block>
                         <block type="variables_set" id="M*e-%li=rNRAKW!{S*Fi" disabled="true" x="-1287" y="-1761">
                           <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                           <value name="VALUE">
                             <block type="convert_json2object" id="HodxuAjF0Dakr,,xDdpw">
                               <value name="VALUE">
                                 <block type="text" id="s=LJUvclbq%Wb6B;E/^k">
                                   <field name="TEXT">[["WC Status untere Position",false],["WC oben",true],["Schlafzimmer Fenster Status untere Position",false],["Schlafzimmer Fenster oben",true],["Schlafzimmer Balkontüre Status untere Position",false],["Schlafzimmer Balkontüre oben",true],["Kinderzimmer Lea Status untere Position",false],["Kinderzimmer Lea oben",true],["Kinderzimmer Antonia Status untere Position",false],["Kinderzimmer Antonia oben",true],["Gästezimmer Status untere Position",true],["Gästezimmer oben",false],["Jonas Fenster Status untere Position",false],["Jonas Fenster oben",true],["Wohnzimmer Fenster Status untere Position",false],["Wohnzimmer Fenster oben",true],["Wohnzimmer Balkontüre Status untere Position",false],["Wohnzimmer Balkontüre oben",true],["WC Fenster Status untere Position",false],["WC Fenster oben",true],["Küche Fenster Status untere Position",false],["Küche Fenster oben",true]]</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="schedule" id="Cqz)^1L5B-*_#wudd;?i">
                               <field name="SCHEDULE">*/20 * * * * *</field>
                               <statement name="STATEMENT">
                                 <block type="variables_set" id="sWqJxa.MyY?*y-S}mHPz">
                                   <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                   <value name="VALUE">
                                     <block type="lists_create_with" id="s1KG8o;:gtQ6DjJt@w9I">
                                       <mutation items="0"></mutation>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="R6exgi+-F7xoKVW/[NE.">
                                       <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="AHHG~c/mltPLQ?]Ik;5M">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="**}`+OgV6}BW5TBMd{`s">
                                           <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="u(R`,V@+GYc(yI=W0rOU">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="controls_forEach" id="~PaFX`X@5n{TM9K^{Jw6">
                                               <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                               <value name="LIST">
                                                 <block type="selector" id="xQ^Q5{h5V@5PLI+YO@i.">
                                                   <field name="TEXT">*_Position(functions=blinds)</field>
                                                 </block>
                                               </value>
                                               <statement name="DO">
                                                 <block type="debug" id="XZDv+4g$1.=ljXu_70B*" disabled="true">
                                                   <field name="Severity">warn</field>
                                                   <value name="TEXT">
                                                     <shadow type="text">
                                                       <field name="TEXT">test</field>
                                                     </shadow>
                                                     <block type="variables_get" id="WiV$3M9_AvyO[2zGP3_e">
                                                       <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="controls_if" id="BpYF0w{plR^$Bj;f$G-X">
                                                       <mutation elseif="1"></mutation>
                                                       <value name="IF0">
                                                         <block type="logic_compare" id=":U;pkPjDX!X*x`]J^[=f">
                                                           <field name="OP">GT</field>
                                                           <value name="A">
                                                             <block type="text_indexOf" id="dQ?$f$~34KAwRQzHZy2v">
                                                               <field name="END">FIRST</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="YN=/IOiNU1e/z47W_hYO">
                                                                   <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                 </block>
                                                               </value>
                                                               <value name="FIND">
                                                                 <shadow type="text" id="YJ_ZaIlitzIz0lbSIy]Z">
                                                                   <field name="TEXT">obere</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="(4uegeXx!R!5`x./Zrpy">
                                                               <field name="NUM">0</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="math_change" id=";nI|WSdj!-!_]9^hXce=">
                                                           <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                                           <value name="DELTA">
                                                             <shadow type="math_number" id="7NsDd4.5wRJiN$ohzcPz">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                           </value>
                                                           <next>
                                                             <block type="lists_setIndex" id="V%X2]!(FWN#b!Icp,vEn">
                                                               <mutation at="true"></mutation>
                                                               <field name="MODE">INSERT</field>
                                                               <field name="WHERE">FROM_START</field>
                                                               <value name="LIST">
                                                                 <block type="variables_get" id="d@?Y!wCwVm2J;5#}l@|s">
                                                                   <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                                 </block>
                                                               </value>
                                                               <value name="AT">
                                                                 <block type="variables_get" id="I{J?cUEic):/$hl^3n{K">
                                                                   <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                 </block>
                                                               </value>
                                                               <value name="TO">
                                                                 <block type="procedures_callcustomreturn" id="Qf=s6+J.KB`I0omt2dx-" inline="true">
                                                                   <mutation name="Name">
                                                                     <arg name="ObjectID"></arg>
                                                                   </mutation>
                                                                   <value name="ARG0">
                                                                     <block type="variables_get" id="7`$xI^f!0)3kG%TM66sA">
                                                                       <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                       <value name="IF1">
                                                         <block type="logic_compare" id=",#NtYtMgV}/:2E1_hNrG">
                                                           <field name="OP">GT</field>
                                                           <value name="A">
                                                             <block type="text_indexOf" id="Yg}H-~{a7x8)+qu:9M|/">
                                                               <field name="END">FIRST</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="8;*NmuJL+=2ZjdGLV@w*">
                                                                   <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                 </block>
                                                               </value>
                                                               <value name="FIND">
                                                                 <shadow type="text" id="NE#zvIT-6LZjV3/;?~mp">
                                                                   <field name="TEXT">untere</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="J(GT5p9jH?jE][E#[[@;">
                                                               <field name="NUM">0</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO1">
                                                         <block type="math_change" id=":_uor[5yVl8xBU+`cMV;">
                                                           <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                                           <value name="DELTA">
                                                             <shadow type="math_number" id="ieNW@ocv}L*#oj8$X~P1">
                                                               <field name="NUM">1</field>
                                                             </shadow>
                                                           </value>
                                                           <next>
                                                             <block type="lists_setIndex" id="3`60`J~EA:*j}OOf+Z*c">
                                                               <mutation at="true"></mutation>
                                                               <field name="MODE">INSERT</field>
                                                               <field name="WHERE">FROM_START</field>
                                                               <value name="LIST">
                                                                 <block type="variables_get" id="Q|]yh,v=L+mdd_rKMQdY">
                                                                   <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                                 </block>
                                                               </value>
                                                               <value name="AT">
                                                                 <block type="variables_get" id="iyFeezsq|O~{G,#T^e=-">
                                                                   <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                 </block>
                                                               </value>
                                                               <value name="TO">
                                                                 <block type="procedures_callcustomreturn" id="Z_doi2a.Vs634-ZCc8|6" inline="true">
                                                                   <mutation name="Name">
                                                                     <arg name="ObjectID"></arg>
                                                                   </mutation>
                                                                   <value name="ARG0">
                                                                     <block type="variables_get" id="fA)(tvzda:,Du0s;bs-#">
                                                                       <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="control" id="?B@5=?PqH6v*6zKv6fcp">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">javascript.0.test.Test_gemischt</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="convert_object2json" id="qbFE#Dr-U2bJkWET{;3/">
                                                       <field name="PRETTIFY">TRUE</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="f6)^4$,h523yANg6}Xp7">
                                                           <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="debug" id="Xar6oL7+k!M:2n0atyZt">
                                                       <field name="Severity">warn</field>
                                                       <value name="TEXT">
                                                         <shadow type="text" id="E(2nqnZZxAhV95m0d7U|">
                                                           <field name="TEXT">test</field>
                                                         </shadow>
                                                         <block type="variables_get" id="JVA=ISb(J?rC5aZV)=i?">
                                                           <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                        </xml>
                        

                        Ausgabe in den State:

                        Unbenannt.PNG

                        [{"tpl":"i-vis-jsontable","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":true,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","iTblRowLimit":"100","iTableRefreshRate":"0","iColCount":"3","iColShow1":"true","iTblCellFormat1":"normal","iTblCellImageSize1":"59","iTblTextAlign1":"left","iOpacityAll":"1","iTblRowEvenColor":"#333333","iTblRowUnevenColor":"#38739f","iTblHeaderColor":"#333333","iRowSpacing":"3.1","iTblRowEvenTextColor":"#ffffff","iTblRowUnevenTextColor":"#ffffff","iTblHeaderTextColor":"#ffffff","iBorderSize":"2","iBorderStyleLeft":"none","iBorderStyleRight":"none","iBorderStyleUp":"none","iBorderStyleDown":"none","iBorderColor":"#38739f","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"oid":"javascript.0.test.Test_gemischt","iHorScroll":true,"iColShow2":"true","iTblCellFormat2":"normal","iTblCellImageSize2":"200","iTblTextAlign2":"center","iBorderRemoveDouble":false,"iColShow3":"true","iTblCellFormat3":"image","iTblCellImageSize3":"200","iTblTextAlign3":"right","iColWidth3":"50","iColWidth2":"50","iColWidth1":"50","iTblCellBooleanCheckbox1":"false","iTblCellBooleanColorFalse1":"#ff0000","iTblCellBooleanColorTrue1":"#00ff00","iTblCellNumberDecimals1":"2","iTblCellNumberDecimalSeperator1":".","iTblCellNumberThousandSeperator1":",","iTblCellBooleanCheckbox2":"false","iTblCellBooleanColorFalse2":"#ff0000","iTblCellBooleanColorTrue2":"#00ff00","iTblCellNumberDecimals2":"2","iTblCellNumberDecimalSeperator2":".","iTblCellNumberThousandSeperator2":",","iTblCellBooleanCheckbox3":false,"iTblCellBooleanColorFalse3":"#ff0000","iTblCellBooleanColorTrue3":"#00ff00","iTblCellNumberDecimals3":"2","iTblCellNumberDecimalSeperator3":".","iTblCellNumberThousandSeperator3":",","iTblCellPlaceholder1":"","iColAttr2":"Status","iColAttr3":"","iColAttr1":"Name","iColShow4":true,"iTblCellFormat4":"normal","iTblCellImageSize4":"200","iTblCellBooleanCheckbox4":"false","iTblCellBooleanColorFalse4":"#ff0000","iTblCellBooleanColorTrue4":"#00ff00","iTblCellNumberDecimals4":"2","iTblCellNumberDecimalSeperator4":".","iTblCellNumberThousandSeperator4":",","iTblTextAlign4":"left","iTblShowHead":true,"iVertScroll":true,"iTblCellPlaceholder3":"","iColName3":"","iColName2":"","iTblCellPlaceholder2":""},"style":{"left":"463px","top":"27px","width":"948px","height":"343px","font-size":"large","overflow-y":"scroll"},"widgetSet":"vis-inventwo"}]
                        

                        liv-in-skyL 2 Replies Last reply
                        0
                        • Q quorle

                          @liv-in-sky

                          <xml xmlns="https://developers.google.com/blockly/xml">
                           <variables>
                             <variable id="X^G~Pk/;SH@G?XbLq.{o">ObjectID</variable>
                             <variable id="}dJI#n7D?(yn(S7IZetS">Liste</variable>
                             <variable id="K@h0-NY5VaI|@t!5/iJh">Wert</variable>
                             <variable id="2TXuU=:-J^z#1tz2?m+)">test</variable>
                             <variable id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</variable>
                             <variable id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</variable>
                             <variable id="fe!@@dhB{4wJ~YaxWG%C">i</variable>
                           </variables>
                           <block type="procedures_defcustomreturn" id="]lQM=r`L^2M}s^@n(USH" x="-1212" y="-1863">
                             <mutation statements="false">
                               <arg name="ObjectID" varid="X^G~Pk/;SH@G?XbLq.{o"></arg>
                             </mutation>
                             <field name="NAME">Name</field>
                             <field name="SCRIPT">bGV0IG15U3RhdGU7CmdldFN0YXRlKE9iamVjdElEKS52YWwgPyBteVN0YXRlPSLimqoiIDogbXlTdGF0ZT0i4pqrIgpsZXQgbmFtZSA9IGdldE9iamVjdChPYmplY3RJRCkuY29tbW9uLm5hbWUuc3Vic3RyaW5nKDEyKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIG9iZXJlIFBvc2l0aW9uJywgJ29iZW4nKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIHVudGVyZSBQb3NpdGlvbicsICd1bnRlbicpOwpyZXR1cm4geyAgICAKICAgICJOYW1lIjogbmFtZSwKICAgICJTdGF0dXMiOiBteVN0YXRlCn0=</field>
                             <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                           </block>
                           <block type="procedures_defcustomreturn" id="!t;U0AgoNU@W*^{W;)1~" x="-1288" y="-1812">
                             <mutation statements="false">
                               <arg name="Liste" varid="}dJI#n7D?(yn(S7IZetS"></arg>
                               <arg name="Wert" varid="K@h0-NY5VaI|@t!5/iJh"></arg>
                             </mutation>
                             <field name="NAME">Multisort</field>
                             <field name="SCRIPT">dmFyIFdlcnQgPSBXZXJ0IC0gMTsgCkxpc3RlLnNvcnQoZnVuY3Rpb24oYSwgYil7CiAgICByZXR1cm4gYltXZXJ0XSAtIGFbV2VydF07Cn0pOwpyZXR1cm4gTGlzdGU7</field>
                             <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                           </block>
                           <block type="variables_set" id="M*e-%li=rNRAKW!{S*Fi" disabled="true" x="-1287" y="-1761">
                             <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                             <value name="VALUE">
                               <block type="convert_json2object" id="HodxuAjF0Dakr,,xDdpw">
                                 <value name="VALUE">
                                   <block type="text" id="s=LJUvclbq%Wb6B;E/^k">
                                     <field name="TEXT">[["WC Status untere Position",false],["WC oben",true],["Schlafzimmer Fenster Status untere Position",false],["Schlafzimmer Fenster oben",true],["Schlafzimmer Balkontüre Status untere Position",false],["Schlafzimmer Balkontüre oben",true],["Kinderzimmer Lea Status untere Position",false],["Kinderzimmer Lea oben",true],["Kinderzimmer Antonia Status untere Position",false],["Kinderzimmer Antonia oben",true],["Gästezimmer Status untere Position",true],["Gästezimmer oben",false],["Jonas Fenster Status untere Position",false],["Jonas Fenster oben",true],["Wohnzimmer Fenster Status untere Position",false],["Wohnzimmer Fenster oben",true],["Wohnzimmer Balkontüre Status untere Position",false],["Wohnzimmer Balkontüre oben",true],["WC Fenster Status untere Position",false],["WC Fenster oben",true],["Küche Fenster Status untere Position",false],["Küche Fenster oben",true]]</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="schedule" id="Cqz)^1L5B-*_#wudd;?i">
                                 <field name="SCHEDULE">*/20 * * * * *</field>
                                 <statement name="STATEMENT">
                                   <block type="variables_set" id="sWqJxa.MyY?*y-S}mHPz">
                                     <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                     <value name="VALUE">
                                       <block type="lists_create_with" id="s1KG8o;:gtQ6DjJt@w9I">
                                         <mutation items="0"></mutation>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id="R6exgi+-F7xoKVW/[NE.">
                                         <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="AHHG~c/mltPLQ?]Ik;5M">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="**}`+OgV6}BW5TBMd{`s">
                                             <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="u(R`,V@+GYc(yI=W0rOU">
                                                 <field name="NUM">0</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="controls_forEach" id="~PaFX`X@5n{TM9K^{Jw6">
                                                 <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                 <value name="LIST">
                                                   <block type="selector" id="xQ^Q5{h5V@5PLI+YO@i.">
                                                     <field name="TEXT">*_Position(functions=blinds)</field>
                                                   </block>
                                                 </value>
                                                 <statement name="DO">
                                                   <block type="debug" id="XZDv+4g$1.=ljXu_70B*" disabled="true">
                                                     <field name="Severity">warn</field>
                                                     <value name="TEXT">
                                                       <shadow type="text">
                                                         <field name="TEXT">test</field>
                                                       </shadow>
                                                       <block type="variables_get" id="WiV$3M9_AvyO[2zGP3_e">
                                                         <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="controls_if" id="BpYF0w{plR^$Bj;f$G-X">
                                                         <mutation elseif="1"></mutation>
                                                         <value name="IF0">
                                                           <block type="logic_compare" id=":U;pkPjDX!X*x`]J^[=f">
                                                             <field name="OP">GT</field>
                                                             <value name="A">
                                                               <block type="text_indexOf" id="dQ?$f$~34KAwRQzHZy2v">
                                                                 <field name="END">FIRST</field>
                                                                 <value name="VALUE">
                                                                   <block type="variables_get" id="YN=/IOiNU1e/z47W_hYO">
                                                                     <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="FIND">
                                                                   <shadow type="text" id="YJ_ZaIlitzIz0lbSIy]Z">
                                                                     <field name="TEXT">obere</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="(4uegeXx!R!5`x./Zrpy">
                                                                 <field name="NUM">0</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="math_change" id=";nI|WSdj!-!_]9^hXce=">
                                                             <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                                             <value name="DELTA">
                                                               <shadow type="math_number" id="7NsDd4.5wRJiN$ohzcPz">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                             </value>
                                                             <next>
                                                               <block type="lists_setIndex" id="V%X2]!(FWN#b!Icp,vEn">
                                                                 <mutation at="true"></mutation>
                                                                 <field name="MODE">INSERT</field>
                                                                 <field name="WHERE">FROM_START</field>
                                                                 <value name="LIST">
                                                                   <block type="variables_get" id="d@?Y!wCwVm2J;5#}l@|s">
                                                                     <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="AT">
                                                                   <block type="variables_get" id="I{J?cUEic):/$hl^3n{K">
                                                                     <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="TO">
                                                                   <block type="procedures_callcustomreturn" id="Qf=s6+J.KB`I0omt2dx-" inline="true">
                                                                     <mutation name="Name">
                                                                       <arg name="ObjectID"></arg>
                                                                     </mutation>
                                                                     <value name="ARG0">
                                                                       <block type="variables_get" id="7`$xI^f!0)3kG%TM66sA">
                                                                         <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </statement>
                                                         <value name="IF1">
                                                           <block type="logic_compare" id=",#NtYtMgV}/:2E1_hNrG">
                                                             <field name="OP">GT</field>
                                                             <value name="A">
                                                               <block type="text_indexOf" id="Yg}H-~{a7x8)+qu:9M|/">
                                                                 <field name="END">FIRST</field>
                                                                 <value name="VALUE">
                                                                   <block type="variables_get" id="8;*NmuJL+=2ZjdGLV@w*">
                                                                     <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="FIND">
                                                                   <shadow type="text" id="NE#zvIT-6LZjV3/;?~mp">
                                                                     <field name="TEXT">untere</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="J(GT5p9jH?jE][E#[[@;">
                                                                 <field name="NUM">0</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO1">
                                                           <block type="math_change" id=":_uor[5yVl8xBU+`cMV;">
                                                             <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                                             <value name="DELTA">
                                                               <shadow type="math_number" id="ieNW@ocv}L*#oj8$X~P1">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                             </value>
                                                             <next>
                                                               <block type="lists_setIndex" id="3`60`J~EA:*j}OOf+Z*c">
                                                                 <mutation at="true"></mutation>
                                                                 <field name="MODE">INSERT</field>
                                                                 <field name="WHERE">FROM_START</field>
                                                                 <value name="LIST">
                                                                   <block type="variables_get" id="Q|]yh,v=L+mdd_rKMQdY">
                                                                     <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="AT">
                                                                   <block type="variables_get" id="iyFeezsq|O~{G,#T^e=-">
                                                                     <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="TO">
                                                                   <block type="procedures_callcustomreturn" id="Z_doi2a.Vs634-ZCc8|6" inline="true">
                                                                     <mutation name="Name">
                                                                       <arg name="ObjectID"></arg>
                                                                     </mutation>
                                                                     <value name="ARG0">
                                                                       <block type="variables_get" id="fA)(tvzda:,Du0s;bs-#">
                                                                         <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="control" id="?B@5=?PqH6v*6zKv6fcp">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">javascript.0.test.Test_gemischt</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="convert_object2json" id="qbFE#Dr-U2bJkWET{;3/">
                                                         <field name="PRETTIFY">TRUE</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="f6)^4$,h523yANg6}Xp7">
                                                             <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="debug" id="Xar6oL7+k!M:2n0atyZt">
                                                         <field name="Severity">warn</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="E(2nqnZZxAhV95m0d7U|">
                                                             <field name="TEXT">test</field>
                                                           </shadow>
                                                           <block type="variables_get" id="JVA=ISb(J?rC5aZV)=i?">
                                                             <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                          </xml>
                          

                          Ausgabe in den State:

                          Unbenannt.PNG

                          [{"tpl":"i-vis-jsontable","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":true,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","iTblRowLimit":"100","iTableRefreshRate":"0","iColCount":"3","iColShow1":"true","iTblCellFormat1":"normal","iTblCellImageSize1":"59","iTblTextAlign1":"left","iOpacityAll":"1","iTblRowEvenColor":"#333333","iTblRowUnevenColor":"#38739f","iTblHeaderColor":"#333333","iRowSpacing":"3.1","iTblRowEvenTextColor":"#ffffff","iTblRowUnevenTextColor":"#ffffff","iTblHeaderTextColor":"#ffffff","iBorderSize":"2","iBorderStyleLeft":"none","iBorderStyleRight":"none","iBorderStyleUp":"none","iBorderStyleDown":"none","iBorderColor":"#38739f","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"oid":"javascript.0.test.Test_gemischt","iHorScroll":true,"iColShow2":"true","iTblCellFormat2":"normal","iTblCellImageSize2":"200","iTblTextAlign2":"center","iBorderRemoveDouble":false,"iColShow3":"true","iTblCellFormat3":"image","iTblCellImageSize3":"200","iTblTextAlign3":"right","iColWidth3":"50","iColWidth2":"50","iColWidth1":"50","iTblCellBooleanCheckbox1":"false","iTblCellBooleanColorFalse1":"#ff0000","iTblCellBooleanColorTrue1":"#00ff00","iTblCellNumberDecimals1":"2","iTblCellNumberDecimalSeperator1":".","iTblCellNumberThousandSeperator1":",","iTblCellBooleanCheckbox2":"false","iTblCellBooleanColorFalse2":"#ff0000","iTblCellBooleanColorTrue2":"#00ff00","iTblCellNumberDecimals2":"2","iTblCellNumberDecimalSeperator2":".","iTblCellNumberThousandSeperator2":",","iTblCellBooleanCheckbox3":false,"iTblCellBooleanColorFalse3":"#ff0000","iTblCellBooleanColorTrue3":"#00ff00","iTblCellNumberDecimals3":"2","iTblCellNumberDecimalSeperator3":".","iTblCellNumberThousandSeperator3":",","iTblCellPlaceholder1":"","iColAttr2":"Status","iColAttr3":"","iColAttr1":"Name","iColShow4":true,"iTblCellFormat4":"normal","iTblCellImageSize4":"200","iTblCellBooleanCheckbox4":"false","iTblCellBooleanColorFalse4":"#ff0000","iTblCellBooleanColorTrue4":"#00ff00","iTblCellNumberDecimals4":"2","iTblCellNumberDecimalSeperator4":".","iTblCellNumberThousandSeperator4":",","iTblTextAlign4":"left","iTblShowHead":true,"iVertScroll":true,"iTblCellPlaceholder3":"","iColName3":"","iColName2":"","iTblCellPlaceholder2":""},"style":{"left":"463px","top":"27px","width":"948px","height":"343px","font-size":"large","overflow-y":"scroll"},"widgetSet":"vis-inventwo"}]
                          

                          liv-in-skyL Offline
                          liv-in-skyL Offline
                          liv-in-sky
                          wrote on last edited by
                          #30

                          @quorle di daten bitte aus dem log rauskopieren und posten

                          es sind aber keine bilder zu sehen - der schwarze und weiße punkt ist ein emiji und daher ein text

                          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                          1 Reply Last reply
                          0
                          • Q quorle

                            @liv-in-sky

                            <xml xmlns="https://developers.google.com/blockly/xml">
                             <variables>
                               <variable id="X^G~Pk/;SH@G?XbLq.{o">ObjectID</variable>
                               <variable id="}dJI#n7D?(yn(S7IZetS">Liste</variable>
                               <variable id="K@h0-NY5VaI|@t!5/iJh">Wert</variable>
                               <variable id="2TXuU=:-J^z#1tz2?m+)">test</variable>
                               <variable id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</variable>
                               <variable id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</variable>
                               <variable id="fe!@@dhB{4wJ~YaxWG%C">i</variable>
                             </variables>
                             <block type="procedures_defcustomreturn" id="]lQM=r`L^2M}s^@n(USH" x="-1212" y="-1863">
                               <mutation statements="false">
                                 <arg name="ObjectID" varid="X^G~Pk/;SH@G?XbLq.{o"></arg>
                               </mutation>
                               <field name="NAME">Name</field>
                               <field name="SCRIPT">bGV0IG15U3RhdGU7CmdldFN0YXRlKE9iamVjdElEKS52YWwgPyBteVN0YXRlPSLimqoiIDogbXlTdGF0ZT0i4pqrIgpsZXQgbmFtZSA9IGdldE9iamVjdChPYmplY3RJRCkuY29tbW9uLm5hbWUuc3Vic3RyaW5nKDEyKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIG9iZXJlIFBvc2l0aW9uJywgJ29iZW4nKTsKbmFtZSA9IG5hbWUucmVwbGFjZSgnU3RhdHVzIHVudGVyZSBQb3NpdGlvbicsICd1bnRlbicpOwpyZXR1cm4geyAgICAKICAgICJOYW1lIjogbmFtZSwKICAgICJTdGF0dXMiOiBteVN0YXRlCn0=</field>
                               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                             </block>
                             <block type="procedures_defcustomreturn" id="!t;U0AgoNU@W*^{W;)1~" x="-1288" y="-1812">
                               <mutation statements="false">
                                 <arg name="Liste" varid="}dJI#n7D?(yn(S7IZetS"></arg>
                                 <arg name="Wert" varid="K@h0-NY5VaI|@t!5/iJh"></arg>
                               </mutation>
                               <field name="NAME">Multisort</field>
                               <field name="SCRIPT">dmFyIFdlcnQgPSBXZXJ0IC0gMTsgCkxpc3RlLnNvcnQoZnVuY3Rpb24oYSwgYil7CiAgICByZXR1cm4gYltXZXJ0XSAtIGFbV2VydF07Cn0pOwpyZXR1cm4gTGlzdGU7</field>
                               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                             </block>
                             <block type="variables_set" id="M*e-%li=rNRAKW!{S*Fi" disabled="true" x="-1287" y="-1761">
                               <field name="VAR" id="2TXuU=:-J^z#1tz2?m+)">test</field>
                               <value name="VALUE">
                                 <block type="convert_json2object" id="HodxuAjF0Dakr,,xDdpw">
                                   <value name="VALUE">
                                     <block type="text" id="s=LJUvclbq%Wb6B;E/^k">
                                       <field name="TEXT">[["WC Status untere Position",false],["WC oben",true],["Schlafzimmer Fenster Status untere Position",false],["Schlafzimmer Fenster oben",true],["Schlafzimmer Balkontüre Status untere Position",false],["Schlafzimmer Balkontüre oben",true],["Kinderzimmer Lea Status untere Position",false],["Kinderzimmer Lea oben",true],["Kinderzimmer Antonia Status untere Position",false],["Kinderzimmer Antonia oben",true],["Gästezimmer Status untere Position",true],["Gästezimmer oben",false],["Jonas Fenster Status untere Position",false],["Jonas Fenster oben",true],["Wohnzimmer Fenster Status untere Position",false],["Wohnzimmer Fenster oben",true],["Wohnzimmer Balkontüre Status untere Position",false],["Wohnzimmer Balkontüre oben",true],["WC Fenster Status untere Position",false],["WC Fenster oben",true],["Küche Fenster Status untere Position",false],["Küche Fenster oben",true]]</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="schedule" id="Cqz)^1L5B-*_#wudd;?i">
                                   <field name="SCHEDULE">*/20 * * * * *</field>
                                   <statement name="STATEMENT">
                                     <block type="variables_set" id="sWqJxa.MyY?*y-S}mHPz">
                                       <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                       <value name="VALUE">
                                         <block type="lists_create_with" id="s1KG8o;:gtQ6DjJt@w9I">
                                           <mutation items="0"></mutation>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="R6exgi+-F7xoKVW/[NE.">
                                           <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="AHHG~c/mltPLQ?]Ik;5M">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="**}`+OgV6}BW5TBMd{`s">
                                               <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="u(R`,V@+GYc(yI=W0rOU">
                                                   <field name="NUM">0</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="controls_forEach" id="~PaFX`X@5n{TM9K^{Jw6">
                                                   <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                   <value name="LIST">
                                                     <block type="selector" id="xQ^Q5{h5V@5PLI+YO@i.">
                                                       <field name="TEXT">*_Position(functions=blinds)</field>
                                                     </block>
                                                   </value>
                                                   <statement name="DO">
                                                     <block type="debug" id="XZDv+4g$1.=ljXu_70B*" disabled="true">
                                                       <field name="Severity">warn</field>
                                                       <value name="TEXT">
                                                         <shadow type="text">
                                                           <field name="TEXT">test</field>
                                                         </shadow>
                                                         <block type="variables_get" id="WiV$3M9_AvyO[2zGP3_e">
                                                           <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="controls_if" id="BpYF0w{plR^$Bj;f$G-X">
                                                           <mutation elseif="1"></mutation>
                                                           <value name="IF0">
                                                             <block type="logic_compare" id=":U;pkPjDX!X*x`]J^[=f">
                                                               <field name="OP">GT</field>
                                                               <value name="A">
                                                                 <block type="text_indexOf" id="dQ?$f$~34KAwRQzHZy2v">
                                                                   <field name="END">FIRST</field>
                                                                   <value name="VALUE">
                                                                     <block type="variables_get" id="YN=/IOiNU1e/z47W_hYO">
                                                                       <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="FIND">
                                                                     <shadow type="text" id="YJ_ZaIlitzIz0lbSIy]Z">
                                                                       <field name="TEXT">obere</field>
                                                                     </shadow>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="(4uegeXx!R!5`x./Zrpy">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="math_change" id=";nI|WSdj!-!_]9^hXce=">
                                                               <field name="VAR" id="W6/l[G~B{Zwv5)Rz4siZ">anzahl_oben</field>
                                                               <value name="DELTA">
                                                                 <shadow type="math_number" id="7NsDd4.5wRJiN$ohzcPz">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                               </value>
                                                               <next>
                                                                 <block type="lists_setIndex" id="V%X2]!(FWN#b!Icp,vEn">
                                                                   <mutation at="true"></mutation>
                                                                   <field name="MODE">INSERT</field>
                                                                   <field name="WHERE">FROM_START</field>
                                                                   <value name="LIST">
                                                                     <block type="variables_get" id="d@?Y!wCwVm2J;5#}l@|s">
                                                                       <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="AT">
                                                                     <block type="variables_get" id="I{J?cUEic):/$hl^3n{K">
                                                                       <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="TO">
                                                                     <block type="procedures_callcustomreturn" id="Qf=s6+J.KB`I0omt2dx-" inline="true">
                                                                       <mutation name="Name">
                                                                         <arg name="ObjectID"></arg>
                                                                       </mutation>
                                                                       <value name="ARG0">
                                                                         <block type="variables_get" id="7`$xI^f!0)3kG%TM66sA">
                                                                           <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </statement>
                                                           <value name="IF1">
                                                             <block type="logic_compare" id=",#NtYtMgV}/:2E1_hNrG">
                                                               <field name="OP">GT</field>
                                                               <value name="A">
                                                                 <block type="text_indexOf" id="Yg}H-~{a7x8)+qu:9M|/">
                                                                   <field name="END">FIRST</field>
                                                                   <value name="VALUE">
                                                                     <block type="variables_get" id="8;*NmuJL+=2ZjdGLV@w*">
                                                                       <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="FIND">
                                                                     <shadow type="text" id="NE#zvIT-6LZjV3/;?~mp">
                                                                       <field name="TEXT">untere</field>
                                                                     </shadow>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="J(GT5p9jH?jE][E#[[@;">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO1">
                                                             <block type="math_change" id=":_uor[5yVl8xBU+`cMV;">
                                                               <field name="VAR" id="Sk[;o=!/U_$I6Wr,/;!b">anzahl_unten</field>
                                                               <value name="DELTA">
                                                                 <shadow type="math_number" id="ieNW@ocv}L*#oj8$X~P1">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                               </value>
                                                               <next>
                                                                 <block type="lists_setIndex" id="3`60`J~EA:*j}OOf+Z*c">
                                                                   <mutation at="true"></mutation>
                                                                   <field name="MODE">INSERT</field>
                                                                   <field name="WHERE">FROM_START</field>
                                                                   <value name="LIST">
                                                                     <block type="variables_get" id="Q|]yh,v=L+mdd_rKMQdY">
                                                                       <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="AT">
                                                                     <block type="variables_get" id="iyFeezsq|O~{G,#T^e=-">
                                                                       <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="TO">
                                                                     <block type="procedures_callcustomreturn" id="Z_doi2a.Vs634-ZCc8|6" inline="true">
                                                                       <mutation name="Name">
                                                                         <arg name="ObjectID"></arg>
                                                                       </mutation>
                                                                       <value name="ARG0">
                                                                         <block type="variables_get" id="fA)(tvzda:,Du0s;bs-#">
                                                                           <field name="VAR" id="fe!@@dhB{4wJ~YaxWG%C">i</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="control" id="?B@5=?PqH6v*6zKv6fcp">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">javascript.0.test.Test_gemischt</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="convert_object2json" id="qbFE#Dr-U2bJkWET{;3/">
                                                           <field name="PRETTIFY">TRUE</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="f6)^4$,h523yANg6}Xp7">
                                                               <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="debug" id="Xar6oL7+k!M:2n0atyZt">
                                                           <field name="Severity">warn</field>
                                                           <value name="TEXT">
                                                             <shadow type="text" id="E(2nqnZZxAhV95m0d7U|">
                                                               <field name="TEXT">test</field>
                                                             </shadow>
                                                             <block type="variables_get" id="JVA=ISb(J?rC5aZV)=i?">
                                                               <field name="VAR" id="}dJI#n7D?(yn(S7IZetS">Liste</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                            </xml>
                            

                            Ausgabe in den State:

                            Unbenannt.PNG

                            [{"tpl":"i-vis-jsontable","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":true,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":true,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","iTblRowLimit":"100","iTableRefreshRate":"0","iColCount":"3","iColShow1":"true","iTblCellFormat1":"normal","iTblCellImageSize1":"59","iTblTextAlign1":"left","iOpacityAll":"1","iTblRowEvenColor":"#333333","iTblRowUnevenColor":"#38739f","iTblHeaderColor":"#333333","iRowSpacing":"3.1","iTblRowEvenTextColor":"#ffffff","iTblRowUnevenTextColor":"#ffffff","iTblHeaderTextColor":"#ffffff","iBorderSize":"2","iBorderStyleLeft":"none","iBorderStyleRight":"none","iBorderStyleUp":"none","iBorderStyleDown":"none","iBorderColor":"#38739f","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"oid":"javascript.0.test.Test_gemischt","iHorScroll":true,"iColShow2":"true","iTblCellFormat2":"normal","iTblCellImageSize2":"200","iTblTextAlign2":"center","iBorderRemoveDouble":false,"iColShow3":"true","iTblCellFormat3":"image","iTblCellImageSize3":"200","iTblTextAlign3":"right","iColWidth3":"50","iColWidth2":"50","iColWidth1":"50","iTblCellBooleanCheckbox1":"false","iTblCellBooleanColorFalse1":"#ff0000","iTblCellBooleanColorTrue1":"#00ff00","iTblCellNumberDecimals1":"2","iTblCellNumberDecimalSeperator1":".","iTblCellNumberThousandSeperator1":",","iTblCellBooleanCheckbox2":"false","iTblCellBooleanColorFalse2":"#ff0000","iTblCellBooleanColorTrue2":"#00ff00","iTblCellNumberDecimals2":"2","iTblCellNumberDecimalSeperator2":".","iTblCellNumberThousandSeperator2":",","iTblCellBooleanCheckbox3":false,"iTblCellBooleanColorFalse3":"#ff0000","iTblCellBooleanColorTrue3":"#00ff00","iTblCellNumberDecimals3":"2","iTblCellNumberDecimalSeperator3":".","iTblCellNumberThousandSeperator3":",","iTblCellPlaceholder1":"","iColAttr2":"Status","iColAttr3":"","iColAttr1":"Name","iColShow4":true,"iTblCellFormat4":"normal","iTblCellImageSize4":"200","iTblCellBooleanCheckbox4":"false","iTblCellBooleanColorFalse4":"#ff0000","iTblCellBooleanColorTrue4":"#00ff00","iTblCellNumberDecimals4":"2","iTblCellNumberDecimalSeperator4":".","iTblCellNumberThousandSeperator4":",","iTblTextAlign4":"left","iTblShowHead":true,"iVertScroll":true,"iTblCellPlaceholder3":"","iColName3":"","iColName2":"","iTblCellPlaceholder2":""},"style":{"left":"463px","top":"27px","width":"948px","height":"343px","font-size":"large","overflow-y":"scroll"},"widgetSet":"vis-inventwo"}]
                            

                            liv-in-skyL Offline
                            liv-in-skyL Offline
                            liv-in-sky
                            wrote on last edited by
                            #31

                            @quorle

                            was sollen die bilder eigentlich anzeigen bzw wie aussehen ?

                            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                            Q 1 Reply Last reply
                            0
                            • liv-in-skyL liv-in-sky

                              @quorle

                              was sollen die bilder eigentlich anzeigen bzw wie aussehen ?

                              Q Offline
                              Q Offline
                              quorle
                              wrote on last edited by
                              #32

                              @liv-in-sky

                              Ja die schwarzen Punkte sind Emojis und werden in der JS-Funktion Name gebildet ( eingefügt ).
                              Es sollten Bilder ( png ) sein, die man in der VIS dann einbinden kann. Die Bilder stammen von Inventwo. Einmal "Rollo offen", wenn der Status Rollo offen ist und ein geschlossen.

                              17.1.2021, 16:04:00.005	[warn ]: javascript.0 (3043) script.js.common.TEST-Scripte.Skript_2: [{'Name':'WC unten','Status':'⚫'},{'Name':'WC oben','Status':'⚪'},{'Name':'Schlafzimmer Fenster unten','Status':'⚫'},{'Name':'Schlafzimmer Fenster oben','Status':'⚪'},{'Name':'Schlafzimmer Balkontüre unten','Status':'⚫'},{'Name':'Schlafzimmer Balkontüre oben','Status':'⚪'},{'Name':'Kinderzimmer Lea unten','Status':'⚫'},{'Name':'Kinderzimmer Lea oben','Status':'⚪'},{'Name':'Kinderzimmer Antonia unten','Status':'⚫'},{'Name':'Kinderzimmer Antonia oben','Status':'⚪'},{'Name':'Gästezimmer unten','Status':'⚫'},{'Name':'Gästezimmer oben','Status':'⚪'},{'Name':'Jonas Fenster unten','Status':'⚫'},{'Name':'Jonas Fenster oben','Status':'⚪'},{'Name':'Wohnzimmer Fenster unten','Status':'⚫'},{'Name':'Wohnzimmer Fenster oben','Status':'⚪'},{'Name':'Wohnzimmer Balkontüre unten','Status':'⚫'},{'Name':'Wohnzimmer Balkontüre oben','Status':'⚪'},{'Name':'WC Fenster unten','Status':'⚫'},{'Name':'WC Fenster oben','Status':'⚪'},{'Name':'Küche Fenster unten','Status':'⚫'},{'Name':'Küche Fenster oben','Status':'⚪'}]
                              

                              liv-in-skyL 1 Reply Last reply
                              0
                              • Q quorle

                                @liv-in-sky

                                Ja die schwarzen Punkte sind Emojis und werden in der JS-Funktion Name gebildet ( eingefügt ).
                                Es sollten Bilder ( png ) sein, die man in der VIS dann einbinden kann. Die Bilder stammen von Inventwo. Einmal "Rollo offen", wenn der Status Rollo offen ist und ein geschlossen.

                                17.1.2021, 16:04:00.005	[warn ]: javascript.0 (3043) script.js.common.TEST-Scripte.Skript_2: [{'Name':'WC unten','Status':'⚫'},{'Name':'WC oben','Status':'⚪'},{'Name':'Schlafzimmer Fenster unten','Status':'⚫'},{'Name':'Schlafzimmer Fenster oben','Status':'⚪'},{'Name':'Schlafzimmer Balkontüre unten','Status':'⚫'},{'Name':'Schlafzimmer Balkontüre oben','Status':'⚪'},{'Name':'Kinderzimmer Lea unten','Status':'⚫'},{'Name':'Kinderzimmer Lea oben','Status':'⚪'},{'Name':'Kinderzimmer Antonia unten','Status':'⚫'},{'Name':'Kinderzimmer Antonia oben','Status':'⚪'},{'Name':'Gästezimmer unten','Status':'⚫'},{'Name':'Gästezimmer oben','Status':'⚪'},{'Name':'Jonas Fenster unten','Status':'⚫'},{'Name':'Jonas Fenster oben','Status':'⚪'},{'Name':'Wohnzimmer Fenster unten','Status':'⚫'},{'Name':'Wohnzimmer Fenster oben','Status':'⚪'},{'Name':'Wohnzimmer Balkontüre unten','Status':'⚫'},{'Name':'Wohnzimmer Balkontüre oben','Status':'⚪'},{'Name':'WC Fenster unten','Status':'⚫'},{'Name':'WC Fenster oben','Status':'⚪'},{'Name':'Küche Fenster unten','Status':'⚫'},{'Name':'Küche Fenster oben','Status':'⚪'}]
                                

                                liv-in-skyL Offline
                                liv-in-skyL Offline
                                liv-in-sky
                                wrote on last edited by
                                #33

                                @quorle

                                hier werden die emojis gesetzt - ich nehme an, hier willst du bilder haben

                                Image 1.png

                                wenn du die bilder in der vis im darin enthaltenen dateimanager sehen kannst,

                                beispiel mit bild:

                                Image 2.png

                                Image 4.png

                                nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                Q 1 Reply Last reply
                                0
                                • liv-in-skyL liv-in-sky

                                  @quorle

                                  hier werden die emojis gesetzt - ich nehme an, hier willst du bilder haben

                                  Image 1.png

                                  wenn du die bilder in der vis im darin enthaltenen dateimanager sehen kannst,

                                  beispiel mit bild:

                                  Image 2.png

                                  Image 4.png

                                  Q Offline
                                  Q Offline
                                  quorle
                                  wrote on last edited by
                                  #34

                                  @liv-in-sky

                                  Habe das einmal eingefügt,

                                  jedoch kommt bei mir dann nur der Link:

                                  Unbenannt1.PNG Unbenannt.PNG

                                  liv-in-skyL 1 Reply Last reply
                                  0
                                  • Q quorle

                                    @liv-in-sky

                                    Habe das einmal eingefügt,

                                    jedoch kommt bei mir dann nur der Link:

                                    Unbenannt1.PNG Unbenannt.PNG

                                    liv-in-skyL Offline
                                    liv-in-skyL Offline
                                    liv-in-sky
                                    wrote on last edited by
                                    #35

                                    @quorle

                                    hast du im widget die 2te spalte auf image umgestellt ?

                                    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                    1 Reply Last reply
                                    0
                                    • Q Offline
                                      Q Offline
                                      quorle
                                      wrote on last edited by
                                      #36

                                      @liv-in-sky

                                      Ok, danke dir, manchmal sind es wirklich die Kleinigkeiten, an die man nicht denkt.

                                      So, große Frage:

                                      1. Kann man das ganze eventuell so gestalten, dass alle "oben" zusammengefasst und alle "unten" zusammengefasst werden? Und dann nur ein Bild für "oben" und "unten" in die Liste eingetragen wird?
                                      liv-in-skyL 1 Reply Last reply
                                      0
                                      • Q quorle

                                        @liv-in-sky

                                        Ok, danke dir, manchmal sind es wirklich die Kleinigkeiten, an die man nicht denkt.

                                        So, große Frage:

                                        1. Kann man das ganze eventuell so gestalten, dass alle "oben" zusammengefasst und alle "unten" zusammengefasst werden? Und dann nur ein Bild für "oben" und "unten" in die Liste eingetragen wird?
                                        liv-in-skyL Offline
                                        liv-in-skyL Offline
                                        liv-in-sky
                                        wrote on last edited by liv-in-sky
                                        #37

                                        @quorle

                                        kann man durch sotieren der daten bekommen - meinst du in die richtung

                                        Image 2.png

                                        3 änderungen im teil-script , indem wir die liste schreiben:

                                        Image 3.png

                                        neues teilscript sortieren - kommt vor schreiben des datenpunktes:

                                        Image 5.png

                                        import sortieren funktions-baustein:

                                        <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defcustomnoreturn" id="sAEni8c8vYD]#@?(D/A9" x="-812.4906005859375" y="-1062.3208312988281">
                                         <mutation statements="false"></mutation>
                                         <field name="NAME">sortieren</field>
                                         <field name="SCRIPT">DQoNCi8vU29ydGllcnVuZyBOYW1lDQogICAgIExpc3RlLnNvcnQoZnVuY3Rpb24gKGFscGhhLCBiZXRhKSB7DQogICAgICAgICAgICAgaWYgKGFscGhhLk5hbWUgPiBiZXRhLk5hbWUpDQogICAgICAgICAgICAgICAgcmV0dXJuIDE7DQogICAgICAgICAgICAgaWYgKGJldGEuTmFtZSA+IGFscGhhLk5hbWUpDQogICAgICAgICAgICAgICAgcmV0dXJuIC0xOw0KICAgICAgICAgICAgIHJldHVybiAwOw0KICAgICAgICAgICAgfSk7ICANCiAvL1NvcnRpZXJ1bmcgb2JlbiB1bnRlbiAgDQogICBMaXN0ZS5zb3J0KGZ1bmN0aW9uIChhbHBoYSwgYmV0YSkgew0KICAgICAgICAgICAgIGlmIChhbHBoYS5zb3J0aWVydW5nID4gYmV0YS5zb3J0aWVydW5nKQ0KICAgICAgICAgICAgICAgIHJldHVybiAxOw0KICAgICAgICAgICAgIGlmIChiZXRhLnNvcnRpZXJ1bmcgPiBhbHBoYS5zb3J0aWVydW5nKQ0KICAgICAgICAgICAgICAgIHJldHVybiAtMTsNCiAgICAgICAgICAgICByZXR1cm4gMDsNCiAgICAgICAgICAgIH0pOyANCiAgLy9Mw7ZzY2hlbiDDvGJlcmZsw7xzc2lnZXIgYmlsZGVyICANCiAgICBsZXQgaGVscGVyPSIiICAgICAgICANCiAgICBmb3IobGV0IGRkPTA7ZGQ8TGlzdGUubGVuZ3RoO2RkKyspIHsNCiAgICAgIGlmIChMaXN0ZVtkZF0uc29ydGllcnVuZyAhPSBoZWxwZXIpICB7aGVscGVyPUxpc3RlW2RkXS5zb3J0aWVydW5nIH0gZWxzZSB7TGlzdGVbZGRdLlN0YXR1cz0iIn0NCiAgICAgICAgDQogICAgfSAgICAgICAgDQogICAgDQogICAgbG9nKEpTT04uc3RyaW5naWZ5KExpc3RlKSk=</field>
                                         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        </block>
                                        

                                        nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                                        Q 1 Reply Last reply
                                        0
                                        • liv-in-skyL liv-in-sky

                                          @quorle

                                          kann man durch sotieren der daten bekommen - meinst du in die richtung

                                          Image 2.png

                                          3 änderungen im teil-script , indem wir die liste schreiben:

                                          Image 3.png

                                          neues teilscript sortieren - kommt vor schreiben des datenpunktes:

                                          Image 5.png

                                          import sortieren funktions-baustein:

                                          <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defcustomnoreturn" id="sAEni8c8vYD]#@?(D/A9" x="-812.4906005859375" y="-1062.3208312988281">
                                           <mutation statements="false"></mutation>
                                           <field name="NAME">sortieren</field>
                                           <field name="SCRIPT">DQoNCi8vU29ydGllcnVuZyBOYW1lDQogICAgIExpc3RlLnNvcnQoZnVuY3Rpb24gKGFscGhhLCBiZXRhKSB7DQogICAgICAgICAgICAgaWYgKGFscGhhLk5hbWUgPiBiZXRhLk5hbWUpDQogICAgICAgICAgICAgICAgcmV0dXJuIDE7DQogICAgICAgICAgICAgaWYgKGJldGEuTmFtZSA+IGFscGhhLk5hbWUpDQogICAgICAgICAgICAgICAgcmV0dXJuIC0xOw0KICAgICAgICAgICAgIHJldHVybiAwOw0KICAgICAgICAgICAgfSk7ICANCiAvL1NvcnRpZXJ1bmcgb2JlbiB1bnRlbiAgDQogICBMaXN0ZS5zb3J0KGZ1bmN0aW9uIChhbHBoYSwgYmV0YSkgew0KICAgICAgICAgICAgIGlmIChhbHBoYS5zb3J0aWVydW5nID4gYmV0YS5zb3J0aWVydW5nKQ0KICAgICAgICAgICAgICAgIHJldHVybiAxOw0KICAgICAgICAgICAgIGlmIChiZXRhLnNvcnRpZXJ1bmcgPiBhbHBoYS5zb3J0aWVydW5nKQ0KICAgICAgICAgICAgICAgIHJldHVybiAtMTsNCiAgICAgICAgICAgICByZXR1cm4gMDsNCiAgICAgICAgICAgIH0pOyANCiAgLy9Mw7ZzY2hlbiDDvGJlcmZsw7xzc2lnZXIgYmlsZGVyICANCiAgICBsZXQgaGVscGVyPSIiICAgICAgICANCiAgICBmb3IobGV0IGRkPTA7ZGQ8TGlzdGUubGVuZ3RoO2RkKyspIHsNCiAgICAgIGlmIChMaXN0ZVtkZF0uc29ydGllcnVuZyAhPSBoZWxwZXIpICB7aGVscGVyPUxpc3RlW2RkXS5zb3J0aWVydW5nIH0gZWxzZSB7TGlzdGVbZGRdLlN0YXR1cz0iIn0NCiAgICAgICAgDQogICAgfSAgICAgICAgDQogICAgDQogICAgbG9nKEpTT04uc3RyaW5naWZ5KExpc3RlKSk=</field>
                                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          </block>
                                          

                                          Q Offline
                                          Q Offline
                                          quorle
                                          wrote on last edited by Homoran
                                          #38

                                          @liv-in-sky

                                          Ja, so in der Art. Theoretisch sollte es so aussehen ( die Liste sollte mit einem PopUp in der VIS aufgehen.

                                          Unbenannt.PNG

                                          liv-in-skyL 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          826

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe