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 Superdad
    #1

    Kann mir jemand helfen und sagen, was in meinem Script verkehrt läuft?
    Es schaltet sich nicht ein.

    <xml xmlns="http://www.w3.org/1999/xhtml">
      <variables>
        <variable type="undefined" id="schedule">schedule</variable>
      </variables>
      <block type="comment" id=".J]XiV-_kWVahw=OB|dn" x="-787" y="-562">
        <field name="COMMENT">https://forum.iobroker.net/topic/20633/blockly-script-jedes-jahr-zu-einer-bestimmten-zeit-ausf%C3%BChren/6</field>
        <next>
          <block type="schedule_create" id="Z6Hwd@yMMk@t/-??iff?">
            <field name="NAME">schedule</field>
            <value name="SCHEDULE">
              <shadow type="field_cron" id="$@Rt?s)VzsN-+)--M,K1">
                <field name="CRON">* * * * *</field>
              </shadow>
              <block type="cron_builder" id="+nm3R/+m1R9WR#k8h^r)">
                <mutation seconds="false" as_line="false"></mutation>
                <field name="LINE">FALSE</field>
                <field name="WITH_SECONDS">FALSE</field>
                <value name="DOW">
                  <shadow type="text" id="|7=w+5HiA|e=t?#5E@{M">
                    <field name="TEXT">*</field>
                  </shadow>
                </value>
                <value name="MONTHS">
                  <shadow type="text" id="_TUa#=Ln6Xz1yC?(|mw-">
                    <field name="TEXT">11</field>
                  </shadow>
                </value>
                <value name="DAYS">
                  <shadow type="text" id="|vzAfDCHz~0I={H.8wGt">
                    <field name="TEXT">17</field>
                  </shadow>
                </value>
                <value name="HOURS">
                  <shadow type="text" id="M7ojTDy*x:#-W~IKcV)v">
                    <field name="TEXT">*</field>
                  </shadow>
                </value>
                <value name="MINUTES">
                  <shadow type="text" id="OT+sDPg4gJ!Lgwi0twA*">
                    <field name="TEXT">*</field>
                  </shadow>
                </value>
              </block>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="sh5dCo1p.5v_xi,-j78J">
                <value name="IF0">
                  <block type="logic_operation" id="Pn]=QtU6K{4Q?4ps=9lz" inline="false">
                    <field name="OP">OR</field>
                    <value name="A">
                      <block type="logic_compare" id="#`P4i-^Iz.T#ky6@5N9D">
                        <field name="OP">GTE</field>
                        <value name="A">
                          <block type="time_get" id="0n]5XeG46W?GBukNSv/0">
                            <mutation format="false" language="false"></mutation>
                            <field name="OPTION">MM/DD</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="44Qi1L.DOF2!~XaO/hD`">
                            <field name="TEXT">11/17</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="a$CaG}o|46Wusz97$+V*">
                        <field name="OP">LTE</field>
                        <value name="A">
                          <block type="time_get" id=")I2@?eo7JVep{}D$nfL^">
                            <mutation format="false" language="false"></mutation>
                            <field name="OPTION">MM/DD</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="azgRgrk6cR$JNN^Zh.2E">
                            <field name="TEXT">01/10</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="comment" id="]3P/6nt+cLbI`KR046%Q">
                    <field name="COMMENT">Schaltet die Beleuchtung Abends automatisch ein, wenn jamand nach Hause kommt.</field>
                    <next>
                      <block type="astro" id="^qf9c8@:NCX%*^{v;EVt">
                        <field name="TYPE">sunset</field>
                        <field name="OFFSET">0</field>
                        <statement name="STATEMENT">
                          <block type="debug" id="QFwD?x]@IRF[UT_IIO!j">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="hE@{srGz1[X[lCM5Uwn^">
                                <field name="TEXT">Nun wird Licht eingeschaltet!</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="control" id="?Ep6k)Zw,3IoI|rSGW{n">
                                <mutation delay_input="true"></mutation>
                                <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">1000</field>
                                <field name="UNIT">ms</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="fV,#X`Q:u1NCS^_dZHo[">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="qdUX9U@OGi)SXdcG1H1N">
                                    <mutation delay_input="true"></mutation>
                                    <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">2000</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="!o5BpH7*BvYlvM11@:el">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="telegram" id="LemUQ,sM{zL+2f50CC?y">
                                        <field name="INSTANCE">.0</field>
                                        <field name="LOG">log</field>
                                        <field name="SILENT">FALSE</field>
                                        <field name="PARSEMODE">default</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="q:!H|av]Uy6YK{H)mg~B">
                                            <field name="TEXT">Weihnachtsbeleuchtung an</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="schedule" id="#ZqPV4t5+dTCDVPZ}xAT">
                            <field name="SCHEDULE">0 23 * * *</field>
                            <statement name="STATEMENT">
                              <block type="control" id="c:m=e;w1]3~c3*)(7#k0">
                                <mutation delay_input="true"></mutation>
                                <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">1000</field>
                                <field name="UNIT">ms</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="[-,:l#uZAQtu+xWDu(dR">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="pjQ}~{W%My!|c_GLCQ0k">
                                    <mutation delay_input="true"></mutation>
                                    <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                    <field name="WITH_DELAY">TRUE</field>
                                    <field name="DELAY_MS">2000</field>
                                    <field name="UNIT">ms</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="/^~W=a2~AE8#P,o_c(C*">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="telegram" id="5P:F4p+~G{nLJ`=t/G#,">
                                        <field name="INSTANCE">.0</field>
                                        <field name="LOG">log</field>
                                        <field name="SILENT">FALSE</field>
                                        <field name="PARSEMODE">default</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="jx+0:r/2yP@=c0oc}E}y">
                                            <field name="TEXT">Weihnachtsbeleuchtung aus</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <next>
                              <block type="schedule" id="`r7+,^(;Jo.cXRoh_K^/">
                                <field name="SCHEDULE">0 5 * * *</field>
                                <statement name="STATEMENT">
                                  <block type="debug" id="l7N?aM[_raaqn~@D*CZ;">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="TH2[w,30Hg~kAvq#~KMG">
                                        <field name="TEXT">Nun wird Licht eingeschaltet!</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="control" id="OiSNz(2hu.A!3%q:E[EP">
                                        <mutation delay_input="true"></mutation>
                                        <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">1000</field>
                                        <field name="UNIT">ms</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="^OY#mr(U;+ptn5-RFMey">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="v959i}shE9F~p(Q4e.?]">
                                            <mutation delay_input="true"></mutation>
                                            <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">2000</field>
                                            <field name="UNIT">ms</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="wf@k`q{RrBIO4mp(vP7S">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="telegram" id="Z{njMV5xMvVjQ,:ddqiy">
                                                <field name="INSTANCE">.0</field>
                                                <field name="LOG">log</field>
                                                <field name="SILENT">FALSE</field>
                                                <field name="PARSEMODE">default</field>
                                                <value name="MESSAGE">
                                                  <shadow type="text" id="keG;a#gn+QGk,@fUQXJm">
                                                    <field name="TEXT">Weihnachtsbeleuchtung an</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="schedule" id="aY[sUVWTrOP0uujSBDct">
                                    <field name="SCHEDULE">15 7 * * *</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id=",@=JxMRZJTRO1/BHE*|q">
                                        <mutation delay_input="true"></mutation>
                                        <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">1000</field>
                                        <field name="UNIT">ms</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="8SJwasB{tF}~CFy;}~X}">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="D%NwBs`gwcx6dS{R`XiN">
                                            <mutation delay_input="true"></mutation>
                                            <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">2000</field>
                                            <field name="UNIT">ms</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="52p46zCQxlg9X)*)m9VE">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="telegram" id="pi;np|-}:E@]V@i7;Qtu">
                                                <field name="INSTANCE">.0</field>
                                                <field name="LOG">log</field>
                                                <field name="SILENT">FALSE</field>
                                                <field name="PARSEMODE">default</field>
                                                <value name="MESSAGE">
                                                  <shadow type="text" id="?fL`g%B~1u58M#00V!Uf">
                                                    <field name="TEXT">Weihnachtsbeleuchtung aus</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </xml>
    
    

    Weihnachtsbaum.jpg

    Weihnachtsbaum2.jpg

    CCU3

    iOBroker auf IntelNUC Proxmox

    BBTownB 1 Antwort Letzte Antwort
    0
    • S Superdad

      Kann mir jemand helfen und sagen, was in meinem Script verkehrt läuft?
      Es schaltet sich nicht ein.

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <variables>
          <variable type="undefined" id="schedule">schedule</variable>
        </variables>
        <block type="comment" id=".J]XiV-_kWVahw=OB|dn" x="-787" y="-562">
          <field name="COMMENT">https://forum.iobroker.net/topic/20633/blockly-script-jedes-jahr-zu-einer-bestimmten-zeit-ausf%C3%BChren/6</field>
          <next>
            <block type="schedule_create" id="Z6Hwd@yMMk@t/-??iff?">
              <field name="NAME">schedule</field>
              <value name="SCHEDULE">
                <shadow type="field_cron" id="$@Rt?s)VzsN-+)--M,K1">
                  <field name="CRON">* * * * *</field>
                </shadow>
                <block type="cron_builder" id="+nm3R/+m1R9WR#k8h^r)">
                  <mutation seconds="false" as_line="false"></mutation>
                  <field name="LINE">FALSE</field>
                  <field name="WITH_SECONDS">FALSE</field>
                  <value name="DOW">
                    <shadow type="text" id="|7=w+5HiA|e=t?#5E@{M">
                      <field name="TEXT">*</field>
                    </shadow>
                  </value>
                  <value name="MONTHS">
                    <shadow type="text" id="_TUa#=Ln6Xz1yC?(|mw-">
                      <field name="TEXT">11</field>
                    </shadow>
                  </value>
                  <value name="DAYS">
                    <shadow type="text" id="|vzAfDCHz~0I={H.8wGt">
                      <field name="TEXT">17</field>
                    </shadow>
                  </value>
                  <value name="HOURS">
                    <shadow type="text" id="M7ojTDy*x:#-W~IKcV)v">
                      <field name="TEXT">*</field>
                    </shadow>
                  </value>
                  <value name="MINUTES">
                    <shadow type="text" id="OT+sDPg4gJ!Lgwi0twA*">
                      <field name="TEXT">*</field>
                    </shadow>
                  </value>
                </block>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="sh5dCo1p.5v_xi,-j78J">
                  <value name="IF0">
                    <block type="logic_operation" id="Pn]=QtU6K{4Q?4ps=9lz" inline="false">
                      <field name="OP">OR</field>
                      <value name="A">
                        <block type="logic_compare" id="#`P4i-^Iz.T#ky6@5N9D">
                          <field name="OP">GTE</field>
                          <value name="A">
                            <block type="time_get" id="0n]5XeG46W?GBukNSv/0">
                              <mutation format="false" language="false"></mutation>
                              <field name="OPTION">MM/DD</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="44Qi1L.DOF2!~XaO/hD`">
                              <field name="TEXT">11/17</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="a$CaG}o|46Wusz97$+V*">
                          <field name="OP">LTE</field>
                          <value name="A">
                            <block type="time_get" id=")I2@?eo7JVep{}D$nfL^">
                              <mutation format="false" language="false"></mutation>
                              <field name="OPTION">MM/DD</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="azgRgrk6cR$JNN^Zh.2E">
                              <field name="TEXT">01/10</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="comment" id="]3P/6nt+cLbI`KR046%Q">
                      <field name="COMMENT">Schaltet die Beleuchtung Abends automatisch ein, wenn jamand nach Hause kommt.</field>
                      <next>
                        <block type="astro" id="^qf9c8@:NCX%*^{v;EVt">
                          <field name="TYPE">sunset</field>
                          <field name="OFFSET">0</field>
                          <statement name="STATEMENT">
                            <block type="debug" id="QFwD?x]@IRF[UT_IIO!j">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="hE@{srGz1[X[lCM5Uwn^">
                                  <field name="TEXT">Nun wird Licht eingeschaltet!</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="control" id="?Ep6k)Zw,3IoI|rSGW{n">
                                  <mutation delay_input="true"></mutation>
                                  <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">1000</field>
                                  <field name="UNIT">ms</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="fV,#X`Q:u1NCS^_dZHo[">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="qdUX9U@OGi)SXdcG1H1N">
                                      <mutation delay_input="true"></mutation>
                                      <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">2000</field>
                                      <field name="UNIT">ms</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="!o5BpH7*BvYlvM11@:el">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="telegram" id="LemUQ,sM{zL+2f50CC?y">
                                          <field name="INSTANCE">.0</field>
                                          <field name="LOG">log</field>
                                          <field name="SILENT">FALSE</field>
                                          <field name="PARSEMODE">default</field>
                                          <value name="MESSAGE">
                                            <shadow type="text" id="q:!H|av]Uy6YK{H)mg~B">
                                              <field name="TEXT">Weihnachtsbeleuchtung an</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="schedule" id="#ZqPV4t5+dTCDVPZ}xAT">
                              <field name="SCHEDULE">0 23 * * *</field>
                              <statement name="STATEMENT">
                                <block type="control" id="c:m=e;w1]3~c3*)(7#k0">
                                  <mutation delay_input="true"></mutation>
                                  <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">1000</field>
                                  <field name="UNIT">ms</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="[-,:l#uZAQtu+xWDu(dR">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="pjQ}~{W%My!|c_GLCQ0k">
                                      <mutation delay_input="true"></mutation>
                                      <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">2000</field>
                                      <field name="UNIT">ms</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="/^~W=a2~AE8#P,o_c(C*">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="telegram" id="5P:F4p+~G{nLJ`=t/G#,">
                                          <field name="INSTANCE">.0</field>
                                          <field name="LOG">log</field>
                                          <field name="SILENT">FALSE</field>
                                          <field name="PARSEMODE">default</field>
                                          <value name="MESSAGE">
                                            <shadow type="text" id="jx+0:r/2yP@=c0oc}E}y">
                                              <field name="TEXT">Weihnachtsbeleuchtung aus</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <next>
                                <block type="schedule" id="`r7+,^(;Jo.cXRoh_K^/">
                                  <field name="SCHEDULE">0 5 * * *</field>
                                  <statement name="STATEMENT">
                                    <block type="debug" id="l7N?aM[_raaqn~@D*CZ;">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="TH2[w,30Hg~kAvq#~KMG">
                                          <field name="TEXT">Nun wird Licht eingeschaltet!</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="control" id="OiSNz(2hu.A!3%q:E[EP">
                                          <mutation delay_input="true"></mutation>
                                          <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">1000</field>
                                          <field name="UNIT">ms</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="^OY#mr(U;+ptn5-RFMey">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="v959i}shE9F~p(Q4e.?]">
                                              <mutation delay_input="true"></mutation>
                                              <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">2000</field>
                                              <field name="UNIT">ms</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="wf@k`q{RrBIO4mp(vP7S">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="telegram" id="Z{njMV5xMvVjQ,:ddqiy">
                                                  <field name="INSTANCE">.0</field>
                                                  <field name="LOG">log</field>
                                                  <field name="SILENT">FALSE</field>
                                                  <field name="PARSEMODE">default</field>
                                                  <value name="MESSAGE">
                                                    <shadow type="text" id="keG;a#gn+QGk,@fUQXJm">
                                                      <field name="TEXT">Weihnachtsbeleuchtung an</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="schedule" id="aY[sUVWTrOP0uujSBDct">
                                      <field name="SCHEDULE">15 7 * * *</field>
                                      <statement name="STATEMENT">
                                        <block type="control" id=",@=JxMRZJTRO1/BHE*|q">
                                          <mutation delay_input="true"></mutation>
                                          <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">1000</field>
                                          <field name="UNIT">ms</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="8SJwasB{tF}~CFy;}~X}">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="D%NwBs`gwcx6dS{R`XiN">
                                              <mutation delay_input="true"></mutation>
                                              <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">2000</field>
                                              <field name="UNIT">ms</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="52p46zCQxlg9X)*)m9VE">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="telegram" id="pi;np|-}:E@]V@i7;Qtu">
                                                  <field name="INSTANCE">.0</field>
                                                  <field name="LOG">log</field>
                                                  <field name="SILENT">FALSE</field>
                                                  <field name="PARSEMODE">default</field>
                                                  <value name="MESSAGE">
                                                    <shadow type="text" id="?fL`g%B~1u58M#00V!Uf">
                                                      <field name="TEXT">Weihnachtsbeleuchtung aus</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </next>
        </block>
      </xml>
      
      

      Weihnachtsbaum.jpg

      Weihnachtsbaum2.jpg

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

      @Superdad als erstes: Trigger innerhalb von Triggern ist bei Höchststrafe verboten

      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
        #3

        Gut zu wissen!
        Aber das hilft mir jetzt nicht weiter.

        CCU3

        iOBroker auf IntelNUC Proxmox

        BBTownB 1 Antwort Letzte Antwort
        0
        • S Superdad

          Gut zu wissen!
          Aber das hilft mir jetzt nicht weiter.

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

          @Superdad
          Du könntest dieses mal probieren
          c61182bf-dc75-4da1-8e29-b59544d08245-image.png

          <xml xmlns="http://www.w3.org/1999/xhtml">
           <variables>
             <variable type="" id="*ov5.8W9_5[P2vTT#5mJ">Text</variable>
             <variable type="" id="XBNrjo~20gl=Ii/{@`Ov">Einschaltzeit</variable>
           </variables>
           <block type="astro" id="^qf9c8@:NCX%*^{v;EVt" x="-963" y="-488">
             <field name="TYPE">sunset</field>
             <field name="OFFSET">0</field>
             <statement name="STATEMENT">
               <block type="variables_set" id="WgpY[8@Dg[o{4?EDp8o;">
                 <field name="VAR" id="XBNrjo~20gl=Ii/{@`Ov" variabletype="">Einschaltzeit</field>
                 <value name="VALUE">
                   <block type="logic_boolean" id=",8c`i3fMT`.6zRA#,^#0">
                     <field name="BOOL">TRUE</field>
                   </block>
                 </value>
                 <next>
                   <block type="procedures_callnoreturn" id="wos+!%ZvEl8w|Y@7v;=|">
                     <mutation name="Weihnachtsbeleuchtung">
                       <arg name="Text"></arg>
                     </mutation>
                     <value name="ARG0">
                       <block type="text" id="fK+4B~Chpj{a6=jr%NaL">
                         <field name="TEXT">Die Weihnachtsbeleuchtung wurde eingeschaltet</field>
                       </block>
                     </value>
                   </block>
                 </next>
               </block>
             </statement>
             <next>
               <block type="schedule" id="#ZqPV4t5+dTCDVPZ}xAT">
                 <field name="SCHEDULE">0 23 * * *</field>
                 <statement name="STATEMENT">
                   <block type="variables_set" id="*9c6BN6uPZT:x29nV;7:">
                     <field name="VAR" id="XBNrjo~20gl=Ii/{@`Ov" variabletype="">Einschaltzeit</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="[^f*Y-`4ztfZB`Elpi+7">
                         <field name="BOOL">FALSE</field>
                       </block>
                     </value>
                     <next>
                       <block type="procedures_callnoreturn" id="*oT]DmReO|dQfr|A$C)K">
                         <mutation name="Weihnachtsbeleuchtung">
                           <arg name="Text"></arg>
                         </mutation>
                         <value name="ARG0">
                           <block type="text" id="PeVaJul3nW6@J6@f;K:y">
                             <field name="TEXT">Die Weihnachtsbeleuchtung wurde ausgeschaltet</field>
                           </block>
                         </value>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <next>
                   <block type="schedule" id="`r7+,^(;Jo.cXRoh_K^/">
                     <field name="SCHEDULE">0 5 * * *</field>
                     <statement name="STATEMENT">
                       <block type="variables_set" id="zNMqcHvLt(zL82%@B|%x">
                         <field name="VAR" id="XBNrjo~20gl=Ii/{@`Ov" variabletype="">Einschaltzeit</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="flUaC|~NF:[!6J3q_k43">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                         <next>
                           <block type="procedures_callnoreturn" id="HUjAesfqGU%~gpT-CpV1">
                             <mutation name="Weihnachtsbeleuchtung">
                               <arg name="Text"></arg>
                             </mutation>
                             <value name="ARG0">
                               <block type="text" id="u$!K:!C~mF~yceD^Sw4W">
                                 <field name="TEXT">Die Weihnachtsbeleuchtung wurde eingeschaltet</field>
                               </block>
                             </value>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <next>
                       <block type="schedule" id="aY[sUVWTrOP0uujSBDct">
                         <field name="SCHEDULE">15 7 * * *</field>
                         <statement name="STATEMENT">
                           <block type="variables_set" id="LBwb#km~Nx{=6uk]ri%W">
                             <field name="VAR" id="XBNrjo~20gl=Ii/{@`Ov" variabletype="">Einschaltzeit</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="j3q7+@g0%^G{8jT?07ND">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                             <next>
                               <block type="procedures_callnoreturn" id="wJEAH4f!4o7N8@;;2sK:">
                                 <mutation name="Weihnachtsbeleuchtung">
                                   <arg name="Text"></arg>
                                 </mutation>
                                 <value name="ARG0">
                                   <block type="text" id="*.R66j^e2}Q{x2S?dca(">
                                     <field name="TEXT">Die Weihnachtsbeleuchtung wurde ausgeschaltet</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </block>
           <block type="procedures_defnoreturn" id="^.z@MAT_+.0$Wc)7;c/[" x="-237" y="-488">
             <mutation>
               <arg name="Text" varid="*ov5.8W9_5[P2vTT#5mJ"></arg>
             </mutation>
             <field name="NAME">Weihnachtsbeleuchtung</field>
             <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
             <statement name="STACK">
               <block type="controls_if" id=".q7^/z^5w/}5/u2,;R~%">
                 <mutation else="1"></mutation>
                 <value name="IF0">
                   <block type="logic_operation" id="?]lJst/ht9f,Z~!^.+w3" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_operation" id="@dzvVtxF#LCm)W+{t8W*" inline="false">
                         <field name="OP">OR</field>
                         <value name="A">
                           <block type="logic_operation" id="gL|xqxZH3f3T4!=+G{.%" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_compare" id="KhARQBx?QvPv~VJ1b-?V">
                                 <field name="OP">GTE</field>
                                 <value name="A">
                                   <block type="time_get" id="McX`,o=as0,;:+:Lrre]">
                                     <mutation format="false" language="false"></mutation>
                                     <field name="OPTION">d</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="QL[L$ym71QHY9*SZYwj#">
                                     <field name="NUM">17</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="|XypdQI?bNz3G{+`FeX6">
                                 <field name="OP">GTE</field>
                                 <value name="A">
                                   <block type="time_get" id="fzxZ1B(RxMnjY@.0Hps?">
                                     <mutation format="false" language="false"></mutation>
                                     <field name="OPTION">M</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="*)gHwe}=:69UQ%VitNM8">
                                     <field name="NUM">11</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <value name="B">
                           <block type="logic_operation" id=";D)q/}5Da-OC=pI_h/?s" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_compare" id="vvV-Sq)5qouA0%^Xmol_">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="time_get" id="+UW6|]gUlG;#9U_QM=-l">
                                     <mutation format="false" language="false"></mutation>
                                     <field name="OPTION">M</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="g6Va{c2bd4;Z},7t:gIo">
                                     <field name="NUM">1</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="[jun6D|wii${a0l[++)b">
                                 <field name="OP">LTE</field>
                                 <value name="A">
                                   <block type="time_get" id="*~s%a5HOO|nF}jtpg?*a">
                                     <mutation format="false" language="false"></mutation>
                                     <field name="OPTION">d</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="c(V8t!?t-=*8Xp8G/C:5">
                                     <field name="NUM">10</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="variables_get" id="vq$IFEqt1QGNR.[Ob{V!">
                         <field name="VAR" id="XBNrjo~20gl=Ii/{@`Ov" variabletype="">Einschaltzeit</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="?Ep6k)Zw,3IoI|rSGW{n">
                     <mutation delay_input="true"></mutation>
                     <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                     <field name="WITH_DELAY">TRUE</field>
                     <field name="DELAY_MS">1</field>
                     <field name="UNIT">sec</field>
                     <field name="CLEAR_RUNNING">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="fV,#X`Q:u1NCS^_dZHo[">
                         <field name="BOOL">TRUE</field>
                       </block>
                     </value>
                     <next>
                       <block type="control" id="qdUX9U@OGi)SXdcG1H1N">
                         <mutation delay_input="true"></mutation>
                         <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                         <field name="WITH_DELAY">TRUE</field>
                         <field name="DELAY_MS">2</field>
                         <field name="UNIT">sec</field>
                         <field name="CLEAR_RUNNING">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="!o5BpH7*BvYlvM11@:el">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                         <next>
                           <block type="debug" id="QFwD?x]@IRF[UT_IIO!j">
                             <field name="Severity">log</field>
                             <value name="TEXT">
                               <shadow type="text" id="hE@{srGz1[X[lCM5Uwn^">
                                 <field name="TEXT">Nun wird Licht eingeschaltet!</field>
                               </shadow>
                               <block type="variables_get" id=":In=/KPxI.Brz4%fRAK:">
                                 <field name="VAR" id="*ov5.8W9_5[P2vTT#5mJ" variabletype="">Text</field>
                               </block>
                             </value>
                             <next>
                               <block type="telegram" id="LemUQ,sM{zL+2f50CC?y">
                                 <field name="INSTANCE">.0</field>
                                 <field name="LOG">log</field>
                                 <field name="SILENT">FALSE</field>
                                 <field name="PARSEMODE">default</field>
                                 <value name="MESSAGE">
                                   <shadow type="text" id="q:!H|av]Uy6YK{H)mg~B">
                                     <field name="TEXT">Weihnachtsbeleuchtung an</field>
                                   </shadow>
                                   <block type="variables_get" id="CGF+|WZF:m1}Y28@CnmH">
                                     <field name="VAR" id="*ov5.8W9_5[P2vTT#5mJ" variabletype="">Text</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <statement name="ELSE">
                   <block type="control" id="w`Agm(fe7l!FiXuByXn*">
                     <mutation delay_input="true"></mutation>
                     <field name="OID">hm-rpc.0.NEQ1316057.4.STATE</field>
                     <field name="WITH_DELAY">TRUE</field>
                     <field name="DELAY_MS">1</field>
                     <field name="UNIT">sec</field>
                     <field name="CLEAR_RUNNING">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="%5zYi-F-dys%)^IFC6NV">
                         <field name="BOOL">FALSE</field>
                       </block>
                     </value>
                     <next>
                       <block type="control" id="]JQ2PO~9VdVBW(VB03wU">
                         <mutation delay_input="true"></mutation>
                         <field name="OID">sonoff.0.Terrasse1.POWER1</field>
                         <field name="WITH_DELAY">TRUE</field>
                         <field name="DELAY_MS">2</field>
                         <field name="UNIT">sec</field>
                         <field name="CLEAR_RUNNING">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="[YdcmM(,.oUMT}(CNlvT">
                             <field name="BOOL">FALSE</field>
                           </block>
                         </value>
                         <next>
                           <block type="debug" id="`22rDV#)-,^SE7RnIkFX">
                             <field name="Severity">log</field>
                             <value name="TEXT">
                               <shadow type="text" id="hE@{srGz1[X[lCM5Uwn^">
                                 <field name="TEXT">Nun wird Licht eingeschaltet!</field>
                               </shadow>
                               <block type="variables_get" id="J[[@xfI$RwtCEaK8)0C@">
                                 <field name="VAR" id="*ov5.8W9_5[P2vTT#5mJ" variabletype="">Text</field>
                               </block>
                             </value>
                             <next>
                               <block type="telegram" id="+;UDDSmKnTlpk)Obvy|7">
                                 <field name="INSTANCE">.0</field>
                                 <field name="LOG">log</field>
                                 <field name="SILENT">FALSE</field>
                                 <field name="PARSEMODE">default</field>
                                 <value name="MESSAGE">
                                   <shadow type="text" id="q:!H|av]Uy6YK{H)mg~B">
                                     <field name="TEXT">Weihnachtsbeleuchtung an</field>
                                   </shadow>
                                   <block type="variables_get" id="@JTc}I1?-+,/VEORIhv@">
                                     <field name="VAR" id="*ov5.8W9_5[P2vTT#5mJ" variabletype="">Text</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </statement>
           </block>
          </xml>
          

          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
            #5

            Vielen Dank!
            Ich probier es mal aus.
            Ist nicht so einfach mit den Triggern.
            Zeit und Datum und alles in einem Script.

            CCU3

            iOBroker auf IntelNUC Proxmox

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

              Hast du das jetzt so schnell zusammen gestrickt?
              Respekt!

              CCU3

              iOBroker auf IntelNUC Proxmox

              BBTownB 1 Antwort Letzte Antwort
              0
              • S Superdad

                Hast du das jetzt so schnell zusammen gestrickt?
                Respekt!

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

                @Superdad ich hatte ja deinen Export :sunglasses:

                Das mit der Datumsabgrenzung habe ich vorher so noch nicht gemacht, ich hoffe das funktioniert so?!

                Datumsbereich soll sein: 17.11. - 10.01.
                4811e03c-c054-4907-9b79-7d2cbc8a2c44-image.png

                Da war noch Fehler, ich habe es oben korrigiert!!

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          485

                                          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