Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Text zerlegen und neu zusammensetzen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Text zerlegen und neu zusammensetzen

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rushmed Most Active @David G. last edited by

      @David-G Lannst du für alle Interessierten das jetzt finale Blockly posten?
      Das wäre sau nett!

      David G. 1 Reply Last reply Reply Quote 0
      • David G.
        David G. @Rushmed last edited by David G.

        @Rushmed

        Wollte ich machen, wenn ich die Tabelle mit eingebaut habe. Hier aber schonmal der aktuelle Stand.

        Screenshot_20210110-183235_Chrome.jpg

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable id="(m}dH@gw]g]CrCq4X:^O">Liste</variable>
            <variable id="^u_U-Az-`mhCz~(F_#oT">text</variable>
            <variable id="x(8OtWm-n$bsM}t4],DO">i</variable>
            <variable id="B=:MPlbZ]`U`oQR_H1ZO">obj</variable>
            <variable id="WND~1`M#LY[oSWchGJ;/">Titel</variable>
            <variable id="qkP}SP]Wsh}w_3jlwPM=">Sender</variable>
            <variable id="Cb`$KNa=.y/wQjyFtN6F">Zeit</variable>
            <variable id="=H4KnMf9.v,`_]uv_6#?">Bild</variable>
          </variables>
          <block type="on" id="ubL@LBF!,o_rkk4*V?$c" x="113" y="163">
            <field name="OID">0_userdata.0.code</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="variables_set" id="W?1q7FaV,*wmZaIkPQ*o">
                <field name="VAR" id="(m}dH@gw]g]CrCq4X:^O">Liste</field>
                <value name="VALUE">
                  <block type="convert_json2object" id="-+dC_oJ;-(a!X+qq3ItL">
                    <value name="VALUE">
                      <block type="on_source" id="W9LY54G8%@AW$,Dv.c1;">
                        <field name="ATTR">state.val</field>
                      </block>
                    </value>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="*Gbs7`LVq2ggdi|-gk1#">
                    <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                    <value name="VALUE">
                      <block type="text" id="D2QaAKbM6V%.nH8G!WO8">
                        <field name="TEXT"></field>
                      </block>
                    </value>
                    <next>
                      <block type="controls_for" id="VAh4_5skpQ(-58)cTsN5">
                        <field name="VAR" id="x(8OtWm-n$bsM}t4],DO">i</field>
                        <value name="FROM">
                          <shadow type="math_number" id="UtEruMTPhi^T~g$#4=X%">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <value name="TO">
                          <shadow type="math_number" id="SL!L;!$5LE6b.-i2{-x8">
                            <field name="NUM">10</field>
                          </shadow>
                          <block type="lists_length" id="IA8x7(aD91K?{^4e{t?p">
                            <value name="VALUE">
                              <block type="variables_get" id="Uw=RBKOt~o^7pvz5@?jp">
                                <field name="VAR" id="(m}dH@gw]g]CrCq4X:^O">Liste</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="BY">
                          <shadow type="math_number" id="X?ku5(f{C?`POZ9}Ykn$">
                            <field name="NUM">1</field>
                          </shadow>
                        </value>
                        <statement name="DO">
                          <block type="variables_set" id="?x8p%;#1!zl^M{*-WeD_">
                            <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                            <value name="VALUE">
                              <block type="lists_getIndex" id="!p81u1HNh}swg_ZCMWGd">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_START</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="3ETVK*E:VqCH}#kblamq">
                                    <field name="VAR" id="(m}dH@gw]g]CrCq4X:^O">Liste</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="variables_get" id="4ZY9FTQA,JoJx!nEg^nc">
                                    <field name="VAR" id="x(8OtWm-n$bsM}t4],DO">i</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="j5Gdw_u6HAN7$Hwd1Sk,">
                                <field name="VAR" id="WND~1`M#LY[oSWchGJ;/">Titel</field>
                                <value name="VALUE">
                                  <block type="get_attr" id="V=ixw;0O?aW0sXtNbLyR">
                                    <value name="PATH">
                                      <shadow type="text" id="XE}T12XOKYB-U6A8etD(">
                                        <field name="TEXT">title</field>
                                      </shadow>
                                    </value>
                                    <value name="OBJECT">
                                      <block type="variables_get" id="Aqx9nyk[/uZhLuG|WKW]">
                                        <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="7n/:wb/R14Kz[S(YP^)z">
                                    <field name="VAR" id="qkP}SP]Wsh}w_3jlwPM=">Sender</field>
                                    <value name="VALUE">
                                      <block type="get_attr" id="si%nmaEYZ8yF2`)aXAA[">
                                        <value name="PATH">
                                          <shadow type="text" id="Vv?R@/OzO]p40i%9sCnd">
                                            <field name="TEXT">station</field>
                                          </shadow>
                                        </value>
                                        <value name="OBJECT">
                                          <block type="variables_get" id="Dv389p@`@/Y3}]gx``_e">
                                            <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="aKy)HU06-POy;kU_BZb-">
                                        <field name="VAR" id="Cb`$KNa=.y/wQjyFtN6F">Zeit</field>
                                        <value name="VALUE">
                                          <block type="get_attr" id="`wPRO=fu4+XJSLOOaSO0">
                                            <value name="PATH">
                                              <shadow type="text" id="%IZ(eKv9iMml(NI-f]5P">
                                                <field name="TEXT">time</field>
                                              </shadow>
                                            </value>
                                            <value name="OBJECT">
                                              <block type="variables_get" id="3Hno*M89!AaJIE6(3=33">
                                                <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="X)I9aAIj8q}#(,lBLoA8">
                                            <field name="VAR" id="=H4KnMf9.v,`_]uv_6#?">Bild</field>
                                            <value name="VALUE">
                                              <block type="get_attr" id=";tsY?ta87G!Ip{x3uz#T">
                                                <value name="PATH">
                                                  <shadow type="text" id="HmVz%-OkrSIKER](18V:">
                                                    <field name="TEXT">imgUrl</field>
                                                  </shadow>
                                                </value>
                                                <value name="OBJECT">
                                                  <block type="variables_get" id="Vq9etR=Lc?:t?%0IUjP9">
                                                    <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id=",AX3xaQpP,RI_FeH!Xx|">
                                                <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                                                <value name="VALUE">
                                                  <block type="text_join" id="oc7)%`;1Y7hZ,{LSK@n^">
                                                    <mutation items="8"></mutation>
                                                    <value name="ADD0">
                                                      <block type="variables_get" id="A]OKm4e`3x(zLzn6s(QN">
                                                        <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD1">
                                                      <block type="variables_get" id="fIhTLcQB}M=fC^B;!y[3">
                                                        <field name="VAR" id="Cb`$KNa=.y/wQjyFtN6F">Zeit</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD2">
                                                      <block type="text_newline" id="mZGUIN_q[1%Kvb:UML$s">
                                                        <field name="Type">\n</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD3">
                                                      <block type="variables_get" id=";1!SxOtb)P*,f@2txLG+">
                                                        <field name="VAR" id="qkP}SP]Wsh}w_3jlwPM=">Sender</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD4">
                                                      <block type="text_newline" id="L2J)8?zZhqA12mo@#Di:">
                                                        <field name="Type">\n</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD5">
                                                      <block type="variables_get" id="7r#.X6VO;Q,F#?pc,v0W">
                                                        <field name="VAR" id="WND~1`M#LY[oSWchGJ;/">Titel</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD6">
                                                      <block type="text_newline" id="-s?OIWzO`zecbv=d{A6D">
                                                        <field name="Type">\n</field>
                                                      </block>
                                                    </value>
                                                    <value name="ADD7">
                                                      <block type="variables_get" id="bJfAhLxPp7#nS|JLsb$2">
                                                        <field name="VAR" id="=H4KnMf9.v,`_]uv_6#?">Bild</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="update" id="=iOOU)DZOb[YQgsxVq={">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.VIS.tvprogramm.2015</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id="4R$*aP-tIeoXAU7-OHcp">
                                <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </xml>
        
        paul53 1 Reply Last reply Reply Quote 0
        • paul53
          paul53 @David G. last edited by

          @David-G sagte:

          Hier aber schonmal der aktuelle Stand.

          "aktualisiere" gehört unter die Schleife.

          David G. 1 Reply Last reply Reply Quote 0
          • David G.
            David G. @paul53 last edited by

            @paul53

            Ist verrutscht, man sollte nicht am Smartphone am Script weiterarbeiten 😅.

            Habs oben aktualisiert.

            1 Reply Last reply Reply Quote 0
            • David G.
              David G. last edited by

              Anbei das Script mit Tabelle.
              An die Tabelle setze ich mich nochmal in Ruhe, da sollte aber eh jeder ein wenig spielen, wie es ihm besser gefällt.

              1.JPG

              2.JPG

              <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                  <variable id="(m}dH@gw]g]CrCq4X:^O">Liste</variable>
                  <variable id="^u_U-Az-`mhCz~(F_#oT">text</variable>
                  <variable id="x(8OtWm-n$bsM}t4],DO">i</variable>
                  <variable id="B=:MPlbZ]`U`oQR_H1ZO">obj</variable>
                  <variable id="WND~1`M#LY[oSWchGJ;/">Titel</variable>
                  <variable id="qkP}SP]Wsh}w_3jlwPM=">Sender</variable>
                  <variable id="Cb`$KNa=.y/wQjyFtN6F">Zeit</variable>
                  <variable id="=H4KnMf9.v,`_]uv_6#?">Bild</variable>
                  <variable id=",,-mG}Ve8pp=2QR3G0v$">Beschreibung</variable>
                </variables>
                <block type="on" id="ubL@LBF!,o_rkk4*V?$c" x="113" y="163">
                  <field name="OID">tvspielfilm.0.json.raw.heute2015</field>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <statement name="STATEMENT">
                    <block type="variables_set" id="W?1q7FaV,*wmZaIkPQ*o">
                      <field name="VAR" id="(m}dH@gw]g]CrCq4X:^O">Liste</field>
                      <value name="VALUE">
                        <block type="convert_json2object" id="-+dC_oJ;-(a!X+qq3ItL">
                          <value name="VALUE">
                            <block type="on_source" id="W9LY54G8%@AW$,Dv.c1;">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="*Gbs7`LVq2ggdi|-gk1#">
                          <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                          <value name="VALUE">
                            <block type="text" id="D2QaAKbM6V%.nH8G!WO8">
                              <field name="TEXT"></field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_for" id="VAh4_5skpQ(-58)cTsN5">
                              <field name="VAR" id="x(8OtWm-n$bsM}t4],DO">i</field>
                              <value name="FROM">
                                <shadow type="math_number" id="UtEruMTPhi^T~g$#4=X%">
                                  <field name="NUM">1</field>
                                </shadow>
                              </value>
                              <value name="TO">
                                <shadow type="math_number" id="SL!L;!$5LE6b.-i2{-x8">
                                  <field name="NUM">10</field>
                                </shadow>
                                <block type="lists_length" id="IA8x7(aD91K?{^4e{t?p">
                                  <value name="VALUE">
                                    <block type="variables_get" id="Uw=RBKOt~o^7pvz5@?jp">
                                      <field name="VAR" id="(m}dH@gw]g]CrCq4X:^O">Liste</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="BY">
                                <shadow type="math_number" id="X?ku5(f{C?`POZ9}Ykn$">
                                  <field name="NUM">1</field>
                                </shadow>
                              </value>
                              <statement name="DO">
                                <block type="variables_set" id="?x8p%;#1!zl^M{*-WeD_">
                                  <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                  <value name="VALUE">
                                    <block type="lists_getIndex" id="!p81u1HNh}swg_ZCMWGd">
                                      <mutation statement="false" at="true"></mutation>
                                      <field name="MODE">GET</field>
                                      <field name="WHERE">FROM_START</field>
                                      <value name="VALUE">
                                        <block type="variables_get" id="3ETVK*E:VqCH}#kblamq">
                                          <field name="VAR" id="(m}dH@gw]g]CrCq4X:^O">Liste</field>
                                        </block>
                                      </value>
                                      <value name="AT">
                                        <block type="variables_get" id="4ZY9FTQA,JoJx!nEg^nc">
                                          <field name="VAR" id="x(8OtWm-n$bsM}t4],DO">i</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="j5Gdw_u6HAN7$Hwd1Sk,">
                                      <field name="VAR" id="WND~1`M#LY[oSWchGJ;/">Titel</field>
                                      <value name="VALUE">
                                        <block type="get_attr" id="V=ixw;0O?aW0sXtNbLyR">
                                          <value name="PATH">
                                            <shadow type="text" id="XE}T12XOKYB-U6A8etD(">
                                              <field name="TEXT">title</field>
                                            </shadow>
                                          </value>
                                          <value name="OBJECT">
                                            <block type="variables_get" id="Aqx9nyk[/uZhLuG|WKW]">
                                              <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="7n/:wb/R14Kz[S(YP^)z">
                                          <field name="VAR" id="qkP}SP]Wsh}w_3jlwPM=">Sender</field>
                                          <value name="VALUE">
                                            <block type="get_attr" id="si%nmaEYZ8yF2`)aXAA[">
                                              <value name="PATH">
                                                <shadow type="text" id="Vv?R@/OzO]p40i%9sCnd">
                                                  <field name="TEXT">station</field>
                                                </shadow>
                                              </value>
                                              <value name="OBJECT">
                                                <block type="variables_get" id="Dv389p@`@/Y3}]gx``_e">
                                                  <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="aKy)HU06-POy;kU_BZb-">
                                              <field name="VAR" id="Cb`$KNa=.y/wQjyFtN6F">Zeit</field>
                                              <value name="VALUE">
                                                <block type="get_attr" id="`wPRO=fu4+XJSLOOaSO0">
                                                  <value name="PATH">
                                                    <shadow type="text" id="%IZ(eKv9iMml(NI-f]5P">
                                                      <field name="TEXT">time</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="OBJECT">
                                                    <block type="variables_get" id="3Hno*M89!AaJIE6(3=33">
                                                      <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="X)I9aAIj8q}#(,lBLoA8">
                                                  <field name="VAR" id="=H4KnMf9.v,`_]uv_6#?">Bild</field>
                                                  <value name="VALUE">
                                                    <block type="get_attr" id=";tsY?ta87G!Ip{x3uz#T">
                                                      <value name="PATH">
                                                        <shadow type="text" id="HmVz%-OkrSIKER](18V:">
                                                          <field name="TEXT">imgUrl</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="OBJECT">
                                                        <block type="variables_get" id="Vq9etR=Lc?:t?%0IUjP9">
                                                          <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="86DEYVo??R/@i_!:f`H?">
                                                      <field name="VAR" id=",,-mG}Ve8pp=2QR3G0v$">Beschreibung</field>
                                                      <value name="VALUE">
                                                        <block type="get_attr" id="vr3`]9_k0Ke3+G;BPe0$">
                                                          <value name="PATH">
                                                            <shadow type="text" id="g}99n.xJZe2a;])BF`jI">
                                                              <field name="TEXT">description</field>
                                                            </shadow>
                                                          </value>
                                                          <value name="OBJECT">
                                                            <block type="variables_get" id="C?}|MWY(:zJSY(62Q!L-">
                                                              <field name="VAR" id="B=:MPlbZ]`U`oQR_H1ZO">obj</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id=",AX3xaQpP,RI_FeH!Xx|">
                                                          <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                                                          <value name="VALUE">
                                                            <block type="text_join" id="oc7)%`;1Y7hZ,{LSK@n^">
                                                              <mutation items="14"></mutation>
                                                              <value name="ADD0">
                                                                <block type="variables_get" id="A]OKm4e`3x(zLzn6s(QN">
                                                                  <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="text" id="@UfRgRh#-n,^e{wnY,#$">
                                                                  <field name="TEXT">&lt;tr valign="top"&gt;&lt;th rowspan="2" ALIGN="LEFT" valign="top"&gt;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD2">
                                                                <block type="text" id="SmFyDO|0Dgd0$?eaA`Sg">
                                                                  <field name="TEXT"> &lt;img src="</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD3">
                                                                <block type="variables_get" id="bJfAhLxPp7#nS|JLsb$2">
                                                                  <field name="VAR" id="=H4KnMf9.v,`_]uv_6#?">Bild</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD4">
                                                                <block type="text" id="V(@hQGqP#lM:3RU#|B.M">
                                                                  <field name="TEXT">" width="500px" valign="top"&gt;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD5">
                                                                <block type="text" id="QL$OjZdV(xM6KUL/dmLz">
                                                                  <field name="TEXT">&lt;/th&gt;&lt;th ALIGN="LEFT"&gt;&lt;font size="3"&gt;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD6">
                                                                <block type="variables_get" id="fIhTLcQB}M=fC^B;!y[3">
                                                                  <field name="VAR" id="Cb`$KNa=.y/wQjyFtN6F">Zeit</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD7">
                                                                <block type="text" id="gX^e$Yd~=w#@sewo9`#+">
                                                                  <field name="TEXT">&amp;nbsp;|&amp;nbsp;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD8">
                                                                <block type="variables_get" id=";1!SxOtb)P*,f@2txLG+">
                                                                  <field name="VAR" id="qkP}SP]Wsh}w_3jlwPM=">Sender</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD9">
                                                                <block type="text" id="!PY*^%g4j-ZU}v{?r%xr">
                                                                  <field name="TEXT">&amp;nbsp;|&amp;nbsp;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD10">
                                                                <block type="variables_get" id="7r#.X6VO;Q,F#?pc,v0W">
                                                                  <field name="VAR" id="WND~1`M#LY[oSWchGJ;/">Titel</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD11">
                                                                <block type="text" id="cHmPNGVArXff^;r4UFx9">
                                                                  <field name="TEXT">&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td ALIGN="LEFT"&gt;&lt;font size="2"&gt;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD12">
                                                                <block type="text_getSubstring" id="6N[/%V@1Q[0YvLVKJ?~=">
                                                                  <mutation at1="true" at2="true"></mutation>
                                                                  <field name="WHERE1">FROM_START</field>
                                                                  <field name="WHERE2">FROM_START</field>
                                                                  <value name="STRING">
                                                                    <block type="variables_get" id="JK9,5eYH6s8U9Jv-ZBcr">
                                                                      <field name="VAR" id=",,-mG}Ve8pp=2QR3G0v$">Beschreibung</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="AT1">
                                                                    <block type="math_number" id="v-Z:lGRy$;zzt0LH{])|">
                                                                      <field name="NUM">1</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="AT2">
                                                                    <block type="math_number" id="?%hQ{jpe?6;.(D/`m7_8">
                                                                      <field name="NUM">300</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="ADD13">
                                                                <block type="text" id="P{0@!YzHS)23b;XH%g*4">
                                                                  <field name="TEXT">&lt;/tr&gt;</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <next>
                                <block type="update" id="=iOOU)DZOb[YQgsxVq={">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">0_userdata.0.VIS.tvprogramm.2015</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="text_join" id=")4[foVL+;!xdhFv($WVn">
                                      <mutation items="3"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="rqH.Tp+,./Gm@C8e99ZY">
                                          <field name="TEXT">&lt;table&gt;</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="variables_get" id="4R$*aP-tIeoXAU7-OHcp">
                                          <field name="VAR" id="^u_U-Az-`mhCz~(F_#oT">text</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="text" id="3Nljk,tpV27x(#;V?7mB">
                                          <field name="TEXT">&lt;/table&gt;</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </xml>
              
              Homoran dslraser 2 Replies Last reply Reply Quote 1
              • Homoran
                Homoran Global Moderator Administrators @David G. last edited by

                @David-G sagte in Text zerlegen und neu zusammensetzen:

                An die Tabelle setze ich mich nochmal in Ruhe

                ist das die "Tabelle" ?
                Bild Text

                Was ist denn mit dem ersten Eintrag passiert? 😂

                David G. 2 Replies Last reply Reply Quote 0
                • David G.
                  David G. @Homoran last edited by David G.

                  @Homoran

                  Jepp.

                  Ist noch aus meinem Testdatenpunkt.
                  Da habe ich einfach immer irgendwas abgeändert, um zu sehen was das Script macht um den TV-Movie-Adapter nicht immer anders einstellen zu müssen für eine Aktualisierung des Datenpunktes 😄

                  1 Reply Last reply Reply Quote 0
                  • David G.
                    David G. @Homoran last edited by David G.

                    @Homoran

                    In meiner Visualisierung habe ich noch die Möglichkeit, zwischen dem aktuellen und dem Programm von heute abend zu wechseln.

                    Screenshot_20210111-173448_Fully Kiosk Browser.jpg

                    (Die Buttons werde ich noch was anpassen, gefällt mir noch nicht ganz.)

                    1 Reply Last reply Reply Quote 0
                    • dslraser
                      dslraser Forum Testing Most Active @David G. last edited by

                      @David-G sagte in Text zerlegen und neu zusammensetzen:

                      Anbei das Script mit Tabelle.

                      erstmal Danke fürs teilen.
                      Funktioniert das bei Dir wirklich ?
                      Müssen im Adapter irgendwelche Sender eingetragen werden ?

                      javascript.0	2021-01-11 18:54:52.283	error	(26377) at processImmediate (internal/timers.js:461:21)
                      javascript.0	2021-01-11 18:54:52.283	error	(26377) at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5384:37)
                      javascript.0	2021-01-11 18:54:52.282	error	(26377) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:472:25)
                      javascript.0	2021-01-11 18:54:52.282	error	(26377) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
                      javascript.0	2021-01-11 18:54:52.282	error	(26377) at Object.<anonymous> (script.js.02_TV_System.TV-VISU:21:283)
                      javascript.0	2021-01-11 18:54:52.281	error	(26377) script.js.02_TV_System.TV-VISU: TypeError: Cannot read property 'slice' of undefined
                      
                      David G. 1 Reply Last reply Reply Quote 0
                      • David G.
                        David G. @dslraser last edited by David G.

                        @dslraser

                        Klappt wunderbar.
                        Der Adapter hat zwar nicht soooo viele Sender integriert, funktioniert aber gut.

                        Für die Sender gibt es eine Black- bzw Whitelist.

                        In VIS bekommt man die Daten aber auch ohne das Script, steht im Thread vom Adapter beschrieben.

                        dslraser 1 Reply Last reply Reply Quote 0
                        • dslraser
                          dslraser Forum Testing Most Active @David G. last edited by

                          @David-G
                          ich bekomme die obige Fehlermeldung. Im Adapter habe ich weder bei Blackliste noch bei Whitelist was eingetragen

                          David G. paul53 2 Replies Last reply Reply Quote 0
                          • David G.
                            David G. @dslraser last edited by

                            @dslraser

                            Glaube hatte den von Git installiert.

                            Screenshot_20210111-191318_Chrome.jpg

                            dslraser 1 Reply Last reply Reply Quote 0
                            • paul53
                              paul53 @dslraser last edited by

                              @dslraser sagte:

                              ich bekomme die obige Fehlermeldung.

                              Enthält das JSON bei Dir keine "description" ?

                              1 Reply Last reply Reply Quote 0
                              • dslraser
                                dslraser Forum Testing Most Active @David G. last edited by dslraser

                                @David-G sagte in Text zerlegen und neu zusammensetzen:

                                Glaube hatte den von Git installiert.

                                @paul53
                                Ich hatte stable installiert...(nun von Git die 2.0.1)
                                Nun kommen zusätzliche/andere Datenpunkte und anderer Inhalt. Ich schaue nochmal ob es nun geht.

                                Edit: nun funktioniert es

                                David G. 1 Reply Last reply Reply Quote 0
                                • David G.
                                  David G. @dslraser last edited by

                                  @dslraser

                                  Wichtig ist es, für das Script die Datenpunkte von raw zu nehmen.

                                  Der HTML Datenpunkt kann in vis verwendet werden.

                                  dslraser 2 Replies Last reply Reply Quote 0
                                  • dslraser
                                    dslraser Forum Testing Most Active @David G. last edited by

                                    @David-G

                                    es lag daran

                                    Ich hatte stable installiert...(nun von Git die 2.0.1)

                                    1 Reply Last reply Reply Quote 0
                                    • dslraser
                                      dslraser Forum Testing Most Active @David G. last edited by

                                      @David-G

                                      mein erster kurzer Test mit iQontrol
                                      (Bilder habe ich nur auf 100px)

                                      Screenshot_20210111-201247_Chrome.jpg

                                      David G. 1 Reply Last reply Reply Quote 0
                                      • David G.
                                        David G. @dslraser last edited by

                                        @dslraser

                                        Sehr cool, dass es bei dir auch klappt.

                                        1 Reply Last reply Reply Quote 0
                                        • dirk1962
                                          dirk1962 last edited by

                                          Hallo @David-G, ich habe Dein Blockly für die html-Tabelle installiert und den Datenpunkt angelegt. Im log ist keine Fehlermeldung, aber der Datenpunkt wird nicht gefüllt. TV-Spielfilm V 2.0.1 ist installiert und in VIS wird auch alles korrekt angezeigt. Brauche die html-Tabelle für iQontrol.
                                          Hast Du eine Idee, was ich falsch mache?
                                          userdata.png
                                          Script.png
                                          log.png

                                          dslraser David G. 2 Replies Last reply Reply Quote 0
                                          • dslraser
                                            dslraser Forum Testing Most Active @dirk1962 last edited by dslraser

                                            @dirk1962
                                            ich weiß nicht ob es eine Rolle spielt, aber ich habe als DP Typ string angelegt.

                                            Bildschirmfoto 2021-04-14 um 17.13.10.png

                                            RAW DP

                                            {
                                              "_id": "0_userdata.0.TV_Spielfim.TV_Spielfilm_2015",
                                              "type": "state",
                                              "common": {
                                                "name": "ab_2015",
                                                "role": "string",
                                                "type": "string",
                                                "read": true,
                                                "write": true,
                                                "desc": "Manuell erzeugt",
                                                "def": ""
                                              },
                                              "native": {},
                                              "from": "system.adapter.admin.0",
                                              "user": "system.user.admin",
                                              "ts": 1610386690717,
                                              "acl": {
                                                "object": 1636,
                                                "state": 1636,
                                                "owner": "system.user.admin",
                                                "ownerGroup": "system.group.administrator"
                                              }
                                            }
                                            

                                            Läuft bei mir auch in iQontrol.


                                            Bildschirmfoto 2021-04-14 um 17.15.45.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            393
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            54
                                            2877
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo