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. [gelöst] Stunden aus Datenpunktformat SS:MM extrahieren

NEWS

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

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    383

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

[gelöst] Stunden aus Datenpunktformat SS:MM extrahieren

Geplant Angeheftet Gesperrt Verschoben Blockly
11 Beiträge 3 Kommentatoren 859 Aufrufe 1 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.
  • M Offline
    M Offline
    mueller-esch
    schrieb am zuletzt editiert von mueller-esch
    #1

    Hallo Leute,
    irgendwie habe ich eine Brett vor'm Kopf. Ich möchte zum weiteren Steuern aus einem Datenpunkt im Format SS:MM nur die Stunden und dann auch nur die Minuten extrahieren. Irgendwie bekomme ich das nicht hin. Ich möchte damit einen CronJob variable laufen lassen. Den Datenpunkt fülle ich in einer Visualisierung mit iQontrol.
    Wer kann helfen? Danke im Voraus

    Proxmox auf NUC-Ersatz (Lüfterloser N100 16GB, 500 GB SSD)
    IOBroker in Proxmox-VM unter Debian
    ConbeeII in Proxmox-VM unter Debian
    Node 18.19.0 npm 10.2.3

    paul53P 1 Antwort Letzte Antwort
    0
    • M mueller-esch

      Hallo Leute,
      irgendwie habe ich eine Brett vor'm Kopf. Ich möchte zum weiteren Steuern aus einem Datenpunkt im Format SS:MM nur die Stunden und dann auch nur die Minuten extrahieren. Irgendwie bekomme ich das nicht hin. Ich möchte damit einen CronJob variable laufen lassen. Den Datenpunkt fülle ich in einer Visualisierung mit iQontrol.
      Wer kann helfen? Danke im Voraus

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

      @mueller-esch sagte: CronJob variable laufen lassen.

      Siehe hier oder:

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

      M N 2 Antworten Letzte Antwort
      0
      • paul53P paul53

        @mueller-esch sagte: CronJob variable laufen lassen.

        Siehe hier oder:

        Blockly_UhrzeitDP.JPG

        M Offline
        M Offline
        mueller-esch
        schrieb am zuletzt editiert von
        #3

        @paul53 Hallo, danke erst einmal für die schnelle Reaktion. So ganz blicke ich bei deinem Blockly noch nicht durch. Wie ich es verstanden habe triggert erst eine Veränderung des Datenpunktes "Uhrzeit" dieses Blockly.
        Bei mir soll aber der variable CronJob die Aktion triggern. Wenn sich der Datenpunkt nicht ändert sollte immer der alte Zeitpunkt durch den CronJob getriggert werden.

        Proxmox auf NUC-Ersatz (Lüfterloser N100 16GB, 500 GB SSD)
        IOBroker in Proxmox-VM unter Debian
        ConbeeII in Proxmox-VM unter Debian
        Node 18.19.0 npm 10.2.3

        paul53P 1 Antwort Letzte Antwort
        0
        • M mueller-esch

          @paul53 Hallo, danke erst einmal für die schnelle Reaktion. So ganz blicke ich bei deinem Blockly noch nicht durch. Wie ich es verstanden habe triggert erst eine Veränderung des Datenpunktes "Uhrzeit" dieses Blockly.
          Bei mir soll aber der variable CronJob die Aktion triggern. Wenn sich der Datenpunkt nicht ändert sollte immer der alte Zeitpunkt durch den CronJob getriggert werden.

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

          @mueller-esch sagte: triggert erst eine Veränderung des Datenpunktes "Uhrzeit" dieses Blockly.

          Nein, vor dem Trigger wird die Funktion schaltpunkt1() bei Skriptstart aufgerufen. Wenn dann die Uhrzeit im Datenpunkt geändert wird, erfolgt der Trigger und der bestehende CronJob wird gelöscht und der neue CronJob wird gestartet.

          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

          M 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @mueller-esch sagte: triggert erst eine Veränderung des Datenpunktes "Uhrzeit" dieses Blockly.

            Nein, vor dem Trigger wird die Funktion schaltpunkt1() bei Skriptstart aufgerufen. Wenn dann die Uhrzeit im Datenpunkt geändert wird, erfolgt der Trigger und der bestehende CronJob wird gelöscht und der neue CronJob wird gestartet.

            M Offline
            M Offline
            mueller-esch
            schrieb am zuletzt editiert von
            #5

            @paul53 ok. Dann werde ich das mal ausprobieren und berichten. Danke und Gruß

            Proxmox auf NUC-Ersatz (Lüfterloser N100 16GB, 500 GB SSD)
            IOBroker in Proxmox-VM unter Debian
            ConbeeII in Proxmox-VM unter Debian
            Node 18.19.0 npm 10.2.3

            M 1 Antwort Letzte Antwort
            0
            • M mueller-esch

              @paul53 ok. Dann werde ich das mal ausprobieren und berichten. Danke und Gruß

              M Offline
              M Offline
              mueller-esch
              schrieb am zuletzt editiert von
              #6

              @mueller-esch Hi, ich habe es mit meinen Variablen und Datenpunkten ausprobiert und es klappt einwandfrei. Super Danke.

              Proxmox auf NUC-Ersatz (Lüfterloser N100 16GB, 500 GB SSD)
              IOBroker in Proxmox-VM unter Debian
              ConbeeII in Proxmox-VM unter Debian
              Node 18.19.0 npm 10.2.3

              1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @mueller-esch sagte: CronJob variable laufen lassen.

                Siehe hier oder:

                Blockly_UhrzeitDP.JPG

                N Offline
                N Offline
                NewPaint2
                schrieb am zuletzt editiert von
                #7

                @paul53
                Hallo Paul,
                kannst du mal den Quelltext einstellen? Oder mir sagen was du im Objekt Schaltpunkt1 geschrieben hast?

                Grüße aus Zwickau
                René

                paul53P 1 Antwort Letzte Antwort
                0
                • N NewPaint2

                  @paul53
                  Hallo Paul,
                  kannst du mal den Quelltext einstellen? Oder mir sagen was du im Objekt Schaltpunkt1 geschrieben hast?

                  Grüße aus Zwickau
                  René

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

                  @newpaint2 sagte: den Quelltext einstellen?

                  Blockly ist die Quelle.

                  @newpaint2 sagte in [gelöst] Stunden aus Datenpunktformat SS:MM extrahieren:

                  im Objekt Schaltpunkt1 geschrieben hast?

                  schaltpunkt1 ist eine Funktion. Der Datenpunkt "Uhrzeit1" enthält die Uhrzeit im Format "hh:mm".

                  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

                  N 1 Antwort Letzte Antwort
                  1
                  • paul53P paul53

                    @newpaint2 sagte: den Quelltext einstellen?

                    Blockly ist die Quelle.

                    @newpaint2 sagte in [gelöst] Stunden aus Datenpunktformat SS:MM extrahieren:

                    im Objekt Schaltpunkt1 geschrieben hast?

                    schaltpunkt1 ist eine Funktion. Der Datenpunkt "Uhrzeit1" enthält die Uhrzeit im Format "hh:mm".

                    N Offline
                    N Offline
                    NewPaint2
                    schrieb am zuletzt editiert von
                    #9

                    @paul53 Danke durch testen rausgefunden und es funktioniert super!

                    script.png

                    Mit Quelle meinte ich den Code aus dem Blockly:

                    <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="Intff9/XTInPLt%`5=Jf" x="1124" y="2549">
                      <field name="NAME">Sp1</field>
                      <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                      <statement name="STACK">
                        <block type="variables_set" id="jv;oQDdh0i^Akpws5M|C">
                          <field name="VAR" id="hG_-#.,BI6N0$9medpkG">Aufstehen_h</field>
                          <value name="VALUE">
                            <block type="text_getSubstring" id="M-*R4^hkp-iHJ{ARnifl">
                              <mutation at1="false" at2="true"></mutation>
                              <field name="WHERE1">FIRST</field>
                              <field name="WHERE2">FROM_START</field>
                              <value name="STRING">
                                <block type="get_value_var" id="S`t:Io-1w,vu4/ww,g:7">
                                  <field name="ATTR">val</field>
                                  <value name="OID">
                                    <shadow type="text" id="mEkt,y]CNU%W8uBhH1~l">
                                      <field name="TEXT"></field>
                                    </shadow>
                                    <block type="variables_get" id="gVhs]));|=_fktL+aR[.">
                                      <field name="VAR" id="=n5D?*HjzOxoNh5Yrz-_">Aufstehen</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="AT2">
                                <block type="math_number" id="cw#^=%uK70Q@tLVwDj2J">
                                  <field name="NUM">2</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="4nFC:5R95mf^IgyZkN@2">
                              <field name="VAR" id=";5Kh](W5ZFBNz.]UtoH0">Aufstehen_min</field>
                              <value name="VALUE">
                                <block type="text_getSubstring" id="8:,HeS~.re{b)Dk(x-$u">
                                  <mutation at1="true" at2="false"></mutation>
                                  <field name="WHERE1">FROM_START</field>
                                  <field name="WHERE2">LAST</field>
                                  <value name="STRING">
                                    <block type="get_value_var" id="2G5J2,*r|@$gL!SPx7TW">
                                      <field name="ATTR">val</field>
                                      <value name="OID">
                                        <shadow type="text">
                                          <field name="TEXT"></field>
                                        </shadow>
                                        <block type="variables_get" id="AI@-xqwZ$kfo3BZnHOx(">
                                          <field name="VAR" id="=n5D?*HjzOxoNh5Yrz-_">Aufstehen</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="AT1">
                                    <block type="math_number" id="dvW!zk!~PBvXD^8@h{82">
                                      <field name="NUM">4</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="debug" id="oV3GP+Ra-,0flKR6wU}Z">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="Sk%$YBiJzfOFCL8KGP^i">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="text_join" id="Cez[+:_)cz3Yw~4[S5MX">
                                      <mutation items="4"></mutation>
                                      <value name="ADD0">
                                        <block type="variables_get" id="]4h}XnL2`D9E}[o~adtt">
                                          <field name="VAR" id="hG_-#.,BI6N0$9medpkG">Aufstehen_h</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="text" id="i2W.5`vqKK|6BqJ]W8gt">
                                          <field name="TEXT">:</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="variables_get" id="?%Q7_jxJVjqw1HA7]2[y">
                                          <field name="VAR" id=";5Kh](W5ZFBNz.]UtoH0">Aufstehen_min</field>
                                        </block>
                                      </value>
                                      <value name="ADD3">
                                        <block type="text" id="Hw0kEN4`JZpFYVNVK],`">
                                          <field name="TEXT"> Uhr geht die Heizung auf Komfort</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="schedule_create" id="oE],jqSmcGun^2.To)%l">
                                      <field name="NAME">hochfahren</field>
                                      <value name="SCHEDULE">
                                        <shadow type="field_cron" id="[2EJj8/{YcOi#zbsul0B">
                                          <field name="CRON">* * * * *</field>
                                        </shadow>
                                        <block type="cron_builder" id="#/_^}3$a{P*v5OU^AaRc">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                          <field name="LINE">FALSE</field>
                                          <field name="WITH_SECONDS">FALSE</field>
                                          <value name="DOW">
                                            <shadow type="text" id="Ddw=cBJz=4Jki(O?nka,">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                          </value>
                                          <value name="MONTHS">
                                            <shadow type="text" id="o)g82=SzW5:*~}y}}`,8">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                          </value>
                                          <value name="DAYS">
                                            <shadow type="text" id="%tx})b~RGr@{$C^B2vHx">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                          </value>
                                          <value name="HOURS">
                                            <shadow type="text" id="9/w*t4:,[1V|5x`2y73A">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                            <block type="variables_get" id="V?oIOgM6ZU)w|^`n()i8">
                                              <field name="VAR" id="hG_-#.,BI6N0$9medpkG">Aufstehen_h</field>
                                            </block>
                                          </value>
                                          <value name="MINUTES">
                                            <shadow type="text" id="9etZWD+827r#HDkDv:*2">
                                              <field name="TEXT">*</field>
                                            </shadow>
                                            <block type="variables_get" id="l10/^GAVs6LgBn-8E(Io">
                                              <field name="VAR" id=";5Kh](W5ZFBNz.]UtoH0">Aufstehen_min</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="tU@M!*bbo[v:YIT5#2kf">
                                          <mutation else="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="~M_Gl_Ivz5`e(.+0Ed|7">
                                              <field name="OP">NEQ</field>
                                              <value name="A">
                                                <block type="get_value_var" id="iIFX7onKASj(v6J)WA|5">
                                                  <field name="ATTR">val</field>
                                                  <value name="OID">
                                                    <shadow type="text">
                                                      <field name="TEXT"></field>
                                                    </shadow>
                                                    <block type="variables_get" id="9_LSgK2O:obtOZd3D41m">
                                                      <field name="VAR" id="mkB2np,J_YN+:@FWNl:n">Modus</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="e$:e#~!T?pCdds.*2bT^">
                                                  <field name="NUM">3</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control_ex" id=")Yyw#/rQ5muY5@=w+`ud" inline="true">
                                              <field name="TYPE">false</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="OID">
                                                <shadow type="field_oid">
                                                  <field name="oid">Object ID</field>
                                                </shadow>
                                                <block type="variables_get" id="#@:mQ+JgO(3tH?w{vYA!">
                                                  <field name="VAR" id="mkB2np,J_YN+:@FWNl:n">Modus</field>
                                                </block>
                                              </value>
                                              <value name="VALUE">
                                                <shadow type="logic_boolean" id="4.B5d(yK`VK4X}}H@GyJ">
                                                  <field name="BOOL">TRUE</field>
                                                </shadow>
                                                <block type="math_number" id="O{Q0I^KEQUF=2]O}ytQ+">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                              <value name="DELAY_MS">
                                                <shadow type="math_number" id="zpsV@lh3J(gZ7%Qut4.#">
                                                  <field name="NUM">100</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="control_ex" id="07@KwvKn[fs-Qf]2C9X6" inline="true">
                                                  <field name="TYPE">false</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid">
                                                      <field name="oid">Object ID</field>
                                                    </shadow>
                                                    <block type="variables_get" id="9,,l8wmbc*(KYdL4K#S~">
                                                      <field name="VAR" id="_WuM:0[JLiv8M4=8ZO,6">Modus_temp</field>
                                                    </block>
                                                  </value>
                                                  <value name="VALUE">
                                                    <shadow type="logic_boolean" id="4a|pURbM1:O2kap4H-{L">
                                                      <field name="BOOL">TRUE</field>
                                                    </shadow>
                                                    <block type="math_number" id="vBrJUGPvW|2=m:}wn,EX">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <value name="DELAY_MS">
                                                    <shadow type="math_number" id=".qI)}.;TJa,nJu8R}eg1">
                                                      <field name="NUM">1000</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <statement name="ELSE">
                                            <block type="control_ex" id="5@%!$p~`tG#O)?ptW[S." inline="true">
                                              <field name="TYPE">false</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="OID">
                                                <shadow type="field_oid">
                                                  <field name="oid">Object ID</field>
                                                </shadow>
                                                <block type="variables_get" id="*Z;A`)hIr(*U*HEl]i8U">
                                                  <field name="VAR" id="mkB2np,J_YN+:@FWNl:n">Modus</field>
                                                </block>
                                              </value>
                                              <value name="VALUE">
                                                <shadow type="logic_boolean" id="i03NgIAwY!Za/+6G:GYb">
                                                  <field name="BOOL">TRUE</field>
                                                </shadow>
                                                <block type="math_number" id="39`NSAqi,:z`6:lSx!~A">
                                                  <field name="NUM">3</field>
                                                </block>
                                              </value>
                                              <value name="DELAY_MS">
                                                <shadow type="math_number" id="KqgyK8C,PADVnum`B2}n">
                                                  <field name="NUM">100</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="control_ex" id="X2k#s(KJtk!yTaMN(.`K" inline="true">
                                                  <field name="TYPE">false</field>
                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid">
                                                      <field name="oid">Object ID</field>
                                                    </shadow>
                                                    <block type="variables_get" id="NbeY4]#7Ng^(yPb*EB%R">
                                                      <field name="VAR" id="_WuM:0[JLiv8M4=8ZO,6">Modus_temp</field>
                                                    </block>
                                                  </value>
                                                  <value name="VALUE">
                                                    <shadow type="logic_boolean" id="r5D8U?,st(%)xT=3ys7y">
                                                      <field name="BOOL">TRUE</field>
                                                    </shadow>
                                                    <block type="math_number" id="sR)xq[cPP)L,$mJ3N6%S">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                  <value name="DELAY_MS">
                                                    <shadow type="math_number" id="|#lnf*uD.?culSGAqmC[">
                                                      <field name="NUM">1000</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    

                    und der kleine zum stoppen des Cron und dessen Neustart:

                    <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="._VMt[rSRT,W%7JDkucd" x="1787" y="2791">
                      <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="Wj/[{Uxw1GFgYKp7%s?,">
                          <field name="oid">default</field>
                        </shadow>
                        <block type="variables_get" id="[}8KbqPY?Dn2RolTO$:6">
                          <field name="VAR" id="=n5D?*HjzOxoNh5Yrz-_">Aufstehen</field>
                        </block>
                      </value>
                      <statement name="STATEMENT">
                        <block type="schedule_clear" id="4hklhzNp7eGCkxtMGIJ#">
                          <field name="NAME">hochfahren</field>
                          <next>
                            <block type="procedures_callnoreturn" id="x-h}DTjXnfD49=8i6oJY">
                              <mutation name="Sp1"></mutation>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    

                    Also nochmals Vielen Dank und Grüße aus Zwickau
                    René

                    paul53P 1 Antwort Letzte Antwort
                    0
                    • N NewPaint2

                      @paul53 Danke durch testen rausgefunden und es funktioniert super!

                      script.png

                      Mit Quelle meinte ich den Code aus dem Blockly:

                      <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="Intff9/XTInPLt%`5=Jf" x="1124" y="2549">
                        <field name="NAME">Sp1</field>
                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                        <statement name="STACK">
                          <block type="variables_set" id="jv;oQDdh0i^Akpws5M|C">
                            <field name="VAR" id="hG_-#.,BI6N0$9medpkG">Aufstehen_h</field>
                            <value name="VALUE">
                              <block type="text_getSubstring" id="M-*R4^hkp-iHJ{ARnifl">
                                <mutation at1="false" at2="true"></mutation>
                                <field name="WHERE1">FIRST</field>
                                <field name="WHERE2">FROM_START</field>
                                <value name="STRING">
                                  <block type="get_value_var" id="S`t:Io-1w,vu4/ww,g:7">
                                    <field name="ATTR">val</field>
                                    <value name="OID">
                                      <shadow type="text" id="mEkt,y]CNU%W8uBhH1~l">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="variables_get" id="gVhs]));|=_fktL+aR[.">
                                        <field name="VAR" id="=n5D?*HjzOxoNh5Yrz-_">Aufstehen</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="AT2">
                                  <block type="math_number" id="cw#^=%uK70Q@tLVwDj2J">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="4nFC:5R95mf^IgyZkN@2">
                                <field name="VAR" id=";5Kh](W5ZFBNz.]UtoH0">Aufstehen_min</field>
                                <value name="VALUE">
                                  <block type="text_getSubstring" id="8:,HeS~.re{b)Dk(x-$u">
                                    <mutation at1="true" at2="false"></mutation>
                                    <field name="WHERE1">FROM_START</field>
                                    <field name="WHERE2">LAST</field>
                                    <value name="STRING">
                                      <block type="get_value_var" id="2G5J2,*r|@$gL!SPx7TW">
                                        <field name="ATTR">val</field>
                                        <value name="OID">
                                          <shadow type="text">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="variables_get" id="AI@-xqwZ$kfo3BZnHOx(">
                                            <field name="VAR" id="=n5D?*HjzOxoNh5Yrz-_">Aufstehen</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="AT1">
                                      <block type="math_number" id="dvW!zk!~PBvXD^8@h{82">
                                        <field name="NUM">4</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="oV3GP+Ra-,0flKR6wU}Z">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="Sk%$YBiJzfOFCL8KGP^i">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="text_join" id="Cez[+:_)cz3Yw~4[S5MX">
                                        <mutation items="4"></mutation>
                                        <value name="ADD0">
                                          <block type="variables_get" id="]4h}XnL2`D9E}[o~adtt">
                                            <field name="VAR" id="hG_-#.,BI6N0$9medpkG">Aufstehen_h</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="text" id="i2W.5`vqKK|6BqJ]W8gt">
                                            <field name="TEXT">:</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="variables_get" id="?%Q7_jxJVjqw1HA7]2[y">
                                            <field name="VAR" id=";5Kh](W5ZFBNz.]UtoH0">Aufstehen_min</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="text" id="Hw0kEN4`JZpFYVNVK],`">
                                            <field name="TEXT"> Uhr geht die Heizung auf Komfort</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="schedule_create" id="oE],jqSmcGun^2.To)%l">
                                        <field name="NAME">hochfahren</field>
                                        <value name="SCHEDULE">
                                          <shadow type="field_cron" id="[2EJj8/{YcOi#zbsul0B">
                                            <field name="CRON">* * * * *</field>
                                          </shadow>
                                          <block type="cron_builder" id="#/_^}3$a{P*v5OU^AaRc">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                            <field name="LINE">FALSE</field>
                                            <field name="WITH_SECONDS">FALSE</field>
                                            <value name="DOW">
                                              <shadow type="text" id="Ddw=cBJz=4Jki(O?nka,">
                                                <field name="TEXT">*</field>
                                              </shadow>
                                            </value>
                                            <value name="MONTHS">
                                              <shadow type="text" id="o)g82=SzW5:*~}y}}`,8">
                                                <field name="TEXT">*</field>
                                              </shadow>
                                            </value>
                                            <value name="DAYS">
                                              <shadow type="text" id="%tx})b~RGr@{$C^B2vHx">
                                                <field name="TEXT">*</field>
                                              </shadow>
                                            </value>
                                            <value name="HOURS">
                                              <shadow type="text" id="9/w*t4:,[1V|5x`2y73A">
                                                <field name="TEXT">*</field>
                                              </shadow>
                                              <block type="variables_get" id="V?oIOgM6ZU)w|^`n()i8">
                                                <field name="VAR" id="hG_-#.,BI6N0$9medpkG">Aufstehen_h</field>
                                              </block>
                                            </value>
                                            <value name="MINUTES">
                                              <shadow type="text" id="9etZWD+827r#HDkDv:*2">
                                                <field name="TEXT">*</field>
                                              </shadow>
                                              <block type="variables_get" id="l10/^GAVs6LgBn-8E(Io">
                                                <field name="VAR" id=";5Kh](W5ZFBNz.]UtoH0">Aufstehen_min</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="tU@M!*bbo[v:YIT5#2kf">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="~M_Gl_Ivz5`e(.+0Ed|7">
                                                <field name="OP">NEQ</field>
                                                <value name="A">
                                                  <block type="get_value_var" id="iIFX7onKASj(v6J)WA|5">
                                                    <field name="ATTR">val</field>
                                                    <value name="OID">
                                                      <shadow type="text">
                                                        <field name="TEXT"></field>
                                                      </shadow>
                                                      <block type="variables_get" id="9_LSgK2O:obtOZd3D41m">
                                                        <field name="VAR" id="mkB2np,J_YN+:@FWNl:n">Modus</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="e$:e#~!T?pCdds.*2bT^">
                                                    <field name="NUM">3</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control_ex" id=")Yyw#/rQ5muY5@=w+`ud" inline="true">
                                                <field name="TYPE">false</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="OID">
                                                  <shadow type="field_oid">
                                                    <field name="oid">Object ID</field>
                                                  </shadow>
                                                  <block type="variables_get" id="#@:mQ+JgO(3tH?w{vYA!">
                                                    <field name="VAR" id="mkB2np,J_YN+:@FWNl:n">Modus</field>
                                                  </block>
                                                </value>
                                                <value name="VALUE">
                                                  <shadow type="logic_boolean" id="4.B5d(yK`VK4X}}H@GyJ">
                                                    <field name="BOOL">TRUE</field>
                                                  </shadow>
                                                  <block type="math_number" id="O{Q0I^KEQUF=2]O}ytQ+">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                                <value name="DELAY_MS">
                                                  <shadow type="math_number" id="zpsV@lh3J(gZ7%Qut4.#">
                                                    <field name="NUM">100</field>
                                                  </shadow>
                                                </value>
                                                <next>
                                                  <block type="control_ex" id="07@KwvKn[fs-Qf]2C9X6" inline="true">
                                                    <field name="TYPE">false</field>
                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                    <value name="OID">
                                                      <shadow type="field_oid">
                                                        <field name="oid">Object ID</field>
                                                      </shadow>
                                                      <block type="variables_get" id="9,,l8wmbc*(KYdL4K#S~">
                                                        <field name="VAR" id="_WuM:0[JLiv8M4=8ZO,6">Modus_temp</field>
                                                      </block>
                                                    </value>
                                                    <value name="VALUE">
                                                      <shadow type="logic_boolean" id="4a|pURbM1:O2kap4H-{L">
                                                        <field name="BOOL">TRUE</field>
                                                      </shadow>
                                                      <block type="math_number" id="vBrJUGPvW|2=m:}wn,EX">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                    <value name="DELAY_MS">
                                                      <shadow type="math_number" id=".qI)}.;TJa,nJu8R}eg1">
                                                        <field name="NUM">1000</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="control_ex" id="5@%!$p~`tG#O)?ptW[S." inline="true">
                                                <field name="TYPE">false</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="OID">
                                                  <shadow type="field_oid">
                                                    <field name="oid">Object ID</field>
                                                  </shadow>
                                                  <block type="variables_get" id="*Z;A`)hIr(*U*HEl]i8U">
                                                    <field name="VAR" id="mkB2np,J_YN+:@FWNl:n">Modus</field>
                                                  </block>
                                                </value>
                                                <value name="VALUE">
                                                  <shadow type="logic_boolean" id="i03NgIAwY!Za/+6G:GYb">
                                                    <field name="BOOL">TRUE</field>
                                                  </shadow>
                                                  <block type="math_number" id="39`NSAqi,:z`6:lSx!~A">
                                                    <field name="NUM">3</field>
                                                  </block>
                                                </value>
                                                <value name="DELAY_MS">
                                                  <shadow type="math_number" id="KqgyK8C,PADVnum`B2}n">
                                                    <field name="NUM">100</field>
                                                  </shadow>
                                                </value>
                                                <next>
                                                  <block type="control_ex" id="X2k#s(KJtk!yTaMN(.`K" inline="true">
                                                    <field name="TYPE">false</field>
                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                    <value name="OID">
                                                      <shadow type="field_oid">
                                                        <field name="oid">Object ID</field>
                                                      </shadow>
                                                      <block type="variables_get" id="NbeY4]#7Ng^(yPb*EB%R">
                                                        <field name="VAR" id="_WuM:0[JLiv8M4=8ZO,6">Modus_temp</field>
                                                      </block>
                                                    </value>
                                                    <value name="VALUE">
                                                      <shadow type="logic_boolean" id="r5D8U?,st(%)xT=3ys7y">
                                                        <field name="BOOL">TRUE</field>
                                                      </shadow>
                                                      <block type="math_number" id="sR)xq[cPP)L,$mJ3N6%S">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                    <value name="DELAY_MS">
                                                      <shadow type="math_number" id="|#lnf*uD.?culSGAqmC[">
                                                        <field name="NUM">1000</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      

                      und der kleine zum stoppen des Cron und dessen Neustart:

                      <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="._VMt[rSRT,W%7JDkucd" x="1787" y="2791">
                        <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="Wj/[{Uxw1GFgYKp7%s?,">
                            <field name="oid">default</field>
                          </shadow>
                          <block type="variables_get" id="[}8KbqPY?Dn2RolTO$:6">
                            <field name="VAR" id="=n5D?*HjzOxoNh5Yrz-_">Aufstehen</field>
                          </block>
                        </value>
                        <statement name="STATEMENT">
                          <block type="schedule_clear" id="4hklhzNp7eGCkxtMGIJ#">
                            <field name="NAME">hochfahren</field>
                            <next>
                              <block type="procedures_callnoreturn" id="x-h}DTjXnfD49=8i6oJY">
                                <mutation name="Sp1"></mutation>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      

                      Also nochmals Vielen Dank und Grüße aus Zwickau
                      René

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

                      @newpaint2 sagte: durch testen rausgefunden und es funktioniert super!

                      Weshalb verwendest Du nicht den Block "Liste aus Text erstellen"? Der hat den Vorteil, dass die Stunde in der Uhrzeit keine führende 0 haben muss.

                      Hier ein Export.

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable id="]MS9w#F_[LjZ=/#jqzI.">t</variable>
                         <variable type="cron" id="schedule1">schedule1</variable>
                       </variables>
                       <block type="procedures_defnoreturn" id="aOY$s-cxiif_Y~0kw2eV" x="13" y="12">
                         <mutation>
                           <arg name="t" varid="]MS9w#F_[LjZ=/#jqzI."></arg>
                         </mutation>
                         <field name="NAME">sp1</field>
                         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                         <statement name="STACK">
                           <block type="variables_set" id="fs;gy%vi@{-LT{Zg85Kw">
                             <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                             <value name="VALUE">
                               <block type="lists_split" id=":NpF2}JIjx]87RAZeOSJ">
                                 <mutation mode="SPLIT"></mutation>
                                 <field name="MODE">SPLIT</field>
                                 <value name="INPUT">
                                   <block type="variables_get" id="Na_8:{5(#3BogJnO*C.$">
                                     <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                                   </block>
                                 </value>
                                 <value name="DELIM">
                                   <shadow type="text" id="M.LX[TSenUDGb?%G5Jq~">
                                     <field name="TEXT">:</field>
                                   </shadow>
                                 </value>
                               </block>
                             </value>
                             <next>
                               <block type="schedule_create" id="vfPYib6Sm8}[NM3=.J.H">
                                 <field name="NAME">schedule1</field>
                                 <value name="SCHEDULE">
                                   <shadow type="field_cron" id="#h]H7y89%o397Y`8qTKu">
                                     <field name="CRON">* * * * *</field>
                                   </shadow>
                                   <block type="cron_builder" id="wm?DOg+4ii_#I#W;dD%q">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                     <field name="LINE">FALSE</field>
                                     <field name="WITH_SECONDS">FALSE</field>
                                     <value name="DOW">
                                       <shadow type="text" id="K;Af[qi16kYH4:t|YN1^">
                                         <field name="TEXT">*</field>
                                       </shadow>
                                     </value>
                                     <value name="MONTHS">
                                       <shadow type="text" id="g)p|GpjQMkf,G#^},$w?">
                                         <field name="TEXT">*</field>
                                       </shadow>
                                     </value>
                                     <value name="DAYS">
                                       <shadow type="text" id="@uFWWAVBMDkQ2:(cH~zN">
                                         <field name="TEXT">*</field>
                                       </shadow>
                                     </value>
                                     <value name="HOURS">
                                       <shadow type="text" id="JrvDES/8X0j^(xl:svZV">
                                         <field name="TEXT">*</field>
                                       </shadow>
                                       <block type="lists_getIndex" id="l=q6MZ17CjxhT?DH3oBr">
                                         <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="+iy6bV!D?+(j{GUp$_l5">
                                             <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                                           </block>
                                         </value>
                                         <value name="AT">
                                           <block type="math_number" id="aQo^)k!ddH%@fGW%v.5A">
                                             <field name="NUM">1</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="MINUTES">
                                       <shadow type="text" id="4u3hg@jpB]);?[Er}j9a">
                                         <field name="TEXT">*</field>
                                       </shadow>
                                       <block type="lists_getIndex" id="]R9O/CEl^_^Ja/HPEG}V">
                                         <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="dbHn.LvW@IKL2T3+5-pU">
                                             <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                                           </block>
                                         </value>
                                         <value name="AT">
                                           <block type="math_number" id="tl+{rr2Y-.C,E|8;1K=4">
                                             <field name="NUM">2</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="comment" id="7E}lLa][~d%Fi.~$0I;A">
                                     <field name="COMMENT">Aktion zur Uhrzeit</field>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                       <block type="procedures_callnoreturn" id="I$@6gKY+?uM%D^5bkEIj" inline="true" x="638" y="13">
                         <mutation name="sp1">
                           <arg name="t"></arg>
                         </mutation>
                         <value name="ARG0">
                           <block type="get_value" id="}W5*Qhj7~YE#1~vD9YF1">
                             <field name="ATTR">val</field>
                             <field name="OID">0_userdata.0.Blockly.Uhrzeit1</field>
                           </block>
                         </value>
                         <next>
                           <block type="on_ext" id="sl-V$,)^DT2.3BQ2.`h!">
                             <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="B,v^v}/zY22O^y[PmE_,">
                                 <field name="oid">0_userdata.0.Blockly.Uhrzeit1</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="schedule_clear" id="9*t)Y%ZSA*S?6u(RSl7}">
                                 <field name="NAME">schedule1</field>
                                 <next>
                                   <block type="procedures_callnoreturn" id="P=m2MqtO-@z`U0%t6@L9" inline="true">
                                     <mutation name="sp1">
                                       <arg name="t"></arg>
                                     </mutation>
                                     <value name="ARG0">
                                       <block type="on_source" id="$}KXQBw(k]yAjn5=8u]h">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </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

                      N 1 Antwort Letzte Antwort
                      1
                      • paul53P paul53

                        @newpaint2 sagte: durch testen rausgefunden und es funktioniert super!

                        Weshalb verwendest Du nicht den Block "Liste aus Text erstellen"? Der hat den Vorteil, dass die Stunde in der Uhrzeit keine führende 0 haben muss.

                        Hier ein Export.

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="]MS9w#F_[LjZ=/#jqzI.">t</variable>
                           <variable type="cron" id="schedule1">schedule1</variable>
                         </variables>
                         <block type="procedures_defnoreturn" id="aOY$s-cxiif_Y~0kw2eV" x="13" y="12">
                           <mutation>
                             <arg name="t" varid="]MS9w#F_[LjZ=/#jqzI."></arg>
                           </mutation>
                           <field name="NAME">sp1</field>
                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                           <statement name="STACK">
                             <block type="variables_set" id="fs;gy%vi@{-LT{Zg85Kw">
                               <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                               <value name="VALUE">
                                 <block type="lists_split" id=":NpF2}JIjx]87RAZeOSJ">
                                   <mutation mode="SPLIT"></mutation>
                                   <field name="MODE">SPLIT</field>
                                   <value name="INPUT">
                                     <block type="variables_get" id="Na_8:{5(#3BogJnO*C.$">
                                       <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                                     </block>
                                   </value>
                                   <value name="DELIM">
                                     <shadow type="text" id="M.LX[TSenUDGb?%G5Jq~">
                                       <field name="TEXT">:</field>
                                     </shadow>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="schedule_create" id="vfPYib6Sm8}[NM3=.J.H">
                                   <field name="NAME">schedule1</field>
                                   <value name="SCHEDULE">
                                     <shadow type="field_cron" id="#h]H7y89%o397Y`8qTKu">
                                       <field name="CRON">* * * * *</field>
                                     </shadow>
                                     <block type="cron_builder" id="wm?DOg+4ii_#I#W;dD%q">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                       <field name="LINE">FALSE</field>
                                       <field name="WITH_SECONDS">FALSE</field>
                                       <value name="DOW">
                                         <shadow type="text" id="K;Af[qi16kYH4:t|YN1^">
                                           <field name="TEXT">*</field>
                                         </shadow>
                                       </value>
                                       <value name="MONTHS">
                                         <shadow type="text" id="g)p|GpjQMkf,G#^},$w?">
                                           <field name="TEXT">*</field>
                                         </shadow>
                                       </value>
                                       <value name="DAYS">
                                         <shadow type="text" id="@uFWWAVBMDkQ2:(cH~zN">
                                           <field name="TEXT">*</field>
                                         </shadow>
                                       </value>
                                       <value name="HOURS">
                                         <shadow type="text" id="JrvDES/8X0j^(xl:svZV">
                                           <field name="TEXT">*</field>
                                         </shadow>
                                         <block type="lists_getIndex" id="l=q6MZ17CjxhT?DH3oBr">
                                           <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="+iy6bV!D?+(j{GUp$_l5">
                                               <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                                             </block>
                                           </value>
                                           <value name="AT">
                                             <block type="math_number" id="aQo^)k!ddH%@fGW%v.5A">
                                               <field name="NUM">1</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="MINUTES">
                                         <shadow type="text" id="4u3hg@jpB]);?[Er}j9a">
                                           <field name="TEXT">*</field>
                                         </shadow>
                                         <block type="lists_getIndex" id="]R9O/CEl^_^Ja/HPEG}V">
                                           <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="dbHn.LvW@IKL2T3+5-pU">
                                               <field name="VAR" id="]MS9w#F_[LjZ=/#jqzI.">t</field>
                                             </block>
                                           </value>
                                           <value name="AT">
                                             <block type="math_number" id="tl+{rr2Y-.C,E|8;1K=4">
                                               <field name="NUM">2</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="STATEMENT">
                                     <block type="comment" id="7E}lLa][~d%Fi.~$0I;A">
                                       <field name="COMMENT">Aktion zur Uhrzeit</field>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                         <block type="procedures_callnoreturn" id="I$@6gKY+?uM%D^5bkEIj" inline="true" x="638" y="13">
                           <mutation name="sp1">
                             <arg name="t"></arg>
                           </mutation>
                           <value name="ARG0">
                             <block type="get_value" id="}W5*Qhj7~YE#1~vD9YF1">
                               <field name="ATTR">val</field>
                               <field name="OID">0_userdata.0.Blockly.Uhrzeit1</field>
                             </block>
                           </value>
                           <next>
                             <block type="on_ext" id="sl-V$,)^DT2.3BQ2.`h!">
                               <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="B,v^v}/zY22O^y[PmE_,">
                                   <field name="oid">0_userdata.0.Blockly.Uhrzeit1</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="schedule_clear" id="9*t)Y%ZSA*S?6u(RSl7}">
                                   <field name="NAME">schedule1</field>
                                   <next>
                                     <block type="procedures_callnoreturn" id="P=m2MqtO-@z`U0%t6@L9" inline="true">
                                       <mutation name="sp1">
                                         <arg name="t"></arg>
                                       </mutation>
                                       <value name="ARG0">
                                         <block type="on_source" id="$}KXQBw(k]yAjn5=8u]h">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                        </xml>
                        

                        N Offline
                        N Offline
                        NewPaint2
                        schrieb am zuletzt editiert von
                        #11

                        @paul53 ups, garnich darüber nachgedacht, Danke für den Hinweis.

                        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

                        340

                        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