Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Countdown

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    319

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    292

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

Countdown

Geplant Angeheftet Gesperrt Verschoben Blockly
6 Beiträge 3 Kommentatoren 466 Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Matze1976M Offline
    Matze1976M Offline
    Matze1976
    schrieb am zuletzt editiert von
    #1

    Wie bekomme ich es hin, das mit von Datum heute bis Datum x die Resttage angezeigt werden, also in einen Datenpunkt geschrieben werden?

    crunchipC paul53P 2 Antworten Letzte Antwort
    0
    • Matze1976M Matze1976

      Wie bekomme ich es hin, das mit von Datum heute bis Datum x die Resttage angezeigt werden, also in einen Datenpunkt geschrieben werden?

      crunchipC Abwesend
      crunchipC Abwesend
      crunchip
      Forum Testing Most Active Developer
      schrieb am zuletzt editiert von crunchip
      #2

      @Matze1976 eventuell hilft dieser Thread weiter
      oder du wirst hier vllt fündig

      umgestiegen von Proxmox auf Unraid

      1 Antwort Letzte Antwort
      0
      • Matze1976M Matze1976

        Wie bekomme ich es hin, das mit von Datum heute bis Datum x die Resttage angezeigt werden, also in einen Datenpunkt geschrieben werden?

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

        @Matze1976 sagte:

        von Datum heute bis Datum x die Resttage angezeigt werden

        Wenn das künftige Datum im Format DD.MM.JJJJ vorliegt, muss zum Wandeln zuerst die Reihenfolge getauscht werden. Bei umgekehrter Reihenfolge JJJJ.MM.DD ist es nicht erforderlich.

        Blockly_temp.JPG

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

        Matze1976M 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @Matze1976 sagte:

          von Datum heute bis Datum x die Resttage angezeigt werden

          Wenn das künftige Datum im Format DD.MM.JJJJ vorliegt, muss zum Wandeln zuerst die Reihenfolge getauscht werden. Bei umgekehrter Reihenfolge JJJJ.MM.DD ist es nicht erforderlich.

          Blockly_temp.JPG

          Matze1976M Offline
          Matze1976M Offline
          Matze1976
          schrieb am zuletzt editiert von
          #4

          @paul53 könntest du mir den Blockly Code rein setzen?

          paul53P 1 Antwort Letzte Antwort
          0
          • Matze1976M Matze1976

            @paul53 könntest du mir den Blockly Code rein setzen?

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

            @Matze1976 sagte in Countdown:

            könntest du mir den Blockly Code rein setzen?

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="QH)a+q+/HjBMpJitoK=X">datum</variable>
              </variables>
              <block type="comment" id="-8Q#8O{5;,7Y..MP%hLW" x="-37" y="-262">
                <field name="COMMENT">Format: DD.MM.YYYY</field>
                <next>
                  <block type="variables_set" id=";Y0.4)M3k/vxOsmby4Xy">
                    <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                    <value name="VALUE">
                      <block type="lists_split" id="4/QFHo_G:.MJ$;X`{P4]">
                        <mutation mode="SPLIT"></mutation>
                        <field name="MODE">SPLIT</field>
                        <value name="INPUT">
                          <block type="text" id="w0u;nXdc[wmh/,M~36ba">
                            <field name="TEXT">24.05.2020</field>
                          </block>
                        </value>
                        <value name="DELIM">
                          <shadow type="text" id="coS;jKZv/}Em3,.g7SZ%">
                            <field name="TEXT">.</field>
                          </shadow>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="[Xk9h=jzG6]]`1J%a*Zi">
                        <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                        <value name="VALUE">
                          <block type="text_join" id="BGr[z#v-,wmRX#B{xJ*V">
                            <mutation items="5"></mutation>
                            <value name="ADD0">
                              <block type="lists_getIndex" id="Vo~,]~vZ7fpVss=(VU#D">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_START</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="u)1:1G_LwMi^%[8!`@h+">
                                    <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="z:EgV_3fzMliqDv*d7@t">
                                    <field name="NUM">3</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="text" id="v{.rg`EP3]-z+KK$!O={">
                                <field name="TEXT">-</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="lists_getIndex" id=",Ed,A}`TT}uj~r@%~$1C">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_START</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="bls)qffc}OI}{r26Q0uf">
                                    <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="G+6]tXOQv{Og^aZUNv^N">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="ADD3">
                              <block type="text" id="RGkfv;U1)Y4orfJNVYNp">
                                <field name="TEXT">-</field>
                              </block>
                            </value>
                            <value name="ADD4">
                              <block type="lists_getIndex" id="DWU@g%Rq!{1upsYsOS{y">
                                <mutation statement="false" at="true"></mutation>
                                <field name="MODE">GET</field>
                                <field name="WHERE">FROM_START</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="]p7OC{g_Yk4onB%1z88V">
                                    <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                  </block>
                                </value>
                                <value name="AT">
                                  <block type="math_number" id="Vygz5c#iO~S92Po(c%FZ">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="update" id="/d+qy!+$iX:eyI4$T)Ex" inline="false">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">Object ID</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_round" id="Pz!QIVb1LT.zhltW_5VZ">
                                <field name="OP">ROUNDUP</field>
                                <value name="NUM">
                                  <shadow type="math_number" id="C.)jzzX:9UgS!rP9PEiV">
                                    <field name="NUM">3.1</field>
                                  </shadow>
                                  <block type="math_arithmetic" id="%cE,S^(^k:R]vKsm0I1Q" inline="false">
                                    <field name="OP">DIVIDE</field>
                                    <value name="A">
                                      <shadow type="math_number" id="~wZr;xu/(qG,sIE6])U@">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="math_arithmetic" id="=r_26i!LgMnIt17eE5jd" inline="false">
                                        <field name="OP">MINUS</field>
                                        <value name="A">
                                          <shadow type="math_number" id="EEGOvL@^jbcJG[g@XU-j">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="convert_from_date" id="*A^s]8q=h8~f5TXo0cE;">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                            <field name="OPTION">object</field>
                                            <value name="VALUE">
                                              <block type="variables_get" id="U1A!~okJ{ywBDd:POkS[">
                                                <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="pM/9zf_[9r^pv:mkU|7B">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="time_get" id="p{4)88UXm0g}T[Ycx1#E">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                            <field name="OPTION">object</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="F]F|#O)y~8]6zPT`P*]D">
                                        <field name="NUM">86400000</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </xml>
            

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

            Matze1976M 1 Antwort Letzte Antwort
            0
            • paul53P paul53

              @Matze1976 sagte in Countdown:

              könntest du mir den Blockly Code rein setzen?

              <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                  <variable id="QH)a+q+/HjBMpJitoK=X">datum</variable>
                </variables>
                <block type="comment" id="-8Q#8O{5;,7Y..MP%hLW" x="-37" y="-262">
                  <field name="COMMENT">Format: DD.MM.YYYY</field>
                  <next>
                    <block type="variables_set" id=";Y0.4)M3k/vxOsmby4Xy">
                      <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                      <value name="VALUE">
                        <block type="lists_split" id="4/QFHo_G:.MJ$;X`{P4]">
                          <mutation mode="SPLIT"></mutation>
                          <field name="MODE">SPLIT</field>
                          <value name="INPUT">
                            <block type="text" id="w0u;nXdc[wmh/,M~36ba">
                              <field name="TEXT">24.05.2020</field>
                            </block>
                          </value>
                          <value name="DELIM">
                            <shadow type="text" id="coS;jKZv/}Em3,.g7SZ%">
                              <field name="TEXT">.</field>
                            </shadow>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="[Xk9h=jzG6]]`1J%a*Zi">
                          <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                          <value name="VALUE">
                            <block type="text_join" id="BGr[z#v-,wmRX#B{xJ*V">
                              <mutation items="5"></mutation>
                              <value name="ADD0">
                                <block type="lists_getIndex" id="Vo~,]~vZ7fpVss=(VU#D">
                                  <mutation statement="false" at="true"></mutation>
                                  <field name="MODE">GET</field>
                                  <field name="WHERE">FROM_START</field>
                                  <value name="VALUE">
                                    <block type="variables_get" id="u)1:1G_LwMi^%[8!`@h+">
                                      <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                    </block>
                                  </value>
                                  <value name="AT">
                                    <block type="math_number" id="z:EgV_3fzMliqDv*d7@t">
                                      <field name="NUM">3</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="text" id="v{.rg`EP3]-z+KK$!O={">
                                  <field name="TEXT">-</field>
                                </block>
                              </value>
                              <value name="ADD2">
                                <block type="lists_getIndex" id=",Ed,A}`TT}uj~r@%~$1C">
                                  <mutation statement="false" at="true"></mutation>
                                  <field name="MODE">GET</field>
                                  <field name="WHERE">FROM_START</field>
                                  <value name="VALUE">
                                    <block type="variables_get" id="bls)qffc}OI}{r26Q0uf">
                                      <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                    </block>
                                  </value>
                                  <value name="AT">
                                    <block type="math_number" id="G+6]tXOQv{Og^aZUNv^N">
                                      <field name="NUM">2</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="ADD3">
                                <block type="text" id="RGkfv;U1)Y4orfJNVYNp">
                                  <field name="TEXT">-</field>
                                </block>
                              </value>
                              <value name="ADD4">
                                <block type="lists_getIndex" id="DWU@g%Rq!{1upsYsOS{y">
                                  <mutation statement="false" at="true"></mutation>
                                  <field name="MODE">GET</field>
                                  <field name="WHERE">FROM_START</field>
                                  <value name="VALUE">
                                    <block type="variables_get" id="]p7OC{g_Yk4onB%1z88V">
                                      <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                    </block>
                                  </value>
                                  <value name="AT">
                                    <block type="math_number" id="Vygz5c#iO~S92Po(c%FZ">
                                      <field name="NUM">1</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="update" id="/d+qy!+$iX:eyI4$T)Ex" inline="false">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">Object ID</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_round" id="Pz!QIVb1LT.zhltW_5VZ">
                                  <field name="OP">ROUNDUP</field>
                                  <value name="NUM">
                                    <shadow type="math_number" id="C.)jzzX:9UgS!rP9PEiV">
                                      <field name="NUM">3.1</field>
                                    </shadow>
                                    <block type="math_arithmetic" id="%cE,S^(^k:R]vKsm0I1Q" inline="false">
                                      <field name="OP">DIVIDE</field>
                                      <value name="A">
                                        <shadow type="math_number" id="~wZr;xu/(qG,sIE6])U@">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="math_arithmetic" id="=r_26i!LgMnIt17eE5jd" inline="false">
                                          <field name="OP">MINUS</field>
                                          <value name="A">
                                            <shadow type="math_number" id="EEGOvL@^jbcJG[g@XU-j">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="convert_from_date" id="*A^s]8q=h8~f5TXo0cE;">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">object</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="U1A!~okJ{ywBDd:POkS[">
                                                  <field name="VAR" id="QH)a+q+/HjBMpJitoK=X">datum</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="pM/9zf_[9r^pv:mkU|7B">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="time_get" id="p{4)88UXm0g}T[Ycx1#E">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">object</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="F]F|#O)y~8]6zPT`P*]D">
                                          <field name="NUM">86400000</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </xml>
              

              Matze1976M Offline
              Matze1976M Offline
              Matze1976
              schrieb am zuletzt editiert von
              #6

              @paul53

              DANKEEE BIST EIN SCHATZ

              1 Antwort Letzte Antwort
              0

              Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

              Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

              Mit deinem Input könnte dieser Beitrag noch besser werden 💗

              Registrieren Anmelden
              Antworten
              • In einem neuen Thema antworten
              Anmelden zum Antworten
              • Älteste zuerst
              • Neuste zuerst
              • Meiste Stimmen


              Support us

              ioBroker
              Community Adapters
              Donate

              350

              Online

              32.8k

              Benutzer

              82.8k

              Themen

              1.3m

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

              • Du hast noch kein Konto? Registrieren

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