Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. komplettes Script zB. von November bis Januar aktivieren

NEWS

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

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

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

komplettes Script zB. von November bis Januar aktivieren

Scheduled Pinned Locked Moved Blockly
43 Posts 5 Posters 2.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Hicki

    Hallo,
    ich möchte dieses Script von November bis Januar aktivieren. Ist das möglich?

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="aL_X)*sBl03%NEW0`$16">licht</variable>
      </variables>
      <block type="variables_set" id="nAb*8A.{e9B7yRo7Vp4$" x="-312" y="-13">
        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
        <value name="VALUE">
          <block type="get_value" id="5osR!02k6g`HA4bCFFc3">
            <field name="ATTR">val</field>
            <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
          </block>
        </value>
        <next>
          <block type="on_ext" id="{C!-q#5L0R;9f?kYAsry">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id="E`(8h#e|S}7v|r5d0.Mc">
                <field name="oid">hm-rpc.0.PEQ1447187.1.LUX</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id=";}+3f,3x_YBFZFD~i@.Y">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="time_compare" id="b^e@Rw{#Wsk;K#:VY3;#">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                    <field name="OPTION">between</field>
                    <field name="START_TIME">6:00</field>
                    <field name="END_TIME">23:00</field>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="VbB+lbG|FS58Fk3H5vcH">
                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                    <value name="VALUE">
                      <block type="logic_compare" id="_#buL5doh#t/okTN*!a6">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="on_source" id="VEtoDSob:sF14%jmnXr[">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="V!?+lG#2|7VQ-dgnn?4|">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_operation" id="IC)`}jgNen5F1N#Qjb:~" inline="false">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="time_compare" id="qhQ*DY~ZoD9U*WJiSE.8">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false"></mutation>
                        <field name="OPTION">&gt;</field>
                        <field name="START_TIME">23:00</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="FeHt$8yMCXvUq$5ye-RE">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="on_source" id="wr/psQ*vKTIf+8y}gg4R">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="lIx1BP/VE)`}t!k!U4r|">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="variables_set" id="L+4Ku-/v|69KE0nD7Pb7">
                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="W,a2FN}d^%PaI]hyCYkK">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="_qgWF*jdZ/QKfr9POs0L">
                    <value name="IF0">
                      <block type="logic_compare" id="X7KYR)Q6|-QL@=*ZWTBD">
                        <field name="OP">NEQ</field>
                        <value name="A">
                          <block type="variables_get" id="[-Bv!#,hV:Yz8I53N2Y~">
                            <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="get_value" id="kD~ukn|f|d@uo5#GX.y}">
                            <field name="ATTR">val</field>
                            <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="fT~xYZ|F)+1p)_rAB}a,">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="variables_get" id="y8rYr_L_eWEvAR[d$pG_">
                            <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="debug" id=":;07tr72fVw{?`HNic(q">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                            <field name="TEXT">test</field>
                          </shadow>
                          <block type="text_join" id="!E[?o{_K5c3tfHgAa+6O">
                            <mutation items="4"></mutation>
                            <value name="ADD0">
                              <block type="text" id=":,psL={k/UsAtc1$,U=1">
                                <field name="TEXT">Außenbeleuchtung:</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="(ybtL.qIEg()hW:uHkyH">
                                <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="gmO[[Owfys^]w}t]IQTL">
                                <field name="TEXT"> und Helligkeit:</field>
                              </block>
                            </value>
                            <value name="ADD3">
                              <block type="get_value" id="~7fMP8j.GBv_e,jA{XD[">
                                <field name="ATTR">val</field>
                                <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="schedule" id="EF?3)TIqPV%Jq)SG/g|P">
                <field name="SCHEDULE">0 3 * * *</field>
                <statement name="STATEMENT">
                  <block type="control" id="$s!n*t`o@*j$ZrYUGcZx">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="d*lQAX^al7xdtMDpqP%A">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="debug" id="4TuibwT/7=lXyJ+V*Rte">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                            <field name="TEXT">test</field>
                          </shadow>
                          <block type="text_join" id="7B0j;l)a9WQg@)h.=hI-">
                            <mutation items="4"></mutation>
                            <value name="ADD0">
                              <block type="text" id="*VT-YVw1K_Zh-,fd672c">
                                <field name="TEXT">Außenbeleuchtung:</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="variables_get" id="Y*gQg{ue5OwAgVo9y(3-">
                                <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="pu^|1])3KW9TXT1@^~cp">
                                <field name="TEXT"> und Helligkeit:</field>
                              </block>
                            </value>
                            <value name="ADD3">
                              <block type="get_value" id="?!r3#E$%_zTY[]7iQJB]">
                                <field name="ATTR">val</field>
                                <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="schedule" id="=1HK,tlY!FMQ?IZ%RF0,">
                    <field name="SCHEDULE">0 6 * * *</field>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="U`8u9o:Am{Eun=MmoPK_">
                        <value name="IF0">
                          <block type="logic_compare" id="i)kldwDoimFLu5k8ox0_">
                            <field name="OP">LT</field>
                            <value name="A">
                              <block type="get_value" id="_-:}|R08h~[Uj:eeFG#K">
                                <field name="ATTR">val</field>
                                <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="0k|EA=5[YYT5]j0{|g^.">
                                <field name="NUM">300</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="+[YWQ7voD;9Qs3X;#A_B">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="erKj+5,3/9=gp~|T#k$}">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="debug" id="Ibr7L|o{Y0M!~}qe~+Hv">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                <field name="TEXT">test</field>
                              </shadow>
                              <block type="text_join" id="17qImrEo}nAik]AXmpn.">
                                <mutation items="4"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="%Qw]s~){^9?VHjBu9nB[">
                                    <field name="TEXT">Außenbeleuchtung:</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="rb3|1b-pT)K1#8TL7mRF">
                                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="UDH{#Warhxuiaw4#.5sf">
                                    <field name="TEXT"> und Helligkeit:</field>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="get_value" id="m=/Hc)PQ9y7D48KB#pQ-">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    

    Gruß Hicki

    mickymM Offline
    mickymM Offline
    mickym
    Most Active
    wrote on last edited by
    #2

    @hicki Du machst einfach einen Block - der in der übrigen Zeit das Script vorzeitig beendet.

    Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

    H 1 Reply Last reply
    0
    • mickymM mickym

      @hicki Du machst einfach einen Block - der in der übrigen Zeit das Script vorzeitig beendet.

      H Offline
      H Offline
      Hicki
      wrote on last edited by
      #3

      @mickym Kannst Du mir da bitte helfen?

      1 Reply Last reply
      0
      • H Hicki

        Hallo,
        ich möchte dieses Script von November bis Januar aktivieren. Ist das möglich?

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable id="aL_X)*sBl03%NEW0`$16">licht</variable>
          </variables>
          <block type="variables_set" id="nAb*8A.{e9B7yRo7Vp4$" x="-312" y="-13">
            <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
            <value name="VALUE">
              <block type="get_value" id="5osR!02k6g`HA4bCFFc3">
                <field name="ATTR">val</field>
                <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
              </block>
            </value>
            <next>
              <block type="on_ext" id="{C!-q#5L0R;9f?kYAsry">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="E`(8h#e|S}7v|r5d0.Mc">
                    <field name="oid">hm-rpc.0.PEQ1447187.1.LUX</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id=";}+3f,3x_YBFZFD~i@.Y">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="time_compare" id="b^e@Rw{#Wsk;K#:VY3;#">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                        <field name="OPTION">between</field>
                        <field name="START_TIME">6:00</field>
                        <field name="END_TIME">23:00</field>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="VbB+lbG|FS58Fk3H5vcH">
                        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                        <value name="VALUE">
                          <block type="logic_compare" id="_#buL5doh#t/okTN*!a6">
                            <field name="OP">LT</field>
                            <value name="A">
                              <block type="on_source" id="VEtoDSob:sF14%jmnXr[">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="V!?+lG#2|7VQ-dgnn?4|">
                                <field name="NUM">300</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_operation" id="IC)`}jgNen5F1N#Qjb:~" inline="false">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="time_compare" id="qhQ*DY~ZoD9U*WJiSE.8">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false"></mutation>
                            <field name="OPTION">&gt;</field>
                            <field name="START_TIME">23:00</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="FeHt$8yMCXvUq$5ye-RE">
                            <field name="OP">LT</field>
                            <value name="A">
                              <block type="on_source" id="wr/psQ*vKTIf+8y}gg4R">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="lIx1BP/VE)`}t!k!U4r|">
                                <field name="NUM">300</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="variables_set" id="L+4Ku-/v|69KE0nD7Pb7">
                        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="W,a2FN}d^%PaI]hyCYkK">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="_qgWF*jdZ/QKfr9POs0L">
                        <value name="IF0">
                          <block type="logic_compare" id="X7KYR)Q6|-QL@=*ZWTBD">
                            <field name="OP">NEQ</field>
                            <value name="A">
                              <block type="variables_get" id="[-Bv!#,hV:Yz8I53N2Y~">
                                <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="get_value" id="kD~ukn|f|d@uo5#GX.y}">
                                <field name="ATTR">val</field>
                                <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="fT~xYZ|F)+1p)_rAB}a,">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id="y8rYr_L_eWEvAR[d$pG_">
                                <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="debug" id=":;07tr72fVw{?`HNic(q">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                <field name="TEXT">test</field>
                              </shadow>
                              <block type="text_join" id="!E[?o{_K5c3tfHgAa+6O">
                                <mutation items="4"></mutation>
                                <value name="ADD0">
                                  <block type="text" id=":,psL={k/UsAtc1$,U=1">
                                    <field name="TEXT">Außenbeleuchtung:</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="(ybtL.qIEg()hW:uHkyH">
                                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="gmO[[Owfys^]w}t]IQTL">
                                    <field name="TEXT"> und Helligkeit:</field>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="get_value" id="~7fMP8j.GBv_e,jA{XD[">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="schedule" id="EF?3)TIqPV%Jq)SG/g|P">
                    <field name="SCHEDULE">0 3 * * *</field>
                    <statement name="STATEMENT">
                      <block type="control" id="$s!n*t`o@*j$ZrYUGcZx">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="d*lQAX^al7xdtMDpqP%A">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="debug" id="4TuibwT/7=lXyJ+V*Rte">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                <field name="TEXT">test</field>
                              </shadow>
                              <block type="text_join" id="7B0j;l)a9WQg@)h.=hI-">
                                <mutation items="4"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="*VT-YVw1K_Zh-,fd672c">
                                    <field name="TEXT">Außenbeleuchtung:</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="Y*gQg{ue5OwAgVo9y(3-">
                                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="pu^|1])3KW9TXT1@^~cp">
                                    <field name="TEXT"> und Helligkeit:</field>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="get_value" id="?!r3#E$%_zTY[]7iQJB]">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="schedule" id="=1HK,tlY!FMQ?IZ%RF0,">
                        <field name="SCHEDULE">0 6 * * *</field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="U`8u9o:Am{Eun=MmoPK_">
                            <value name="IF0">
                              <block type="logic_compare" id="i)kldwDoimFLu5k8ox0_">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="get_value" id="_-:}|R08h~[Uj:eeFG#K">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="0k|EA=5[YYT5]j0{|g^.">
                                    <field name="NUM">300</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="+[YWQ7voD;9Qs3X;#A_B">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="erKj+5,3/9=gp~|T#k$}">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="debug" id="Ibr7L|o{Y0M!~}qe~+Hv">
                                <field name="Severity">log</field>
                                <value name="TEXT">
                                  <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                    <field name="TEXT">test</field>
                                  </shadow>
                                  <block type="text_join" id="17qImrEo}nAik]AXmpn.">
                                    <mutation items="4"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="%Qw]s~){^9?VHjBu9nB[">
                                        <field name="TEXT">Außenbeleuchtung:</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="rb3|1b-pT)K1#8TL7mRF">
                                        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="UDH{#Warhxuiaw4#.5sf">
                                        <field name="TEXT"> und Helligkeit:</field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="get_value" id="m=/Hc)PQ9y7D48KB#pQ-">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </xml>
        

        Gruß Hicki

        paul53P Offline
        paul53P Offline
        paul53
        wrote on last edited by
        #4

        @hicki sagte: von November bis Januar aktivieren.

        Im Datenpunkt-Trigger:

        Blockly_temp.JPG

        In den Zeitplänen mit CRON:

        Blockly_temp.JPG

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

        H 1 Reply Last reply
        0
        • H Offline
          H Offline
          Hicki
          wrote on last edited by Hicki
          #5

          Ich danke Dir.
          Hier mal meine Lösung. Würde es funktionieren?

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="aL_X)*sBl03%NEW0`$16">licht</variable>
            </variables>
            <block type="variables_set" id="nAb*8A.{e9B7yRo7Vp4$" x="-255" y="7">
              <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
              <value name="VALUE">
                <block type="get_value" id="5osR!02k6g`HA4bCFFc3">
                  <field name="ATTR">val</field>
                  <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                </block>
              </value>
              <next>
                <block type="on_ext" id="{C!-q#5L0R;9f?kYAsry">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="E`(8h#e|S}7v|r5d0.Mc">
                      <field name="oid">hm-rpc.0.PEQ1447187.1.LUX</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="G^5|WqVzjvmK,U%fMdMq">
                      <value name="IF0">
                        <block type="logic_operation" id="0!U[bEw56oGuFc_yfZqy" inline="false">
                          <field name="OP">OR</field>
                          <value name="A">
                            <block type="logic_compare" id="47YF}hPY)Nx(JS!4Y~td">
                              <field name="OP">GTE</field>
                              <value name="A">
                                <block type="time_get" id="z}:J)6`L7;6o}JW~sJ`u">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                  <field name="OPTION">MM.DD</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="text" id="kPaw)1bj?}#e*j7(+OuX">
                                  <field name="TEXT">12/01</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id="dWU^lD%(7ac*e$PKNrhF">
                              <field name="OP">LTE</field>
                              <value name="A">
                                <block type="time_get" id="d(3^$vsg3DKf@7wn(_9s">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                  <field name="OPTION">MM.DD</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="text" id="=L^_)Og/Pb#z58x$Ks0;">
                                  <field name="TEXT">01/31</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="controls_if" id=";}+3f,3x_YBFZFD~i@.Y">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="time_compare" id="b^e@Rw{#Wsk;K#:VY3;#">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                              <field name="OPTION">between</field>
                              <field name="START_TIME">6:00</field>
                              <field name="END_TIME">23:00</field>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="variables_set" id="VbB+lbG|FS58Fk3H5vcH">
                              <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                              <value name="VALUE">
                                <block type="logic_compare" id="_#buL5doh#t/okTN*!a6">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="on_source" id="VEtoDSob:sF14%jmnXr[">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="V!?+lG#2|7VQ-dgnn?4|">
                                      <field name="NUM">300</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_operation" id="IC)`}jgNen5F1N#Qjb:~" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="time_compare" id="qhQ*DY~ZoD9U*WJiSE.8">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false"></mutation>
                                  <field name="OPTION">&gt;</field>
                                  <field name="START_TIME">23:00</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="FeHt$8yMCXvUq$5ye-RE">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="on_source" id="wr/psQ*vKTIf+8y}gg4R">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="lIx1BP/VE)`}t!k!U4r|">
                                      <field name="NUM">300</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="variables_set" id="L+4Ku-/v|69KE0nD7Pb7">
                              <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="W,a2FN}d^%PaI]hyCYkK">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <next>
                            <block type="controls_if" id="_qgWF*jdZ/QKfr9POs0L">
                              <value name="IF0">
                                <block type="logic_compare" id="X7KYR)Q6|-QL@=*ZWTBD">
                                  <field name="OP">NEQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="[-Bv!#,hV:Yz8I53N2Y~">
                                      <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="get_value" id="kD~ukn|f|d@uo5#GX.y}">
                                      <field name="ATTR">val</field>
                                      <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="fT~xYZ|F)+1p)_rAB}a,">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="variables_get" id="y8rYr_L_eWEvAR[d$pG_">
                                      <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="debug" id=":;07tr72fVw{?`HNic(q">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="text_join" id="!E[?o{_K5c3tfHgAa+6O">
                                      <mutation items="4"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id=":,psL={k/UsAtc1$,U=1">
                                          <field name="TEXT">Außenbeleuchtung:</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="variables_get" id="(ybtL.qIEg()hW:uHkyH">
                                          <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="text" id="gmO[[Owfys^]w}t]IQTL">
                                          <field name="TEXT"> und Helligkeit:</field>
                                        </block>
                                      </value>
                                      <value name="ADD3">
                                        <block type="get_value" id="~7fMP8j.GBv_e,jA{XD[">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                  <next>
                    <block type="schedule" id="ak~y9Iwu#Cup^J),=;v@">
                      <field name="SCHEDULE">0 3 * * *</field>
                      <statement name="STATEMENT">
                        <block type="control" id="oZj+MJkM;{]VnsEg.;A^">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="cV3]LAPIrt2tIOX-)d|t">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="debug" id="7^r40|R30Z}3Kv)r|f8f">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                  <field name="TEXT">test</field>
                                </shadow>
                                <block type="text_join" id="y/kf?#2~+Z[c#pQjx#Z)">
                                  <mutation items="4"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="]u=J_0w=vHN{zR/[yPoZ">
                                      <field name="TEXT">Außenbeleuchtung:</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="variables_get" id="W^;Ww~TaenQB+RO$hkHN">
                                      <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id="h6f=xZOU[Zo.](Qcl+v)">
                                      <field name="TEXT"> und Helligkeit:</field>
                                    </block>
                                  </value>
                                  <value name="ADD3">
                                    <block type="get_value" id=",=-.E{00d*V[KQse*.GF">
                                      <field name="ATTR">val</field>
                                      <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="schedule" id=",ECUIntEI0QA|h_h+kct">
                          <field name="SCHEDULE">0 6 * * *</field>
                          <statement name="STATEMENT">
                            <block type="controls_if" id=",}pMxq4a7bGFzlZ^GWVf">
                              <value name="IF0">
                                <block type="logic_compare" id="uqgMXHv#IWDH6P9bzJ7w">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="get_value" id="U;u.tz;2xslL9g4SO8qx">
                                      <field name="ATTR">val</field>
                                      <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="}NM^dhdqr7^?*`h`R4t0">
                                      <field name="NUM">300</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="fBR6ceNE|aLkv?~u_*sn">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="~9g-D.r!~]S;KRZ10Z6,">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="debug" id="[k9j)X3_5#kaEq`l,o]*">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="text_join" id="l--#7]:HfKX$u94:lwEl">
                                      <mutation items="4"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="yD*h{N`o+]^xO|xUX^ZC">
                                          <field name="TEXT">Außenbeleuchtung:</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="variables_get" id="TN-#Gu]hUM+${?$|}Z7r">
                                          <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="text" id="(.q3YL3bmfx4IpU$_z4r">
                                          <field name="TEXT"> und Helligkeit:</field>
                                        </block>
                                      </value>
                                      <value name="ADD3">
                                        <block type="get_value" id="KR/ZhBngvcuN5{7fcU{;">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          
          1 Reply Last reply
          0
          • paul53P paul53

            @hicki sagte: von November bis Januar aktivieren.

            Im Datenpunkt-Trigger:

            Blockly_temp.JPG

            In den Zeitplänen mit CRON:

            Blockly_temp.JPG

            H Offline
            H Offline
            Hicki
            wrote on last edited by Hicki
            #6

            @paul53 sagte in komplettes Script zB. von November bis Januar aktivieren:

            @hicki sagte: von November bis Januar aktivieren.

            Im Datenpunkt-Trigger:

            Blockly_temp.JPG

            In den Zeitplänen mit CRON:

            Blockly_temp.JPG

            Hallo,
            ich habe es geändert, so wie es Paul53 geschrieben hat. Es funktioniert aber nicht.

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="aL_X)*sBl03%NEW0`$16">licht</variable>
                <variable id="h9D`_bjnh7+zfds1apYJ">monat</variable>
              </variables>
              <block type="variables_set" id="nAb*8A.{e9B7yRo7Vp4$" x="-312" y="-13">
                <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                <value name="VALUE">
                  <block type="get_value" id="5osR!02k6g`HA4bCFFc3">
                    <field name="ATTR">val</field>
                    <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                  </block>
                </value>
                <next>
                  <block type="on_ext" id="{C!-q#5L0R;9f?kYAsry">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="E`(8h#e|S}7v|r5d0.Mc">
                        <field name="oid">hm-rpc.0.PEQ1447187.1.LUX</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="variables_set" id="+C=!uRkGaZV+@fwXn(^-">
                        <field name="VAR" id="h9D`_bjnh7+zfds1apYJ">monat</field>
                        <value name="VALUE">
                          <block type="time_get" id="SP54U[1N:+(T*JZQ35wy">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                            <field name="OPTION">M</field>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id=";}+3f,3x_YBFZFD~i@.Y">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="2+e?:^M.*R-ZIHgD];C,">
                                <field name="OP">OR</field>
                                <value name="A">
                                  <block type="logic_compare" id="i.rk`1TXp!JYA42Sew%U">
                                    <field name="OP">GTE</field>
                                    <value name="A">
                                      <block type="variables_get" id="vMq!pTewS+y1_IO8Bk6B">
                                        <field name="VAR" id="h9D`_bjnh7+zfds1apYJ">monat</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="$#|ns76)0ik=DuJX^0zN">
                                        <field name="NUM">11</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="th?,9uz!uBdsFyN|jn:5">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="@K=3Ujd]%!-{yW{Btq9S">
                                        <field name="VAR" id="h9D`_bjnh7+zfds1apYJ">monat</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="6u%uJ.L,f[{xNNP88$9n">
                                        <field name="NUM">1</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="controls_if" id="ah9bdqk^?`(F?iRu9K0E">
                                <value name="IF0">
                                  <block type="time_compare" id="b^e@Rw{#Wsk;K#:VY3;#">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                    <field name="OPTION">between</field>
                                    <field name="START_TIME">6:00</field>
                                    <field name="END_TIME">23:00</field>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="variables_set" id="VbB+lbG|FS58Fk3H5vcH">
                                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                    <value name="VALUE">
                                      <block type="logic_compare" id="_#buL5doh#t/okTN*!a6">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="on_source" id="VEtoDSob:sF14%jmnXr[">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="V!?+lG#2|7VQ-dgnn?4|">
                                            <field name="NUM">350</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_operation" id="IC)`}jgNen5F1N#Qjb:~" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="time_compare" id="qhQ*DY~ZoD9U*WJiSE.8">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false"></mutation>
                                    <field name="OPTION">&gt;</field>
                                    <field name="START_TIME">23:30</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="FeHt$8yMCXvUq$5ye-RE">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="on_source" id="wr/psQ*vKTIf+8y}gg4R">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="lIx1BP/VE)`}t!k!U4r|">
                                        <field name="NUM">350</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="variables_set" id="L+4Ku-/v|69KE0nD7Pb7">
                                <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="W,a2FN}d^%PaI]hyCYkK">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="controls_if" id="_qgWF*jdZ/QKfr9POs0L">
                                <value name="IF0">
                                  <block type="logic_compare" id="X7KYR)Q6|-QL@=*ZWTBD">
                                    <field name="OP">NEQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="[-Bv!#,hV:Yz8I53N2Y~">
                                        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="get_value" id="kD~ukn|f|d@uo5#GX.y}">
                                        <field name="ATTR">val</field>
                                        <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="w.%$^mNIRkE/BvQ_kibz">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="variables_get" id="_b]p1k!)%d}f%ykWXd=4">
                                        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="debug" id=":;07tr72fVw{?`HNic(q">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="text_join" id="!E[?o{_K5c3tfHgAa+6O">
                                        <mutation items="4"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id=":,psL={k/UsAtc1$,U=1">
                                            <field name="TEXT">Außenbeleuchtung:</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="(ybtL.qIEg()hW:uHkyH">
                                            <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="gmO[[Owfys^]w}t]IQTL">
                                            <field name="TEXT"> und Helligkeit:</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="get_value" id="~7fMP8j.GBv_e,jA{XD[">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="schedule" id="EF?3)TIqPV%Jq)SG/g|P">
                        <field name="SCHEDULE">0 2 * 1,11,12 *</field>
                        <statement name="STATEMENT">
                          <block type="control" id="e$Hyu9Sa.Sz9/5=Ma4TE">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="Y9SG.fNG@^=%Y+$@ow|)">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="debug" id="=e7HUvXBE%fz)WI8HLUD">
                                <field name="Severity">log</field>
                                <value name="TEXT">
                                  <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                    <field name="TEXT">test</field>
                                  </shadow>
                                  <block type="text_join" id="3q=r},YXe!pv`V[ma!,4">
                                    <mutation items="4"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="q`mw%gyq)T$lgE)rqzm5">
                                        <field name="TEXT">Außenbeleuchtung:</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="variables_get" id="p2svWA!S`R4*pV0%9e0?">
                                        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="8GP6#MJ5^K`b?`g~f2*9">
                                        <field name="TEXT"> und Helligkeit:</field>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="get_value" id="NAU_RnF6{6U?#-{_rOqv">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <next>
                          <block type="schedule" id="=1HK,tlY!FMQ?IZ%RF0,">
                            <field name="SCHEDULE">0 6 * 1,11,12 *</field>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="U`8u9o:Am{Eun=MmoPK_">
                                <value name="IF0">
                                  <block type="logic_compare" id="i)kldwDoimFLu5k8ox0_">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="get_value" id="_-:}|R08h~[Uj:eeFG#K">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="0k|EA=5[YYT5]j0{|g^.">
                                        <field name="NUM">350</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="KXd3@lXse#4s[gt=zm@Z">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="BN-5gr7sNQ?R^8E|3*m+">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="debug" id="Vx}Nv%]Bt_k9]N^RakQS">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                        <field name="TEXT">test</field>
                                      </shadow>
                                      <block type="text_join" id="p8.wQe+)UP~?43;ljchF">
                                        <mutation items="4"></mutation>
                                        <value name="ADD0">
                                          <block type="text" id="F7*Cv|^vdR#Ii(6B#S|o">
                                            <field name="TEXT">Außenbeleuchtung:</field>
                                          </block>
                                        </value>
                                        <value name="ADD1">
                                          <block type="variables_get" id="H~:(r8Vn#tJIH5kFM|u=">
                                            <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                          </block>
                                        </value>
                                        <value name="ADD2">
                                          <block type="text" id="*+C:ANSOjYY~O8=l?U0=">
                                            <field name="TEXT"> und Helligkeit:</field>
                                          </block>
                                        </value>
                                        <value name="ADD3">
                                          <block type="get_value" id="C,R}00?Q0*-VlVaY([+[">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </xml>
            

            Was habe ich falsch gemacht?

            besser dargestellt

            zui.jpg

            2.jpg

            HomoranH 1 Reply Last reply
            0
            • H Hicki

              @paul53 sagte in komplettes Script zB. von November bis Januar aktivieren:

              @hicki sagte: von November bis Januar aktivieren.

              Im Datenpunkt-Trigger:

              Blockly_temp.JPG

              In den Zeitplänen mit CRON:

              Blockly_temp.JPG

              Hallo,
              ich habe es geändert, so wie es Paul53 geschrieben hat. Es funktioniert aber nicht.

              <xml xmlns="https://developers.google.com/blockly/xml">
                <variables>
                  <variable id="aL_X)*sBl03%NEW0`$16">licht</variable>
                  <variable id="h9D`_bjnh7+zfds1apYJ">monat</variable>
                </variables>
                <block type="variables_set" id="nAb*8A.{e9B7yRo7Vp4$" x="-312" y="-13">
                  <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                  <value name="VALUE">
                    <block type="get_value" id="5osR!02k6g`HA4bCFFc3">
                      <field name="ATTR">val</field>
                      <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                    </block>
                  </value>
                  <next>
                    <block type="on_ext" id="{C!-q#5L0R;9f?kYAsry">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="E`(8h#e|S}7v|r5d0.Mc">
                          <field name="oid">hm-rpc.0.PEQ1447187.1.LUX</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="variables_set" id="+C=!uRkGaZV+@fwXn(^-">
                          <field name="VAR" id="h9D`_bjnh7+zfds1apYJ">monat</field>
                          <value name="VALUE">
                            <block type="time_get" id="SP54U[1N:+(T*JZQ35wy">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                              <field name="OPTION">M</field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id=";}+3f,3x_YBFZFD~i@.Y">
                              <mutation elseif="1"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="2+e?:^M.*R-ZIHgD];C,">
                                  <field name="OP">OR</field>
                                  <value name="A">
                                    <block type="logic_compare" id="i.rk`1TXp!JYA42Sew%U">
                                      <field name="OP">GTE</field>
                                      <value name="A">
                                        <block type="variables_get" id="vMq!pTewS+y1_IO8Bk6B">
                                          <field name="VAR" id="h9D`_bjnh7+zfds1apYJ">monat</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="$#|ns76)0ik=DuJX^0zN">
                                          <field name="NUM">11</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="th?,9uz!uBdsFyN|jn:5">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="@K=3Ujd]%!-{yW{Btq9S">
                                          <field name="VAR" id="h9D`_bjnh7+zfds1apYJ">monat</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="6u%uJ.L,f[{xNNP88$9n">
                                          <field name="NUM">1</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="controls_if" id="ah9bdqk^?`(F?iRu9K0E">
                                  <value name="IF0">
                                    <block type="time_compare" id="b^e@Rw{#Wsk;K#:VY3;#">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                      <field name="OPTION">between</field>
                                      <field name="START_TIME">6:00</field>
                                      <field name="END_TIME">23:00</field>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="variables_set" id="VbB+lbG|FS58Fk3H5vcH">
                                      <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                      <value name="VALUE">
                                        <block type="logic_compare" id="_#buL5doh#t/okTN*!a6">
                                          <field name="OP">LT</field>
                                          <value name="A">
                                            <block type="on_source" id="VEtoDSob:sF14%jmnXr[">
                                              <field name="ATTR">state.val</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="V!?+lG#2|7VQ-dgnn?4|">
                                              <field name="NUM">350</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_operation" id="IC)`}jgNen5F1N#Qjb:~" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="time_compare" id="qhQ*DY~ZoD9U*WJiSE.8">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="false"></mutation>
                                      <field name="OPTION">&gt;</field>
                                      <field name="START_TIME">23:30</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="FeHt$8yMCXvUq$5ye-RE">
                                      <field name="OP">LT</field>
                                      <value name="A">
                                        <block type="on_source" id="wr/psQ*vKTIf+8y}gg4R">
                                          <field name="ATTR">state.val</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="lIx1BP/VE)`}t!k!U4r|">
                                          <field name="NUM">350</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="variables_set" id="L+4Ku-/v|69KE0nD7Pb7">
                                  <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="W,a2FN}d^%PaI]hyCYkK">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="_qgWF*jdZ/QKfr9POs0L">
                                  <value name="IF0">
                                    <block type="logic_compare" id="X7KYR)Q6|-QL@=*ZWTBD">
                                      <field name="OP">NEQ</field>
                                      <value name="A">
                                        <block type="variables_get" id="[-Bv!#,hV:Yz8I53N2Y~">
                                          <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="get_value" id="kD~ukn|f|d@uo5#GX.y}">
                                          <field name="ATTR">val</field>
                                          <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="w.%$^mNIRkE/BvQ_kibz">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="variables_get" id="_b]p1k!)%d}f%ykWXd=4">
                                          <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="debug" id=":;07tr72fVw{?`HNic(q">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="text_join" id="!E[?o{_K5c3tfHgAa+6O">
                                          <mutation items="4"></mutation>
                                          <value name="ADD0">
                                            <block type="text" id=":,psL={k/UsAtc1$,U=1">
                                              <field name="TEXT">Außenbeleuchtung:</field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="variables_get" id="(ybtL.qIEg()hW:uHkyH">
                                              <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                            </block>
                                          </value>
                                          <value name="ADD2">
                                            <block type="text" id="gmO[[Owfys^]w}t]IQTL">
                                              <field name="TEXT"> und Helligkeit:</field>
                                            </block>
                                          </value>
                                          <value name="ADD3">
                                            <block type="get_value" id="~7fMP8j.GBv_e,jA{XD[">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="schedule" id="EF?3)TIqPV%Jq)SG/g|P">
                          <field name="SCHEDULE">0 2 * 1,11,12 *</field>
                          <statement name="STATEMENT">
                            <block type="control" id="e$Hyu9Sa.Sz9/5=Ma4TE">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="Y9SG.fNG@^=%Y+$@ow|)">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="debug" id="=e7HUvXBE%fz)WI8HLUD">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="text_join" id="3q=r},YXe!pv`V[ma!,4">
                                      <mutation items="4"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="q`mw%gyq)T$lgE)rqzm5">
                                          <field name="TEXT">Außenbeleuchtung:</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="variables_get" id="p2svWA!S`R4*pV0%9e0?">
                                          <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="text" id="8GP6#MJ5^K`b?`g~f2*9">
                                          <field name="TEXT"> und Helligkeit:</field>
                                        </block>
                                      </value>
                                      <value name="ADD3">
                                        <block type="get_value" id="NAU_RnF6{6U?#-{_rOqv">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="schedule" id="=1HK,tlY!FMQ?IZ%RF0,">
                              <field name="SCHEDULE">0 6 * 1,11,12 *</field>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="U`8u9o:Am{Eun=MmoPK_">
                                  <value name="IF0">
                                    <block type="logic_compare" id="i)kldwDoimFLu5k8ox0_">
                                      <field name="OP">LT</field>
                                      <value name="A">
                                        <block type="get_value" id="_-:}|R08h~[Uj:eeFG#K">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="0k|EA=5[YYT5]j0{|g^.">
                                          <field name="NUM">350</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="KXd3@lXse#4s[gt=zm@Z">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="BN-5gr7sNQ?R^8E|3*m+">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="debug" id="Vx}Nv%]Bt_k9]N^RakQS">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="3P6x:CGgrB2V^fsr0hn0">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="text_join" id="p8.wQe+)UP~?43;ljchF">
                                          <mutation items="4"></mutation>
                                          <value name="ADD0">
                                            <block type="text" id="F7*Cv|^vdR#Ii(6B#S|o">
                                              <field name="TEXT">Außenbeleuchtung:</field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="variables_get" id="H~:(r8Vn#tJIH5kFM|u=">
                                              <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                            </block>
                                          </value>
                                          <value name="ADD2">
                                            <block type="text" id="*+C:ANSOjYY~O8=l?U0=">
                                              <field name="TEXT"> und Helligkeit:</field>
                                            </block>
                                          </value>
                                          <value name="ADD3">
                                            <block type="get_value" id="C,R}00?Q0*-VlVaY([+[">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.PEQ1447187.1.LUX</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </xml>
              

              Was habe ich falsch gemacht?

              besser dargestellt

              zui.jpg

              2.jpg

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #7

              @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

              besser dargestellt

              dein falls mit den Zeitabfragen umschliesst nicht alles!
              ist das gewollt?

              @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

              Es funktioniert aber nicht.

              ...ist keine Fehlerbeschreibung!

              was passiert?
              was erwartest du?

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              H 1 Reply Last reply
              0
              • HomoranH Homoran

                @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                besser dargestellt

                dein falls mit den Zeitabfragen umschliesst nicht alles!
                ist das gewollt?

                @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                Es funktioniert aber nicht.

                ...ist keine Fehlerbeschreibung!

                was passiert?
                was erwartest du?

                H Offline
                H Offline
                Hicki
                wrote on last edited by
                #8

                @homoran Hallo,
                ich erkläre noch einmal was ich genau mit dem Script erreichen will.

                Lichtsensor - Terrasse.LUX ist der Lichtsensor
                Objekt ID Switch2 ist schaltbare Steckdose

                Von November bis Januar soll das Script aktiv sein, dass heißt,
                von 6 - 23Uhr soll bei weniger als 350Lux die Steckdose an gehen
                ab 23.30Uhr Steckdose aus
                ab 6Uhr Steckdose wieder an bei weniger als 350Lux
                bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                Ich hoffe es verständlich erklärt zu haben.

                Gruß Hicki

                paul53P HomoranH 3 Replies Last reply
                0
                • H Hicki

                  @homoran Hallo,
                  ich erkläre noch einmal was ich genau mit dem Script erreichen will.

                  Lichtsensor - Terrasse.LUX ist der Lichtsensor
                  Objekt ID Switch2 ist schaltbare Steckdose

                  Von November bis Januar soll das Script aktiv sein, dass heißt,
                  von 6 - 23Uhr soll bei weniger als 350Lux die Steckdose an gehen
                  ab 23.30Uhr Steckdose aus
                  ab 6Uhr Steckdose wieder an bei weniger als 350Lux
                  bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                  Ich hoffe es verständlich erklärt zu haben.

                  Gruß Hicki

                  paul53P Offline
                  paul53P Offline
                  paul53
                  wrote on last edited by paul53
                  #9

                  @hicki sagte: ab 23.30Uhr Steckdose aus

                  Weshalb dann per Zeitplan erst um 2:00 Uhr? Der Lux-Wert wird sich nach 23:00 Uhr nicht mehr ändern.

                  Versuche es mal einfacher:

                  Blockly_temp.JPG

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

                  H 1 Reply Last reply
                  0
                  • H Hicki

                    @homoran Hallo,
                    ich erkläre noch einmal was ich genau mit dem Script erreichen will.

                    Lichtsensor - Terrasse.LUX ist der Lichtsensor
                    Objekt ID Switch2 ist schaltbare Steckdose

                    Von November bis Januar soll das Script aktiv sein, dass heißt,
                    von 6 - 23Uhr soll bei weniger als 350Lux die Steckdose an gehen
                    ab 23.30Uhr Steckdose aus
                    ab 6Uhr Steckdose wieder an bei weniger als 350Lux
                    bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                    Ich hoffe es verständlich erklärt zu haben.

                    Gruß Hicki

                    paul53P Offline
                    paul53P Offline
                    paul53
                    wrote on last edited by paul53
                    #10

                    @hicki sagte: bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                    Wenn der Wert um 350 Lux schwankt, geht das Licht ein und aus. Besser ist es, am Vormittag das Licht bei erster Überschreitung nur auszuschalten und abends bei erster Unterschreitung nur einzuschalten.

                    Blockly_temp.JPG

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

                    H 1 Reply Last reply
                    0
                    • H Hicki

                      @homoran Hallo,
                      ich erkläre noch einmal was ich genau mit dem Script erreichen will.

                      Lichtsensor - Terrasse.LUX ist der Lichtsensor
                      Objekt ID Switch2 ist schaltbare Steckdose

                      Von November bis Januar soll das Script aktiv sein, dass heißt,
                      von 6 - 23Uhr soll bei weniger als 350Lux die Steckdose an gehen
                      ab 23.30Uhr Steckdose aus
                      ab 6Uhr Steckdose wieder an bei weniger als 350Lux
                      bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                      Ich hoffe es verständlich erklärt zu haben.

                      Gruß Hicki

                      HomoranH Do not disturb
                      HomoranH Do not disturb
                      Homoran
                      Global Moderator Administrators
                      wrote on last edited by
                      #11

                      @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                      Ich hoffe es verständlich erklärt zu haben.

                      nicht wirklich!

                      also nochmal:

                      @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                      Es funktioniert aber nicht.

                      heisst was?

                      kein Support per PN! - Fragen im Forum stellen -
                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                      Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      1 Reply Last reply
                      0
                      • paul53P paul53

                        @hicki sagte: ab 23.30Uhr Steckdose aus

                        Weshalb dann per Zeitplan erst um 2:00 Uhr? Der Lux-Wert wird sich nach 23:00 Uhr nicht mehr ändern.

                        Versuche es mal einfacher:

                        Blockly_temp.JPG

                        H Offline
                        H Offline
                        Hicki
                        wrote on last edited by
                        #12

                        @paul53 sagte in komplettes Script zB. von November bis Januar aktivieren:

                        @hicki sagte: ab 23.30Uhr Steckdose aus

                        Weshalb dann per Zeitplan erst um 2:00 Uhr? Der Lux-Wert wird sich nach 23:00 Uhr nicht mehr ändern.

                        Versuche es mal einfacher:

                        Blockly_temp.JPG

                        Hallo,
                        weil 2Uhr das Licht ausgeschalten werden soll.

                        HomoranH 1 Reply Last reply
                        0
                        • H Hicki

                          @paul53 sagte in komplettes Script zB. von November bis Januar aktivieren:

                          @hicki sagte: ab 23.30Uhr Steckdose aus

                          Weshalb dann per Zeitplan erst um 2:00 Uhr? Der Lux-Wert wird sich nach 23:00 Uhr nicht mehr ändern.

                          Versuche es mal einfacher:

                          Blockly_temp.JPG

                          Hallo,
                          weil 2Uhr das Licht ausgeschalten werden soll.

                          HomoranH Do not disturb
                          HomoranH Do not disturb
                          Homoran
                          Global Moderator Administrators
                          wrote on last edited by
                          #13

                          @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                          weil 2Uhr das Licht ausgeschalten werden soll.

                          und nicht wird?

                          aber die Systemzeit ist richtig?
                          Screenshot_20230303-095828_Firefox.jpg

                          kein Support per PN! - Fragen im Forum stellen -
                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          1 Reply Last reply
                          0
                          • paul53P paul53

                            @hicki sagte: bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                            Wenn der Wert um 350 Lux schwankt, geht das Licht ein und aus. Besser ist es, am Vormittag das Licht bei erster Überschreitung nur auszuschalten und abends bei erster Unterschreitung nur einzuschalten.

                            Blockly_temp.JPG

                            H Offline
                            H Offline
                            Hicki
                            wrote on last edited by Hicki
                            #14

                            @paul53 sagte in komplettes Script zB. von November bis Januar aktivieren:

                            @hicki sagte: bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                            Wenn der Wert um 350 Lux schwankt, geht das Licht ein und aus. Besser ist es, am Vormittag das Licht bei erster Überschreitung nur auszuschalten und abends bei erster Unterschreitung nur einzuschalten.

                            Blockly_temp.JPG

                            Hallo,
                            Abend geht das Licht nicht an.

                            H 1 Reply Last reply
                            0
                            • H Hicki

                              @paul53 sagte in komplettes Script zB. von November bis Januar aktivieren:

                              @hicki sagte: bei allen Uhrzeiten bei mehr als 350Lux Steckdose aus

                              Wenn der Wert um 350 Lux schwankt, geht das Licht ein und aus. Besser ist es, am Vormittag das Licht bei erster Überschreitung nur auszuschalten und abends bei erster Unterschreitung nur einzuschalten.

                              Blockly_temp.JPG

                              Hallo,
                              Abend geht das Licht nicht an.

                              H Offline
                              H Offline
                              Hicki
                              wrote on last edited by
                              #15

                              @hicki Ich war jetzt lange Krank, deshalb melde ich mich jetzt erst.
                              Es haut immer noch nicht hin. Wer kann mir bitte helfen.
                              Vielen Dank -
                              Hicki

                              M 1 Reply Last reply
                              0
                              • H Hicki

                                @hicki Ich war jetzt lange Krank, deshalb melde ich mich jetzt erst.
                                Es haut immer noch nicht hin. Wer kann mir bitte helfen.
                                Vielen Dank -
                                Hicki

                                M Offline
                                M Offline
                                Michi_Pi
                                wrote on last edited by
                                #16

                                @hicki was genau funktioniert denn jetzt und was nicht? Dann wäre es auch einfacher dir zu helfen.

                                H 1 Reply Last reply
                                0
                                • M Michi_Pi

                                  @hicki was genau funktioniert denn jetzt und was nicht? Dann wäre es auch einfacher dir zu helfen.

                                  H Offline
                                  H Offline
                                  Hicki
                                  wrote on last edited by
                                  #17

                                  @michi_pi Hallo,
                                  das Licht geht nicht an.

                                  HomoranH 1 Reply Last reply
                                  0
                                  • H Hicki

                                    @michi_pi Hallo,
                                    das Licht geht nicht an.

                                    HomoranH Do not disturb
                                    HomoranH Do not disturb
                                    Homoran
                                    Global Moderator Administrators
                                    wrote on last edited by
                                    #18

                                    @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                                    @michi_pi Hallo,
                                    das Licht geht nicht an.

                                    und wie hell ist es?

                                    kein Support per PN! - Fragen im Forum stellen -
                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    H 1 Reply Last reply
                                    0
                                    • HomoranH Homoran

                                      @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                                      @michi_pi Hallo,
                                      das Licht geht nicht an.

                                      und wie hell ist es?

                                      H Offline
                                      H Offline
                                      Hicki
                                      wrote on last edited by
                                      #19

                                      @homoran Wenn es unter 350Lux ist, bleibt es dunkel

                                      HomoranH 1 Reply Last reply
                                      0
                                      • H Hicki

                                        @homoran Wenn es unter 350Lux ist, bleibt es dunkel

                                        HomoranH Do not disturb
                                        HomoranH Do not disturb
                                        Homoran
                                        Global Moderator Administrators
                                        wrote on last edited by
                                        #20

                                        @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                                        @homoran Wenn es unter 350Lux ist, bleibt es dunkel

                                        ja! deshalb die Frage

                                        kein Support per PN! - Fragen im Forum stellen -
                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        H 1 Reply Last reply
                                        0
                                        • HomoranH Homoran

                                          @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                                          @homoran Wenn es unter 350Lux ist, bleibt es dunkel

                                          ja! deshalb die Frage

                                          H Offline
                                          H Offline
                                          Hicki
                                          wrote on last edited by
                                          #21

                                          @homoran sagte in komplettes Script zB. von November bis Januar aktivieren:

                                          @hicki sagte in komplettes Script zB. von November bis Januar aktivieren:

                                          @homoran Wenn es unter 350Lux ist, bleibt es dunkel

                                          ja! deshalb die Frage

                                          Wie gesagt, wenn das Licht unter 350Lux ist, schaltet die Beleuchtung nicht an.

                                          HomoranH 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          587

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe