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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [Blockly] Weihnachtsbeleuchtung nach Datum

NEWS

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

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

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

[Blockly] Weihnachtsbeleuchtung nach Datum

Geplant Angeheftet Gesperrt Verschoben Blockly
27 Beiträge 5 Kommentatoren 3.0k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S Offline
    S Offline
    Superdad
    schrieb am zuletzt editiert von
    #8

    Danke!
    Habe es übernommen.

    CCU3

    iOBroker auf IntelNUC Proxmox

    BBTownB 1 Antwort Letzte Antwort
    0
    • S Superdad

      Danke!
      Habe es übernommen.

      BBTownB Offline
      BBTownB Offline
      BBTown
      schrieb am zuletzt editiert von
      #9

      @Superdad mach vorsichtshalber noch einmal ... ich habe es gerade noch einmal hochgeladen .... sorry

      ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

      1 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        Superdad
        schrieb am zuletzt editiert von
        #10

        Hab ich gemacht.
        Schaltet jetzt wahrscheinlich nicht weil Sonnenuntergang ja schon vorbei ist.
        Probier ich dann mal morgen aus.

        Nochmals vielen Dank!

        CCU3

        iOBroker auf IntelNUC Proxmox

        BBTownB 1 Antwort Letzte Antwort
        0
        • S Superdad

          Hab ich gemacht.
          Schaltet jetzt wahrscheinlich nicht weil Sonnenuntergang ja schon vorbei ist.
          Probier ich dann mal morgen aus.

          Nochmals vielen Dank!

          BBTownB Offline
          BBTownB Offline
          BBTown
          schrieb am zuletzt editiert von
          #11

          @Superdad schalte doch den/die Datenpunkte manuell ein, dann solltest Du zumindest schon mal den Ausschaltzeitpunkt testen können ...der muss eigentlich ohne wenn und aber funktionieren :sunglasses:

          ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

          SegwayS 1 Antwort Letzte Antwort
          0
          • S Offline
            S Offline
            Superdad
            schrieb am zuletzt editiert von
            #12

            Ich wollte eigentlich nur mal kurz ausprobieren und die Weihnachtsbeleuchtung nicht vor Totensonntag einschalten.
            Probier es dann lieber morgen.
            Danke!

            CCU3

            iOBroker auf IntelNUC Proxmox

            1 Antwort Letzte Antwort
            0
            • S Offline
              S Offline
              Superdad
              schrieb am zuletzt editiert von
              #13

              Ich habe es heute ausprobiert und es hat zum Sonnenuntergang eingeschalten.
              Danke!

              CCU3

              iOBroker auf IntelNUC Proxmox

              1 Antwort Letzte Antwort
              0
              • BBTownB BBTown

                @Superdad schalte doch den/die Datenpunkte manuell ein, dann solltest Du zumindest schon mal den Ausschaltzeitpunkt testen können ...der muss eigentlich ohne wenn und aber funktionieren :sunglasses:

                SegwayS Offline
                SegwayS Offline
                Segway
                schrieb am zuletzt editiert von Segway
                #14

                @BBTown und @Superdad

                Hab mal versucht das Blockly zu importieren. Läuft auf einen Fehler

                Ergänzung:
                ist OK - Telegram auf dem Testsystem war nicht mehr installiert !

                Gruß Dirk
                Intel Proxmox Cluster (3x NUC) mit Debian & Proxmox / IoB als VM unter Debian / 60+ Adapter installiert

                1 Antwort Letzte Antwort
                0
                • S Offline
                  S Offline
                  Superdad
                  schrieb am zuletzt editiert von
                  #15

                  Habe heute das Phänomen, dass die Weihnachtsbeleuchtung nicht eingeschalten hat.
                  Kann das mit dem Datum zusammen hängen?
                  Heute ist ja der 01.12.

                  CCU3

                  iOBroker auf IntelNUC Proxmox

                  BBTownB 1 Antwort Letzte Antwort
                  0
                  • S Superdad

                    Habe heute das Phänomen, dass die Weihnachtsbeleuchtung nicht eingeschalten hat.
                    Kann das mit dem Datum zusammen hängen?
                    Heute ist ja der 01.12.

                    BBTownB Offline
                    BBTownB Offline
                    BBTown
                    schrieb am zuletzt editiert von BBTown
                    #16

                    @Superdad dann muss doch der Dezember separat ausgewiesen werden, damit der 1.-16. Dezember auch angesprochen wird :-(

                    d3bea27c-7f88-4bc5-898c-54dcb3244409-image.png

                    ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      Superdad
                      schrieb am zuletzt editiert von
                      #17

                      Sorry, aber das versteh ich nicht ganz.
                      Wieso nur der 1. -16. Dezember?
                      Was ist nach dem 16. Dezember?

                      CCU3

                      iOBroker auf IntelNUC Proxmox

                      BBTownB 1 Antwort Letzte Antwort
                      0
                      • S Offline
                        S Offline
                        Superdad
                        schrieb am zuletzt editiert von
                        #18

                        Jetzt ist der Groschen gefallen!
                        Du prüfst nur ob der Monat Dezember gerade ist.
                        Der wird ja im Ganzen gebraucht.

                        Alles klar! Danke dir!

                        CCU3

                        iOBroker auf IntelNUC Proxmox

                        1 Antwort Letzte Antwort
                        0
                        • S Superdad

                          Sorry, aber das versteh ich nicht ganz.
                          Wieso nur der 1. -16. Dezember?
                          Was ist nach dem 16. Dezember?

                          BBTownB Offline
                          BBTownB Offline
                          BBTown
                          schrieb am zuletzt editiert von
                          #19

                          @Superdad nach meinem Verständnis ergibt das bisherige Script ein "true"-Datum in den Monaten 11 und 12 jeweils ab dem 17. .... nicht wie erhofft ab dem 17.11. und den ganzen Dezember . Es fehlt somit der 01. - 16. Dezember

                          Im neuen Script haben wir nun den November ab dem 17, oder den ganzen Dezember, oder den Januar bis zum 10.

                          ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                          1 Antwort Letzte Antwort
                          0
                          • opossumO Offline
                            opossumO Offline
                            opossum
                            schrieb am zuletzt editiert von opossum
                            #20

                            Hallo, @BBTown ,

                            würdest Du Dir mal dieses Blockly anschauen. Habe das heute geändert, meines hat nicht funktioniert.

                            <block xmlns="http://www.w3.org/1999/xhtml" id="Maqx,i1%viWIsix{-_ui" type="schedule" y="-187" x="-1687">
                              <field name="SCHEDULE">0 8,18 * * *</field>
                              <statement name="STATEMENT">
                                <block id="-V[zgWaB+Ux=T(4pvBXQ" type="controls_if">
                                  <value name="IF0">
                                    <block id="IW1%E_qYGt-;,Sr,-+y-" type="logic_operation" inline="false">
                                      <field name="OP">AND</field>
                                      <value name="A">
                                        <block id="7t`/0PVniOj^btX}l#D_" type="logic_operation" inline="false">
                                          <field name="OP">OR</field>
                                          <value name="A">
                                            <block id="nIt];269_l@)?e^TrQ$J" type="logic_operation" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block id="3=|^nIV4b`TK7B(%rqHY" type="logic_compare">
                                                  <field name="OP">GT</field>
                                                  <value name="A">
                                                    <block id="$,1I0-~6DZ$ZkkREuuDN" type="time_get">
                                                      <mutation language="false" format="false"></mutation>
                                                      <field name="OPTION">wd</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="K7?TyeS4Kf=[t+@5UK[*" type="math_number">
                                                      <field name="NUM">5</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block id="cWSJ~;Hmr).*l5e!Lu$=" type="logic_operation" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block id=",t|P%rkN?xU9Z[SRe]57" type="time_compare_ex">
                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                      <field name="OPTION">between</field>
                                                      <value name="START_TIME">
                                                        <shadow id="G$`(Pcq/+iGaXEPF^M{A" type="text">
                                                          <field name="TEXT">08:00</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="END_TIME">
                                                        <shadow id="`idhm:N+md?vE{!G}sZZ" type="text">
                                                          <field name="TEXT">22:00</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="@eQ^+e=KQgeLK8is$%L(" type="logic_operation" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block id="yqb?=i@isdZ`(tw5*U)Y" type="logic_compare">
                                                          <field name="OP">GTE</field>
                                                          <value name="A">
                                                            <block id="$Tw!0Minp4x(h|f?w%~n" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">d</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="e(RLV,[N/$,Gq^I9?`#6" type="math_number">
                                                              <field name="NUM">25</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block id="kA3B9RSE)lu)SWh_i)Zz" type="logic_compare">
                                                          <field name="OP">GT</field>
                                                          <value name="A">
                                                            <block id="M-e*kYt)=G/%9y;T:l5%" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">M</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="hcznVI6p^VCGA;Il[8!F" type="math_number">
                                                              <field name="NUM">10</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block id="/j2ZfO=5Y_R/D*)32H%N" type="logic_operation" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block id="nESG?B#xXk2:6^9uYxdi" type="logic_compare">
                                                  <field name="OP">LT</field>
                                                  <value name="A">
                                                    <block id="3t~J6Y|?v`;rJf(ZP[`N" type="time_get">
                                                      <mutation language="false" format="false"></mutation>
                                                      <field name="OPTION">wd</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="ccR+#irzQVJ@6K,1u}4+" type="math_number">
                                                      <field name="NUM">6</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block id="-s$l4rw-VJ2K=JZv3,GO" type="logic_operation" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block id="gB{O9S@EP5gNk7~|Z.p0" type="time_compare_ex">
                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                      <field name="OPTION">between</field>
                                                      <value name="START_TIME">
                                                        <shadow id="LLI`@Rw=[1$F$df5c7)%" type="text">
                                                          <field name="TEXT">1800</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="END_TIME">
                                                        <shadow id="#Bh+jseb??yNd}}H=VGd" type="text">
                                                          <field name="TEXT">22:00</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="Im;4A3S*M$+:d)j=(Cu#" type="logic_operation" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block id="i1h?:6Apln-2[2n;k9Gz" type="logic_compare">
                                                          <field name="OP">GTE</field>
                                                          <value name="A">
                                                            <block id="X;B]ZPErVC=.Rt=Pgmak" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">d</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="vtt7NvDc92sd`i|99Sc," type="math_number">
                                                              <field name="NUM">25</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block id="hJkY!p^~*M~0(mp-N2hD" type="logic_compare">
                                                          <field name="OP">GT</field>
                                                          <value name="A">
                                                            <block id="%Mc02Uq?q.*ypIUjl#EM" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">M</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="~hsjX#dEI}GJ:k2Qs$S@" type="math_number">
                                                              <field name="NUM">10</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block id="|P2~Aw4!7Dqe%~,FF_y{" type="logic_operation" inline="false">
                                          <field name="OP">OR</field>
                                          <value name="A">
                                            <block id="-5FEg.sRZ1|wsG]vyx=U" type="logic_operation" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block id="uF9b0=|/on8w:3?lVt_V" type="logic_compare">
                                                  <field name="OP">GT</field>
                                                  <value name="A">
                                                    <block id="`R*W#8f5CMbT6LyIyXD0" type="time_get">
                                                      <mutation language="false" format="false"></mutation>
                                                      <field name="OPTION">wd</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="KDNOO:-IL!VnV%:_3lcJ" type="math_number">
                                                      <field name="NUM">5</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block id="huHGSD`Z:8_/.!sF5PvS" type="logic_operation" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block id="?`q+sHUyk({#GmRZke{0" type="time_compare_ex">
                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                      <field name="OPTION">between</field>
                                                      <value name="START_TIME">
                                                        <shadow id="2+:_:W63s[?5QI^2{Ymp" type="text">
                                                          <field name="TEXT">08:00</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="END_TIME">
                                                        <shadow id="o0dea}0[Tw[bS7ER@#]2" type="text">
                                                          <field name="TEXT">22:00</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="ZUT*s$H!Tk=:2$LPNpB/" type="logic_operation" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block id="2V7BImOFp@6Kp`Gc]b+n" type="logic_compare">
                                                          <field name="OP">LTE</field>
                                                          <value name="A">
                                                            <block id="T~cZ2)6VTO.NKxY(WqDf" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">d</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="MBXR#y,aX.|fMBaH5uRv" type="math_number">
                                                              <field name="NUM">10</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block id="/ug;u072!?zC$OOC[bbp" type="logic_compare">
                                                          <field name="OP">LT</field>
                                                          <value name="A">
                                                            <block id=":p](V:I_tE+)69,b}e)v" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">M</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="e%+Y2[w6],0*I/M5%@kH" type="math_number">
                                                              <field name="NUM">2</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block id=".My=T2qR$!6m-@5aas35" type="logic_operation" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block id="%u?bHCkku{jvwjNWENw8" type="logic_compare">
                                                  <field name="OP">LT</field>
                                                  <value name="A">
                                                    <block id="N)z!UHds[b3!89a8Cvga" type="time_get">
                                                      <mutation language="false" format="false"></mutation>
                                                      <field name="OPTION">wd</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="z!QT^WFY[(PV~sBV}Vs)" type="math_number">
                                                      <field name="NUM">6</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block id="rh,[/M?UJBoS6ifnp+*U" type="logic_operation" inline="false">
                                                  <field name="OP">AND</field>
                                                  <value name="A">
                                                    <block id="mA%luupV!~V/(~|;]0X_" type="time_compare_ex">
                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                      <field name="OPTION">between</field>
                                                      <value name="START_TIME">
                                                        <shadow id="`wEapmZ9twAYkL@N:K4w" type="text">
                                                          <field name="TEXT">1800</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="END_TIME">
                                                        <shadow id="9F6n|Oa,dSV]dC/j`wZC" type="text">
                                                          <field name="TEXT">22:00</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="gHle31CmSKV98MgYp`W_" type="logic_operation" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block id="1$HLehU!K8L-wEN{~z:e" type="logic_compare">
                                                          <field name="OP">LTE</field>
                                                          <value name="A">
                                                            <block id="0ZV4/AZH,w[eUQ*]*UGd" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">d</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="(=U2d_3%mF2|tbJ.fEb1" type="math_number">
                                                              <field name="NUM">10</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block id="{tU6t(|HJTC#tY=*`$,b" type="logic_compare">
                                                          <field name="OP">LT</field>
                                                          <value name="A">
                                                            <block id="?Q%1XN8E9+B%^QZSAEci" type="time_get">
                                                              <mutation language="false" format="false"></mutation>
                                                              <field name="OPTION">M</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="xHX%#SAJMU!)RLM!J,6[" type="math_number">
                                                              <field name="NUM">2</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block id="A:/8ME2UchfO$ZK-J/=." type="controls_if">
                                      <mutation else="1"></mutation>
                                      <value name="IF0">
                                        <block id="f3P5Y@:Zr;z(D1t:PGc~" type="logic_compare">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block id="dk)XiD:{GBA3uFB{bTn9" type="get_value">
                                              <field name="ATTR">val</field>
                                              <field name="OID">admin.0.Anwesenheit</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block id="@oB1@pJ4PH@Y$/|d|O;n" type="logic_boolean">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block id="l}m3h0T66oHez{WA-8Nd" type="control">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rega.0.32710.ProgramExecute</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block id="$4%EJp5K9*L{QYWz$EE2" type="logic_boolean">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block id="raVSaEfKJQeC6FP~s)#Y" type="control">
                                              <mutation delay_input="true"></mutation>
                                              <field name="OID">hm-rega.0.32710.ProgramExecute</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">10000</field>
                                              <field name="UNIT">ms</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block id=".0GQ/f+njr01wnVr=|/+" type="logic_boolean">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <statement name="ELSE">
                                        <block id="@~$=QH~0/R.rLJVlw,n]" type="control">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rega.0.32739.ProgramExecute</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block id="Jx1cmB85;f(X`,y(/6UV" type="logic_boolean">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block id="1ET#yT=rV_zMHL0cBa^~" type="control">
                                              <mutation delay_input="true"></mutation>
                                              <field name="OID">hm-rega.0.32739.ProgramExecute</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">10000</field>
                                              <field name="UNIT">ms</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block id="7t(Krj!DVue=[9aYD?r(" type="logic_boolean">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                            

                            Ich möchte gern, dass zwischen dem 25.11. und dem 10.01. das Blockly am Wochentag um 18:00 und am Wochenende um 08.00 die Weihnachtsbeleuchtung einschaltet. Dabei soll die Beleuchtung nur eingeschaltet werden, wenn die Anwesenheit auf wahr steht. Bisher schaltet das Script nur um 08:00 Uhr. Egal ob Wochentag oder Wochenende.

                            Edit: Sorry, gerade noch einmal neu eingefügt.

                            https://schlepper-petersdorf.jimdofree.com/

                            BBTownB 1 Antwort Letzte Antwort
                            0
                            • opossumO opossum

                              Hallo, @BBTown ,

                              würdest Du Dir mal dieses Blockly anschauen. Habe das heute geändert, meines hat nicht funktioniert.

                              <block xmlns="http://www.w3.org/1999/xhtml" id="Maqx,i1%viWIsix{-_ui" type="schedule" y="-187" x="-1687">
                                <field name="SCHEDULE">0 8,18 * * *</field>
                                <statement name="STATEMENT">
                                  <block id="-V[zgWaB+Ux=T(4pvBXQ" type="controls_if">
                                    <value name="IF0">
                                      <block id="IW1%E_qYGt-;,Sr,-+y-" type="logic_operation" inline="false">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block id="7t`/0PVniOj^btX}l#D_" type="logic_operation" inline="false">
                                            <field name="OP">OR</field>
                                            <value name="A">
                                              <block id="nIt];269_l@)?e^TrQ$J" type="logic_operation" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block id="3=|^nIV4b`TK7B(%rqHY" type="logic_compare">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block id="$,1I0-~6DZ$ZkkREuuDN" type="time_get">
                                                        <mutation language="false" format="false"></mutation>
                                                        <field name="OPTION">wd</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="K7?TyeS4Kf=[t+@5UK[*" type="math_number">
                                                        <field name="NUM">5</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block id="cWSJ~;Hmr).*l5e!Lu$=" type="logic_operation" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block id=",t|P%rkN?xU9Z[SRe]57" type="time_compare_ex">
                                                        <mutation actual_time="true" end_time="true"></mutation>
                                                        <field name="USE_ACTUAL_TIME">TRUE</field>
                                                        <field name="OPTION">between</field>
                                                        <value name="START_TIME">
                                                          <shadow id="G$`(Pcq/+iGaXEPF^M{A" type="text">
                                                            <field name="TEXT">08:00</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="END_TIME">
                                                          <shadow id="`idhm:N+md?vE{!G}sZZ" type="text">
                                                            <field name="TEXT">22:00</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="@eQ^+e=KQgeLK8is$%L(" type="logic_operation" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block id="yqb?=i@isdZ`(tw5*U)Y" type="logic_compare">
                                                            <field name="OP">GTE</field>
                                                            <value name="A">
                                                              <block id="$Tw!0Minp4x(h|f?w%~n" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">d</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="e(RLV,[N/$,Gq^I9?`#6" type="math_number">
                                                                <field name="NUM">25</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block id="kA3B9RSE)lu)SWh_i)Zz" type="logic_compare">
                                                            <field name="OP">GT</field>
                                                            <value name="A">
                                                              <block id="M-e*kYt)=G/%9y;T:l5%" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">M</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="hcznVI6p^VCGA;Il[8!F" type="math_number">
                                                                <field name="NUM">10</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block id="/j2ZfO=5Y_R/D*)32H%N" type="logic_operation" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block id="nESG?B#xXk2:6^9uYxdi" type="logic_compare">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block id="3t~J6Y|?v`;rJf(ZP[`N" type="time_get">
                                                        <mutation language="false" format="false"></mutation>
                                                        <field name="OPTION">wd</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="ccR+#irzQVJ@6K,1u}4+" type="math_number">
                                                        <field name="NUM">6</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block id="-s$l4rw-VJ2K=JZv3,GO" type="logic_operation" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block id="gB{O9S@EP5gNk7~|Z.p0" type="time_compare_ex">
                                                        <mutation actual_time="true" end_time="true"></mutation>
                                                        <field name="USE_ACTUAL_TIME">TRUE</field>
                                                        <field name="OPTION">between</field>
                                                        <value name="START_TIME">
                                                          <shadow id="LLI`@Rw=[1$F$df5c7)%" type="text">
                                                            <field name="TEXT">1800</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="END_TIME">
                                                          <shadow id="#Bh+jseb??yNd}}H=VGd" type="text">
                                                            <field name="TEXT">22:00</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="Im;4A3S*M$+:d)j=(Cu#" type="logic_operation" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block id="i1h?:6Apln-2[2n;k9Gz" type="logic_compare">
                                                            <field name="OP">GTE</field>
                                                            <value name="A">
                                                              <block id="X;B]ZPErVC=.Rt=Pgmak" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">d</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="vtt7NvDc92sd`i|99Sc," type="math_number">
                                                                <field name="NUM">25</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block id="hJkY!p^~*M~0(mp-N2hD" type="logic_compare">
                                                            <field name="OP">GT</field>
                                                            <value name="A">
                                                              <block id="%Mc02Uq?q.*ypIUjl#EM" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">M</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="~hsjX#dEI}GJ:k2Qs$S@" type="math_number">
                                                                <field name="NUM">10</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block id="|P2~Aw4!7Dqe%~,FF_y{" type="logic_operation" inline="false">
                                            <field name="OP">OR</field>
                                            <value name="A">
                                              <block id="-5FEg.sRZ1|wsG]vyx=U" type="logic_operation" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block id="uF9b0=|/on8w:3?lVt_V" type="logic_compare">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block id="`R*W#8f5CMbT6LyIyXD0" type="time_get">
                                                        <mutation language="false" format="false"></mutation>
                                                        <field name="OPTION">wd</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="KDNOO:-IL!VnV%:_3lcJ" type="math_number">
                                                        <field name="NUM">5</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block id="huHGSD`Z:8_/.!sF5PvS" type="logic_operation" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block id="?`q+sHUyk({#GmRZke{0" type="time_compare_ex">
                                                        <mutation actual_time="true" end_time="true"></mutation>
                                                        <field name="USE_ACTUAL_TIME">TRUE</field>
                                                        <field name="OPTION">between</field>
                                                        <value name="START_TIME">
                                                          <shadow id="2+:_:W63s[?5QI^2{Ymp" type="text">
                                                            <field name="TEXT">08:00</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="END_TIME">
                                                          <shadow id="o0dea}0[Tw[bS7ER@#]2" type="text">
                                                            <field name="TEXT">22:00</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="ZUT*s$H!Tk=:2$LPNpB/" type="logic_operation" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block id="2V7BImOFp@6Kp`Gc]b+n" type="logic_compare">
                                                            <field name="OP">LTE</field>
                                                            <value name="A">
                                                              <block id="T~cZ2)6VTO.NKxY(WqDf" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">d</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="MBXR#y,aX.|fMBaH5uRv" type="math_number">
                                                                <field name="NUM">10</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block id="/ug;u072!?zC$OOC[bbp" type="logic_compare">
                                                            <field name="OP">LT</field>
                                                            <value name="A">
                                                              <block id=":p](V:I_tE+)69,b}e)v" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">M</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="e%+Y2[w6],0*I/M5%@kH" type="math_number">
                                                                <field name="NUM">2</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block id=".My=T2qR$!6m-@5aas35" type="logic_operation" inline="false">
                                                <field name="OP">AND</field>
                                                <value name="A">
                                                  <block id="%u?bHCkku{jvwjNWENw8" type="logic_compare">
                                                    <field name="OP">LT</field>
                                                    <value name="A">
                                                      <block id="N)z!UHds[b3!89a8Cvga" type="time_get">
                                                        <mutation language="false" format="false"></mutation>
                                                        <field name="OPTION">wd</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="z!QT^WFY[(PV~sBV}Vs)" type="math_number">
                                                        <field name="NUM">6</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block id="rh,[/M?UJBoS6ifnp+*U" type="logic_operation" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block id="mA%luupV!~V/(~|;]0X_" type="time_compare_ex">
                                                        <mutation actual_time="true" end_time="true"></mutation>
                                                        <field name="USE_ACTUAL_TIME">TRUE</field>
                                                        <field name="OPTION">between</field>
                                                        <value name="START_TIME">
                                                          <shadow id="`wEapmZ9twAYkL@N:K4w" type="text">
                                                            <field name="TEXT">1800</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="END_TIME">
                                                          <shadow id="9F6n|Oa,dSV]dC/j`wZC" type="text">
                                                            <field name="TEXT">22:00</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block id="gHle31CmSKV98MgYp`W_" type="logic_operation" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block id="1$HLehU!K8L-wEN{~z:e" type="logic_compare">
                                                            <field name="OP">LTE</field>
                                                            <value name="A">
                                                              <block id="0ZV4/AZH,w[eUQ*]*UGd" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">d</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="(=U2d_3%mF2|tbJ.fEb1" type="math_number">
                                                                <field name="NUM">10</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block id="{tU6t(|HJTC#tY=*`$,b" type="logic_compare">
                                                            <field name="OP">LT</field>
                                                            <value name="A">
                                                              <block id="?Q%1XN8E9+B%^QZSAEci" type="time_get">
                                                                <mutation language="false" format="false"></mutation>
                                                                <field name="OPTION">M</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block id="xHX%#SAJMU!)RLM!J,6[" type="math_number">
                                                                <field name="NUM">2</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block id="A:/8ME2UchfO$ZK-J/=." type="controls_if">
                                        <mutation else="1"></mutation>
                                        <value name="IF0">
                                          <block id="f3P5Y@:Zr;z(D1t:PGc~" type="logic_compare">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block id="dk)XiD:{GBA3uFB{bTn9" type="get_value">
                                                <field name="ATTR">val</field>
                                                <field name="OID">admin.0.Anwesenheit</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block id="@oB1@pJ4PH@Y$/|d|O;n" type="logic_boolean">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block id="l}m3h0T66oHez{WA-8Nd" type="control">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rega.0.32710.ProgramExecute</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block id="$4%EJp5K9*L{QYWz$EE2" type="logic_boolean">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block id="raVSaEfKJQeC6FP~s)#Y" type="control">
                                                <mutation delay_input="true"></mutation>
                                                <field name="OID">hm-rega.0.32710.ProgramExecute</field>
                                                <field name="WITH_DELAY">TRUE</field>
                                                <field name="DELAY_MS">10000</field>
                                                <field name="UNIT">ms</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="VALUE">
                                                  <block id=".0GQ/f+njr01wnVr=|/+" type="logic_boolean">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <statement name="ELSE">
                                          <block id="@~$=QH~0/R.rLJVlw,n]" type="control">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rega.0.32739.ProgramExecute</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block id="Jx1cmB85;f(X`,y(/6UV" type="logic_boolean">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block id="1ET#yT=rV_zMHL0cBa^~" type="control">
                                                <mutation delay_input="true"></mutation>
                                                <field name="OID">hm-rega.0.32739.ProgramExecute</field>
                                                <field name="WITH_DELAY">TRUE</field>
                                                <field name="DELAY_MS">10000</field>
                                                <field name="UNIT">ms</field>
                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                <value name="VALUE">
                                                  <block id="7t(Krj!DVue=[9aYD?r(" type="logic_boolean">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                              

                              Ich möchte gern, dass zwischen dem 25.11. und dem 10.01. das Blockly am Wochentag um 18:00 und am Wochenende um 08.00 die Weihnachtsbeleuchtung einschaltet. Dabei soll die Beleuchtung nur eingeschaltet werden, wenn die Anwesenheit auf wahr steht. Bisher schaltet das Script nur um 08:00 Uhr. Egal ob Wochentag oder Wochenende.

                              Edit: Sorry, gerade noch einmal neu eingefügt.

                              BBTownB Offline
                              BBTownB Offline
                              BBTown
                              schrieb am zuletzt editiert von
                              #21

                              @opossum ich bin gerade nicht zu Hause um das Blockly-Script zu importieren.
                              Stell daher doch bitte noch einen Screenshot vom Blockly rein

                              ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                              1 Antwort Letzte Antwort
                              0
                              • opossumO Offline
                                opossumO Offline
                                opossum
                                schrieb am zuletzt editiert von
                                #22

                                Hallo, @BBTown ,

                                danke für die schnelle Raktion, hätte aber durchaus Zeit gehabt. Hier der Screen:

                                84ff9124-083c-4c8e-873f-c55f07cfcdac-image.png

                                https://schlepper-petersdorf.jimdofree.com/

                                1 Antwort Letzte Antwort
                                0
                                • opossumO Offline
                                  opossumO Offline
                                  opossum
                                  schrieb am zuletzt editiert von opossum
                                  #23

                                  Hallo, @BBTown ,

                                  ich glaube, ich drehe die Falls-Bedingungen. Erst die Abfrage auf die Anwesenheit und nur dann, wenn die wahr ist, die Zeitbedinungen prüfen? das kostet weniger Laufzeit oder ist das egal?

                                  https://schlepper-petersdorf.jimdofree.com/

                                  BBTownB 1 Antwort Letzte Antwort
                                  0
                                  • opossumO opossum

                                    Hallo, @BBTown ,

                                    ich glaube, ich drehe die Falls-Bedingungen. Erst die Abfrage auf die Anwesenheit und nur dann, wenn die wahr ist, die Zeitbedinungen prüfen? das kostet weniger Laufzeit oder ist das egal?

                                    BBTownB Offline
                                    BBTownB Offline
                                    BBTown
                                    schrieb am zuletzt editiert von BBTown
                                    #24

                                    @opossum ich würde das in eine Funktion packen und deine Uhrzeiten/Cron-Trigger als Auslöser nehmen:

                                    Wochenende/Feiertag -> 08:00h einschalten = "LampeAn" -> Funktion "Beleuchtung" aufrufen
                                    Arbeitstag -> 18:00h einschalten = "LampeAn" -> Funktion "Beleuchtung" aufrufen
                                    täglich -> 22:00h ausschalten = "LampeAus" -> Funktion "Beleuchtung" aufrufen

                                    ioBroker auf NUC (VM debian v13 (Trixie ), node v22.21.0 npm v10.9.4, js-controller v7.1.0 jsonl/jsonl / HomeMatic CCU-2 (Wired und Funk) / Philips HUE / echo.DOT / Broadlink RM pro / SONOS

                                    1 Antwort Letzte Antwort
                                    0
                                    • opossumO Offline
                                      opossumO Offline
                                      opossum
                                      schrieb am zuletzt editiert von
                                      #25

                                      Hallo, @BBTown ,

                                      ok, das schaue ich mir an. Wenn ich nicht weiterkomme, würde ich mich noch einmal melden. Danke Dir.

                                      https://schlepper-petersdorf.jimdofree.com/

                                      1 Antwort Letzte Antwort
                                      0
                                      • opossumO Offline
                                        opossumO Offline
                                        opossum
                                        schrieb am zuletzt editiert von opossum
                                        #26

                                        Hallo,
                                        ich habe das jetzt hinbekommen, waren noch ein paar Schreibfehler bei den Uhrzeiten drin. Jetzt schaltet das Script um 18:01 Uhr die Beleuchtung ein (alles, was irgendwie mit Weihnachten und Licht zu tun hat). Ich schalte damit ein CuxD-Gerät. CuxD darum, weil die Brennenstuhlsteckdosen sich nur über das Brenenstuhlgateway ansteuern lassen. Das läuft noch über die CCU3. Ich musste aber in der CCU3 ein Programm bauen, dass keinen Trigger hat, sondern nur die drei Steckdosen im Dann-Zweig hat. Dieses Programm kann ich im Blockly mit Programm execute dann auf true schalten.
                                        314c0df2-6bf6-452c-b258-527ecdd8bb09-image.png
                                        Das Blockly zum Einschalten sieht jetzt so aus:

                                        <block xmlns="http://www.w3.org/1999/xhtml" id="Maqx,i1%viWIsix{-_ui" type="schedule" y="-1037" x="-2287">
                                          <field name="SCHEDULE">1 8,18 * * *</field>
                                          <statement name="STATEMENT">
                                            <block id="-V[zgWaB+Ux=T(4pvBXQ" type="controls_if">
                                              <mutation else="1"></mutation>
                                              <value name="IF0">
                                                <block id="f3P5Y@:Zr;z(D1t:PGc~" type="logic_compare">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block id="dk)XiD:{GBA3uFB{bTn9" type="get_value">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">admin.0.Anwesenheit</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block id="@oB1@pJ4PH@Y$/|d|O;n" type="logic_boolean">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block id="A:/8ME2UchfO$ZK-J/=." type="controls_if">
                                                  <value name="IF0">
                                                    <block id="IW1%E_qYGt-;,Sr,-+y-" type="logic_operation" inline="false">
                                                      <field name="OP">OR</field>
                                                      <value name="A">
                                                        <block id="7t`/0PVniOj^btX}l#D_" type="logic_operation" inline="false">
                                                          <field name="OP">OR</field>
                                                          <value name="A">
                                                            <block id="nIt];269_l@)?e^TrQ$J" type="logic_operation" inline="false">
                                                              <field name="OP">AND</field>
                                                              <value name="A">
                                                                <block id="3=|^nIV4b`TK7B(%rqHY" type="logic_compare">
                                                                  <field name="OP">GT</field>
                                                                  <value name="A">
                                                                    <block id="$,1I0-~6DZ$ZkkREuuDN" type="time_get">
                                                                      <mutation language="false" format="false"></mutation>
                                                                      <field name="OPTION">wd</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="K7?TyeS4Kf=[t+@5UK[*" type="math_number">
                                                                      <field name="NUM">5</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block id="cWSJ~;Hmr).*l5e!Lu$=" type="logic_operation" inline="false">
                                                                  <field name="OP">AND</field>
                                                                  <value name="A">
                                                                    <block id=",t|P%rkN?xU9Z[SRe]57" type="time_compare_ex">
                                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                      <field name="OPTION">between</field>
                                                                      <value name="START_TIME">
                                                                        <shadow id="G$`(Pcq/+iGaXEPF^M{A" type="text">
                                                                          <field name="TEXT">08:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="END_TIME">
                                                                        <shadow id="`idhm:N+md?vE{!G}sZZ" type="text">
                                                                          <field name="TEXT">22:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="uiZKS+Hg%H.0MZQbTxn!" type="logic_operation" inline="false">
                                                                      <field name="OP">OR</field>
                                                                      <value name="A">
                                                                        <block id="@eQ^+e=KQgeLK8is$%L(" type="logic_operation" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block id="yqb?=i@isdZ`(tw5*U)Y" type="logic_compare">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block id="$Tw!0Minp4x(h|f?w%~n" type="time_get">
                                                                                  <mutation language="false" format="false"></mutation>
                                                                                  <field name="OPTION">d</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block id="e(RLV,[N/$,Gq^I9?`#6" type="math_number">
                                                                                  <field name="NUM">25</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="kA3B9RSE)lu)SWh_i)Zz" type="logic_compare">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block id="M-e*kYt)=G/%9y;T:l5%" type="time_get">
                                                                                  <mutation language="false" format="false"></mutation>
                                                                                  <field name="OPTION">M</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block id="hcznVI6p^VCGA;Il[8!F" type="math_number">
                                                                                  <field name="NUM">11</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block id="AMk/vOJ3O7;TX,aDh!,^" type="logic_compare">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block id="$Yf0e2/S-{[/qgzDCugP" type="time_get">
                                                                              <mutation language="false" format="false"></mutation>
                                                                              <field name="OPTION">M</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="D-Gr|;hh_fJ2X:$YyfL~" type="math_number">
                                                                              <field name="NUM">12</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id="/j2ZfO=5Y_R/D*)32H%N" type="logic_operation" inline="false">
                                                              <field name="OP">AND</field>
                                                              <value name="A">
                                                                <block id="nESG?B#xXk2:6^9uYxdi" type="logic_compare">
                                                                  <field name="OP">LT</field>
                                                                  <value name="A">
                                                                    <block id="3t~J6Y|?v`;rJf(ZP[`N" type="time_get">
                                                                      <mutation language="false" format="false"></mutation>
                                                                      <field name="OPTION">wd</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="ccR+#irzQVJ@6K,1u}4+" type="math_number">
                                                                      <field name="NUM">6</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block id="-s$l4rw-VJ2K=JZv3,GO" type="logic_operation" inline="false">
                                                                  <field name="OP">AND</field>
                                                                  <value name="A">
                                                                    <block id="gB{O9S@EP5gNk7~|Z.p0" type="time_compare_ex">
                                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                      <field name="OPTION">between</field>
                                                                      <value name="START_TIME">
                                                                        <shadow id="LLI`@Rw=[1$F$df5c7)%" type="text">
                                                                          <field name="TEXT">18:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="END_TIME">
                                                                        <shadow id="#Bh+jseb??yNd}}H=VGd" type="text">
                                                                          <field name="TEXT">22:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="R6ij4vZHy/nO,P]_c$kP" type="logic_operation" inline="false">
                                                                      <field name="OP">OR</field>
                                                                      <value name="A">
                                                                        <block id="zJX{qyLwglIfT=]9G#54" type="logic_operation" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block id="rzwZDku3fB@^RE;7B^]," type="logic_compare">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block id="Qx;S:z9)~;DQ??8+s.4N" type="time_get">
                                                                                  <mutation language="false" format="false"></mutation>
                                                                                  <field name="OPTION">d</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block id="m;jiw?5HcZ;FE8h/5vE|" type="math_number">
                                                                                  <field name="NUM">25</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="/MUE#nFew`EHj%337#1#" type="logic_compare">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block id="B|$1fH^!4(RseR(;n^dC" type="time_get">
                                                                                  <mutation language="false" format="false"></mutation>
                                                                                  <field name="OPTION">M</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block id="pFJM9vz`*`YyxHnq$GjC" type="math_number">
                                                                                  <field name="NUM">11</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block id="4]mo5.#-c~Hq{?RvL.op" type="logic_compare">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block id="YJzLr)rrg|mmpYeb3:#N" type="time_get">
                                                                              <mutation language="false" format="false"></mutation>
                                                                              <field name="OPTION">M</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="8Ux2qW;J8XgX(fj6([ZK" type="math_number">
                                                                              <field name="NUM">12</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block id="|P2~Aw4!7Dqe%~,FF_y{" type="logic_operation" inline="false">
                                                          <field name="OP">OR</field>
                                                          <value name="A">
                                                            <block id="-5FEg.sRZ1|wsG]vyx=U" type="logic_operation" inline="false">
                                                              <field name="OP">AND</field>
                                                              <value name="A">
                                                                <block id="uF9b0=|/on8w:3?lVt_V" type="logic_compare">
                                                                  <field name="OP">GT</field>
                                                                  <value name="A">
                                                                    <block id="`R*W#8f5CMbT6LyIyXD0" type="time_get">
                                                                      <mutation language="false" format="false"></mutation>
                                                                      <field name="OPTION">wd</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="KDNOO:-IL!VnV%:_3lcJ" type="math_number">
                                                                      <field name="NUM">5</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block id="huHGSD`Z:8_/.!sF5PvS" type="logic_operation" inline="false">
                                                                  <field name="OP">AND</field>
                                                                  <value name="A">
                                                                    <block id="?`q+sHUyk({#GmRZke{0" type="time_compare_ex">
                                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                      <field name="OPTION">between</field>
                                                                      <value name="START_TIME">
                                                                        <shadow id="2+:_:W63s[?5QI^2{Ymp" type="text">
                                                                          <field name="TEXT">08:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="END_TIME">
                                                                        <shadow id="o0dea}0[Tw[bS7ER@#]2" type="text">
                                                                          <field name="TEXT">22:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="k:d5CousqRoRR`)u{+Ao" type="logic_operation" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block id="GoAn9W)7?xFbTrYC:JMN" type="logic_compare">
                                                                          <field name="OP">LTE</field>
                                                                          <value name="A">
                                                                            <block id="iJUUa5hb]3mk{_DOM?:^" type="time_get">
                                                                              <mutation language="false" format="false"></mutation>
                                                                              <field name="OPTION">d</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="`Kn+@?GdxY|k9Mc:?ecS" type="math_number">
                                                                              <field name="NUM">10</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block id="g`vAJRnmUf:%`jy7Z!x_" type="logic_compare">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block id="m?CI]f:bs=ZDhJ7ziiv/" type="time_get">
                                                                              <mutation language="false" format="false"></mutation>
                                                                              <field name="OPTION">M</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="3ar1|GuBMXz0tha4d,?U" type="math_number">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block id=".My=T2qR$!6m-@5aas35" type="logic_operation" inline="false">
                                                              <field name="OP">AND</field>
                                                              <value name="A">
                                                                <block id="%u?bHCkku{jvwjNWENw8" type="logic_compare">
                                                                  <field name="OP">LT</field>
                                                                  <value name="A">
                                                                    <block id="N)z!UHds[b3!89a8Cvga" type="time_get">
                                                                      <mutation language="false" format="false"></mutation>
                                                                      <field name="OPTION">wd</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="z!QT^WFY[(PV~sBV}Vs)" type="math_number">
                                                                      <field name="NUM">6</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block id="rh,[/M?UJBoS6ifnp+*U" type="logic_operation" inline="false">
                                                                  <field name="OP">AND</field>
                                                                  <value name="A">
                                                                    <block id="mA%luupV!~V/(~|;]0X_" type="time_compare_ex">
                                                                      <mutation actual_time="true" end_time="true"></mutation>
                                                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                      <field name="OPTION">between</field>
                                                                      <value name="START_TIME">
                                                                        <shadow id="`wEapmZ9twAYkL@N:K4w" type="text">
                                                                          <field name="TEXT">18:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="END_TIME">
                                                                        <shadow id="9F6n|Oa,dSV]dC/j`wZC" type="text">
                                                                          <field name="TEXT">22:00</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block id="gHle31CmSKV98MgYp`W_" type="logic_operation" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block id="1$HLehU!K8L-wEN{~z:e" type="logic_compare">
                                                                          <field name="OP">LTE</field>
                                                                          <value name="A">
                                                                            <block id="0ZV4/AZH,w[eUQ*]*UGd" type="time_get">
                                                                              <mutation language="false" format="false"></mutation>
                                                                              <field name="OPTION">M</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="(=U2d_3%mF2|tbJ.fEb1" type="math_number">
                                                                              <field name="NUM">10</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block id="{tU6t(|HJTC#tY=*`$,b" type="logic_compare">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block id="?Q%1XN8E9+B%^QZSAEci" type="time_get">
                                                                              <mutation language="false" format="false"></mutation>
                                                                              <field name="OPTION">M</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block id="xHX%#SAJMU!)RLM!J,6[" type="math_number">
                                                                              <field name="NUM">1</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block id="l}m3h0T66oHez{WA-8Nd" type="control">
                                                      <mutation delay_input="false"></mutation>
                                                      <field name="OID">hm-rega.0.32710.ProgramExecute</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block id="$4%EJp5K9*L{QYWz$EE2" type="logic_boolean">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block id="raVSaEfKJQeC6FP~s)#Y" type="control">
                                                          <mutation delay_input="true"></mutation>
                                                          <field name="OID">hm-rega.0.32710.ProgramExecute</field>
                                                          <field name="WITH_DELAY">TRUE</field>
                                                          <field name="DELAY_MS">10000</field>
                                                          <field name="UNIT">ms</field>
                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                          <value name="VALUE">
                                                            <block id=".0GQ/f+njr01wnVr=|/+" type="logic_boolean">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                              <statement name="ELSE">
                                                <block id="@~$=QH~0/R.rLJVlw,n]" type="control">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">hm-rega.0.32739.ProgramExecute</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block id="Jx1cmB85;f(X`,y(/6UV" type="logic_boolean">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block id="1ET#yT=rV_zMHL0cBa^~" type="control">
                                                      <mutation delay_input="true"></mutation>
                                                      <field name="OID">hm-rega.0.32739.ProgramExecute</field>
                                                      <field name="WITH_DELAY">TRUE</field>
                                                      <field name="DELAY_MS">10000</field>
                                                      <field name="UNIT">ms</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                      <value name="VALUE">
                                                        <block id="7t(Krj!DVue=[9aYD?r(" type="logic_boolean">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                        

                                        Sreenshot dazu:
                                        411cbeec-74b4-4fbd-b5ba-c6cae4dace85-image.png

                                        Ich schalte das True nach 10 Sekunden wieder auf false. Zum Ausschalten der Beleuchtung ebenfalls ein Dummyprogramm in der CCU.
                                        e073a583-8cde-4d51-8396-f6d793114aef-image.png .

                                        Ist vielleicht auch einfacher zu bauen, aber jetzt funktioniert es und der WAF steht wieder auf 100% :grin:

                                        https://schlepper-petersdorf.jimdofree.com/

                                        1 Antwort Letzte Antwort
                                        0
                                        • L Offline
                                          L Offline
                                          loverz
                                          schrieb am zuletzt editiert von loverz
                                          #27

                                          Habe mich versucht hier durchzuwurschteln, konnte aber keine wirkliche Lösung zu der Antwort des Thread-Erstellers finden.

                                          Eigentlich ist es doch ganz einfach was gewünscht wird:
                                          e71dfd66-04b0-4b54-9b36-1b2184385aaa-image.png

                                          Weihnachtsbeleuchtung soll nur vom 17.11. - 10.01. bei Sonnenuntergang geschaltet werden.

                                          Beim Abschalten muss man übrigens einen weiteren Tag hinzupacken, da sonst am 11. Januar nicht ausgeschaltet wird, wenn das wichtig ist:
                                          7cab2913-bc9a-49f0-920a-1e547b23a5c4-image.png

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          483

                                          Online

                                          32.7k

                                          Benutzer

                                          82.5k

                                          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