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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [Vorlage]-Zeit herunterzählen bis GoogleTermin Eintritt

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    259

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

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

[Vorlage]-Zeit herunterzählen bis GoogleTermin Eintritt

Scheduled Pinned Locked Moved Skripten / Logik
blocklyjavascript
58 Posts 4 Posters 8.4k Views 14 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hananH hanan

    Hallo liv-in-sky
    Seit dem Update auf v5.1.23 funktioniert das Schreiben in die Datenpunkte nicht mehr.
    Hast Du mir eventuell einen Tipp?

    Datenpunkt für suchBegriff

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

    Datenpunkt für eventDatum

    {
      "type": "state",
      "common": {
        "read": true,
        "write": true,
        "name": "FC Basel",
        "type": "string",
        "def": "29.08.2021 16:30:00",
        "role": null
      },
      "native": {},
      "_id": "countdown.0.setup.FC Basel",
      "acl": {
        "object": 1636,
        "state": 1636,
        "owner": "system.user.admin",
        "ownerGroup": "system.group.administrator"
      },
      "from": "system.adapter.admin.0",
      "user": "system.user.admin",
      "ts": 1630320897926
    }
    
    liv-in-skyL Offline
    liv-in-skyL Offline
    liv-in-sky
    wrote on last edited by
    #41

    @hanan oh mann - das ist lange her - ich muss das erstmal wieder finden - ich schau mal

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

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

      @hanan oh mann - das ist lange her - ich muss das erstmal wieder finden - ich schau mal

      hananH Offline
      hananH Offline
      hanan
      wrote on last edited by
      #42

      @liv-in-sky
      Das Skript funktioniert, sehe ich im Debug output, doch können die beiden Daten nichtmehr in die jeweiligen Datenpunkte geschrieben werden.

      Liebe Grüsse aus der Schweiz
      Andy

      ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

      1 Reply Last reply
      0
      • hananH hanan

        Hallo liv-in-sky
        Seit dem Update auf v5.1.23 funktioniert das Schreiben in die Datenpunkte nicht mehr.
        Hast Du mir eventuell einen Tipp?

        Datenpunkt für suchBegriff

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

        Datenpunkt für eventDatum

        {
          "type": "state",
          "common": {
            "read": true,
            "write": true,
            "name": "FC Basel",
            "type": "string",
            "def": "29.08.2021 16:30:00",
            "role": null
          },
          "native": {},
          "_id": "countdown.0.setup.FC Basel",
          "acl": {
            "object": 1636,
            "state": 1636,
            "owner": "system.user.admin",
            "ownerGroup": "system.group.administrator"
          },
          "from": "system.adapter.admin.0",
          "user": "system.user.admin",
          "ts": 1630320897926
        }
        
        liv-in-skyL Offline
        liv-in-skyL Offline
        liv-in-sky
        wrote on last edited by
        #43

        @hanan

        poste bitte das script - ich muss das importieren

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

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

          @hanan

          poste bitte das script - ich muss das importieren

          hananH Offline
          hananH Offline
          hanan
          wrote on last edited by hanan
          #44

          @liv-in-sky

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="toV%#XU#+u-q8j}%lQO5">i</variable>
              <variable id="=laq7tvUO(q,%US6)j!u">j</variable>
              <variable id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</variable>
              <variable id="dl(4-B)s(J1z0(yKCcPM">eventDatum</variable>
              <variable id="xKL%f`?jvCh0ok?{c^rL">stunde</variable>
              <variable id="4_[a*D)c$D0Fg1e?^r-#">minute</variable>
              <variable type="timeout" id="timeout4">timeout4</variable>
              <variable type="cron" id="datumSchedule">datumSchedule</variable>
              <variable type="timeout" id="timeout2">timeout2</variable>
            </variables>
            <block type="procedures_defcustomreturn" id=".4jhH[;Isgq*k0Elo0tw" x="163" y="-712">
              <mutation statements="false">
                <arg name="i" varid="toV%#XU#+u-q8j}%lQO5"></arg>
                <arg name="j" varid="=laq7tvUO(q,%US6)j!u"></arg>
              </mutation>
              <field name="NAME">StringManipulation2</field>
              <field name="SCRIPT">DQoNCi8vbG9nKEpTT04uc3RyaW5naWZ5KGkpKQ0KbGV0IG15RXJnZWJuaXM9LTE7DQoNCmZvciAobGV0IGFhPTA7YWE8aS5sZW5ndGg7YWErKyl7DQogIC8vICBsb2coaVthYV0uZXZlbnQpDQogICAgaWYoaVthYV0uZXZlbnQuaW5jbHVkZXMoaikpIHsvKmxvZyhpW2FhXS5ldmVudCk7Ki9teUVyZ2VibmlzPWlbYWFdLmRhdGU7c3VjaEJlZ3JpZmY9aVthYV0uZXZlbnQ7YnJlYWt9DQogICANCn0NCg0KDQovL2xvZyhteUVyZ2VibmlzKQ0KcmV0dXJuIG15RXJnZWJuaXM7</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            </block>
            <block type="on_ext" id="qMd2zp!`jX-7i1:h/_G;" x="-287" y="-662">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="kr$tstAFs]QhLrKlNNoz">
                  <field name="oid">countdown.0.countdowns.FC Basel.reached</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="$g`#_r*#6^uxk0K|Q|Tt">
                  <mutation elseif="1"></mutation>
                  <value name="IF0">
                    <block type="logic_operation" id="]sXJg]u-cPjXadE5=hG1" inline="false">
                      <field name="OP">AND</field>
                      <value name="A">
                        <block type="logic_compare" id="{!Rnk_(=3t]X67`petBQ">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="mTL6SIt(Aj~_.;mH3=xR">
                              <field name="ATTR">val</field>
                              <field name="OID">countdown.0.countdowns.FC Basel.reached</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="-6I4]}?W]Xv:4E=2q#i4">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id=".cvPRJXKUfkd4*DBc@IW">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="2=ZjTG(T#VNZbpFE]Zzd">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="W6z=qlg;ult*~@$K!0ri">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="1Na}tzv^U0BpCL+?qud}">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="v_r~x-0mXdB:rHJSK.gK">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <value name="IF1">
                    <block type="logic_operation" id="~0{ny@u#Q8+yY-AOe:):" inline="false">
                      <field name="OP">OR</field>
                      <value name="A">
                        <block type="logic_operation" id="d@K~FVUoKm}~Y~(k2ObJ" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="kloYtw+X3N4YvdcPj%uD">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="z-4a^}oAR]v6`qKT^Fni">
                                  <field name="ATTR">val</field>
                                  <field name="OID">countdown.0.countdowns.FC Basel.reached</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="8HLnr6B`/LTuA9O:1[Rp">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id="v_f#g|UNmN+B?=wm(01d">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id=":1EY%O5Fw5mBph*IF]Xa">
                                  <field name="ATTR">val</field>
                                  <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="M#70+@ciE48e!Dm{RuJR">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="[Y1?|yhYN89xcT~o[Qf_">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="Z.0oguVR%/AWy3TO]x!R">
                              <field name="ATTR">val</field>
                              <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="v5KT*)FSpKtToJ7K:[@(">
                              <field name="TEXT">Invalid date</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO1">
                    <block type="control" id="oS*Vfh7N8]Hu9=*V%W6t">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id=")(C6tn!lD(v?|{_tYt;Q">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="4RjTm,E[-};p]-jxu-Ze">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">countdown.0.setup.FC Basel</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text" id="+7kxy.u*8]]~r#ftU0/y">
                              <field name="TEXT"></field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="pEj1$]dz*s]leHe`YR#-">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                              <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_gegen</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">120</field>
                              <field name="UNIT">min</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="mj,l#mf/+X7x|D%x.Cf}">
                                  <field name="TEXT"></field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="LVXT1Gs5f3a:Vw,C3f?a">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                  <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">120</field>
                                  <field name="UNIT">min</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="^j1BUs13H$ii7XTRc@fy">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
              <next>
                <block type="schedule" id="/Z@?iF|RB-}UWrCdgO8l">
                  <field name="SCHEDULE">*/30 8-21 * * *</field>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="k$7XJl4TwwsH#F^BA]o!">
                      <value name="IF0">
                        <block type="logic_operation" id="#HG.._U-Ge,?pWE#S[:X" inline="false">
                          <field name="OP">OR</field>
                          <value name="A">
                            <block type="logic_compare" id="9f+@Q))b-J0s6E[!|u12">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="oqo=zB1v[Zu2]hs{Q0^|">
                                  <field name="ATTR">val</field>
                                  <field name="OID">countdown.0.countdowns.FC Basel.reached</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="yElSM@?hiE5nlmJBWK1/">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id=";c.w*taLtS%5+thu.:Z6">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="Ho.I%k;m:ufg)Fk3G;3]">
                                  <field name="ATTR">val</field>
                                  <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="text" id="hH9![JK-i;6O5)JWf$hG">
                                  <field name="TEXT">Invalid date</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="variables_set" id="Yn_03ee.K$F#2@`28d/M">
                          <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                          <value name="VALUE">
                            <block type="text" id="_%5/XWgSJPtR10.BNE?,">
                              <field name="TEXT">Basel</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="[xt^RuL~Y|TiS0Re2?+#">
                              <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                              <value name="VALUE">
                                <block type="procedures_callcustomreturn" id="g?#2EB$^BkG@k+r=Bv|]">
                                  <mutation name="StringManipulation2">
                                    <arg name="i"></arg>
                                    <arg name="j"></arg>
                                  </mutation>
                                  <value name="ARG0">
                                    <block type="get_value" id="?}[v,-QV{dczpnW|a=qd">
                                      <field name="ATTR">val</field>
                                      <field name="OID">ical.2.data.table</field>
                                    </block>
                                  </value>
                                  <value name="ARG1">
                                    <block type="variables_get" id="K2N=*^9uaX6H0}j]s5=*">
                                      <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="controls_if" id="/zQZ~5M`WY$~j~oKdH5z">
                                  <value name="IF0">
                                    <block type="logic_compare" id="Z?!zm|/x#bu*Q7]r4,%4">
                                      <field name="OP">NEQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="F$bDE3t^u;v%QO/XXCr6">
                                          <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="NcEs_VXKEGxjrfy]h3_[">
                                          <field name="NUM">-1</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="variables_set" id="GYrFB;7cr*:#h}.et0I~">
                                      <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                      <value name="VALUE">
                                        <block type="text_getSubstring" id="-/-p`iD:y_vgxgLa5+dk">
                                          <mutation at1="true" at2="true"></mutation>
                                          <field name="WHERE1">FROM_START</field>
                                          <field name="WHERE2">FROM_START</field>
                                          <value name="STRING">
                                            <block type="variables_get" id="6{Y.CU(rNYFSz7JKw6gr">
                                              <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                            </block>
                                          </value>
                                          <value name="AT1">
                                            <block type="math_number" id="Kq.B-X,mqp;-N#)X=Q+P">
                                              <field name="NUM">12</field>
                                            </block>
                                          </value>
                                          <value name="AT2">
                                            <block type="math_number" id="t@;2+]ISoUKt$e,;oqY3">
                                              <field name="NUM">13</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="vT$zjFC6[`*5|+?^FUYb">
                                          <field name="VAR" id="4_[a*D)c$D0Fg1e?^r-#">minute</field>
                                          <value name="VALUE">
                                            <block type="text_getSubstring" id="iKSGk7wasI6U%DoU%/~`">
                                              <mutation at1="true" at2="true"></mutation>
                                              <field name="WHERE1">FROM_START</field>
                                              <field name="WHERE2">FROM_START</field>
                                              <value name="STRING">
                                                <block type="variables_get" id="|d#VH=fnVXwAs^x#8Z{d">
                                                  <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                </block>
                                              </value>
                                              <value name="AT1">
                                                <block type="math_number" id="t#m1rz,4t`GTw`v1v_YC">
                                                  <field name="NUM">15</field>
                                                </block>
                                              </value>
                                              <value name="AT2">
                                                <block type="math_number" id="Jz.]{TpX{G65p$t=zQmh">
                                                  <field name="NUM">16</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="debug" id="dCLeDz(n@AvlXBiXCXw.">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="J42$[^PW@Pg,FMd8dx~}">
                                                  <field name="TEXT">test</field>
                                                </shadow>
                                                <block type="variables_get" id="t]8dz(9aJ4fbLd(JPv5p">
                                                  <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="debug" id="--O3@Ew@70yHrA|80r^B">
                                                  <field name="Severity">log</field>
                                                  <value name="TEXT">
                                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="vUqJQDqZYEP1~M}JHa]U">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="variables_get" id="KmvnGC^%j/LAP~CH2O.=">
                                                      <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="debug" id="@D}2|sZ`qt0Jw`}~MHoZ">
                                                      <field name="Severity">log</field>
                                                      <value name="TEXT">
                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                          <field name="TEXT">test</field>
                                                        </shadow>
                                                        <block type="variables_get" id="*!vl!IxcFiTS+=$S@iu*">
                                                          <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="debug" id="U/?(?G1iL7EA@=.oE`-#">
                                                          <field name="Severity">log</field>
                                                          <value name="TEXT">
                                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                              <field name="TEXT">test</field>
                                                            </shadow>
                                                            <block type="variables_get" id="^8:$QQ;mFMZx^e-Y%)S6">
                                                              <field name="VAR" id="4_[a*D)c$D0Fg1e?^r-#">minute</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="timeouts_settimeout" id=":8H?ff.:HrbvkOig[yJ[">
                                                              <field name="NAME">timeout4</field>
                                                              <field name="DELAY">3</field>
                                                              <field name="UNIT">sec</field>
                                                              <statement name="STATEMENT">
                                                                <block type="controls_if" id="^-$KSt-IwY$gkV9zU9Pd">
                                                                  <mutation else="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_compare" id="4o(6_1vMy*Fpu#As|X14">
                                                                      <field name="OP">GT</field>
                                                                      <value name="A">
                                                                        <block type="variables_get" id="b-p,2nK}n*ke1Xi9wl`g">
                                                                          <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="time_get" id="Bi$kG3R-!qDo[PIR;#wq">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                          <field name="OPTION">h</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="schedule_create" id="4Q,qI3!9]bUX-]NQvf-P">
                                                                      <field name="NAME">datumSchedule</field>
                                                                      <value name="SCHEDULE">
                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_cron" id="?75wOi3|4ORjpXgU9SSn">
                                                                          <field name="CRON">* * * * *</field>
                                                                        </shadow>
                                                                        <block type="text_join" id="A*!}}?bQe6=SR5,+#z@4">
                                                                          <mutation items="6"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="variables_get" id="hJOK@v*3*~(!S5cOgth;">
                                                                              <field name="VAR" id="4_[a*D)c$D0Fg1e?^r-#">minute</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="text" id="=cxyzRaBVprL+dg3GT/{">
                                                                              <field name="TEXT"> </field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD2">
                                                                            <block type="variables_get" id="*Tk9Oa|zErcUBQUUxT!U">
                                                                              <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD3">
                                                                            <block type="text" id="U=3Zo6aR4L#}:M|v)x:M">
                                                                              <field name="TEXT"> *</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD4">
                                                                            <block type="text" id="U.G0Et9x?LX,p)Rxpg-e">
                                                                              <field name="TEXT"> *</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD5">
                                                                            <block type="text" id="*[F-,a-H0aNhT2AJ6JmU">
                                                                              <field name="TEXT"> *</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="STATEMENT">
                                                                        <block type="control" id="Mbk~Q;0UP@A8@^F[0Mou">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                          <field name="OID">countdown.0.setup.FC Basel</field>
                                                                          <field name="WITH_DELAY">TRUE</field>
                                                                          <field name="DELAY_MS">1000</field>
                                                                          <field name="UNIT">ms</field>
                                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="r?o81v9MAq6qgqme2YN?">
                                                                              <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="control" id="Nz%11urUbBT2c_+6~vUK">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                              <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_gegen</field>
                                                                              <field name="WITH_DELAY">TRUE</field>
                                                                              <field name="DELAY_MS">2000</field>
                                                                              <field name="UNIT">ms</field>
                                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id=":D;!al^ufSTpm5dn;HqV">
                                                                                  <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="timeouts_settimeout" id="ryfODWCYatf{RY8|7?C%">
                                                                                  <field name="NAME">timeout2</field>
                                                                                  <field name="DELAY">10</field>
                                                                                  <field name="UNIT">sec</field>
                                                                                  <statement name="STATEMENT">
                                                                                    <block type="schedule_clear" id="@}/RY2BL~F{L#mhFxsM=">
                                                                                      <field name="NAME">datumSchedule</field>
                                                                                    </block>
                                                                                  </statement>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </statement>
                                                                  <statement name="ELSE">
                                                                    <block type="control" id="--.){w[29%H}dCX)QZre">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                      <field name="OID">countdown.0.setup.FC Basel</field>
                                                                      <field name="WITH_DELAY">TRUE</field>
                                                                      <field name="DELAY_MS">1000</field>
                                                                      <field name="UNIT">ms</field>
                                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="0qiq9Ta*z-gm~VXO{T]/">
                                                                          <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id="J@u{-ak8EhzU+j]BLUpd">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                          <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_gegen</field>
                                                                          <field name="WITH_DELAY">TRUE</field>
                                                                          <field name="DELAY_MS">2000</field>
                                                                          <field name="UNIT">ms</field>
                                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="=`c+9CFW^h@u=EyPJ34$">
                                                                              <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </xml>
          

          Liebe Grüsse aus der Schweiz
          Andy

          ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

          liv-in-skyL 1 Reply Last reply
          0
          • hananH hanan

            @liv-in-sky

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="toV%#XU#+u-q8j}%lQO5">i</variable>
                <variable id="=laq7tvUO(q,%US6)j!u">j</variable>
                <variable id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</variable>
                <variable id="dl(4-B)s(J1z0(yKCcPM">eventDatum</variable>
                <variable id="xKL%f`?jvCh0ok?{c^rL">stunde</variable>
                <variable id="4_[a*D)c$D0Fg1e?^r-#">minute</variable>
                <variable type="timeout" id="timeout4">timeout4</variable>
                <variable type="cron" id="datumSchedule">datumSchedule</variable>
                <variable type="timeout" id="timeout2">timeout2</variable>
              </variables>
              <block type="procedures_defcustomreturn" id=".4jhH[;Isgq*k0Elo0tw" x="163" y="-712">
                <mutation statements="false">
                  <arg name="i" varid="toV%#XU#+u-q8j}%lQO5"></arg>
                  <arg name="j" varid="=laq7tvUO(q,%US6)j!u"></arg>
                </mutation>
                <field name="NAME">StringManipulation2</field>
                <field name="SCRIPT">DQoNCi8vbG9nKEpTT04uc3RyaW5naWZ5KGkpKQ0KbGV0IG15RXJnZWJuaXM9LTE7DQoNCmZvciAobGV0IGFhPTA7YWE8aS5sZW5ndGg7YWErKyl7DQogIC8vICBsb2coaVthYV0uZXZlbnQpDQogICAgaWYoaVthYV0uZXZlbnQuaW5jbHVkZXMoaikpIHsvKmxvZyhpW2FhXS5ldmVudCk7Ki9teUVyZ2VibmlzPWlbYWFdLmRhdGU7c3VjaEJlZ3JpZmY9aVthYV0uZXZlbnQ7YnJlYWt9DQogICANCn0NCg0KDQovL2xvZyhteUVyZ2VibmlzKQ0KcmV0dXJuIG15RXJnZWJuaXM7</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              </block>
              <block type="on_ext" id="qMd2zp!`jX-7i1:h/_G;" x="-287" y="-662">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="kr$tstAFs]QhLrKlNNoz">
                    <field name="oid">countdown.0.countdowns.FC Basel.reached</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="$g`#_r*#6^uxk0K|Q|Tt">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_operation" id="]sXJg]u-cPjXadE5=hG1" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="logic_compare" id="{!Rnk_(=3t]X67`petBQ">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="mTL6SIt(Aj~_.;mH3=xR">
                                <field name="ATTR">val</field>
                                <field name="OID">countdown.0.countdowns.FC Basel.reached</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="-6I4]}?W]Xv:4E=2q#i4">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id=".cvPRJXKUfkd4*DBc@IW">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="2=ZjTG(T#VNZbpFE]Zzd">
                                <field name="ATTR">val</field>
                                <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="W6z=qlg;ult*~@$K!0ri">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="1Na}tzv^U0BpCL+?qud}">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="v_r~x-0mXdB:rHJSK.gK">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_operation" id="~0{ny@u#Q8+yY-AOe:):" inline="false">
                        <field name="OP">OR</field>
                        <value name="A">
                          <block type="logic_operation" id="d@K~FVUoKm}~Y~(k2ObJ" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="kloYtw+X3N4YvdcPj%uD">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="z-4a^}oAR]v6`qKT^Fni">
                                    <field name="ATTR">val</field>
                                    <field name="OID">countdown.0.countdowns.FC Basel.reached</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="8HLnr6B`/LTuA9O:1[Rp">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="v_f#g|UNmN+B?=wm(01d">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id=":1EY%O5Fw5mBph*IF]Xa">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="M#70+@ciE48e!Dm{RuJR">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="[Y1?|yhYN89xcT~o[Qf_">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="Z.0oguVR%/AWy3TO]x!R">
                                <field name="ATTR">val</field>
                                <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="v5KT*)FSpKtToJ7K:[@(">
                                <field name="TEXT">Invalid date</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="oS*Vfh7N8]Hu9=*V%W6t">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id=")(C6tn!lD(v?|{_tYt;Q">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="4RjTm,E[-};p]-jxu-Ze">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">countdown.0.setup.FC Basel</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="text" id="+7kxy.u*8]]~r#ftU0/y">
                                <field name="TEXT"></field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="pEj1$]dz*s]leHe`YR#-">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_gegen</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">120</field>
                                <field name="UNIT">min</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="mj,l#mf/+X7x|D%x.Cf}">
                                    <field name="TEXT"></field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="LVXT1Gs5f3a:Vw,C3f?a">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                    <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_Matsch</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">120</field>
                                    <field name="UNIT">min</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="^j1BUs13H$ii7XTRc@fy">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
                <next>
                  <block type="schedule" id="/Z@?iF|RB-}UWrCdgO8l">
                    <field name="SCHEDULE">*/30 8-21 * * *</field>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="k$7XJl4TwwsH#F^BA]o!">
                        <value name="IF0">
                          <block type="logic_operation" id="#HG.._U-Ge,?pWE#S[:X" inline="false">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_compare" id="9f+@Q))b-J0s6E[!|u12">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="oqo=zB1v[Zu2]hs{Q0^|">
                                    <field name="ATTR">val</field>
                                    <field name="OID">countdown.0.countdowns.FC Basel.reached</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="yElSM@?hiE5nlmJBWK1/">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id=";c.w*taLtS%5+thu.:Z6">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="Ho.I%k;m:ufg)Fk3G;3]">
                                    <field name="ATTR">val</field>
                                    <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="hH9![JK-i;6O5)JWf$hG">
                                    <field name="TEXT">Invalid date</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="Yn_03ee.K$F#2@`28d/M">
                            <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                            <value name="VALUE">
                              <block type="text" id="_%5/XWgSJPtR10.BNE?,">
                                <field name="TEXT">Basel</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="[xt^RuL~Y|TiS0Re2?+#">
                                <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                <value name="VALUE">
                                  <block type="procedures_callcustomreturn" id="g?#2EB$^BkG@k+r=Bv|]">
                                    <mutation name="StringManipulation2">
                                      <arg name="i"></arg>
                                      <arg name="j"></arg>
                                    </mutation>
                                    <value name="ARG0">
                                      <block type="get_value" id="?}[v,-QV{dczpnW|a=qd">
                                        <field name="ATTR">val</field>
                                        <field name="OID">ical.2.data.table</field>
                                      </block>
                                    </value>
                                    <value name="ARG1">
                                      <block type="variables_get" id="K2N=*^9uaX6H0}j]s5=*">
                                        <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="/zQZ~5M`WY$~j~oKdH5z">
                                    <value name="IF0">
                                      <block type="logic_compare" id="Z?!zm|/x#bu*Q7]r4,%4">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="F$bDE3t^u;v%QO/XXCr6">
                                            <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="NcEs_VXKEGxjrfy]h3_[">
                                            <field name="NUM">-1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="variables_set" id="GYrFB;7cr*:#h}.et0I~">
                                        <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                        <value name="VALUE">
                                          <block type="text_getSubstring" id="-/-p`iD:y_vgxgLa5+dk">
                                            <mutation at1="true" at2="true"></mutation>
                                            <field name="WHERE1">FROM_START</field>
                                            <field name="WHERE2">FROM_START</field>
                                            <value name="STRING">
                                              <block type="variables_get" id="6{Y.CU(rNYFSz7JKw6gr">
                                                <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                              </block>
                                            </value>
                                            <value name="AT1">
                                              <block type="math_number" id="Kq.B-X,mqp;-N#)X=Q+P">
                                                <field name="NUM">12</field>
                                              </block>
                                            </value>
                                            <value name="AT2">
                                              <block type="math_number" id="t@;2+]ISoUKt$e,;oqY3">
                                                <field name="NUM">13</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="vT$zjFC6[`*5|+?^FUYb">
                                            <field name="VAR" id="4_[a*D)c$D0Fg1e?^r-#">minute</field>
                                            <value name="VALUE">
                                              <block type="text_getSubstring" id="iKSGk7wasI6U%DoU%/~`">
                                                <mutation at1="true" at2="true"></mutation>
                                                <field name="WHERE1">FROM_START</field>
                                                <field name="WHERE2">FROM_START</field>
                                                <value name="STRING">
                                                  <block type="variables_get" id="|d#VH=fnVXwAs^x#8Z{d">
                                                    <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                  </block>
                                                </value>
                                                <value name="AT1">
                                                  <block type="math_number" id="t#m1rz,4t`GTw`v1v_YC">
                                                    <field name="NUM">15</field>
                                                  </block>
                                                </value>
                                                <value name="AT2">
                                                  <block type="math_number" id="Jz.]{TpX{G65p$t=zQmh">
                                                    <field name="NUM">16</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="debug" id="dCLeDz(n@AvlXBiXCXw.">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="J42$[^PW@Pg,FMd8dx~}">
                                                    <field name="TEXT">test</field>
                                                  </shadow>
                                                  <block type="variables_get" id="t]8dz(9aJ4fbLd(JPv5p">
                                                    <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="debug" id="--O3@Ew@70yHrA|80r^B">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="vUqJQDqZYEP1~M}JHa]U">
                                                        <field name="TEXT">test</field>
                                                      </shadow>
                                                      <block type="variables_get" id="KmvnGC^%j/LAP~CH2O.=">
                                                        <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="debug" id="@D}2|sZ`qt0Jw`}~MHoZ">
                                                        <field name="Severity">log</field>
                                                        <value name="TEXT">
                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                            <field name="TEXT">test</field>
                                                          </shadow>
                                                          <block type="variables_get" id="*!vl!IxcFiTS+=$S@iu*">
                                                            <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="debug" id="U/?(?G1iL7EA@=.oE`-#">
                                                            <field name="Severity">log</field>
                                                            <value name="TEXT">
                                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="text">
                                                                <field name="TEXT">test</field>
                                                              </shadow>
                                                              <block type="variables_get" id="^8:$QQ;mFMZx^e-Y%)S6">
                                                                <field name="VAR" id="4_[a*D)c$D0Fg1e?^r-#">minute</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="timeouts_settimeout" id=":8H?ff.:HrbvkOig[yJ[">
                                                                <field name="NAME">timeout4</field>
                                                                <field name="DELAY">3</field>
                                                                <field name="UNIT">sec</field>
                                                                <statement name="STATEMENT">
                                                                  <block type="controls_if" id="^-$KSt-IwY$gkV9zU9Pd">
                                                                    <mutation else="1"></mutation>
                                                                    <value name="IF0">
                                                                      <block type="logic_compare" id="4o(6_1vMy*Fpu#As|X14">
                                                                        <field name="OP">GT</field>
                                                                        <value name="A">
                                                                          <block type="variables_get" id="b-p,2nK}n*ke1Xi9wl`g">
                                                                            <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="time_get" id="Bi$kG3R-!qDo[PIR;#wq">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                            <field name="OPTION">h</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="schedule_create" id="4Q,qI3!9]bUX-]NQvf-P">
                                                                        <field name="NAME">datumSchedule</field>
                                                                        <value name="SCHEDULE">
                                                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_cron" id="?75wOi3|4ORjpXgU9SSn">
                                                                            <field name="CRON">* * * * *</field>
                                                                          </shadow>
                                                                          <block type="text_join" id="A*!}}?bQe6=SR5,+#z@4">
                                                                            <mutation items="6"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="variables_get" id="hJOK@v*3*~(!S5cOgth;">
                                                                                <field name="VAR" id="4_[a*D)c$D0Fg1e?^r-#">minute</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="text" id="=cxyzRaBVprL+dg3GT/{">
                                                                                <field name="TEXT"> </field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD2">
                                                                              <block type="variables_get" id="*Tk9Oa|zErcUBQUUxT!U">
                                                                                <field name="VAR" id="xKL%f`?jvCh0ok?{c^rL">stunde</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD3">
                                                                              <block type="text" id="U=3Zo6aR4L#}:M|v)x:M">
                                                                                <field name="TEXT"> *</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD4">
                                                                              <block type="text" id="U.G0Et9x?LX,p)Rxpg-e">
                                                                                <field name="TEXT"> *</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD5">
                                                                              <block type="text" id="*[F-,a-H0aNhT2AJ6JmU">
                                                                                <field name="TEXT"> *</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="STATEMENT">
                                                                          <block type="control" id="Mbk~Q;0UP@A8@^F[0Mou">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                            <field name="OID">countdown.0.setup.FC Basel</field>
                                                                            <field name="WITH_DELAY">TRUE</field>
                                                                            <field name="DELAY_MS">1000</field>
                                                                            <field name="UNIT">ms</field>
                                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="variables_get" id="r?o81v9MAq6qgqme2YN?">
                                                                                <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="control" id="Nz%11urUbBT2c_+6~vUK">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_gegen</field>
                                                                                <field name="WITH_DELAY">TRUE</field>
                                                                                <field name="DELAY_MS">2000</field>
                                                                                <field name="UNIT">ms</field>
                                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                                <value name="VALUE">
                                                                                  <block type="variables_get" id=":D;!al^ufSTpm5dn;HqV">
                                                                                    <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                                                  </block>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="timeouts_settimeout" id="ryfODWCYatf{RY8|7?C%">
                                                                                    <field name="NAME">timeout2</field>
                                                                                    <field name="DELAY">10</field>
                                                                                    <field name="UNIT">sec</field>
                                                                                    <statement name="STATEMENT">
                                                                                      <block type="schedule_clear" id="@}/RY2BL~F{L#mhFxsM=">
                                                                                        <field name="NAME">datumSchedule</field>
                                                                                      </block>
                                                                                    </statement>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </statement>
                                                                    <statement name="ELSE">
                                                                      <block type="control" id="--.){w[29%H}dCX)QZre">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                        <field name="OID">countdown.0.setup.FC Basel</field>
                                                                        <field name="WITH_DELAY">TRUE</field>
                                                                        <field name="DELAY_MS">1000</field>
                                                                        <field name="UNIT">ms</field>
                                                                        <field name="CLEAR_RUNNING">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="variables_get" id="0qiq9Ta*z-gm~VXO{T]/">
                                                                            <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="control" id="J@u{-ak8EhzU+j]BLUpd">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                            <field name="OID">0_userdata.0.Variablen.Vis_Schalter.FCB_gegen</field>
                                                                            <field name="WITH_DELAY">TRUE</field>
                                                                            <field name="DELAY_MS">2000</field>
                                                                            <field name="UNIT">ms</field>
                                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                                            <value name="VALUE">
                                                                              <block type="variables_get" id="=`c+9CFW^h@u=EyPJ34$">
                                                                                <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </xml>
            
            liv-in-skyL Offline
            liv-in-skyL Offline
            liv-in-sky
            wrote on last edited by
            #45

            @hanan sagte in [Vorlage]-Zeit herunterzählen bis GoogleTermin Eintritt:

            <xml xmlns="https://developers.google.com/blockly/xml">

            ich muss gestehen, ich glaube, ich habe den countdown adapter etwas missbraucht - ich schau mal, ob ich morgen ein anderes script zusammenbringe

            der countdown adapter ist bei dir noch gestartet ?

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

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

              @hanan sagte in [Vorlage]-Zeit herunterzählen bis GoogleTermin Eintritt:

              <xml xmlns="https://developers.google.com/blockly/xml">

              ich muss gestehen, ich glaube, ich habe den countdown adapter etwas missbraucht - ich schau mal, ob ich morgen ein anderes script zusammenbringe

              der countdown adapter ist bei dir noch gestartet ?

              hananH Offline
              hananH Offline
              hanan
              wrote on last edited by hanan
              #46

              @liv-in-sky

              Habe oben eben nochmals mein aktuelles Blockly-Skript eingefügt...

              Jep, und ich beschreibe im Ordner setup den Datenpunkt FC Basel mit dem eventDatum, welches eben nicht mehr übernommen wird.

              Liebe Grüsse aus der Schweiz
              Andy

              ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

              liv-in-skyL hananH 2 Replies Last reply
              0
              • hananH hanan

                @liv-in-sky

                Habe oben eben nochmals mein aktuelles Blockly-Skript eingefügt...

                Jep, und ich beschreibe im Ordner setup den Datenpunkt FC Basel mit dem eventDatum, welches eben nicht mehr übernommen wird.

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

                @hanan ist bei mir auch - da machen wir uns einen neuen datenpunkt und schreiben den mit dem richtigen namen - in der vis nimmst du dann den neuen dp zur anzeige des namen

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

                1 Reply Last reply
                0
                • hananH hanan

                  @liv-in-sky

                  Habe oben eben nochmals mein aktuelles Blockly-Skript eingefügt...

                  Jep, und ich beschreibe im Ordner setup den Datenpunkt FC Basel mit dem eventDatum, welches eben nicht mehr übernommen wird.

                  hananH Offline
                  hananH Offline
                  hanan
                  wrote on last edited by
                  #48

                  Hmmmm....
                  Komisch, jetzt hat es soeben geklappt. Verstehe ich nichts mehr.
                  Die Datenpunkte wurden um 16:30 Uhr plötzlich beschrieben.

                  Liebe Grüsse aus der Schweiz
                  Andy

                  ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

                  liv-in-skyL hananH 2 Replies Last reply
                  0
                  • hananH hanan

                    Hmmmm....
                    Komisch, jetzt hat es soeben geklappt. Verstehe ich nichts mehr.
                    Die Datenpunkte wurden um 16:30 Uhr plötzlich beschrieben.

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

                    @hanan

                    ich gebe dir ein neues script, welches auch den countdown adapter nutzt

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

                    1 Reply Last reply
                    0
                    • hananH hanan

                      Hmmmm....
                      Komisch, jetzt hat es soeben geklappt. Verstehe ich nichts mehr.
                      Die Datenpunkte wurden um 16:30 Uhr plötzlich beschrieben.

                      hananH Offline
                      hananH Offline
                      hanan
                      wrote on last edited by
                      #50

                      Einen neuen Datenpunkt im countdowns/setup/FC Basel kann ich doch seit v5.1.23 nicht mehr erstellen oder?

                      Liebe Grüsse aus der Schweiz
                      Andy

                      ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

                      liv-in-skyL 1 Reply Last reply
                      0
                      • hananH hanan

                        Einen neuen Datenpunkt im countdowns/setup/FC Basel kann ich doch seit v5.1.23 nicht mehr erstellen oder?

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

                        @hanan

                        das macht der adapter - hast du im adapter setting den counter angelegt - oder geht das nicht mehr

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

                        1 Reply Last reply
                        0
                        • hananH Offline
                          hananH Offline
                          hanan
                          wrote on last edited by
                          #52

                          Sorry, muss um 19:15 Uhr weg.
                          Aber erstmal Danke für Deine Hilfe.

                          c9d20861-57dd-480f-ab8a-21f552e21e7f-image.png

                          Liebe Grüsse aus der Schweiz
                          Andy

                          ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

                          liv-in-skyL 3 Replies Last reply
                          0
                          • hananH hanan

                            Sorry, muss um 19:15 Uhr weg.
                            Aber erstmal Danke für Deine Hilfe.

                            c9d20861-57dd-480f-ab8a-21f552e21e7f-image.png

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

                            @hanan wir machen morgen weiter

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

                            1 Reply Last reply
                            0
                            • hananH hanan

                              Sorry, muss um 19:15 Uhr weg.
                              Aber erstmal Danke für Deine Hilfe.

                              c9d20861-57dd-480f-ab8a-21f552e21e7f-image.png

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

                              @hanan melde dich, wenn/wann du morgen zeit hast

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

                              1 Reply Last reply
                              0
                              • hananH hanan

                                Sorry, muss um 19:15 Uhr weg.
                                Aber erstmal Danke für Deine Hilfe.

                                c9d20861-57dd-480f-ab8a-21f552e21e7f-image.png

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

                                @hanan

                                hier mal ein neues script - hier wird direkt der countdown adapter verwendet

                                • du musst das suchwort eingeben (FC Basel - denke ich)
                                • in der vis und im script wird nun ein eigener datenpunkt (musst du erstellen) für deinen termin-namen verwendet - die anderen datenpunkte sind weiterhin unter dem countdown-adapter zu finden
                                • du kannst einfach ein paar termine eingeben (bei mir war es im test googletest) um 15: 00 und um 15:30 und um 16:00 - dann sollte das script alle termine abarbeiten und immer den nächsten nehmen um ihn anzuzeigen

                                bei mir klappt es

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                 <variables>
                                   <variable id="toV%#XU#+u-q8j}%lQO5">i</variable>
                                   <variable id="=laq7tvUO(q,%US6)j!u">j</variable>
                                   <variable type="timeout" id="timeout">timeout</variable>
                                   <variable id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</variable>
                                   <variable id="dl(4-B)s(J1z0(yKCcPM">eventDatum</variable>
                                 </variables>
                                 <block type="comment" id="j6e86Yh}})qd~}SJM:_y" x="-137" y="-537">
                                   <field name="COMMENT">jede stunde check</field>
                                   <next>
                                     <block type="schedule" id="/Z@?iF|RB-}UWrCdgO8l">
                                       <field name="SCHEDULE">3 * * * *</field>
                                       <statement name="STATEMENT">
                                         <block type="procedures_callnoreturn" id="A3h[pUrx|MqlRSn$*JPQ">
                                           <mutation name="etwas tun"></mutation>
                                         </block>
                                       </statement>
                                     </block>
                                   </next>
                                 </block>
                                 <block type="procedures_defcustomreturn" id=".4jhH[;Isgq*k0Elo0tw" x="462" y="-412">
                                   <mutation statements="false">
                                     <arg name="i" varid="toV%#XU#+u-q8j}%lQO5"></arg>
                                     <arg name="j" varid="=laq7tvUO(q,%US6)j!u"></arg>
                                   </mutation>
                                   <field name="NAME">StringManipulation2</field>
                                   <field name="SCRIPT">DQoNCi8vbG9nKEpTT04uc3RyaW5naWZ5KGkpKQ0KbGV0IG15RXJnZWJuaXM9LTE7DQpsZXQgamV0enRUaW1lPW5ldyBEYXRlKCkuZ2V0VGltZSgpDQoNCg0KZm9yIChsZXQgYWE9MDthYTxpLmxlbmd0aDthYSsrKXsNCiAgIC8vIGxvZyhpW2FhXS5ldmVudCkNCiAgICBsZXQgdGVybWluVGltZT1OdW1iZXIobmV3IERhdGUoaVthYV0uX2RhdGUpLmdldFRpbWUoKSkNCiAgICBsb2codGVybWluVGltZS1qZXR6dFRpbWUpDQogICAgaWYoaVthYV0uZXZlbnQuaW5jbHVkZXMoaikgJiYgdGVybWluVGltZS1qZXR6dFRpbWU+MCkgey8qbG9nKGlbYWFdLmV2ZW50KTsqL215RXJnZWJuaXM9aVthYV0uZGF0ZTtzdWNoQmVncmlmZj1pW2FhXS5ldmVudDticmVha30NCiAgIA0KfQ0KDQoNCi8vbG9nKG15RXJnZWJuaXMpDQpyZXR1cm4gbXlFcmdlYm5pczs=</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                 </block>
                                 <block type="comment" id="G_V|(=^[ypn!vkvsU]XB" x="-212" y="-362">
                                   <field name="COMMENT">beim scriptstart check</field>
                                   <next>
                                     <block type="procedures_callnoreturn" id="(T6N=EXH(4.!PxCR{IYK">
                                       <mutation name="etwas tun"></mutation>
                                     </block>
                                   </next>
                                 </block>
                                 <block type="procedures_defnoreturn" id="0N=R]U_AG[J;@9EK(vYA" x="138" y="-362">
                                   <field name="NAME">etwas tun</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                   <statement name="STACK">
                                     <block type="debug" id="ad$]%p%RkeI%BxJKt469">
                                       <field name="Severity">log</field>
                                       <value name="TEXT">
                                         <shadow type="text" id="^2eW4BEub1^5b;yPYf=O">
                                           <field name="TEXT">test</field>
                                         </shadow>
                                         <block type="get_value" id="pNaLg6ywW,iFN=^nZ@tF">
                                           <field name="ATTR">val</field>
                                           <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_if" id="k$7XJl4TwwsH#F^BA]o!">
                                           <value name="IF0">
                                             <block type="logic_compare" id="M76Fa)lSqWA4~DpUBx]#">
                                               <field name="OP">NEQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="~cXDg*N0V}(j;3:-g@=W">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="text" id="(L7Thmh8pK[9|obXZlJE">
                                                   <field name="TEXT">Invalid date</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="comment" id="REz{J.~}%h,YKvF[zs=_">
                                               <field name="COMMENT">hier suchbegriff eingeben</field>
                                               <next>
                                                 <block type="variables_set" id="Yn_03ee.K$F#2@`28d/M">
                                                   <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="_%5/XWgSJPtR10.BNE?,">
                                                       <field name="TEXT">testgoogle</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="variables_set" id="[xt^RuL~Y|TiS0Re2?+#">
                                                       <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                       <value name="VALUE">
                                                         <block type="procedures_callcustomreturn" id="g?#2EB$^BkG@k+r=Bv|]">
                                                           <mutation name="StringManipulation2">
                                                             <arg name="i"></arg>
                                                             <arg name="j"></arg>
                                                           </mutation>
                                                           <value name="ARG0">
                                                             <block type="get_value" id="?}[v,-QV{dczpnW|a=qd">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">ical.0.data.table</field>
                                                             </block>
                                                           </value>
                                                           <value name="ARG1">
                                                             <block type="variables_get" id="K2N=*^9uaX6H0}j]s5=*">
                                                               <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="controls_if" id="/zQZ~5M`WY$~j~oKdH5z">
                                                           <value name="IF0">
                                                             <block type="logic_compare" id="Z?!zm|/x#bu*Q7]r4,%4">
                                                               <field name="OP">NEQ</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="F$bDE3t^u;v%QO/XXCr6">
                                                                   <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="NcEs_VXKEGxjrfy]h3_[">
                                                                   <field name="NUM">-1</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="sendto_custom" id="^YhY9:$x2@qbWS~VCIK5">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="name,date" with_statement="false"></mutation>
                                                               <field name="INSTANCE">countdown.0</field>
                                                               <field name="COMMAND">send</field>
                                                               <field name="LOG"></field>
                                                               <field name="WITH_STATEMENT">FALSE</field>
                                                               <value name="ARG0">
                                                                 <shadow type="text" id="tl;X*tr8on5.=HLtbZ/a">
                                                                   <field name="TEXT">FC Basel</field>
                                                                 </shadow>
                                                               </value>
                                                               <value name="ARG1">
                                                                 <shadow type="text" id="y/t5`WMGw*c4N:#sdPa_">
                                                                   <field name="TEXT"></field>
                                                                 </shadow>
                                                                 <block type="variables_get" id="s)+RK.KUUfie[zN:Tywv">
                                                                   <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="comment" id="@uK?Qf/kh|@heM}Tk9uC">
                                                                   <field name="COMMENT">extra datenpunkt für namensgebung</field>
                                                                   <next>
                                                                     <block type="control" id="uXG,7qdhL8|?C3}od=?I">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">0_userdata.0.CONTROL-OWN.AAATEST.TestString3</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="text_join" id="Zs=q~.oy@-0qwbp1)zpY">
                                                                           <mutation items="2"></mutation>
                                                                           <value name="ADD0">
                                                                             <block type="variables_get" id="5*V4+R9Jk3Qqa+#(E:-8">
                                                                               <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="ADD1">
                                                                             <block type="text" id="7cNrB9:j~Cv(XHq2YlJO">
                                                                               <field name="TEXT"> - testAusgabe</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                                 <block type="comment" id="isqUSbF].;LNH[UPvx:M" x="-287" y="-262">
                                   <field name="COMMENT">wenn timer abgelaufen check</field>
                                   <next>
                                     <block type="comment" id="Ll:4~U0m?h3RX8dU9qfy">
                                       <field name="COMMENT">wenn ical0 geändert - check</field>
                                       <next>
                                         <block type="on_ext" id="Y:?1wx{7^s0oge[=Y2mL">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                           <field name="CONDITION">ne</field>
                                           <field name="ACK_CONDITION"></field>
                                           <value name="OID0">
                                             <shadow type="field_oid" id="^i|V1-4b4ry]#HY{95P0">
                                               <field name="oid">countdown.0.countdowns.FC Basel.reached</field>
                                             </shadow>
                                           </value>
                                           <value name="OID1">
                                             <shadow type="field_oid" id="~Rg*PL%T(xsgFno;zT/O">
                                               <field name="oid">ical.0.data.table</field>
                                             </shadow>
                                           </value>
                                           <statement name="STATEMENT">
                                             <block type="timeouts_settimeout" id="M0p2VkDf=$/lw.?QCu*J">
                                               <field name="NAME">timeout</field>
                                               <field name="DELAY">5</field>
                                               <field name="UNIT">sec</field>
                                               <statement name="STATEMENT">
                                                 <block type="procedures_callnoreturn" id="jg5gbBuQuyU)VTHWW0Rt">
                                                   <mutation name="etwas tun"></mutation>
                                                 </block>
                                               </statement>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                                </xml>
                                

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

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

                                  @hanan

                                  hier mal ein neues script - hier wird direkt der countdown adapter verwendet

                                  • du musst das suchwort eingeben (FC Basel - denke ich)
                                  • in der vis und im script wird nun ein eigener datenpunkt (musst du erstellen) für deinen termin-namen verwendet - die anderen datenpunkte sind weiterhin unter dem countdown-adapter zu finden
                                  • du kannst einfach ein paar termine eingeben (bei mir war es im test googletest) um 15: 00 und um 15:30 und um 16:00 - dann sollte das script alle termine abarbeiten und immer den nächsten nehmen um ihn anzuzeigen

                                  bei mir klappt es

                                  <xml xmlns="https://developers.google.com/blockly/xml">
                                   <variables>
                                     <variable id="toV%#XU#+u-q8j}%lQO5">i</variable>
                                     <variable id="=laq7tvUO(q,%US6)j!u">j</variable>
                                     <variable type="timeout" id="timeout">timeout</variable>
                                     <variable id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</variable>
                                     <variable id="dl(4-B)s(J1z0(yKCcPM">eventDatum</variable>
                                   </variables>
                                   <block type="comment" id="j6e86Yh}})qd~}SJM:_y" x="-137" y="-537">
                                     <field name="COMMENT">jede stunde check</field>
                                     <next>
                                       <block type="schedule" id="/Z@?iF|RB-}UWrCdgO8l">
                                         <field name="SCHEDULE">3 * * * *</field>
                                         <statement name="STATEMENT">
                                           <block type="procedures_callnoreturn" id="A3h[pUrx|MqlRSn$*JPQ">
                                             <mutation name="etwas tun"></mutation>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                   <block type="procedures_defcustomreturn" id=".4jhH[;Isgq*k0Elo0tw" x="462" y="-412">
                                     <mutation statements="false">
                                       <arg name="i" varid="toV%#XU#+u-q8j}%lQO5"></arg>
                                       <arg name="j" varid="=laq7tvUO(q,%US6)j!u"></arg>
                                     </mutation>
                                     <field name="NAME">StringManipulation2</field>
                                     <field name="SCRIPT">DQoNCi8vbG9nKEpTT04uc3RyaW5naWZ5KGkpKQ0KbGV0IG15RXJnZWJuaXM9LTE7DQpsZXQgamV0enRUaW1lPW5ldyBEYXRlKCkuZ2V0VGltZSgpDQoNCg0KZm9yIChsZXQgYWE9MDthYTxpLmxlbmd0aDthYSsrKXsNCiAgIC8vIGxvZyhpW2FhXS5ldmVudCkNCiAgICBsZXQgdGVybWluVGltZT1OdW1iZXIobmV3IERhdGUoaVthYV0uX2RhdGUpLmdldFRpbWUoKSkNCiAgICBsb2codGVybWluVGltZS1qZXR6dFRpbWUpDQogICAgaWYoaVthYV0uZXZlbnQuaW5jbHVkZXMoaikgJiYgdGVybWluVGltZS1qZXR6dFRpbWU+MCkgey8qbG9nKGlbYWFdLmV2ZW50KTsqL215RXJnZWJuaXM9aVthYV0uZGF0ZTtzdWNoQmVncmlmZj1pW2FhXS5ldmVudDticmVha30NCiAgIA0KfQ0KDQoNCi8vbG9nKG15RXJnZWJuaXMpDQpyZXR1cm4gbXlFcmdlYm5pczs=</field>
                                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                   </block>
                                   <block type="comment" id="G_V|(=^[ypn!vkvsU]XB" x="-212" y="-362">
                                     <field name="COMMENT">beim scriptstart check</field>
                                     <next>
                                       <block type="procedures_callnoreturn" id="(T6N=EXH(4.!PxCR{IYK">
                                         <mutation name="etwas tun"></mutation>
                                       </block>
                                     </next>
                                   </block>
                                   <block type="procedures_defnoreturn" id="0N=R]U_AG[J;@9EK(vYA" x="138" y="-362">
                                     <field name="NAME">etwas tun</field>
                                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                     <statement name="STACK">
                                       <block type="debug" id="ad$]%p%RkeI%BxJKt469">
                                         <field name="Severity">log</field>
                                         <value name="TEXT">
                                           <shadow type="text" id="^2eW4BEub1^5b;yPYf=O">
                                             <field name="TEXT">test</field>
                                           </shadow>
                                           <block type="get_value" id="pNaLg6ywW,iFN=^nZ@tF">
                                             <field name="ATTR">val</field>
                                             <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id="k$7XJl4TwwsH#F^BA]o!">
                                             <value name="IF0">
                                               <block type="logic_compare" id="M76Fa)lSqWA4~DpUBx]#">
                                                 <field name="OP">NEQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="~cXDg*N0V}(j;3:-g@=W">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">countdown.0.countdowns.FC Basel.endDate</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="text" id="(L7Thmh8pK[9|obXZlJE">
                                                     <field name="TEXT">Invalid date</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="comment" id="REz{J.~}%h,YKvF[zs=_">
                                                 <field name="COMMENT">hier suchbegriff eingeben</field>
                                                 <next>
                                                   <block type="variables_set" id="Yn_03ee.K$F#2@`28d/M">
                                                     <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="_%5/XWgSJPtR10.BNE?,">
                                                         <field name="TEXT">testgoogle</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="variables_set" id="[xt^RuL~Y|TiS0Re2?+#">
                                                         <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                         <value name="VALUE">
                                                           <block type="procedures_callcustomreturn" id="g?#2EB$^BkG@k+r=Bv|]">
                                                             <mutation name="StringManipulation2">
                                                               <arg name="i"></arg>
                                                               <arg name="j"></arg>
                                                             </mutation>
                                                             <value name="ARG0">
                                                               <block type="get_value" id="?}[v,-QV{dczpnW|a=qd">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">ical.0.data.table</field>
                                                               </block>
                                                             </value>
                                                             <value name="ARG1">
                                                               <block type="variables_get" id="K2N=*^9uaX6H0}j]s5=*">
                                                                 <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="controls_if" id="/zQZ~5M`WY$~j~oKdH5z">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="Z?!zm|/x#bu*Q7]r4,%4">
                                                                 <field name="OP">NEQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="F$bDE3t^u;v%QO/XXCr6">
                                                                     <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="math_number" id="NcEs_VXKEGxjrfy]h3_[">
                                                                     <field name="NUM">-1</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="sendto_custom" id="^YhY9:$x2@qbWS~VCIK5">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="name,date" with_statement="false"></mutation>
                                                                 <field name="INSTANCE">countdown.0</field>
                                                                 <field name="COMMAND">send</field>
                                                                 <field name="LOG"></field>
                                                                 <field name="WITH_STATEMENT">FALSE</field>
                                                                 <value name="ARG0">
                                                                   <shadow type="text" id="tl;X*tr8on5.=HLtbZ/a">
                                                                     <field name="TEXT">FC Basel</field>
                                                                   </shadow>
                                                                 </value>
                                                                 <value name="ARG1">
                                                                   <shadow type="text" id="y/t5`WMGw*c4N:#sdPa_">
                                                                     <field name="TEXT"></field>
                                                                   </shadow>
                                                                   <block type="variables_get" id="s)+RK.KUUfie[zN:Tywv">
                                                                     <field name="VAR" id="dl(4-B)s(J1z0(yKCcPM">eventDatum</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="comment" id="@uK?Qf/kh|@heM}Tk9uC">
                                                                     <field name="COMMENT">extra datenpunkt für namensgebung</field>
                                                                     <next>
                                                                       <block type="control" id="uXG,7qdhL8|?C3}od=?I">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">0_userdata.0.CONTROL-OWN.AAATEST.TestString3</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="text_join" id="Zs=q~.oy@-0qwbp1)zpY">
                                                                             <mutation items="2"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="variables_get" id="5*V4+R9Jk3Qqa+#(E:-8">
                                                                                 <field name="VAR" id="l6*`|-^*E}19Ax.o8gS3">suchBegriff</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="text" id="7cNrB9:j~Cv(XHq2YlJO">
                                                                                 <field name="TEXT"> - testAusgabe</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                   <block type="comment" id="isqUSbF].;LNH[UPvx:M" x="-287" y="-262">
                                     <field name="COMMENT">wenn timer abgelaufen check</field>
                                     <next>
                                       <block type="comment" id="Ll:4~U0m?h3RX8dU9qfy">
                                         <field name="COMMENT">wenn ical0 geändert - check</field>
                                         <next>
                                           <block type="on_ext" id="Y:?1wx{7^s0oge[=Y2mL">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="^i|V1-4b4ry]#HY{95P0">
                                                 <field name="oid">countdown.0.countdowns.FC Basel.reached</field>
                                               </shadow>
                                             </value>
                                             <value name="OID1">
                                               <shadow type="field_oid" id="~Rg*PL%T(xsgFno;zT/O">
                                                 <field name="oid">ical.0.data.table</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="timeouts_settimeout" id="M0p2VkDf=$/lw.?QCu*J">
                                                 <field name="NAME">timeout</field>
                                                 <field name="DELAY">5</field>
                                                 <field name="UNIT">sec</field>
                                                 <statement name="STATEMENT">
                                                   <block type="procedures_callnoreturn" id="jg5gbBuQuyU)VTHWW0Rt">
                                                     <mutation name="etwas tun"></mutation>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                  </xml>
                                  

                                  hananH Offline
                                  hananH Offline
                                  hanan
                                  wrote on last edited by
                                  #56

                                  @liv-in-sky
                                  Hallo liv-in-sky
                                  Danke für Deine Arbeit, doch ich kann es erst Morgenabend testen, da ich immer noch auf der Arbeit bin (sch....tag).
                                  Liebe Grüsse und einen schönen Abend.

                                  Liebe Grüsse aus der Schweiz
                                  Andy

                                  ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

                                  liv-in-skyL 1 Reply Last reply
                                  0
                                  • hananH hanan

                                    @liv-in-sky
                                    Hallo liv-in-sky
                                    Danke für Deine Arbeit, doch ich kann es erst Morgenabend testen, da ich immer noch auf der Arbeit bin (sch....tag).
                                    Liebe Grüsse und einen schönen Abend.

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

                                    @hanan kein thema - wenn es paßt - einfach melden

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

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

                                      @hanan kein thema - wenn es paßt - einfach melden

                                      hananH Offline
                                      hananH Offline
                                      hanan
                                      wrote on last edited by
                                      #58

                                      @liv-in-sky
                                      Hallo liv-in-sky
                                      Habe das Skript importiert und die Datenpunkte angepasst.
                                      :clap: super Arbeit, funz auf anhieb.
                                      Besten Dank nochmals für Deine Hilfe.

                                      Liebe Grüsse aus der Schweiz
                                      Andy

                                      ioBroker auf NUC unter Proxmox, Raspberrymatic-CCU auf NUC unter Proxmox mit RPI-RF-MOD Funkmodul und Omnidiraktional Antenne

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


                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      590

                                      Online

                                      32.7k

                                      Users

                                      82.5k

                                      Topics

                                      1.3m

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

                                      • Don't have an account? Register

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