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. Blockly
  5. Text zerlegen und neu zusammensetzen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    642

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

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

Text zerlegen und neu zusammensetzen

Scheduled Pinned Locked Moved Blockly
54 Posts 6 Posters 5.0k Views 5 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.
  • David G.D David G.

    @paul53

    Super,
    es klappt perfekt.

    1000 Dank.

    Dann gehe ich morgen Abend mal an die Tabelle.
    Werde hier ein Bild senden ^^.

    R Offline
    R Offline
    Rushmed
    Most Active
    wrote on last edited by
    #31

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

    David G.D 1 Reply Last reply
    0
    • R Rushmed

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

      David G.D Offline
      David G.D Offline
      David G.
      wrote on last edited by David G.
      #32

      @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>
      

      Zeigt eure Lovelace-Visualisierung klick
      (Auch ideal um sich Anregungen zu holen)

      Meine Tabellen für eure Visualisierung klick

      paul53P 1 Reply Last reply
      0
      • David G.D 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>
        
        paul53P Offline
        paul53P Offline
        paul53
        wrote on last edited by
        #33

        @David-G sagte:

        Hier aber schonmal der aktuelle Stand.

        "aktualisiere" gehört unter die Schleife.

        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

        David G.D 1 Reply Last reply
        0
        • paul53P paul53

          @David-G sagte:

          Hier aber schonmal der aktuelle Stand.

          "aktualisiere" gehört unter die Schleife.

          David G.D Offline
          David G.D Offline
          David G.
          wrote on last edited by
          #34

          @paul53

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

          Habs oben aktualisiert.

          Zeigt eure Lovelace-Visualisierung klick
          (Auch ideal um sich Anregungen zu holen)

          Meine Tabellen für eure Visualisierung klick

          1 Reply Last reply
          0
          • David G.D Offline
            David G.D Offline
            David G.
            wrote on last edited by
            #35

            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>
            

            Zeigt eure Lovelace-Visualisierung klick
            (Auch ideal um sich Anregungen zu holen)

            Meine Tabellen für eure Visualisierung klick

            HomoranH dslraserD 2 Replies Last reply
            1
            • David G.D David G.

              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>
              
              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #36

              @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? :joy:

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              David G.D 2 Replies Last reply
              0
              • HomoranH Homoran

                @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? :joy:

                David G.D Offline
                David G.D Offline
                David G.
                wrote on last edited by David G.
                #37

                @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 :-D

                Zeigt eure Lovelace-Visualisierung klick
                (Auch ideal um sich Anregungen zu holen)

                Meine Tabellen für eure Visualisierung klick

                1 Reply Last reply
                0
                • HomoranH Homoran

                  @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? :joy:

                  David G.D Offline
                  David G.D Offline
                  David G.
                  wrote on last edited by David G.
                  #38

                  @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.)

                  Zeigt eure Lovelace-Visualisierung klick
                  (Auch ideal um sich Anregungen zu holen)

                  Meine Tabellen für eure Visualisierung klick

                  1 Reply Last reply
                  0
                  • David G.D David G.

                    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>
                    
                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    wrote on last edited by
                    #39

                    @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.D 1 Reply Last reply
                    0
                    • dslraserD dslraser

                      @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.D Offline
                      David G.D Offline
                      David G.
                      wrote on last edited by David G.
                      #40

                      @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.

                      Zeigt eure Lovelace-Visualisierung klick
                      (Auch ideal um sich Anregungen zu holen)

                      Meine Tabellen für eure Visualisierung klick

                      dslraserD 1 Reply Last reply
                      0
                      • David G.D 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.

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        wrote on last edited by
                        #41

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

                        David G.D paul53P 2 Replies Last reply
                        0
                        • dslraserD dslraser

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

                          David G.D Offline
                          David G.D Offline
                          David G.
                          wrote on last edited by
                          #42

                          @dslraser

                          Glaube hatte den von Git installiert.

                          Screenshot_20210111-191318_Chrome.jpg

                          Zeigt eure Lovelace-Visualisierung klick
                          (Auch ideal um sich Anregungen zu holen)

                          Meine Tabellen für eure Visualisierung klick

                          dslraserD 1 Reply Last reply
                          0
                          • dslraserD dslraser

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

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

                            @dslraser sagte:

                            ich bekomme die obige Fehlermeldung.

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

                            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
                            • David G.D David G.

                              @dslraser

                              Glaube hatte den von Git installiert.

                              Screenshot_20210111-191318_Chrome.jpg

                              dslraserD Offline
                              dslraserD Offline
                              dslraser
                              Forum Testing Most Active
                              wrote on last edited by dslraser
                              #44

                              @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.D 1 Reply Last reply
                              0
                              • dslraserD 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.D Offline
                                David G.D Offline
                                David G.
                                wrote on last edited by
                                #45

                                @dslraser

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

                                Der HTML Datenpunkt kann in vis verwendet werden.

                                Zeigt eure Lovelace-Visualisierung klick
                                (Auch ideal um sich Anregungen zu holen)

                                Meine Tabellen für eure Visualisierung klick

                                dslraserD 2 Replies Last reply
                                0
                                • David G.D David G.

                                  @dslraser

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

                                  Der HTML Datenpunkt kann in vis verwendet werden.

                                  dslraserD Offline
                                  dslraserD Offline
                                  dslraser
                                  Forum Testing Most Active
                                  wrote on last edited by
                                  #46

                                  @David-G

                                  es lag daran

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

                                  1 Reply Last reply
                                  0
                                  • David G.D David G.

                                    @dslraser

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

                                    Der HTML Datenpunkt kann in vis verwendet werden.

                                    dslraserD Offline
                                    dslraserD Offline
                                    dslraser
                                    Forum Testing Most Active
                                    wrote on last edited by
                                    #47

                                    @David-G

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

                                    Screenshot_20210111-201247_Chrome.jpg

                                    David G.D 1 Reply Last reply
                                    0
                                    • dslraserD dslraser

                                      @David-G

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

                                      Screenshot_20210111-201247_Chrome.jpg

                                      David G.D Offline
                                      David G.D Offline
                                      David G.
                                      wrote on last edited by
                                      #48

                                      @dslraser

                                      Sehr cool, dass es bei dir auch klappt.

                                      Zeigt eure Lovelace-Visualisierung klick
                                      (Auch ideal um sich Anregungen zu holen)

                                      Meine Tabellen für eure Visualisierung klick

                                      1 Reply Last reply
                                      0
                                      • dirk1962D Offline
                                        dirk1962D Offline
                                        dirk1962
                                        wrote on last edited by
                                        #49

                                        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

                                        NUC8i5 mit Proxmox; Raspberrymatic in VM, iobroker, Motioneye, infuxDB und Grafana in CT.

                                        dslraserD David G.D 2 Replies Last reply
                                        0
                                        • dirk1962D dirk1962

                                          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

                                          dslraserD Offline
                                          dslraserD Offline
                                          dslraser
                                          Forum Testing Most Active
                                          wrote on last edited by dslraser
                                          #50

                                          @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
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          269

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          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