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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Ical JSON auslesen :-)

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Ical JSON auslesen :-)

Geplant Angeheftet Gesperrt Verschoben Blockly
22 Beiträge 4 Kommentatoren 342 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • ? Ein ehemaliger Benutzer

    Hi,
    ich versuche gerade mit dem ICAL Adapter die json auszulesen. hab hier auch einen Code gefunden, allerdings schreibt ihr mir die Termine Doppelt und dreifach... hier der aktuelle Blockly stand:

    Bildschirmfoto 2025-12-14 um 10.39.03.png

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="Nin}JW*y1Vp_$;},D.7Z">liste_term</variable>
        <variable id="1]Y7`n@:hU1lh4_N4rup">j</variable>
        <variable id="mOjNB}.j)RR3:k$kM.L7">obj_termin</variable>
        <variable id="%9%0UV]g*=a-{TDxkJ2t">termin</variable>
        <variable id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</variable>
        <variable id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</variable>
        <variable id="wPep`OX`O^fEpJ%f1ug~">ort</variable>
      </variables>
      <block type="schedule" id="+@r~S[6?t$[fT[H@DK@b" x="88" y="4263">
        <field name="SCHEDULE">*/59 * * * *</field>
        <statement name="STATEMENT">
          <block type="controls_if" id="SG1#fy:/LT+_LtWOw9:=">
            <value name="IF0">
              <block type="logic_compare" id="~K9qxlSw$|iqluYn$=E[">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="get_value" id="A#AM49+2rPo@~*`kpOQQ">
                    <field name="ATTR">val</field>
                    <field name="OID">ical.0.data.count</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="DE1qH{lXTOIL_qY{RJs#">
                    <field name="NUM">0</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="`%F3I5HDMm{W_0J_o3Y)">
                <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                <value name="VALUE">
                  <block type="get_value" id="mw}m)@^s7YhZ#N9.YJGR">
                    <field name="ATTR">val</field>
                    <field name="OID">ical.0.data.table</field>
                  </block>
                </value>
                <next>
                  <block type="controls_for" id="##,smlQZuUU$Hp)Deinv">
                    <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                    <value name="FROM">
                      <shadow type="math_number" id="A*J}_Qh+*662ncK7Jlh@">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <value name="TO">
                      <shadow type="math_number" id="2+Y:blScaLJrd?cNIno]">
                        <field name="NUM">10</field>
                      </shadow>
                      <block type="get_value" id="ZVp^WlNoFoFa)X$]=GVR">
                        <field name="ATTR">val</field>
                        <field name="OID">ical.0.data.count</field>
                      </block>
                    </value>
                    <value name="BY">
                      <shadow type="math_number" id="cf2:f+!=u[45[`5A^oR)">
                        <field name="NUM">1</field>
                      </shadow>
                    </value>
                    <statement name="DO">
                      <block type="variables_set" id="d3!_@rJ(=rJBet8eg*aw">
                        <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                        <value name="VALUE">
                          <block type="lists_getIndex" id="9T);!$t,Au-eE3B~1Gv;">
                            <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="KK36xP*]R#Wbj5[ySvU{">
                                <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                              </block>
                            </value>
                            <value name="AT">
                              <block type="variables_get" id="[9^LOR%D~X1zA:VdfwBl">
                                <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="9XU7hW*5T;uB$d$6ObCI">
                            <field name="VAR" id="%9%0UV]g*=a-{TDxkJ2t">termin</field>
                            <value name="VALUE">
                              <block type="get_attr" id="E0Mq^IGJM,XR/(-,}CrK">
                                <value name="PATH">
                                  <shadow type="text" id="[(Cf+VL;Ft7YO0(FBwSv">
                                    <field name="TEXT">event</field>
                                  </shadow>
                                </value>
                                <value name="OBJECT">
                                  <block type="variables_get" id="b_LG$ZW%TE8si5J(b:Mp">
                                    <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="L-4nSiPs7tQK){NhuP}A">
                                <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                <value name="VALUE">
                                  <block type="get_attr" id="zSyV5QdK]%VDm{0U--z[">
                                    <value name="PATH">
                                      <shadow type="text" id="kqX{$-vh9,M%3YP5wYpE">
                                        <field name="TEXT">_date</field>
                                      </shadow>
                                    </value>
                                    <value name="OBJECT">
                                      <block type="variables_get" id="5h-v#4$+b6F~R#^F6q~?">
                                        <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="jaM:)-h[SvzaVr$,1{ab">
                                    <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                    <value name="VALUE">
                                      <block type="get_attr" id="S@.?MCm42pqS,F.7ACRS">
                                        <value name="PATH">
                                          <shadow type="text" id="o#}lQtc57|^_4;Y_v?ZL">
                                            <field name="TEXT">location</field>
                                          </shadow>
                                        </value>
                                        <value name="OBJECT">
                                          <block type="variables_get" id="}=.Og}t-hG5EBFM#cyo#">
                                            <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="Xw~K{!s8GsBtx5@tIcn5">
                                        <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                        <value name="VALUE">
                                          <block type="text_join" id="^JUvnmon_{lP[DJIaZ+l">
                                            <mutation items="9"></mutation>
                                            <value name="ADD0">
                                              <block type="variables_get" id="8?NV/z=,lX$)}a)_`g4F">
                                                <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="text_newline" id="7R{vwZ4.$e7S-Pdi^@*)">
                                                <field name="Type">\n</field>
                                              </block>
                                            </value>
                                            <value name="ADD2">
                                              <block type="convert_from_date" id="`0LFOX!yru]-[dfKDn}G">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                <field name="OPTION">hh:mm</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="lUF[SJ-mp}FL]KEGtHLL">
                                                    <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="ADD3">
                                              <block type="text" id="GN9N$whLIIW,lY5P7Zo+">
                                                <field name="TEXT"> - </field>
                                              </block>
                                            </value>
                                            <value name="ADD4">
                                              <block type="variables_get" id="iXe#+!7?SY/S9X]:9Cht">
                                                <field name="VAR" id="%9%0UV]g*=a-{TDxkJ2t">termin</field>
                                              </block>
                                            </value>
                                            <value name="ADD5">
                                              <block type="text" id="V$=2#]/uVg5v=;6;2U`i">
                                                <field name="TEXT"> - </field>
                                              </block>
                                            </value>
                                            <value name="ADD6">
                                              <block type="text_charAt" id="|8k44]|H`F`[dYL:OhG`">
                                                <mutation at="true"></mutation>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="aHEBYTk3^_wUHV(%(tdG">
                                                    <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="ZWN|xUJM5fNI+ib[MKmY">
                                                    <field name="NUM">1</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="ADD7">
                                              <block type="text_charAt" id="nD94fHmAc%KHxj4T(`HX">
                                                <mutation at="true"></mutation>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="Y420KTH%xUkk[Q~v9V$R">
                                                    <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="5?)%`3bNl5%U$FIAO]rJ">
                                                    <field name="NUM">2</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="ADD8">
                                              <block type="text_charAt" id="L]?F8S*.W-(F^_Oxc4jX">
                                                <mutation at="true"></mutation>
                                                <field name="WHERE">FROM_START</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="A?]]aP/?o^YAvl]oR**f">
                                                    <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                                  </block>
                                                </value>
                                                <value name="AT">
                                                  <block type="math_number" id="lrn]ID*w(-uje)=A6-_K">
                                                    <field name="NUM">3</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="debug" id="@{98ZlH9H0-bU?NFq@.l">
                        <field name="Severity">info</field>
                        <value name="TEXT">
                          <shadow type="text" id="gND@X`-7D)50}m4xq,xP">
                            <field name="TEXT">test</field>
                          </shadow>
                          <block type="variables_get" id="C8VfxU%FCFnO)+a4uYf]">
                            <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                          </block>
                        </value>
                        <next>
                          <block type="telegram" id="%R4ujjx,8M^2tV9xvj`^">
                            <field name="INSTANCE">.0</field>
                            <field name="LOG"></field>
                            <field name="SILENT">FALSE</field>
                            <field name="PARSEMODE">default</field>
                            <field name="ESCAPING">FALSE</field>
                            <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                            <value name="MESSAGE">
                              <shadow type="text" id="|Y0fQkiSY@@x6f:|czT0">
                                <field name="TEXT">text</field>
                              </shadow>
                              <block type="variables_get" id=":NHFv)_bDjl2xvAC5Te~">
                                <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="n*^frlDdedrK#tk^:::n">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">0_userdata.0.kalendertext</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="xEm6ws=h6297u9!V~eC]">
                                    <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </xml>
    
    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von Homoran
    #2

    @Olli_M sagte in Ical JSON auslesen :-):

    mit dem ICAL Adapter die json auszulesen.

    welches json?
    mit dem iCal-Adapter, oder mit Blockly?

    Was genau hast du vor?
    Was hast du als Quelle?
    Was soll dabei herauskommen?

    1 Antwort Letzte Antwort
    0
    • ? Offline
      ? Offline
      Ein ehemaliger Benutzer
      schrieb am zuletzt editiert von
      #3

      das ist meine Quelle: ical.0.data.table

      Rauskommen sollen einfach noch die Termine die für den heutigen Tag offen sind :-)

      HomoranH paul53P 2 Antworten Letzte Antwort
      0
      • ? Ein ehemaliger Benutzer

        das ist meine Quelle: ical.0.data.table

        Rauskommen sollen einfach noch die Termine die für den heutigen Tag offen sind :-)

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #4

        @Olli_M sagte in Ical JSON auslesen :-):

        Rauskommen sollen einfach noch die Termine die für den heutigen Tag offen sind :-)

        das macht der ical-Adapter doch von selbst

        ich kenne dei e Einstellungen nicht, aber wenn du nur heutige Termine haben willst musst du ihn auf 1 Tag einstellen

        1 Antwort Letzte Antwort
        0
        • ? Ein ehemaliger Benutzer

          Hi,
          ich versuche gerade mit dem ICAL Adapter die json auszulesen. hab hier auch einen Code gefunden, allerdings schreibt ihr mir die Termine Doppelt und dreifach... hier der aktuelle Blockly stand:

          Bildschirmfoto 2025-12-14 um 10.39.03.png

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="Nin}JW*y1Vp_$;},D.7Z">liste_term</variable>
              <variable id="1]Y7`n@:hU1lh4_N4rup">j</variable>
              <variable id="mOjNB}.j)RR3:k$kM.L7">obj_termin</variable>
              <variable id="%9%0UV]g*=a-{TDxkJ2t">termin</variable>
              <variable id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</variable>
              <variable id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</variable>
              <variable id="wPep`OX`O^fEpJ%f1ug~">ort</variable>
            </variables>
            <block type="schedule" id="+@r~S[6?t$[fT[H@DK@b" x="88" y="4263">
              <field name="SCHEDULE">*/59 * * * *</field>
              <statement name="STATEMENT">
                <block type="controls_if" id="SG1#fy:/LT+_LtWOw9:=">
                  <value name="IF0">
                    <block type="logic_compare" id="~K9qxlSw$|iqluYn$=E[">
                      <field name="OP">GT</field>
                      <value name="A">
                        <block type="get_value" id="A#AM49+2rPo@~*`kpOQQ">
                          <field name="ATTR">val</field>
                          <field name="OID">ical.0.data.count</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="DE1qH{lXTOIL_qY{RJs#">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="variables_set" id="`%F3I5HDMm{W_0J_o3Y)">
                      <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                      <value name="VALUE">
                        <block type="get_value" id="mw}m)@^s7YhZ#N9.YJGR">
                          <field name="ATTR">val</field>
                          <field name="OID">ical.0.data.table</field>
                        </block>
                      </value>
                      <next>
                        <block type="controls_for" id="##,smlQZuUU$Hp)Deinv">
                          <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                          <value name="FROM">
                            <shadow type="math_number" id="A*J}_Qh+*662ncK7Jlh@">
                              <field name="NUM">1</field>
                            </shadow>
                          </value>
                          <value name="TO">
                            <shadow type="math_number" id="2+Y:blScaLJrd?cNIno]">
                              <field name="NUM">10</field>
                            </shadow>
                            <block type="get_value" id="ZVp^WlNoFoFa)X$]=GVR">
                              <field name="ATTR">val</field>
                              <field name="OID">ical.0.data.count</field>
                            </block>
                          </value>
                          <value name="BY">
                            <shadow type="math_number" id="cf2:f+!=u[45[`5A^oR)">
                              <field name="NUM">1</field>
                            </shadow>
                          </value>
                          <statement name="DO">
                            <block type="variables_set" id="d3!_@rJ(=rJBet8eg*aw">
                              <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                              <value name="VALUE">
                                <block type="lists_getIndex" id="9T);!$t,Au-eE3B~1Gv;">
                                  <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="KK36xP*]R#Wbj5[ySvU{">
                                      <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                                    </block>
                                  </value>
                                  <value name="AT">
                                    <block type="variables_get" id="[9^LOR%D~X1zA:VdfwBl">
                                      <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="9XU7hW*5T;uB$d$6ObCI">
                                  <field name="VAR" id="%9%0UV]g*=a-{TDxkJ2t">termin</field>
                                  <value name="VALUE">
                                    <block type="get_attr" id="E0Mq^IGJM,XR/(-,}CrK">
                                      <value name="PATH">
                                        <shadow type="text" id="[(Cf+VL;Ft7YO0(FBwSv">
                                          <field name="TEXT">event</field>
                                        </shadow>
                                      </value>
                                      <value name="OBJECT">
                                        <block type="variables_get" id="b_LG$ZW%TE8si5J(b:Mp">
                                          <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="L-4nSiPs7tQK){NhuP}A">
                                      <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                      <value name="VALUE">
                                        <block type="get_attr" id="zSyV5QdK]%VDm{0U--z[">
                                          <value name="PATH">
                                            <shadow type="text" id="kqX{$-vh9,M%3YP5wYpE">
                                              <field name="TEXT">_date</field>
                                            </shadow>
                                          </value>
                                          <value name="OBJECT">
                                            <block type="variables_get" id="5h-v#4$+b6F~R#^F6q~?">
                                              <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="jaM:)-h[SvzaVr$,1{ab">
                                          <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                          <value name="VALUE">
                                            <block type="get_attr" id="S@.?MCm42pqS,F.7ACRS">
                                              <value name="PATH">
                                                <shadow type="text" id="o#}lQtc57|^_4;Y_v?ZL">
                                                  <field name="TEXT">location</field>
                                                </shadow>
                                              </value>
                                              <value name="OBJECT">
                                                <block type="variables_get" id="}=.Og}t-hG5EBFM#cyo#">
                                                  <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="Xw~K{!s8GsBtx5@tIcn5">
                                              <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                              <value name="VALUE">
                                                <block type="text_join" id="^JUvnmon_{lP[DJIaZ+l">
                                                  <mutation items="9"></mutation>
                                                  <value name="ADD0">
                                                    <block type="variables_get" id="8?NV/z=,lX$)}a)_`g4F">
                                                      <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD1">
                                                    <block type="text_newline" id="7R{vwZ4.$e7S-Pdi^@*)">
                                                      <field name="Type">\n</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD2">
                                                    <block type="convert_from_date" id="`0LFOX!yru]-[dfKDn}G">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                      <field name="OPTION">hh:mm</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="lUF[SJ-mp}FL]KEGtHLL">
                                                          <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="ADD3">
                                                    <block type="text" id="GN9N$whLIIW,lY5P7Zo+">
                                                      <field name="TEXT"> - </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD4">
                                                    <block type="variables_get" id="iXe#+!7?SY/S9X]:9Cht">
                                                      <field name="VAR" id="%9%0UV]g*=a-{TDxkJ2t">termin</field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD5">
                                                    <block type="text" id="V$=2#]/uVg5v=;6;2U`i">
                                                      <field name="TEXT"> - </field>
                                                    </block>
                                                  </value>
                                                  <value name="ADD6">
                                                    <block type="text_charAt" id="|8k44]|H`F`[dYL:OhG`">
                                                      <mutation at="true"></mutation>
                                                      <field name="WHERE">FROM_START</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="aHEBYTk3^_wUHV(%(tdG">
                                                          <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                                        </block>
                                                      </value>
                                                      <value name="AT">
                                                        <block type="math_number" id="ZWN|xUJM5fNI+ib[MKmY">
                                                          <field name="NUM">1</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="ADD7">
                                                    <block type="text_charAt" id="nD94fHmAc%KHxj4T(`HX">
                                                      <mutation at="true"></mutation>
                                                      <field name="WHERE">FROM_START</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="Y420KTH%xUkk[Q~v9V$R">
                                                          <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                                        </block>
                                                      </value>
                                                      <value name="AT">
                                                        <block type="math_number" id="5?)%`3bNl5%U$FIAO]rJ">
                                                          <field name="NUM">2</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="ADD8">
                                                    <block type="text_charAt" id="L]?F8S*.W-(F^_Oxc4jX">
                                                      <mutation at="true"></mutation>
                                                      <field name="WHERE">FROM_START</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="A?]]aP/?o^YAvl]oR**f">
                                                          <field name="VAR" id="wPep`OX`O^fEpJ%f1ug~">ort</field>
                                                        </block>
                                                      </value>
                                                      <value name="AT">
                                                        <block type="math_number" id="lrn]ID*w(-uje)=A6-_K">
                                                          <field name="NUM">3</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="debug" id="@{98ZlH9H0-bU?NFq@.l">
                              <field name="Severity">info</field>
                              <value name="TEXT">
                                <shadow type="text" id="gND@X`-7D)50}m4xq,xP">
                                  <field name="TEXT">test</field>
                                </shadow>
                                <block type="variables_get" id="C8VfxU%FCFnO)+a4uYf]">
                                  <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                </block>
                              </value>
                              <next>
                                <block type="telegram" id="%R4ujjx,8M^2tV9xvj`^">
                                  <field name="INSTANCE">.0</field>
                                  <field name="LOG"></field>
                                  <field name="SILENT">FALSE</field>
                                  <field name="PARSEMODE">default</field>
                                  <field name="ESCAPING">FALSE</field>
                                  <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                  <value name="MESSAGE">
                                    <shadow type="text" id="|Y0fQkiSY@@x6f:|czT0">
                                      <field name="TEXT">text</field>
                                    </shadow>
                                    <block type="variables_get" id=":NHFv)_bDjl2xvAC5Te~">
                                      <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="n*^frlDdedrK#tk^:::n">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">0_userdata.0.kalendertext</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="variables_get" id="xEm6ws=h6297u9!V~eC]">
                                          <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </xml>
          
          paul53P Offline
          paul53P Offline
          paul53
          schrieb am zuletzt editiert von paul53
          #5

          @Olli_M sagte: Termine Doppelt und dreifach

          Wenn du uns den Inhalt der Variable liste_term in Code tags zeigst (Debug-Block), kann vielleicht geholfen werden.
          Der Datenpunkt "ical.0.data.table" ist vom Typ "array"?

          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

          HomoranH 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @Olli_M sagte: Termine Doppelt und dreifach

            Wenn du uns den Inhalt der Variable liste_term in Code tags zeigst (Debug-Block), kann vielleicht geholfen werden.
            Der Datenpunkt "ical.0.data.table" ist vom Typ "array"?

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #6

            @paul53 sagte in Ical JSON auslesen :-):

            Der Datenpunkt "ical.0.data.table" ist vom Typ "array"?

            ja

            {
              "_id": "ical.0.data.table",
              "type": "state",
              "common": {
                "name": "JS iCal table",
                "desc": "JS table: []",
                "type": "array",
                "role": "list",
                "read": true,
                "write": false
              },
              "native": {},
              "from": "system.adapter.ical.0",
              "ts": 1650900601279,
              "acl": {
                "object": 1636,
                "state": 1636,
                "owner": "system.user.admin",
                "ownerGroup": "system.group.administrator"
              },
              "user": "system.user.admin"
            }
            
            1 Antwort Letzte Antwort
            0
            • ? Ein ehemaliger Benutzer

              das ist meine Quelle: ical.0.data.table

              Rauskommen sollen einfach noch die Termine die für den heutigen Tag offen sind :-)

              paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von
              #7

              @Olli_M sagte: Termine die für den heutigen Tag offen sind

              Also nur zukünftige Termine für Heute? Versuche es mal so:

              Blockly_temp.JPG

              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 Antwort Letzte Antwort
              0
              • paul53P paul53

                @Olli_M sagte: Termine die für den heutigen Tag offen sind

                Also nur zukünftige Termine für Heute? Versuche es mal so:

                Blockly_temp.JPG

                ? Offline
                ? Offline
                Ein ehemaliger Benutzer
                schrieb am zuletzt editiert von
                #8

                @paul53

                Hi Paul,

                danke schonmal

                ich finde bei setze Uhrzeit auf Datum/Zeit nicht das nach SS:mm

                Bildschirmfoto 2025-12-14 um 16.46.48.png

                Wie bekomme ich das hin?

                @homoran

                Man kann nur Tagesvorschau auf 1 stellen, dann kommt trotzdem ja die morgigen Termine :)

                paul53P HomoranH 3 Antworten Letzte Antwort
                0
                • ? Ein ehemaliger Benutzer

                  @paul53

                  Hi Paul,

                  danke schonmal

                  ich finde bei setze Uhrzeit auf Datum/Zeit nicht das nach SS:mm

                  Bildschirmfoto 2025-12-14 um 16.46.48.png

                  Wie bekomme ich das hin?

                  @homoran

                  Man kann nur Tagesvorschau auf 1 stellen, dann kommt trotzdem ja die morgigen Termine :)

                  paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von
                  #9

                  @Olli_M sagte: nicht das nach SS:mm

                  Weiter runter scrollen.

                  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 Antwort Letzte Antwort
                  0
                  • ? Ein ehemaliger Benutzer

                    @paul53

                    Hi Paul,

                    danke schonmal

                    ich finde bei setze Uhrzeit auf Datum/Zeit nicht das nach SS:mm

                    Bildschirmfoto 2025-12-14 um 16.46.48.png

                    Wie bekomme ich das hin?

                    @homoran

                    Man kann nur Tagesvorschau auf 1 stellen, dann kommt trotzdem ja die morgigen Termine :)

                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #10

                    @Olli_M sagte in Ical JSON auslesen :-):

                    Man kann nur Tagesvorschau auf 1 stellen, dann kommt trotzdem ja die morgigen Termine :)

                    und mit 0?

                    @Olli_M sagte in Ical JSON auslesen :-):

                    Datum/Zeit nicht das nach SS:mm

                    gaaanz unten

                    1 Antwort Letzte Antwort
                    0
                    • ? Offline
                      ? Offline
                      Ein ehemaliger Benutzer
                      schrieb am zuletzt editiert von
                      #11

                      schlechte GUI wenn man keinen scrollbalken sieht :-)

                      Bildschirmfoto 2025-12-14 um 21.58.46.png

                      paul53P 1 Antwort Letzte Antwort
                      0
                      • ? Offline
                        ? Offline
                        Ein ehemaliger Benutzer
                        schrieb am zuletzt editiert von
                        #12

                        Cannot get date of "undefined": TypeError: Cannot read properties of undefined (reading 'date')

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <variables>
                            <variable id="Q+.=qSHyf2F}f=o!IINv">anzahl</variable>
                            <variable id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</variable>
                            <variable id="Nin}JW*y1Vp_$;},D.7Z">liste_term</variable>
                            <variable id="1]Y7`n@:hU1lh4_N4rup">j</variable>
                            <variable id="mOjNB}.j)RR3:k$kM.L7">obj_termin</variable>
                            <variable id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</variable>
                            <variable id="]`DRupDT@DC0B+~.oF7U">uhrzeit</variable>
                          </variables>
                          <block type="schedule" id="+@r~S[6?t$[fT[H@DK@b" x="-87" y="4138">
                            <field name="SCHEDULE">*/10 * * * * *</field>
                            <statement name="STATEMENT">
                              <block type="variables_set" id="?X0J$31Ml]d@H[n[Sg)]">
                                <field name="VAR" id="Q+.=qSHyf2F}f=o!IINv">anzahl</field>
                                <value name="VALUE">
                                  <block type="get_value" id="ZVp^WlNoFoFa)X$]=GVR">
                                    <field name="ATTR">val</field>
                                    <field name="OID">ical.0.data.count</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="SG1#fy:/LT+_LtWOw9:=">
                                    <value name="IF0">
                                      <block type="logic_compare" id="~K9qxlSw$|iqluYn$=E[">
                                        <field name="OP">GT</field>
                                        <value name="A">
                                          <block type="variables_get" id="~Wn8e^j=Lr6S@+sbDp@E">
                                            <field name="VAR" id="Q+.=qSHyf2F}f=o!IINv">anzahl</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="DE1qH{lXTOIL_qY{RJs#">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="XB@}Qqq=D17E5,eO!@AF">
                                        <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                        <value name="VALUE">
                                          <block type="text" id="I/Us.Q$lpcgQEgvht?0n">
                                            <field name="TEXT"></field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="`%F3I5HDMm{W_0J_o3Y)">
                                            <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                                            <value name="VALUE">
                                              <block type="get_value" id="mw}m)@^s7YhZ#N9.YJGR">
                                                <field name="ATTR">val</field>
                                                <field name="OID">ical.0.data.table</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="controls_for" id="##,smlQZuUU$Hp)Deinv">
                                                <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                                                <value name="FROM">
                                                  <shadow type="math_number" id="A*J}_Qh+*662ncK7Jlh@">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                </value>
                                                <value name="TO">
                                                  <shadow type="math_number" id="2+Y:blScaLJrd?cNIno]">
                                                    <field name="NUM">10</field>
                                                  </shadow>
                                                </value>
                                                <value name="BY">
                                                  <shadow type="math_number" id="cf2:f+!=u[45[`5A^oR)">
                                                    <field name="NUM">1</field>
                                                  </shadow>
                                                </value>
                                                <statement name="DO">
                                                  <block type="variables_set" id="d3!_@rJ(=rJBet8eg*aw">
                                                    <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                    <value name="VALUE">
                                                      <block type="lists_getIndex" id="9T);!$t,Au-eE3B~1Gv;">
                                                        <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="KK36xP*]R#Wbj5[ySvU{">
                                                            <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                                                          </block>
                                                        </value>
                                                        <value name="AT">
                                                          <block type="variables_get" id="[9^LOR%D~X1zA:VdfwBl">
                                                            <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="L-4nSiPs7tQK){NhuP}A">
                                                        <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                        <value name="VALUE">
                                                          <block type="get_attr" id="zSyV5QdK]%VDm{0U--z[">
                                                            <value name="PATH">
                                                              <shadow type="text" id="kqX{$-vh9,M%3YP5wYpE">
                                                                <field name="TEXT">_date</field>
                                                              </shadow>
                                                            </value>
                                                            <value name="OBJECT">
                                                              <block type="variables_get" id="5h-v#4$+b6F~R#^F6q~?">
                                                                <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="B6U{/g`^_f^X+e^`jHhR">
                                                            <field name="VAR" id="]`DRupDT@DC0B+~.oF7U">uhrzeit</field>
                                                            <value name="VALUE">
                                                              <block type="convert_from_date" id="iu66ZJm@PM}#BSj695.Z">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                <field name="OPTION">hh:mm</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="d]RtQWqwm=zf!U#5GzO!">
                                                                    <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="controls_if" id="6ry*++!,FZI%Pn/F$4vG">
                                                                <value name="IF0">
                                                                  <block type="logic_multi_and" id="|[c}rGCHkiWq3o2-PkSh">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                    <value name="AND0">
                                                                      <block type="logic_compare" id="3sY{t,TK8ONDt!e3Yk@`">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="time_get" id="qda)fb[zP9}?48GVBu/v">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                            <field name="OPTION">DD.MM.YY</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="convert_from_date" id="`0LFOX!yru]-[dfKDn}G">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                            <field name="OPTION">DD.MM.YY</field>
                                                                            <value name="VALUE">
                                                                              <block type="variables_get" id="lUF[SJ-mp}FL]KEGtHLL">
                                                                                <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="AND1">
                                                                      <block type="logic_compare" id="aj)MD-MXKd1kJ=1TD4Y)">
                                                                        <field name="OP">GTE</field>
                                                                        <value name="A">
                                                                          <block type="time_get" id="WC9:]H?TrMg$ypnfL^DQ">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                            <field name="OPTION">hh:mm</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="variables_get" id="`{)Y`SS3n:y^-:piuZi$">
                                                                            <field name="VAR" id="]`DRupDT@DC0B+~.oF7U">uhrzeit</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="variables_set" id="Xw~K{!s8GsBtx5@tIcn5">
                                                                    <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                                    <value name="VALUE">
                                                                      <block type="text_join" id="^JUvnmon_{lP[DJIaZ+l">
                                                                        <mutation items="9"></mutation>
                                                                        <value name="ADD0">
                                                                          <block type="variables_get" id="8?NV/z=,lX$)}a)_`g4F">
                                                                            <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD1">
                                                                          <block type="text_newline" id="7R{vwZ4.$e7S-Pdi^@*)">
                                                                            <field name="Type">\n</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD2">
                                                                          <block type="variables_get" id="iXe#+!7?SY/S9X]:9Cht">
                                                                            <field name="VAR" id="]`DRupDT@DC0B+~.oF7U">uhrzeit</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD3">
                                                                          <block type="text" id="GN9N$whLIIW,lY5P7Zo+">
                                                                            <field name="TEXT"> - </field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD4">
                                                                          <block type="get_attr" id="KZ+VLh~x2{l0%a`0.Tdy">
                                                                            <value name="PATH">
                                                                              <shadow type="text" id="1tSGH^jZb:#)]ij[M9/X">
                                                                                <field name="TEXT">event</field>
                                                                              </shadow>
                                                                            </value>
                                                                            <value name="OBJECT">
                                                                              <shadow type="get_object" id="y2:90W@gg;,P4sQOy`B*">
                                                                                <field name="OID">Object ID</field>
                                                                              </shadow>
                                                                              <block type="variables_get" id="gcuq?4j=q`k-%k2hga+Y">
                                                                                <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD5">
                                                                          <block type="text" id="V$=2#]/uVg5v=;6;2U`i">
                                                                            <field name="TEXT"> - </field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD6">
                                                                          <block type="text_getSubstring" id="RKaw~+Uc~?!ql]B*DmH9">
                                                                            <mutation at1="false" at2="true"></mutation>
                                                                            <field name="WHERE1">FIRST</field>
                                                                            <field name="WHERE2">FROM_START</field>
                                                                            <value name="STRING">
                                                                              <block type="get_attr" id="L=^]5|GV;;mfo=$TX%0B">
                                                                                <value name="PATH">
                                                                                  <shadow type="text" id="~Tq1$-UN#Q-ZS$t#}(:T">
                                                                                    <field name="TEXT">location</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <value name="OBJECT">
                                                                                  <shadow type="get_object" id="y2:90W@gg;,P4sQOy`B*">
                                                                                    <field name="OID">Object ID</field>
                                                                                  </shadow>
                                                                                  <block type="variables_get" id="!;CZ/**Cv|Y{?}s}S6;[">
                                                                                    <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="AT2">
                                                                              <block type="math_number" id="ZWN|xUJM5fNI+ib[MKmY">
                                                                                <field name="NUM">3</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="debug" id="@{98ZlH9H0-bU?NFq@.l">
                                                    <field name="Severity">info</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="gND@X`-7D)50}m4xq,xP">
                                                        <field name="TEXT">test</field>
                                                      </shadow>
                                                      <block type="variables_get" id="C8VfxU%FCFnO)+a4uYf]">
                                                        <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="telegram" id="%R4ujjx,8M^2tV9xvj`^">
                                                        <field name="INSTANCE">.0</field>
                                                        <field name="LOG"></field>
                                                        <field name="SILENT">FALSE</field>
                                                        <field name="PARSEMODE">default</field>
                                                        <field name="ESCAPING">FALSE</field>
                                                        <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                        <value name="MESSAGE">
                                                          <shadow type="text" id="|Y0fQkiSY@@x6f:|czT0">
                                                            <field name="TEXT">text</field>
                                                          </shadow>
                                                          <block type="variables_get" id=":NHFv)_bDjl2xvAC5Te~">
                                                            <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="n*^frlDdedrK#tk^:::n">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">0_userdata.0.kalendertext</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="variables_get" id="xEm6ws=h6297u9!V~eC]">
                                                                <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </xml>
                        
                        HomoranH 1 Antwort Letzte Antwort
                        0
                        • ? Ein ehemaliger Benutzer

                          Cannot get date of "undefined": TypeError: Cannot read properties of undefined (reading 'date')

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="Q+.=qSHyf2F}f=o!IINv">anzahl</variable>
                              <variable id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</variable>
                              <variable id="Nin}JW*y1Vp_$;},D.7Z">liste_term</variable>
                              <variable id="1]Y7`n@:hU1lh4_N4rup">j</variable>
                              <variable id="mOjNB}.j)RR3:k$kM.L7">obj_termin</variable>
                              <variable id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</variable>
                              <variable id="]`DRupDT@DC0B+~.oF7U">uhrzeit</variable>
                            </variables>
                            <block type="schedule" id="+@r~S[6?t$[fT[H@DK@b" x="-87" y="4138">
                              <field name="SCHEDULE">*/10 * * * * *</field>
                              <statement name="STATEMENT">
                                <block type="variables_set" id="?X0J$31Ml]d@H[n[Sg)]">
                                  <field name="VAR" id="Q+.=qSHyf2F}f=o!IINv">anzahl</field>
                                  <value name="VALUE">
                                    <block type="get_value" id="ZVp^WlNoFoFa)X$]=GVR">
                                      <field name="ATTR">val</field>
                                      <field name="OID">ical.0.data.count</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="controls_if" id="SG1#fy:/LT+_LtWOw9:=">
                                      <value name="IF0">
                                        <block type="logic_compare" id="~K9qxlSw$|iqluYn$=E[">
                                          <field name="OP">GT</field>
                                          <value name="A">
                                            <block type="variables_get" id="~Wn8e^j=Lr6S@+sbDp@E">
                                              <field name="VAR" id="Q+.=qSHyf2F}f=o!IINv">anzahl</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="DE1qH{lXTOIL_qY{RJs#">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="variables_set" id="XB@}Qqq=D17E5,eO!@AF">
                                          <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                          <value name="VALUE">
                                            <block type="text" id="I/Us.Q$lpcgQEgvht?0n">
                                              <field name="TEXT"></field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="`%F3I5HDMm{W_0J_o3Y)">
                                              <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="mw}m)@^s7YhZ#N9.YJGR">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">ical.0.data.table</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="controls_for" id="##,smlQZuUU$Hp)Deinv">
                                                  <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                                                  <value name="FROM">
                                                    <shadow type="math_number" id="A*J}_Qh+*662ncK7Jlh@">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="TO">
                                                    <shadow type="math_number" id="2+Y:blScaLJrd?cNIno]">
                                                      <field name="NUM">10</field>
                                                    </shadow>
                                                  </value>
                                                  <value name="BY">
                                                    <shadow type="math_number" id="cf2:f+!=u[45[`5A^oR)">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                  </value>
                                                  <statement name="DO">
                                                    <block type="variables_set" id="d3!_@rJ(=rJBet8eg*aw">
                                                      <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                      <value name="VALUE">
                                                        <block type="lists_getIndex" id="9T);!$t,Au-eE3B~1Gv;">
                                                          <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="KK36xP*]R#Wbj5[ySvU{">
                                                              <field name="VAR" id="Nin}JW*y1Vp_$;},D.7Z">liste_term</field>
                                                            </block>
                                                          </value>
                                                          <value name="AT">
                                                            <block type="variables_get" id="[9^LOR%D~X1zA:VdfwBl">
                                                              <field name="VAR" id="1]Y7`n@:hU1lh4_N4rup">j</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="L-4nSiPs7tQK){NhuP}A">
                                                          <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                          <value name="VALUE">
                                                            <block type="get_attr" id="zSyV5QdK]%VDm{0U--z[">
                                                              <value name="PATH">
                                                                <shadow type="text" id="kqX{$-vh9,M%3YP5wYpE">
                                                                  <field name="TEXT">_date</field>
                                                                </shadow>
                                                              </value>
                                                              <value name="OBJECT">
                                                                <block type="variables_get" id="5h-v#4$+b6F~R#^F6q~?">
                                                                  <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="B6U{/g`^_f^X+e^`jHhR">
                                                              <field name="VAR" id="]`DRupDT@DC0B+~.oF7U">uhrzeit</field>
                                                              <value name="VALUE">
                                                                <block type="convert_from_date" id="iu66ZJm@PM}#BSj695.Z">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                  <field name="OPTION">hh:mm</field>
                                                                  <value name="VALUE">
                                                                    <block type="variables_get" id="d]RtQWqwm=zf!U#5GzO!">
                                                                      <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="controls_if" id="6ry*++!,FZI%Pn/F$4vG">
                                                                  <value name="IF0">
                                                                    <block type="logic_multi_and" id="|[c}rGCHkiWq3o2-PkSh">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                      <value name="AND0">
                                                                        <block type="logic_compare" id="3sY{t,TK8ONDt!e3Yk@`">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="time_get" id="qda)fb[zP9}?48GVBu/v">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                              <field name="OPTION">DD.MM.YY</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="convert_from_date" id="`0LFOX!yru]-[dfKDn}G">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                              <field name="OPTION">DD.MM.YY</field>
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id="lUF[SJ-mp}FL]KEGtHLL">
                                                                                  <field name="VAR" id="HIJ%UiQd%]r!t2:`_t9{">termin_datum</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="AND1">
                                                                        <block type="logic_compare" id="aj)MD-MXKd1kJ=1TD4Y)">
                                                                          <field name="OP">GTE</field>
                                                                          <value name="A">
                                                                            <block type="time_get" id="WC9:]H?TrMg$ypnfL^DQ">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                              <field name="OPTION">hh:mm</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="variables_get" id="`{)Y`SS3n:y^-:piuZi$">
                                                                              <field name="VAR" id="]`DRupDT@DC0B+~.oF7U">uhrzeit</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="variables_set" id="Xw~K{!s8GsBtx5@tIcn5">
                                                                      <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                                      <value name="VALUE">
                                                                        <block type="text_join" id="^JUvnmon_{lP[DJIaZ+l">
                                                                          <mutation items="9"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="variables_get" id="8?NV/z=,lX$)}a)_`g4F">
                                                                              <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="text_newline" id="7R{vwZ4.$e7S-Pdi^@*)">
                                                                              <field name="Type">\n</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD2">
                                                                            <block type="variables_get" id="iXe#+!7?SY/S9X]:9Cht">
                                                                              <field name="VAR" id="]`DRupDT@DC0B+~.oF7U">uhrzeit</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD3">
                                                                            <block type="text" id="GN9N$whLIIW,lY5P7Zo+">
                                                                              <field name="TEXT"> - </field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD4">
                                                                            <block type="get_attr" id="KZ+VLh~x2{l0%a`0.Tdy">
                                                                              <value name="PATH">
                                                                                <shadow type="text" id="1tSGH^jZb:#)]ij[M9/X">
                                                                                  <field name="TEXT">event</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="OBJECT">
                                                                                <shadow type="get_object" id="y2:90W@gg;,P4sQOy`B*">
                                                                                  <field name="OID">Object ID</field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="gcuq?4j=q`k-%k2hga+Y">
                                                                                  <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD5">
                                                                            <block type="text" id="V$=2#]/uVg5v=;6;2U`i">
                                                                              <field name="TEXT"> - </field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD6">
                                                                            <block type="text_getSubstring" id="RKaw~+Uc~?!ql]B*DmH9">
                                                                              <mutation at1="false" at2="true"></mutation>
                                                                              <field name="WHERE1">FIRST</field>
                                                                              <field name="WHERE2">FROM_START</field>
                                                                              <value name="STRING">
                                                                                <block type="get_attr" id="L=^]5|GV;;mfo=$TX%0B">
                                                                                  <value name="PATH">
                                                                                    <shadow type="text" id="~Tq1$-UN#Q-ZS$t#}(:T">
                                                                                      <field name="TEXT">location</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                  <value name="OBJECT">
                                                                                    <shadow type="get_object" id="y2:90W@gg;,P4sQOy`B*">
                                                                                      <field name="OID">Object ID</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="!;CZ/**Cv|Y{?}s}S6;[">
                                                                                      <field name="VAR" id="mOjNB}.j)RR3:k$kM.L7">obj_termin</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="AT2">
                                                                                <block type="math_number" id="ZWN|xUJM5fNI+ib[MKmY">
                                                                                  <field name="NUM">3</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="debug" id="@{98ZlH9H0-bU?NFq@.l">
                                                      <field name="Severity">info</field>
                                                      <value name="TEXT">
                                                        <shadow type="text" id="gND@X`-7D)50}m4xq,xP">
                                                          <field name="TEXT">test</field>
                                                        </shadow>
                                                        <block type="variables_get" id="C8VfxU%FCFnO)+a4uYf]">
                                                          <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="telegram" id="%R4ujjx,8M^2tV9xvj`^">
                                                          <field name="INSTANCE">.0</field>
                                                          <field name="LOG"></field>
                                                          <field name="SILENT">FALSE</field>
                                                          <field name="PARSEMODE">default</field>
                                                          <field name="ESCAPING">FALSE</field>
                                                          <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                                          <value name="MESSAGE">
                                                            <shadow type="text" id="|Y0fQkiSY@@x6f:|czT0">
                                                              <field name="TEXT">text</field>
                                                            </shadow>
                                                            <block type="variables_get" id=":NHFv)_bDjl2xvAC5Te~">
                                                              <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="n*^frlDdedrK#tk^:::n">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">0_userdata.0.kalendertext</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="xEm6ws=h6297u9!V~eC]">
                                                                  <field name="VAR" id="b)m])isudJ]Z:`l}GrRL">anstehende_termine</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </xml>
                          
                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von Homoran
                          #13

                          @Olli_M sagte in Ical JSON auslesen :-):

                          Cannot get date of "undefined": TypeError: Cannot read properties of undefined (reading 'date')

                          da muss es mehr Infos geben!

                          Da scheint irgendwo eine Datumsoperation auf ein nicht vorhandenes Datum angewendet werden sollen

                          Was und wo müsste in einer der nächsten Zeilen stehen

                          ...oder in der js-Ansicht

                          und bitte immer ein Bild vom Blockly zeigen
                          https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

                          mcm1957M ? 2 Antworten Letzte Antwort
                          0
                          • HomoranH Homoran

                            @Olli_M sagte in Ical JSON auslesen :-):

                            Cannot get date of "undefined": TypeError: Cannot read properties of undefined (reading 'date')

                            da muss es mehr Infos geben!

                            Da scheint irgendwo eine Datumsoperation auf ein nicht vorhandenes Datum angewendet werden sollen

                            Was und wo müsste in einer der nächsten Zeilen stehen

                            ...oder in der js-Ansicht

                            und bitte immer ein Bild vom Blockly zeigen
                            https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

                            mcm1957M Online
                            mcm1957M Online
                            mcm1957
                            schrieb am zuletzt editiert von mcm1957
                            #14
                            Dieser Beitrag wurde gelöscht!
                            HomoranH 1 Antwort Letzte Antwort
                            0
                            • mcm1957M mcm1957

                              Dieser Beitrag wurde gelöscht!

                              HomoranH Nicht stören
                              HomoranH Nicht stören
                              Homoran
                              Global Moderator Administrators
                              schrieb am zuletzt editiert von
                              #15
                              Dieser Beitrag wurde gelöscht!
                              1 Antwort Letzte Antwort
                              0
                              • mcm1957M Online
                                mcm1957M Online
                                mcm1957
                                schrieb am zuletzt editiert von
                                #16
                                Dieser Beitrag wurde gelöscht!
                                ? 1 Antwort Letzte Antwort
                                1
                                • ? Ein ehemaliger Benutzer

                                  schlechte GUI wenn man keinen scrollbalken sieht :-)

                                  Bildschirmfoto 2025-12-14 um 21.58.46.png

                                  paul53P Offline
                                  paul53P Offline
                                  paul53
                                  schrieb am zuletzt editiert von paul53
                                  #17

                                  @Olli_M sagte: wenn man keinen scrollbalken sieht

                                  Funktioniert das Mausrad auch nicht?
                                  Man kann doch auch ohne Scrollbalken scrollen.

                                  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 Antwort Letzte Antwort
                                  0
                                  • mcm1957M mcm1957

                                    Dieser Beitrag wurde gelöscht!

                                    ? Offline
                                    ? Offline
                                    Ein ehemaliger Benutzer
                                    schrieb am zuletzt editiert von
                                    #18
                                    Dieser Beitrag wurde gelöscht!
                                    1 Antwort Letzte Antwort
                                    -1
                                    • HomoranH Homoran

                                      @Olli_M sagte in Ical JSON auslesen :-):

                                      Cannot get date of "undefined": TypeError: Cannot read properties of undefined (reading 'date')

                                      da muss es mehr Infos geben!

                                      Da scheint irgendwo eine Datumsoperation auf ein nicht vorhandenes Datum angewendet werden sollen

                                      Was und wo müsste in einer der nächsten Zeilen stehen

                                      ...oder in der js-Ansicht

                                      und bitte immer ein Bild vom Blockly zeigen
                                      https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

                                      ? Offline
                                      ? Offline
                                      Ein ehemaliger Benutzer
                                      schrieb am zuletzt editiert von
                                      #19
                                      Dieser Beitrag wurde gelöscht!
                                      1 Antwort Letzte Antwort
                                      -1
                                      • ? Offline
                                        ? Offline
                                        Ein ehemaliger Benutzer
                                        schrieb am zuletzt editiert von
                                        #20
                                        Dieser Beitrag wurde gelöscht!
                                        1 Antwort Letzte Antwort
                                        -1
                                        • ? Ein ehemaliger Benutzer

                                          @paul53

                                          Hi Paul,

                                          danke schonmal

                                          ich finde bei setze Uhrzeit auf Datum/Zeit nicht das nach SS:mm

                                          Bildschirmfoto 2025-12-14 um 16.46.48.png

                                          Wie bekomme ich das hin?

                                          @homoran

                                          Man kann nur Tagesvorschau auf 1 stellen, dann kommt trotzdem ja die morgigen Termine :)

                                          paul53P Offline
                                          paul53P Offline
                                          paul53
                                          schrieb am zuletzt editiert von paul53
                                          #21

                                          @Olli_M sagte: finde bei setze Uhrzeit auf Datum/Zeit nicht das nach SS:mm

                                          Du hattest den Block schon in deinem ursprünglichen Skript. Den kann man kopieren bzw. verschieben.

                                          Blockly_temp.JPG

                                          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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          445

                                          Online

                                          32.6k

                                          Benutzer

                                          82.3k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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