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. mehre Zeiten für einen Trigger

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.0k

mehre Zeiten für einen Trigger

Geplant Angeheftet Gesperrt Verschoben Blockly
16 Beiträge 6 Kommentatoren 1.1k Aufrufe 3 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.
  • B Offline
    B Offline
    Baummy
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich möchte gerne meine Rollos im Automatikbetrieb hoch und runter fahren (voraussichtlich nur, wenn ich beruflich weg bin oder im Urlaub bin)
    Dies soll täglich zu etwas unterschiedlichen Zeiten passieren, damit keiner ein System wie eine exakt gleiche Uhrzeit feststellen kann. Natürlich sind die Rollos im Winter früher zu schließen als im Winter.

    Ich habe mehrere Sachen ausprobiert.

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="tP=u3F@%p,ZDMy6;@V+|">schließen</variable>
        <variable type="cron" id="schedule1">schedule1</variable>
        <variable type="cron" id="schedule2">schedule2</variable>
      </variables>
      <block type="comment" id="YCL/!EP/88x_vo_Ia)vo" x="213" y="-1037">
        <field name="COMMENT">Versuch 1</field>
        <next>
          <block type="astro" id="=ER+r}fY.O?K@Z/MiQ!n" disabled="true">
            <field name="TYPE">dusk</field>
            <field name="OFFSET">11</field>
            <statement name="STATEMENT">
              <block type="comment" id="!ltNP6qN+-=`|]HM6(X`">
                <field name="COMMENT">Rollos oben</field>
                <next>
                  <block type="control" id="0s0vO[F$CxR=OMDBU}`/">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                    <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">5</field>
                    <field name="UNIT">min</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id=")n3n/_QQEa4BTl}Hhkv*">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="comment" id="!Dx16-ivkPqI3%RM7orR">
                        <field name="COMMENT">Rollos unten</field>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="astro" id="0Wag}TP{#wu4Rwayr:Lh" disabled="true">
                <field name="TYPE">sunrise</field>
                <field name="OFFSET">66</field>
                <statement name="STATEMENT">
                  <block type="comment" id="dwi4oa9FDmiUOZy1I7~[">
                    <field name="COMMENT">Rollos oben</field>
                    <next>
                      <block type="control" id="x6@-pW-b;l$X5-k|g#+Q">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                        <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">61</field>
                        <field name="UNIT">min</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="y*f*mg|GRTJ}8O+%#9rz">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="C*FS|n$idgx*M-X:/!Ql">
                            <field name="COMMENT">Rollos unten</field>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="comment" id="QT.JTmIm$$87-pN)D{0U">
                    <field name="COMMENT">Versuch 2</field>
                    <next>
                      <block type="variables_set" id="?n$yoMRqtsm;(GD@:B4H">
                        <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                        <value name="VALUE">
                          <block type="logic_null" id=":.@BnE`E`g_m3=`@%H!t"></block>
                        </value>
                        <next>
                          <block type="schedule_create" id=";S^iJ5ux%VU/7b[[Ge_R">
                            <field name="NAME">schedule1</field>
                            <value name="SCHEDULE">
                              <shadow type="field_cron" id="xwSw.vEK;.0ZO1C1rF)d">
                                <field name="CRON">*/10 * * * * *</field>
                              </shadow>
                              <block type="field_cron" id="oDg:wNJAv6Xjn^5Q,C_H">
                                <field name="CRON">{"time":{"exactTime":true,"start":"night"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                              </block>
                            </value>
                            <statement name="STATEMENT">
                              <block type="variables_set" id="G!g2d@Aa;/C,)yDU#eBh">
                                <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="qnANw5/n`Qa98m7r8!6$">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="whatsapp-cmb" id="a$N}|9A)IVhbPK2sVa08">
                                    <field name="INSTANCE"></field>
                                    <field name="LOG"></field>
                                    <value name="MESSAGE">
                                      <shadow type="text" id="ex`3@*w~jk6D?}LWMdts">
                                        <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 - Winter</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <next>
                              <block type="schedule_create" id="r3_B9SP}Iq_=.e61Tu_(">
                                <field name="NAME">schedule2</field>
                                <value name="SCHEDULE">
                                  <shadow type="field_cron" id="S0[)+[TWA}bdNvZNtrGq">
                                    <field name="CRON">* * * * *</field>
                                  </shadow>
                                  <block type="field_cron" id="/2(9BV1jS}c!7f2aEunk">
                                    <field name="CRON">{"time":{"exactTime":true,"start":"dusk"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                  </block>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="variables_set" id="6+5vz]u+UV2cuEfoMr.^">
                                    <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="?q8_2uL_epyKe0wA!Kzv">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="whatsapp-cmb" id="ET(-eB`1SAeG0cj1,9P0">
                                        <field name="INSTANCE"></field>
                                        <field name="LOG"></field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="seE0p;@n:Xvr_wR(?|KC">
                                            <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 Sommer</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="on_ext" id="?;$PQE,n/7yyx8aAI%bR">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                    <field name="CONDITION">true</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                      <shadow type="field_oid" id="tx[9;qQB/nzaBJL+$R)Q">
                                        <field name="oid">default</field>
                                      </shadow>
                                      <block type="variables_get" id="lgELXT^6?T80V~1iCMju">
                                        <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                      </block>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="comment" id="pIL_8OAFhjKw~3qA.GTk">
                                        <field name="COMMENT">Rollos oben</field>
                                        <next>
                                          <block type="control" id="O3}}X8RH8,[7{dtgmitv">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="Ry$$./b#{Z,}UxN5VVTC">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="comment" id="B*)WIT;0[OEE-p`Ke~sL">
                                                <field name="COMMENT">Rollos unten</field>
                                                <next>
                                                  <block type="variables_set" id="l{^*S?=?*7T#gld-(;,!">
                                                    <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="!,S|kWnlI*gFp757[r?C">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="comment" id="@NV0k%mGkCZ`pv`7c_1-">
                                        <field name="COMMENT">Versuch 3</field>
                                        <next>
                                          <block type="schedule" id=",e@}(ZQ1]HiR5-^QmHd0">
                                            <field name="SCHEDULE">{"time":{"exactTime":true,"start":"goldenHourEnd"},"valid":{"from":"31.07.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                            <statement name="STATEMENT">
                                              <block type="whatsapp-cmb" id="Z{LX;kcd-lR/;qoNcjGj">
                                                <field name="INSTANCE"></field>
                                                <field name="LOG"></field>
                                                <value name="MESSAGE">
                                                  <shadow type="text" id="(F$]I_bE)iza~gLibO[_">
                                                    <field name="TEXT">Test anderes Zeitglied - Goldene Stunde Ende</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="comment" id="-s{jumio4($hWWNvJ)2b">
                                                <field name="COMMENT">Versuch 4</field>
                                                <next>
                                                  <block type="on_ext" id="jk=i4sQ(4Ae#U^#Z/v`?">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                    <field name="CONDITION">ne</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <value name="OID0">
                                                      <shadow type="field_oid">
                                                        <field name="oid">default</field>
                                                      </shadow>
                                                      <block type="field_cron" id="$a[oWTrrV7$8eU1:kiR)">
                                                        <field name="CRON">{"time":{"exactTime":true,"start":"sunrise"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                                      </block>
                                                    </value>
                                                    <value name="OID1">
                                                      <shadow type="field_oid" id="-77kjpT2Nu(gZ[bJ]Lo8">
                                                        <field name="oid">default</field>
                                                      </shadow>
                                                      <block type="field_cron" id="($i`e%=DeRZpYGlS39nw">
                                                        <field name="CRON">{"time":{"exactTime":true,"start":"sunriseEnd"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="comment" id="0ZO]`Dhb.KLIAV-iA@yc">
                                                        <field name="COMMENT">Rollos oben</field>
                                                        <next>
                                                          <block type="control" id="g9iesV6bV;KH8$5o^)_|">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="qh!_ysiZk0+zv!9CL_i(">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="comment" id=";qyQD]uX`6OfZBmt!i7R">
                                                                <field name="COMMENT">Rollos unten</field>
                                                                <next>
                                                                  <block type="whatsapp-cmb" id="jcSb,;qar$UQ5kNQ+loU">
                                                                    <field name="INSTANCE"></field>
                                                                    <field name="LOG"></field>
                                                                    <value name="MESSAGE">
                                                                      <shadow type="text" id="#~Vlqn!dY1_xzVd1$}$A">
                                                                        <field name="TEXT">Rollos fahren hoch - Auto öffnen - Testglied unten links</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
      <block type="comment" id="Rmjz!b^,NQBXy9`g[J/R" x="638" y="-312">
        <field name="COMMENT">Versuch 2.2 </field>
        <next>
          <block type="comment" id="]R%Czl0!#C;9y$Vpn8z|">
            <field name="COMMENT">war mal testweise im Trigger - hat nicht funktioniert</field>
            <next>
              <block type="controls_if" id="1Yf3m@c|5GnW~[Ac*-]P">
                <value name="IF0">
                  <block type="logic_compare" id="vyv9HZQkZShUeWYDiZr8">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="65tM(qv7_p-Xycnh3u5*">
                        <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="fqsp5om`kVz(@2$`@LUr">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="/F|wc9cx~3h=-/j/3AL.">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="X[xZa1:9iAK[bSYR[$DF">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    

    Versuch 1:
    Das Problem ist, dass ich im Winter die Rollos super spät hochfahren und super früh runter. Im Sommer genau umgekehrt.

    Versuch 2:
    Daher habe ich probiert mehrere Zeittrigger zu nehmen und mit der Wizard-funktion dann verschiedene Modi, wie "Sonnenaufgang" und "Sonnenaufgang ENDE" zu nutzen. Dann sollte eine Variabel gesetzt werden, die dann die Rollos betätigt.
    Da die Whatsappbenachrichtung funktioniert, müsste ich dann alle weiteren Funktionen ein dutzend mal kopieren und anpassen.
    Irgendwie bekomm ich das nicht mit der Variable hin.
    Wenn diese Funktion gehen würde, wäre ich recht zufrieden gewesen, da ich so nicht alle Rollos mehrmals habe.

    Versuch 3:
    geht aus irgend einem Grund gar nicht. Versteh ich nicht so ganz

    Versuch 4:
    wie 3. Sollte eigentlich auch funktionieren. Fehler sehe ich nicht.

    Wenn alle Stricke reißen, muss ich halt Version 3 nehmen und dann herausfinden welche "Modi" also Sonnenaufgang, etc. am besten für die ensprechenden Monate sind. und dann immer Copy and paste machen.

    Ein "Ausführen in x Minuten" wäre ebenfalls praktisch. Gibt es aber nur bei die nomralen Astros. und die sind im Winter, so wie im Sommer gleich.

    Ein Chaosprinzip in einem gewissen Zeitraum ist nicht möglich??

    Hat jemand eine Idee wie ich meine Wünsche besser programmieren kann?

    Zur besseren Übersicht habe ich je nur ein Rollo genommen. In echt sind es ein paar mehr, inklusive Lampen die noch ein und ausschalten ;)

    Besten DANK für eure Hilfe.

    A DJMarc75D paul53P 3 Antworten Letzte Antwort
    0
    • B Baummy

      Hallo,

      ich möchte gerne meine Rollos im Automatikbetrieb hoch und runter fahren (voraussichtlich nur, wenn ich beruflich weg bin oder im Urlaub bin)
      Dies soll täglich zu etwas unterschiedlichen Zeiten passieren, damit keiner ein System wie eine exakt gleiche Uhrzeit feststellen kann. Natürlich sind die Rollos im Winter früher zu schließen als im Winter.

      Ich habe mehrere Sachen ausprobiert.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="tP=u3F@%p,ZDMy6;@V+|">schließen</variable>
          <variable type="cron" id="schedule1">schedule1</variable>
          <variable type="cron" id="schedule2">schedule2</variable>
        </variables>
        <block type="comment" id="YCL/!EP/88x_vo_Ia)vo" x="213" y="-1037">
          <field name="COMMENT">Versuch 1</field>
          <next>
            <block type="astro" id="=ER+r}fY.O?K@Z/MiQ!n" disabled="true">
              <field name="TYPE">dusk</field>
              <field name="OFFSET">11</field>
              <statement name="STATEMENT">
                <block type="comment" id="!ltNP6qN+-=`|]HM6(X`">
                  <field name="COMMENT">Rollos oben</field>
                  <next>
                    <block type="control" id="0s0vO[F$CxR=OMDBU}`/">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                      <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">5</field>
                      <field name="UNIT">min</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id=")n3n/_QQEa4BTl}Hhkv*">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                      <next>
                        <block type="comment" id="!Dx16-ivkPqI3%RM7orR">
                          <field name="COMMENT">Rollos unten</field>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="astro" id="0Wag}TP{#wu4Rwayr:Lh" disabled="true">
                  <field name="TYPE">sunrise</field>
                  <field name="OFFSET">66</field>
                  <statement name="STATEMENT">
                    <block type="comment" id="dwi4oa9FDmiUOZy1I7~[">
                      <field name="COMMENT">Rollos oben</field>
                      <next>
                        <block type="control" id="x6@-pW-b;l$X5-k|g#+Q">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                          <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">61</field>
                          <field name="UNIT">min</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="y*f*mg|GRTJ}8O+%#9rz">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="comment" id="C*FS|n$idgx*M-X:/!Ql">
                              <field name="COMMENT">Rollos unten</field>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="comment" id="QT.JTmIm$$87-pN)D{0U">
                      <field name="COMMENT">Versuch 2</field>
                      <next>
                        <block type="variables_set" id="?n$yoMRqtsm;(GD@:B4H">
                          <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                          <value name="VALUE">
                            <block type="logic_null" id=":.@BnE`E`g_m3=`@%H!t"></block>
                          </value>
                          <next>
                            <block type="schedule_create" id=";S^iJ5ux%VU/7b[[Ge_R">
                              <field name="NAME">schedule1</field>
                              <value name="SCHEDULE">
                                <shadow type="field_cron" id="xwSw.vEK;.0ZO1C1rF)d">
                                  <field name="CRON">*/10 * * * * *</field>
                                </shadow>
                                <block type="field_cron" id="oDg:wNJAv6Xjn^5Q,C_H">
                                  <field name="CRON">{"time":{"exactTime":true,"start":"night"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                </block>
                              </value>
                              <statement name="STATEMENT">
                                <block type="variables_set" id="G!g2d@Aa;/C,)yDU#eBh">
                                  <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="qnANw5/n`Qa98m7r8!6$">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="whatsapp-cmb" id="a$N}|9A)IVhbPK2sVa08">
                                      <field name="INSTANCE"></field>
                                      <field name="LOG"></field>
                                      <value name="MESSAGE">
                                        <shadow type="text" id="ex`3@*w~jk6D?}LWMdts">
                                          <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 - Winter</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <next>
                                <block type="schedule_create" id="r3_B9SP}Iq_=.e61Tu_(">
                                  <field name="NAME">schedule2</field>
                                  <value name="SCHEDULE">
                                    <shadow type="field_cron" id="S0[)+[TWA}bdNvZNtrGq">
                                      <field name="CRON">* * * * *</field>
                                    </shadow>
                                    <block type="field_cron" id="/2(9BV1jS}c!7f2aEunk">
                                      <field name="CRON">{"time":{"exactTime":true,"start":"dusk"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                    </block>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="variables_set" id="6+5vz]u+UV2cuEfoMr.^">
                                      <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="?q8_2uL_epyKe0wA!Kzv">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="whatsapp-cmb" id="ET(-eB`1SAeG0cj1,9P0">
                                          <field name="INSTANCE"></field>
                                          <field name="LOG"></field>
                                          <value name="MESSAGE">
                                            <shadow type="text" id="seE0p;@n:Xvr_wR(?|KC">
                                              <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 Sommer</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="on_ext" id="?;$PQE,n/7yyx8aAI%bR">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                      <field name="CONDITION">true</field>
                                      <field name="ACK_CONDITION"></field>
                                      <value name="OID0">
                                        <shadow type="field_oid" id="tx[9;qQB/nzaBJL+$R)Q">
                                          <field name="oid">default</field>
                                        </shadow>
                                        <block type="variables_get" id="lgELXT^6?T80V~1iCMju">
                                          <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                        </block>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="comment" id="pIL_8OAFhjKw~3qA.GTk">
                                          <field name="COMMENT">Rollos oben</field>
                                          <next>
                                            <block type="control" id="O3}}X8RH8,[7{dtgmitv">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="Ry$$./b#{Z,}UxN5VVTC">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="comment" id="B*)WIT;0[OEE-p`Ke~sL">
                                                  <field name="COMMENT">Rollos unten</field>
                                                  <next>
                                                    <block type="variables_set" id="l{^*S?=?*7T#gld-(;,!">
                                                      <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="!,S|kWnlI*gFp757[r?C">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="comment" id="@NV0k%mGkCZ`pv`7c_1-">
                                          <field name="COMMENT">Versuch 3</field>
                                          <next>
                                            <block type="schedule" id=",e@}(ZQ1]HiR5-^QmHd0">
                                              <field name="SCHEDULE">{"time":{"exactTime":true,"start":"goldenHourEnd"},"valid":{"from":"31.07.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                              <statement name="STATEMENT">
                                                <block type="whatsapp-cmb" id="Z{LX;kcd-lR/;qoNcjGj">
                                                  <field name="INSTANCE"></field>
                                                  <field name="LOG"></field>
                                                  <value name="MESSAGE">
                                                    <shadow type="text" id="(F$]I_bE)iza~gLibO[_">
                                                      <field name="TEXT">Test anderes Zeitglied - Goldene Stunde Ende</field>
                                                    </shadow>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="comment" id="-s{jumio4($hWWNvJ)2b">
                                                  <field name="COMMENT">Versuch 4</field>
                                                  <next>
                                                    <block type="on_ext" id="jk=i4sQ(4Ae#U^#Z/v`?">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                      <field name="CONDITION">ne</field>
                                                      <field name="ACK_CONDITION"></field>
                                                      <value name="OID0">
                                                        <shadow type="field_oid">
                                                          <field name="oid">default</field>
                                                        </shadow>
                                                        <block type="field_cron" id="$a[oWTrrV7$8eU1:kiR)">
                                                          <field name="CRON">{"time":{"exactTime":true,"start":"sunrise"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                                        </block>
                                                      </value>
                                                      <value name="OID1">
                                                        <shadow type="field_oid" id="-77kjpT2Nu(gZ[bJ]Lo8">
                                                          <field name="oid">default</field>
                                                        </shadow>
                                                        <block type="field_cron" id="($i`e%=DeRZpYGlS39nw">
                                                          <field name="CRON">{"time":{"exactTime":true,"start":"sunriseEnd"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                        </block>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="comment" id="0ZO]`Dhb.KLIAV-iA@yc">
                                                          <field name="COMMENT">Rollos oben</field>
                                                          <next>
                                                            <block type="control" id="g9iesV6bV;KH8$5o^)_|">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="qh!_ysiZk0+zv!9CL_i(">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="comment" id=";qyQD]uX`6OfZBmt!i7R">
                                                                  <field name="COMMENT">Rollos unten</field>
                                                                  <next>
                                                                    <block type="whatsapp-cmb" id="jcSb,;qar$UQ5kNQ+loU">
                                                                      <field name="INSTANCE"></field>
                                                                      <field name="LOG"></field>
                                                                      <value name="MESSAGE">
                                                                        <shadow type="text" id="#~Vlqn!dY1_xzVd1$}$A">
                                                                          <field name="TEXT">Rollos fahren hoch - Auto öffnen - Testglied unten links</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
        <block type="comment" id="Rmjz!b^,NQBXy9`g[J/R" x="638" y="-312">
          <field name="COMMENT">Versuch 2.2 </field>
          <next>
            <block type="comment" id="]R%Czl0!#C;9y$Vpn8z|">
              <field name="COMMENT">war mal testweise im Trigger - hat nicht funktioniert</field>
              <next>
                <block type="controls_if" id="1Yf3m@c|5GnW~[Ac*-]P">
                  <value name="IF0">
                    <block type="logic_compare" id="vyv9HZQkZShUeWYDiZr8">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="variables_get" id="65tM(qv7_p-Xycnh3u5*">
                          <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="fqsp5om`kVz(@2$`@LUr">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="/F|wc9cx~3h=-/j/3AL.">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="X[xZa1:9iAK[bSYR[$DF">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      Versuch 1:
      Das Problem ist, dass ich im Winter die Rollos super spät hochfahren und super früh runter. Im Sommer genau umgekehrt.

      Versuch 2:
      Daher habe ich probiert mehrere Zeittrigger zu nehmen und mit der Wizard-funktion dann verschiedene Modi, wie "Sonnenaufgang" und "Sonnenaufgang ENDE" zu nutzen. Dann sollte eine Variabel gesetzt werden, die dann die Rollos betätigt.
      Da die Whatsappbenachrichtung funktioniert, müsste ich dann alle weiteren Funktionen ein dutzend mal kopieren und anpassen.
      Irgendwie bekomm ich das nicht mit der Variable hin.
      Wenn diese Funktion gehen würde, wäre ich recht zufrieden gewesen, da ich so nicht alle Rollos mehrmals habe.

      Versuch 3:
      geht aus irgend einem Grund gar nicht. Versteh ich nicht so ganz

      Versuch 4:
      wie 3. Sollte eigentlich auch funktionieren. Fehler sehe ich nicht.

      Wenn alle Stricke reißen, muss ich halt Version 3 nehmen und dann herausfinden welche "Modi" also Sonnenaufgang, etc. am besten für die ensprechenden Monate sind. und dann immer Copy and paste machen.

      Ein "Ausführen in x Minuten" wäre ebenfalls praktisch. Gibt es aber nur bei die nomralen Astros. und die sind im Winter, so wie im Sommer gleich.

      Ein Chaosprinzip in einem gewissen Zeitraum ist nicht möglich??

      Hat jemand eine Idee wie ich meine Wünsche besser programmieren kann?

      Zur besseren Übersicht habe ich je nur ein Rollo genommen. In echt sind es ein paar mehr, inklusive Lampen die noch ein und ausschalten ;)

      Besten DANK für eure Hilfe.

      A Offline
      A Offline
      Adnim
      schrieb am zuletzt editiert von Adnim
      #2

      @baummy
      hab mir jetzt dein skript nicht angesehen. Aber habe mal einen Denkansatz.

      Wie wäre es deine Schließzeit nach Astro (geht auch mit shuttercontrol) zu ermitteln und dann mit Zufallszahl +-30 min zu rechnen. Glaube das ist der einfachste weg!?

      B 1 Antwort Letzte Antwort
      0
      • A Adnim

        @baummy
        hab mir jetzt dein skript nicht angesehen. Aber habe mal einen Denkansatz.

        Wie wäre es deine Schließzeit nach Astro (geht auch mit shuttercontrol) zu ermitteln und dann mit Zufallszahl +-30 min zu rechnen. Glaube das ist der einfachste weg!?

        B Offline
        B Offline
        Baummy
        schrieb am zuletzt editiert von
        #3

        @adnim hab mir Shuttercontrol mal angesehen. Kannte ich bisher nicht. Ich hab mir für alle Eventualitäten wie Schattieren, Fenster ist offen, etc. eigene Skripte gebastelt die auch alle gut laufen und mitlerweile komlett angepasst sind. Aber das hättevermutlich einiges erleichtert. Ich teste das mal ein paar tage in der Küche.

        Mit der Zufallszahl zu rechnen und ihm das als Zeit hinterher vorzugeben hab ich keine gute Idee wie die Kiste das schlucken könnte.

        Danke für deine Anregungen!

        1 Antwort Letzte Antwort
        0
        • B Baummy

          Hallo,

          ich möchte gerne meine Rollos im Automatikbetrieb hoch und runter fahren (voraussichtlich nur, wenn ich beruflich weg bin oder im Urlaub bin)
          Dies soll täglich zu etwas unterschiedlichen Zeiten passieren, damit keiner ein System wie eine exakt gleiche Uhrzeit feststellen kann. Natürlich sind die Rollos im Winter früher zu schließen als im Winter.

          Ich habe mehrere Sachen ausprobiert.

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="tP=u3F@%p,ZDMy6;@V+|">schließen</variable>
              <variable type="cron" id="schedule1">schedule1</variable>
              <variable type="cron" id="schedule2">schedule2</variable>
            </variables>
            <block type="comment" id="YCL/!EP/88x_vo_Ia)vo" x="213" y="-1037">
              <field name="COMMENT">Versuch 1</field>
              <next>
                <block type="astro" id="=ER+r}fY.O?K@Z/MiQ!n" disabled="true">
                  <field name="TYPE">dusk</field>
                  <field name="OFFSET">11</field>
                  <statement name="STATEMENT">
                    <block type="comment" id="!ltNP6qN+-=`|]HM6(X`">
                      <field name="COMMENT">Rollos oben</field>
                      <next>
                        <block type="control" id="0s0vO[F$CxR=OMDBU}`/">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                          <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">5</field>
                          <field name="UNIT">min</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id=")n3n/_QQEa4BTl}Hhkv*">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="comment" id="!Dx16-ivkPqI3%RM7orR">
                              <field name="COMMENT">Rollos unten</field>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="astro" id="0Wag}TP{#wu4Rwayr:Lh" disabled="true">
                      <field name="TYPE">sunrise</field>
                      <field name="OFFSET">66</field>
                      <statement name="STATEMENT">
                        <block type="comment" id="dwi4oa9FDmiUOZy1I7~[">
                          <field name="COMMENT">Rollos oben</field>
                          <next>
                            <block type="control" id="x6@-pW-b;l$X5-k|g#+Q">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                              <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">61</field>
                              <field name="UNIT">min</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="y*f*mg|GRTJ}8O+%#9rz">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="C*FS|n$idgx*M-X:/!Ql">
                                  <field name="COMMENT">Rollos unten</field>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="comment" id="QT.JTmIm$$87-pN)D{0U">
                          <field name="COMMENT">Versuch 2</field>
                          <next>
                            <block type="variables_set" id="?n$yoMRqtsm;(GD@:B4H">
                              <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                              <value name="VALUE">
                                <block type="logic_null" id=":.@BnE`E`g_m3=`@%H!t"></block>
                              </value>
                              <next>
                                <block type="schedule_create" id=";S^iJ5ux%VU/7b[[Ge_R">
                                  <field name="NAME">schedule1</field>
                                  <value name="SCHEDULE">
                                    <shadow type="field_cron" id="xwSw.vEK;.0ZO1C1rF)d">
                                      <field name="CRON">*/10 * * * * *</field>
                                    </shadow>
                                    <block type="field_cron" id="oDg:wNJAv6Xjn^5Q,C_H">
                                      <field name="CRON">{"time":{"exactTime":true,"start":"night"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                    </block>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="variables_set" id="G!g2d@Aa;/C,)yDU#eBh">
                                      <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="qnANw5/n`Qa98m7r8!6$">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="whatsapp-cmb" id="a$N}|9A)IVhbPK2sVa08">
                                          <field name="INSTANCE"></field>
                                          <field name="LOG"></field>
                                          <value name="MESSAGE">
                                            <shadow type="text" id="ex`3@*w~jk6D?}LWMdts">
                                              <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 - Winter</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="schedule_create" id="r3_B9SP}Iq_=.e61Tu_(">
                                      <field name="NAME">schedule2</field>
                                      <value name="SCHEDULE">
                                        <shadow type="field_cron" id="S0[)+[TWA}bdNvZNtrGq">
                                          <field name="CRON">* * * * *</field>
                                        </shadow>
                                        <block type="field_cron" id="/2(9BV1jS}c!7f2aEunk">
                                          <field name="CRON">{"time":{"exactTime":true,"start":"dusk"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                        </block>
                                      </value>
                                      <statement name="STATEMENT">
                                        <block type="variables_set" id="6+5vz]u+UV2cuEfoMr.^">
                                          <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="?q8_2uL_epyKe0wA!Kzv">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="whatsapp-cmb" id="ET(-eB`1SAeG0cj1,9P0">
                                              <field name="INSTANCE"></field>
                                              <field name="LOG"></field>
                                              <value name="MESSAGE">
                                                <shadow type="text" id="seE0p;@n:Xvr_wR(?|KC">
                                                  <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 Sommer</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="on_ext" id="?;$PQE,n/7yyx8aAI%bR">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                          <field name="CONDITION">true</field>
                                          <field name="ACK_CONDITION"></field>
                                          <value name="OID0">
                                            <shadow type="field_oid" id="tx[9;qQB/nzaBJL+$R)Q">
                                              <field name="oid">default</field>
                                            </shadow>
                                            <block type="variables_get" id="lgELXT^6?T80V~1iCMju">
                                              <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                            </block>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="comment" id="pIL_8OAFhjKw~3qA.GTk">
                                              <field name="COMMENT">Rollos oben</field>
                                              <next>
                                                <block type="control" id="O3}}X8RH8,[7{dtgmitv">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="Ry$$./b#{Z,}UxN5VVTC">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="comment" id="B*)WIT;0[OEE-p`Ke~sL">
                                                      <field name="COMMENT">Rollos unten</field>
                                                      <next>
                                                        <block type="variables_set" id="l{^*S?=?*7T#gld-(;,!">
                                                          <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="!,S|kWnlI*gFp757[r?C">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="comment" id="@NV0k%mGkCZ`pv`7c_1-">
                                              <field name="COMMENT">Versuch 3</field>
                                              <next>
                                                <block type="schedule" id=",e@}(ZQ1]HiR5-^QmHd0">
                                                  <field name="SCHEDULE">{"time":{"exactTime":true,"start":"goldenHourEnd"},"valid":{"from":"31.07.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                  <statement name="STATEMENT">
                                                    <block type="whatsapp-cmb" id="Z{LX;kcd-lR/;qoNcjGj">
                                                      <field name="INSTANCE"></field>
                                                      <field name="LOG"></field>
                                                      <value name="MESSAGE">
                                                        <shadow type="text" id="(F$]I_bE)iza~gLibO[_">
                                                          <field name="TEXT">Test anderes Zeitglied - Goldene Stunde Ende</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="comment" id="-s{jumio4($hWWNvJ)2b">
                                                      <field name="COMMENT">Versuch 4</field>
                                                      <next>
                                                        <block type="on_ext" id="jk=i4sQ(4Ae#U^#Z/v`?">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                          <field name="CONDITION">ne</field>
                                                          <field name="ACK_CONDITION"></field>
                                                          <value name="OID0">
                                                            <shadow type="field_oid">
                                                              <field name="oid">default</field>
                                                            </shadow>
                                                            <block type="field_cron" id="$a[oWTrrV7$8eU1:kiR)">
                                                              <field name="CRON">{"time":{"exactTime":true,"start":"sunrise"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                                            </block>
                                                          </value>
                                                          <value name="OID1">
                                                            <shadow type="field_oid" id="-77kjpT2Nu(gZ[bJ]Lo8">
                                                              <field name="oid">default</field>
                                                            </shadow>
                                                            <block type="field_cron" id="($i`e%=DeRZpYGlS39nw">
                                                              <field name="CRON">{"time":{"exactTime":true,"start":"sunriseEnd"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                            </block>
                                                          </value>
                                                          <statement name="STATEMENT">
                                                            <block type="comment" id="0ZO]`Dhb.KLIAV-iA@yc">
                                                              <field name="COMMENT">Rollos oben</field>
                                                              <next>
                                                                <block type="control" id="g9iesV6bV;KH8$5o^)_|">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="qh!_ysiZk0+zv!9CL_i(">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="comment" id=";qyQD]uX`6OfZBmt!i7R">
                                                                      <field name="COMMENT">Rollos unten</field>
                                                                      <next>
                                                                        <block type="whatsapp-cmb" id="jcSb,;qar$UQ5kNQ+loU">
                                                                          <field name="INSTANCE"></field>
                                                                          <field name="LOG"></field>
                                                                          <value name="MESSAGE">
                                                                            <shadow type="text" id="#~Vlqn!dY1_xzVd1$}$A">
                                                                              <field name="TEXT">Rollos fahren hoch - Auto öffnen - Testglied unten links</field>
                                                                            </shadow>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
            <block type="comment" id="Rmjz!b^,NQBXy9`g[J/R" x="638" y="-312">
              <field name="COMMENT">Versuch 2.2 </field>
              <next>
                <block type="comment" id="]R%Czl0!#C;9y$Vpn8z|">
                  <field name="COMMENT">war mal testweise im Trigger - hat nicht funktioniert</field>
                  <next>
                    <block type="controls_if" id="1Yf3m@c|5GnW~[Ac*-]P">
                      <value name="IF0">
                        <block type="logic_compare" id="vyv9HZQkZShUeWYDiZr8">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="variables_get" id="65tM(qv7_p-Xycnh3u5*">
                              <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="fqsp5om`kVz(@2$`@LUr">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="/F|wc9cx~3h=-/j/3AL.">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="X[xZa1:9iAK[bSYR[$DF">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          

          Versuch 1:
          Das Problem ist, dass ich im Winter die Rollos super spät hochfahren und super früh runter. Im Sommer genau umgekehrt.

          Versuch 2:
          Daher habe ich probiert mehrere Zeittrigger zu nehmen und mit der Wizard-funktion dann verschiedene Modi, wie "Sonnenaufgang" und "Sonnenaufgang ENDE" zu nutzen. Dann sollte eine Variabel gesetzt werden, die dann die Rollos betätigt.
          Da die Whatsappbenachrichtung funktioniert, müsste ich dann alle weiteren Funktionen ein dutzend mal kopieren und anpassen.
          Irgendwie bekomm ich das nicht mit der Variable hin.
          Wenn diese Funktion gehen würde, wäre ich recht zufrieden gewesen, da ich so nicht alle Rollos mehrmals habe.

          Versuch 3:
          geht aus irgend einem Grund gar nicht. Versteh ich nicht so ganz

          Versuch 4:
          wie 3. Sollte eigentlich auch funktionieren. Fehler sehe ich nicht.

          Wenn alle Stricke reißen, muss ich halt Version 3 nehmen und dann herausfinden welche "Modi" also Sonnenaufgang, etc. am besten für die ensprechenden Monate sind. und dann immer Copy and paste machen.

          Ein "Ausführen in x Minuten" wäre ebenfalls praktisch. Gibt es aber nur bei die nomralen Astros. und die sind im Winter, so wie im Sommer gleich.

          Ein Chaosprinzip in einem gewissen Zeitraum ist nicht möglich??

          Hat jemand eine Idee wie ich meine Wünsche besser programmieren kann?

          Zur besseren Übersicht habe ich je nur ein Rollo genommen. In echt sind es ein paar mehr, inklusive Lampen die noch ein und ausschalten ;)

          Besten DANK für eure Hilfe.

          DJMarc75D Offline
          DJMarc75D Offline
          DJMarc75
          schrieb am zuletzt editiert von
          #4

          @baummy setz mal bitte einen Screenshot vom Blockly ein da man das nicht wegen fehlenden "Adaptern" (Whatsapp) importieren kann.

          Lehrling seit 1975 !!!
          Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
          https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

          HomoranH B 2 Antworten Letzte Antwort
          0
          • DJMarc75D DJMarc75

            @baummy setz mal bitte einen Screenshot vom Blockly ein da man das nicht wegen fehlenden "Adaptern" (Whatsapp) importieren kann.

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #5

            @djmarc75 sagte in mehre Zeiten für einen Trigger:

            da man das nicht wegen fehlenden "Adaptern" (Whatsapp) importieren kann.

            wohin importiert man denn sowas unterwegs auf dem Handy?

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            DJMarc75D 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @djmarc75 sagte in mehre Zeiten für einen Trigger:

              da man das nicht wegen fehlenden "Adaptern" (Whatsapp) importieren kann.

              wohin importiert man denn sowas unterwegs auf dem Handy?

              DJMarc75D Offline
              DJMarc75D Offline
              DJMarc75
              schrieb am zuletzt editiert von
              #6

              @homoran sagte in mehre Zeiten für einen Trigger:

              wohin importiert man denn sowas unterwegs auf dem Handy?

              frag nicht mich... ich kanns ja nichtmal am PC importieren - wegen "bei mir fehlenden Adaptern" (whatsappcmd ist ja auch kein Standard - meine Meinung)

              Lehrling seit 1975 !!!
              Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
              https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

              1 Antwort Letzte Antwort
              0
              • HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #7

                @Baummy
                https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                B 1 Antwort Letzte Antwort
                0
                • DJMarc75D DJMarc75

                  @baummy setz mal bitte einen Screenshot vom Blockly ein da man das nicht wegen fehlenden "Adaptern" (Whatsapp) importieren kann.

                  B Offline
                  B Offline
                  Baummy
                  schrieb am zuletzt editiert von Baummy
                  #8

                  @djmarc75

                  Anbei einmal die gewünschen Screenshots. Habe auch den Skript noch einmal ohne die Whats App geschichte hochgeladen.
                  Gruß Baummy

                  f47eb6e3-0bf7-414c-a7ca-13da046a4646-grafik.png

                  53ade054-67f9-48bd-a72c-4f6e67fae20e-grafik.png

                  4829c5b5-d3bd-42d9-8b78-2179084bf2e5-grafik.png

                  ce947943-c627-40d2-a42b-1b4be019be32-grafik.png

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <variables>
                      <variable id="tP=u3F@%p,ZDMy6;@V+|">schließen</variable>
                      <variable type="cron" id="schedule1">schedule1</variable>
                      <variable type="cron" id="schedule2">schedule2</variable>
                    </variables>
                    <block type="comment" id="YCL/!EP/88x_vo_Ia)vo" x="213" y="-1037">
                      <field name="COMMENT">Versuch 1</field>
                      <next>
                        <block type="astro" id="=ER+r}fY.O?K@Z/MiQ!n">
                          <field name="TYPE">dusk</field>
                          <field name="OFFSET">11</field>
                          <statement name="STATEMENT">
                            <block type="comment" id="!ltNP6qN+-=`|]HM6(X`">
                              <field name="COMMENT">Rollos oben</field>
                              <next>
                                <block type="control" id="0s0vO[F$CxR=OMDBU}`/">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                  <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">5</field>
                                  <field name="UNIT">min</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id=")n3n/_QQEa4BTl}Hhkv*">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="comment" id="!Dx16-ivkPqI3%RM7orR">
                                      <field name="COMMENT">Rollos unten</field>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="astro" id="0Wag}TP{#wu4Rwayr:Lh">
                              <field name="TYPE">sunrise</field>
                              <field name="OFFSET">66</field>
                              <statement name="STATEMENT">
                                <block type="comment" id="dwi4oa9FDmiUOZy1I7~[">
                                  <field name="COMMENT">Rollos oben</field>
                                  <next>
                                    <block type="control" id="x6@-pW-b;l$X5-k|g#+Q">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                      <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">61</field>
                                      <field name="UNIT">min</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="y*f*mg|GRTJ}8O+%#9rz">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="comment" id="C*FS|n$idgx*M-X:/!Ql">
                                          <field name="COMMENT">Rollos unten</field>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <next>
                                <block type="comment" id="QT.JTmIm$$87-pN)D{0U">
                                  <field name="COMMENT">Versuch 2</field>
                                  <next>
                                    <block type="variables_set" id="?n$yoMRqtsm;(GD@:B4H">
                                      <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                      <value name="VALUE">
                                        <block type="logic_null" id=":.@BnE`E`g_m3=`@%H!t"></block>
                                      </value>
                                      <next>
                                        <block type="schedule_create" id=";S^iJ5ux%VU/7b[[Ge_R">
                                          <field name="NAME">schedule1</field>
                                          <value name="SCHEDULE">
                                            <shadow type="field_cron" id="xwSw.vEK;.0ZO1C1rF)d">
                                              <field name="CRON">*/10 * * * * *</field>
                                            </shadow>
                                            <block type="field_cron" id="oDg:wNJAv6Xjn^5Q,C_H">
                                              <field name="CRON">{"time":{"exactTime":true,"start":"night"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                            </block>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="G!g2d@Aa;/C,)yDU#eBh">
                                              <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="qnANw5/n`Qa98m7r8!6$">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="schedule_create" id="r3_B9SP}Iq_=.e61Tu_(">
                                              <field name="NAME">schedule2</field>
                                              <value name="SCHEDULE">
                                                <shadow type="field_cron" id="S0[)+[TWA}bdNvZNtrGq">
                                                  <field name="CRON">* * * * *</field>
                                                </shadow>
                                                <block type="field_cron" id="/2(9BV1jS}c!7f2aEunk">
                                                  <field name="CRON">{"time":{"exactTime":true,"start":"dusk"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                </block>
                                              </value>
                                              <statement name="STATEMENT">
                                                <block type="variables_set" id="6+5vz]u+UV2cuEfoMr.^">
                                                  <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="?q8_2uL_epyKe0wA!Kzv">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="on_ext" id="?;$PQE,n/7yyx8aAI%bR">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                  <field name="CONDITION">true</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <value name="OID0">
                                                    <shadow type="field_oid" id="tx[9;qQB/nzaBJL+$R)Q">
                                                      <field name="oid">default</field>
                                                    </shadow>
                                                    <block type="variables_get" id="lgELXT^6?T80V~1iCMju">
                                                      <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                    </block>
                                                  </value>
                                                  <statement name="STATEMENT">
                                                    <block type="comment" id="pIL_8OAFhjKw~3qA.GTk">
                                                      <field name="COMMENT">Rollos oben</field>
                                                      <next>
                                                        <block type="control" id="O3}}X8RH8,[7{dtgmitv">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="Ry$$./b#{Z,}UxN5VVTC">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="comment" id="B*)WIT;0[OEE-p`Ke~sL">
                                                              <field name="COMMENT">Rollos unten</field>
                                                              <next>
                                                                <block type="variables_set" id="l{^*S?=?*7T#gld-(;,!">
                                                                  <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="!,S|kWnlI*gFp757[r?C">
                                                                      <field name="BOOL">FALSE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="comment" id="@NV0k%mGkCZ`pv`7c_1-">
                                                      <field name="COMMENT">Versuch 3</field>
                                                      <next>
                                                        <block type="schedule" id=",e@}(ZQ1]HiR5-^QmHd0">
                                                          <field name="SCHEDULE">{"time":{"exactTime":true,"start":"goldenHourEnd"},"valid":{"from":"31.07.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                          <statement name="STATEMENT">
                                                            <block type="control" id="#9O+nkb?dqQA]v8KG+EU">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id=",WgM+DoFQvpbL%8n-9BI">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="comment" id="-s{jumio4($hWWNvJ)2b">
                                                              <field name="COMMENT">Versuch 4</field>
                                                              <next>
                                                                <block type="on_ext" id="jk=i4sQ(4Ae#U^#Z/v`?">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                  <field name="CONDITION">ne</field>
                                                                  <field name="ACK_CONDITION"></field>
                                                                  <value name="OID0">
                                                                    <shadow type="field_oid">
                                                                      <field name="oid">default</field>
                                                                    </shadow>
                                                                    <block type="field_cron" id="$a[oWTrrV7$8eU1:kiR)">
                                                                      <field name="CRON">{"time":{"exactTime":true,"start":"sunrise"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="OID1">
                                                                    <shadow type="field_oid" id="-77kjpT2Nu(gZ[bJ]Lo8">
                                                                      <field name="oid">default</field>
                                                                    </shadow>
                                                                    <block type="field_cron" id="($i`e%=DeRZpYGlS39nw">
                                                                      <field name="CRON">{"time":{"exactTime":true,"start":"sunriseEnd"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="STATEMENT">
                                                                    <block type="comment" id="0ZO]`Dhb.KLIAV-iA@yc">
                                                                      <field name="COMMENT">Rollos oben</field>
                                                                      <next>
                                                                        <block type="control" id="g9iesV6bV;KH8$5o^)_|">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="qh!_ysiZk0+zv!9CL_i(">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="comment" id=";qyQD]uX`6OfZBmt!i7R">
                                                                              <field name="COMMENT">Rollos unten</field>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                    <block type="comment" id="Rmjz!b^,NQBXy9`g[J/R" x="663" y="-462">
                      <field name="COMMENT">Versuch 2.2 </field>
                      <next>
                        <block type="comment" id="]R%Czl0!#C;9y$Vpn8z|">
                          <field name="COMMENT">war mal testweise im Trigger - hat nicht funktioniert</field>
                          <next>
                            <block type="controls_if" id="1Yf3m@c|5GnW~[Ac*-]P">
                              <value name="IF0">
                                <block type="logic_compare" id="vyv9HZQkZShUeWYDiZr8">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="65tM(qv7_p-Xycnh3u5*">
                                      <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="fqsp5om`kVz(@2$`@LUr">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="/F|wc9cx~3h=-/j/3AL.">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="X[xZa1:9iAK[bSYR[$DF">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </xml>
                  
                  1 Antwort Letzte Antwort
                  0
                  • HomoranH Homoran

                    @Baummy
                    https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

                    B Offline
                    B Offline
                    Baummy
                    schrieb am zuletzt editiert von
                    #9

                    @homoran was genau möchtest du mir sagen? Ich habe den Post ja unter "Blockly" gepackt, da es sich hier ja um ein Skriptproblem handelt. Was hätte ich deiner Meinung nach besser machen können?
                    Gruß

                    AsgothianA HomoranH 2 Antworten Letzte Antwort
                    0
                    • B Baummy

                      @homoran was genau möchtest du mir sagen? Ich habe den Post ja unter "Blockly" gepackt, da es sich hier ja um ein Skriptproblem handelt. Was hätte ich deiner Meinung nach besser machen können?
                      Gruß

                      AsgothianA Offline
                      AsgothianA Offline
                      Asgothian
                      Developer
                      schrieb am zuletzt editiert von
                      #10

                      @baummy

                      Ich würde das ganze so lösen:

                      Screenshot 2022-08-22 at 09.07.09.png

                      Fürs zufahren natürlich dann anders herum.

                      Welchen Trigger du genau nutzt (Astro aus Versuch 1 oder Exakte Zeit aus Versuch 3) ist dabei Dir überlassen.
                      Wenn du das nur aktiv haben willst wenn eine weitere Bedingung zugrifft sollte diese zwischen dem "clear Timeout" und dem "Execution Timeout" block geprüft werden. Damit kannst du das Triggerskript immer laufen lassen und verhinderst nur die Aktionen wenn sie nicht gewünscht sind. Auch der Zeitraum lässt sich durchaus anpassen (ich hab mal 30 Minuten um den Astro-Zeitpunkt genommen)

                      @baummy sagte in mehre Zeiten für einen Trigger:

                      @homoran was genau möchtest du mir sagen? Ich habe den Post ja unter "Blockly" gepackt, da es sich hier ja um ein Skriptproblem handelt. Was hätte ich deiner Meinung nach besser machen können?
                      Gruß

                      Was hättest du besser machen können ?
                      Du hättest direkt die entsprechenden Screenshots der einzelnen Versuche posten - jeweils passend zu den dazu gehörenden Texten - das wäre auch auf kleinen Bildschirmen (Mobiltelefon) lesbar gewesen und Dir hätte schneller geholfen werden können. Bedenke beim Posten das viele das Forum lesen ohne Zugriff auf eine ioBroker Installation zu haben. des Weiteren hättest Du deinen Blockly-Export im Vorfeld so zu sammenstreichen können das er auch ohne besondere Adapter (WhatsApp) einzufügen geht. So in etwa wie ich das bei dem obigen Screenshot gemacht hab - dieser ist auf die Information zusammen gestrichen die ich weitergeben will.

                      Nebenbei hat @Adnim meine Blockly Lösung direkt als erste Antwort vorgegeben - wenn auch nur als Einzeiler.

                      A.

                      ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                      "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                      B 1 Antwort Letzte Antwort
                      0
                      • B Baummy

                        @homoran was genau möchtest du mir sagen? Ich habe den Post ja unter "Blockly" gepackt, da es sich hier ja um ein Skriptproblem handelt. Was hätte ich deiner Meinung nach besser machen können?
                        Gruß

                        HomoranH Nicht stören
                        HomoranH Nicht stören
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #11

                        @baummy sagte in mehre Zeiten für einen Trigger:

                        Was hätte ich deiner Meinung nach besser machen können?

                        so wie jetzt die Blocklys zeigen, denn

                        @homoran sagte in mehre Zeiten für einen Trigger:

                        wohin importiert man denn sowas unterwegs auf dem Handy?

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        B 1 Antwort Letzte Antwort
                        0
                        • B Baummy

                          Hallo,

                          ich möchte gerne meine Rollos im Automatikbetrieb hoch und runter fahren (voraussichtlich nur, wenn ich beruflich weg bin oder im Urlaub bin)
                          Dies soll täglich zu etwas unterschiedlichen Zeiten passieren, damit keiner ein System wie eine exakt gleiche Uhrzeit feststellen kann. Natürlich sind die Rollos im Winter früher zu schließen als im Winter.

                          Ich habe mehrere Sachen ausprobiert.

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="tP=u3F@%p,ZDMy6;@V+|">schließen</variable>
                              <variable type="cron" id="schedule1">schedule1</variable>
                              <variable type="cron" id="schedule2">schedule2</variable>
                            </variables>
                            <block type="comment" id="YCL/!EP/88x_vo_Ia)vo" x="213" y="-1037">
                              <field name="COMMENT">Versuch 1</field>
                              <next>
                                <block type="astro" id="=ER+r}fY.O?K@Z/MiQ!n" disabled="true">
                                  <field name="TYPE">dusk</field>
                                  <field name="OFFSET">11</field>
                                  <statement name="STATEMENT">
                                    <block type="comment" id="!ltNP6qN+-=`|]HM6(X`">
                                      <field name="COMMENT">Rollos oben</field>
                                      <next>
                                        <block type="control" id="0s0vO[F$CxR=OMDBU}`/">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                          <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">5</field>
                                          <field name="UNIT">min</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id=")n3n/_QQEa4BTl}Hhkv*">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="comment" id="!Dx16-ivkPqI3%RM7orR">
                                              <field name="COMMENT">Rollos unten</field>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="astro" id="0Wag}TP{#wu4Rwayr:Lh" disabled="true">
                                      <field name="TYPE">sunrise</field>
                                      <field name="OFFSET">66</field>
                                      <statement name="STATEMENT">
                                        <block type="comment" id="dwi4oa9FDmiUOZy1I7~[">
                                          <field name="COMMENT">Rollos oben</field>
                                          <next>
                                            <block type="control" id="x6@-pW-b;l$X5-k|g#+Q">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                              <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">61</field>
                                              <field name="UNIT">min</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="y*f*mg|GRTJ}8O+%#9rz">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="comment" id="C*FS|n$idgx*M-X:/!Ql">
                                                  <field name="COMMENT">Rollos unten</field>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="comment" id="QT.JTmIm$$87-pN)D{0U">
                                          <field name="COMMENT">Versuch 2</field>
                                          <next>
                                            <block type="variables_set" id="?n$yoMRqtsm;(GD@:B4H">
                                              <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                              <value name="VALUE">
                                                <block type="logic_null" id=":.@BnE`E`g_m3=`@%H!t"></block>
                                              </value>
                                              <next>
                                                <block type="schedule_create" id=";S^iJ5ux%VU/7b[[Ge_R">
                                                  <field name="NAME">schedule1</field>
                                                  <value name="SCHEDULE">
                                                    <shadow type="field_cron" id="xwSw.vEK;.0ZO1C1rF)d">
                                                      <field name="CRON">*/10 * * * * *</field>
                                                    </shadow>
                                                    <block type="field_cron" id="oDg:wNJAv6Xjn^5Q,C_H">
                                                      <field name="CRON">{"time":{"exactTime":true,"start":"night"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                                    </block>
                                                  </value>
                                                  <statement name="STATEMENT">
                                                    <block type="variables_set" id="G!g2d@Aa;/C,)yDU#eBh">
                                                      <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="qnANw5/n`Qa98m7r8!6$">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="whatsapp-cmb" id="a$N}|9A)IVhbPK2sVa08">
                                                          <field name="INSTANCE"></field>
                                                          <field name="LOG"></field>
                                                          <value name="MESSAGE">
                                                            <shadow type="text" id="ex`3@*w~jk6D?}LWMdts">
                                                              <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 - Winter</field>
                                                            </shadow>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="schedule_create" id="r3_B9SP}Iq_=.e61Tu_(">
                                                      <field name="NAME">schedule2</field>
                                                      <value name="SCHEDULE">
                                                        <shadow type="field_cron" id="S0[)+[TWA}bdNvZNtrGq">
                                                          <field name="CRON">* * * * *</field>
                                                        </shadow>
                                                        <block type="field_cron" id="/2(9BV1jS}c!7f2aEunk">
                                                          <field name="CRON">{"time":{"exactTime":true,"start":"dusk"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                        </block>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="variables_set" id="6+5vz]u+UV2cuEfoMr.^">
                                                          <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="?q8_2uL_epyKe0wA!Kzv">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="whatsapp-cmb" id="ET(-eB`1SAeG0cj1,9P0">
                                                              <field name="INSTANCE"></field>
                                                              <field name="LOG"></field>
                                                              <value name="MESSAGE">
                                                                <shadow type="text" id="seE0p;@n:Xvr_wR(?|KC">
                                                                  <field name="TEXT">Rollos fahren runter - Auto öffnen - schließen TEST 2 Sommer</field>
                                                                </shadow>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="on_ext" id="?;$PQE,n/7yyx8aAI%bR">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                          <field name="CONDITION">true</field>
                                                          <field name="ACK_CONDITION"></field>
                                                          <value name="OID0">
                                                            <shadow type="field_oid" id="tx[9;qQB/nzaBJL+$R)Q">
                                                              <field name="oid">default</field>
                                                            </shadow>
                                                            <block type="variables_get" id="lgELXT^6?T80V~1iCMju">
                                                              <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                            </block>
                                                          </value>
                                                          <statement name="STATEMENT">
                                                            <block type="comment" id="pIL_8OAFhjKw~3qA.GTk">
                                                              <field name="COMMENT">Rollos oben</field>
                                                              <next>
                                                                <block type="control" id="O3}}X8RH8,[7{dtgmitv">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="Ry$$./b#{Z,}UxN5VVTC">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="comment" id="B*)WIT;0[OEE-p`Ke~sL">
                                                                      <field name="COMMENT">Rollos unten</field>
                                                                      <next>
                                                                        <block type="variables_set" id="l{^*S?=?*7T#gld-(;,!">
                                                                          <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="!,S|kWnlI*gFp757[r?C">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="comment" id="@NV0k%mGkCZ`pv`7c_1-">
                                                              <field name="COMMENT">Versuch 3</field>
                                                              <next>
                                                                <block type="schedule" id=",e@}(ZQ1]HiR5-^QmHd0">
                                                                  <field name="SCHEDULE">{"time":{"exactTime":true,"start":"goldenHourEnd"},"valid":{"from":"31.07.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                                  <statement name="STATEMENT">
                                                                    <block type="whatsapp-cmb" id="Z{LX;kcd-lR/;qoNcjGj">
                                                                      <field name="INSTANCE"></field>
                                                                      <field name="LOG"></field>
                                                                      <value name="MESSAGE">
                                                                        <shadow type="text" id="(F$]I_bE)iza~gLibO[_">
                                                                          <field name="TEXT">Test anderes Zeitglied - Goldene Stunde Ende</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="comment" id="-s{jumio4($hWWNvJ)2b">
                                                                      <field name="COMMENT">Versuch 4</field>
                                                                      <next>
                                                                        <block type="on_ext" id="jk=i4sQ(4Ae#U^#Z/v`?">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                          <field name="CONDITION">ne</field>
                                                                          <field name="ACK_CONDITION"></field>
                                                                          <value name="OID0">
                                                                            <shadow type="field_oid">
                                                                              <field name="oid">default</field>
                                                                            </shadow>
                                                                            <block type="field_cron" id="$a[oWTrrV7$8eU1:kiR)">
                                                                              <field name="CRON">{"time":{"exactTime":true,"start":"sunrise"},"valid":{"from":"22.06.2022"},"period":{"months":"[1,2,3,4,10,11,12]"}}</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="OID1">
                                                                            <shadow type="field_oid" id="-77kjpT2Nu(gZ[bJ]Lo8">
                                                                              <field name="oid">default</field>
                                                                            </shadow>
                                                                            <block type="field_cron" id="($i`e%=DeRZpYGlS39nw">
                                                                              <field name="CRON">{"time":{"exactTime":true,"start":"sunriseEnd"},"valid":{"from":"22.06.2022"},"period":{"months":"[5,6,7,8,9]"}}</field>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="STATEMENT">
                                                                            <block type="comment" id="0ZO]`Dhb.KLIAV-iA@yc">
                                                                              <field name="COMMENT">Rollos oben</field>
                                                                              <next>
                                                                                <block type="control" id="g9iesV6bV;KH8$5o^)_|">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Open</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="logic_boolean" id="qh!_ysiZk0+zv!9CL_i(">
                                                                                      <field name="BOOL">TRUE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="comment" id=";qyQD]uX`6OfZBmt!i7R">
                                                                                      <field name="COMMENT">Rollos unten</field>
                                                                                      <next>
                                                                                        <block type="whatsapp-cmb" id="jcSb,;qar$UQ5kNQ+loU">
                                                                                          <field name="INSTANCE"></field>
                                                                                          <field name="LOG"></field>
                                                                                          <value name="MESSAGE">
                                                                                            <shadow type="text" id="#~Vlqn!dY1_xzVd1$}$A">
                                                                                              <field name="TEXT">Rollos fahren hoch - Auto öffnen - Testglied unten links</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                            <block type="comment" id="Rmjz!b^,NQBXy9`g[J/R" x="638" y="-312">
                              <field name="COMMENT">Versuch 2.2 </field>
                              <next>
                                <block type="comment" id="]R%Czl0!#C;9y$Vpn8z|">
                                  <field name="COMMENT">war mal testweise im Trigger - hat nicht funktioniert</field>
                                  <next>
                                    <block type="controls_if" id="1Yf3m@c|5GnW~[Ac*-]P">
                                      <value name="IF0">
                                        <block type="logic_compare" id="vyv9HZQkZShUeWYDiZr8">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="65tM(qv7_p-Xycnh3u5*">
                                              <field name="VAR" id="tP=u3F@%p,ZDMy6;@V+|">schließen</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="fqsp5om`kVz(@2$`@LUr">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="/F|wc9cx~3h=-/j/3AL.">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">shelly.0.SHSW-25#C4E758#1.Shutter.Close</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="X[xZa1:9iAK[bSYR[$DF">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </xml>
                          

                          Versuch 1:
                          Das Problem ist, dass ich im Winter die Rollos super spät hochfahren und super früh runter. Im Sommer genau umgekehrt.

                          Versuch 2:
                          Daher habe ich probiert mehrere Zeittrigger zu nehmen und mit der Wizard-funktion dann verschiedene Modi, wie "Sonnenaufgang" und "Sonnenaufgang ENDE" zu nutzen. Dann sollte eine Variabel gesetzt werden, die dann die Rollos betätigt.
                          Da die Whatsappbenachrichtung funktioniert, müsste ich dann alle weiteren Funktionen ein dutzend mal kopieren und anpassen.
                          Irgendwie bekomm ich das nicht mit der Variable hin.
                          Wenn diese Funktion gehen würde, wäre ich recht zufrieden gewesen, da ich so nicht alle Rollos mehrmals habe.

                          Versuch 3:
                          geht aus irgend einem Grund gar nicht. Versteh ich nicht so ganz

                          Versuch 4:
                          wie 3. Sollte eigentlich auch funktionieren. Fehler sehe ich nicht.

                          Wenn alle Stricke reißen, muss ich halt Version 3 nehmen und dann herausfinden welche "Modi" also Sonnenaufgang, etc. am besten für die ensprechenden Monate sind. und dann immer Copy and paste machen.

                          Ein "Ausführen in x Minuten" wäre ebenfalls praktisch. Gibt es aber nur bei die nomralen Astros. und die sind im Winter, so wie im Sommer gleich.

                          Ein Chaosprinzip in einem gewissen Zeitraum ist nicht möglich??

                          Hat jemand eine Idee wie ich meine Wünsche besser programmieren kann?

                          Zur besseren Übersicht habe ich je nur ein Rollo genommen. In echt sind es ein paar mehr, inklusive Lampen die noch ein und ausschalten ;)

                          Besten DANK für eure Hilfe.

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

                          @baummy sagte: im Winter die Rollos super spät hochfahren und super früh runter. Im Sommer genau umgekehrt.

                          Damit die Rollos in einem bestimmten Zeitfenster abhängig vom Sonnenaufgang zufällig öffnen, kann man es z.B. so machen:

                          Bild_2022-08-22_132920181.png

                          EDIT: Wenn alle Rollos etwa zur gleiche Zeit fahren sollen, kann man auch die Tageszeiteinstellungen der Javascript-Instanz nutzen und auf den Datenpunkt "javascript.0.variables.isDayTime" triggern.

                          JS_Tageszeit.JPG

                          Bild_2022-08-22_142917924.png

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

                          B 1 Antwort Letzte Antwort
                          0
                          • paul53P paul53

                            @baummy sagte: im Winter die Rollos super spät hochfahren und super früh runter. Im Sommer genau umgekehrt.

                            Damit die Rollos in einem bestimmten Zeitfenster abhängig vom Sonnenaufgang zufällig öffnen, kann man es z.B. so machen:

                            Bild_2022-08-22_132920181.png

                            EDIT: Wenn alle Rollos etwa zur gleiche Zeit fahren sollen, kann man auch die Tageszeiteinstellungen der Javascript-Instanz nutzen und auf den Datenpunkt "javascript.0.variables.isDayTime" triggern.

                            JS_Tageszeit.JPG

                            Bild_2022-08-22_142917924.png

                            B Offline
                            B Offline
                            Baummy
                            schrieb am zuletzt editiert von
                            #13

                            @paul53 Also das erste sieht richtig cool aus. Hab es mal nachgebaut. So ähnlich hatte ich es ja bereits mal vor, nur ich habe es mit "Variabel" probiert und nicht mit "Funktion"
                            Ich hoffe das klappt besser, dann kann ich berichten.

                            Wo hast du denn das zweite Fenster mit den Zeiten gefunden?

                            paul53P 1 Antwort Letzte Antwort
                            0
                            • HomoranH Homoran

                              @baummy sagte in mehre Zeiten für einen Trigger:

                              Was hätte ich deiner Meinung nach besser machen können?

                              so wie jetzt die Blocklys zeigen, denn

                              @homoran sagte in mehre Zeiten für einen Trigger:

                              wohin importiert man denn sowas unterwegs auf dem Handy?

                              B Offline
                              B Offline
                              Baummy
                              schrieb am zuletzt editiert von
                              #14

                              @homoran Kann ich gerne nächste mal machen. Vor einiger Zeit hatte ich schon mal ne Frage, da wurde ich direkt nach dem Quellcode gefragt, sodass man sich das importieren konnte und habe dann auch nen fertigen Skript zurück erhalten.

                              Aber wie ist mir ja im Grunde egal =) ich bin ja dankbar für jede Hilfe und jeden guten Hinweis ;)

                              1 Antwort Letzte Antwort
                              0
                              • AsgothianA Asgothian

                                @baummy

                                Ich würde das ganze so lösen:

                                Screenshot 2022-08-22 at 09.07.09.png

                                Fürs zufahren natürlich dann anders herum.

                                Welchen Trigger du genau nutzt (Astro aus Versuch 1 oder Exakte Zeit aus Versuch 3) ist dabei Dir überlassen.
                                Wenn du das nur aktiv haben willst wenn eine weitere Bedingung zugrifft sollte diese zwischen dem "clear Timeout" und dem "Execution Timeout" block geprüft werden. Damit kannst du das Triggerskript immer laufen lassen und verhinderst nur die Aktionen wenn sie nicht gewünscht sind. Auch der Zeitraum lässt sich durchaus anpassen (ich hab mal 30 Minuten um den Astro-Zeitpunkt genommen)

                                @baummy sagte in mehre Zeiten für einen Trigger:

                                @homoran was genau möchtest du mir sagen? Ich habe den Post ja unter "Blockly" gepackt, da es sich hier ja um ein Skriptproblem handelt. Was hätte ich deiner Meinung nach besser machen können?
                                Gruß

                                Was hättest du besser machen können ?
                                Du hättest direkt die entsprechenden Screenshots der einzelnen Versuche posten - jeweils passend zu den dazu gehörenden Texten - das wäre auch auf kleinen Bildschirmen (Mobiltelefon) lesbar gewesen und Dir hätte schneller geholfen werden können. Bedenke beim Posten das viele das Forum lesen ohne Zugriff auf eine ioBroker Installation zu haben. des Weiteren hättest Du deinen Blockly-Export im Vorfeld so zu sammenstreichen können das er auch ohne besondere Adapter (WhatsApp) einzufügen geht. So in etwa wie ich das bei dem obigen Screenshot gemacht hab - dieser ist auf die Information zusammen gestrichen die ich weitergeben will.

                                Nebenbei hat @Adnim meine Blockly Lösung direkt als erste Antwort vorgegeben - wenn auch nur als Einzeiler.

                                A.

                                B Offline
                                B Offline
                                Baummy
                                schrieb am zuletzt editiert von
                                #15

                                @asgothian Auch dir besten Dank für deine Idee. Habe jetzt erst einmal die andere Lösung genommen, da die ja noch das andere Problem mit dem ganz früh und ganz spät erschlagen hat.
                                DIese Rechenfunktionen sind mir noch ein wenig fremd, aber da kann man bestimmt einige coole Sachen mit machen...

                                1 Antwort Letzte Antwort
                                0
                                • B Baummy

                                  @paul53 Also das erste sieht richtig cool aus. Hab es mal nachgebaut. So ähnlich hatte ich es ja bereits mal vor, nur ich habe es mit "Variabel" probiert und nicht mit "Funktion"
                                  Ich hoffe das klappt besser, dann kann ich berichten.

                                  Wo hast du denn das zweite Fenster mit den Zeiten gefunden?

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

                                  @baummy sagte: Wo hast du denn das zweite Fenster mit den Zeiten gefunden?

                                  In der Konfiguration der Javascript-Instanz, Tab "ASTRO-EINSTELLUNGEN".

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

                                  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

                                  646

                                  Online

                                  32.6k

                                  Benutzer

                                  82.0k

                                  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