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

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

Community Forum

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

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    494

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

komplettes Script zB. von November bis Januar aktivieren

Geplant Angeheftet Gesperrt Verschoben Blockly
43 Beiträge 5 Kommentatoren 2.0k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • 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
    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
    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 Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #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 - es gibt fast nichts, was nicht auch für andere interessant ist.

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

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

      H 1 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antworten Letzte Antwort
        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
          schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
          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
            schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
            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 Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #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 - es gibt fast nichts, was nicht auch für andere interessant ist.

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

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

              1 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                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 Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #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 - es gibt fast nichts, was nicht auch für andere interessant ist.

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

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

                  1 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #16

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

                        H 1 Antwort Letzte Antwort
                        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
                          schrieb am zuletzt editiert von
                          #17

                          @michi_pi Hallo,
                          das Licht geht nicht an.

                          HomoranH 1 Antwort Letzte Antwort
                          0
                          • H Hicki

                            @michi_pi Hallo,
                            das Licht geht nicht an.

                            HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #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 - es gibt fast nichts, was nicht auch für andere interessant ist.

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

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

                            H 1 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #19

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

                              HomoranH 1 Antwort Letzte Antwort
                              0
                              • H Hicki

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

                                HomoranH Nicht stören
                                HomoranH Nicht stören
                                Homoran
                                Global Moderator Administrators
                                schrieb am zuletzt editiert von
                                #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 - es gibt fast nichts, was nicht auch für andere interessant ist.

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

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

                                H 1 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  0
                                  • H Hicki

                                    @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 Nicht stören
                                    HomoranH Nicht stören
                                    Homoran
                                    Global Moderator Administrators
                                    schrieb am zuletzt editiert von Homoran
                                    #22

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

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

                                    soll!!!

                                    und wie hell IST es?

                                    lass dir doch die Bedingungen per debug anzeigen

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

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

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

                                    H 1 Antwort Letzte Antwort
                                    0
                                    • HomoranH Homoran

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

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

                                      soll!!!

                                      und wie hell IST es?

                                      lass dir doch die Bedingungen per debug anzeigen

                                      H Offline
                                      H Offline
                                      Hicki
                                      schrieb am zuletzt editiert von Hicki
                                      #23

                                      @homoran Jetzt schaltet es noch nicht.Ist noch zu hell. Wenn es später soweit ist melde ich mich. Debug sende ich dann mit. Den Lichtwert habe ich auf 1000 gesetzt, da geht es schneller.

                                      H 1 Antwort Letzte Antwort
                                      0
                                      • H Hicki

                                        @homoran Jetzt schaltet es noch nicht.Ist noch zu hell. Wenn es später soweit ist melde ich mich. Debug sende ich dann mit. Den Lichtwert habe ich auf 1000 gesetzt, da geht es schneller.

                                        H Offline
                                        H Offline
                                        Hicki
                                        schrieb am zuletzt editiert von Homoran
                                        #24

                                        @hicki hier die Debugausgabe

                                        2.11.2025, 16:05:37.254	[info ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: getState(id=meross.0.2103167712159190845648e1e962ef89.2, timerId=undefined) => {"val":false,"ack":true,"ts":1762095824738,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1762095824738}
                                        2.11.2025, 16:05:37.255	[info ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: setForeignState(id=meross.0.2103167712159190845648e1e962ef89.2, state={"val":true,"ack":false,"ts":1762095937255,"q":0,"from":"system.adapter.javascript.0","lc":1762095937255,"c":"script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5"})
                                        2.11.2025, 16:05:37.255	[warn ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: setForeignState(id=meross.0.2103167712159190845648e1e962ef89.2, state={"val":true,"ack":false,"ts":1762095937255,"q":0,"from":"system.adapter.javascript.0","lc":1762095937255,"c":"script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist
                                        2.11.2025, 16:05:37.256	[info ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: getState(id=hm-rpc.0.PEQ1447187.1.LUX, timerId=undefined) => {"val":673.46,"ack":true,"ts":1762095937252,"q":0,"from":"system.adapter.hm-rpc.0","user":"system.user.admin","lc":1762095937252}
                                        

                                        MOD-EDIT: Code in code-tags gesetzt!

                                        Das dazugehörige Blockly

                                        Screenshot2 2025-11-02 161207.png

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <variables>
                                            <variable id="h9D`_bjnh7+zfds1apYJ">monat</variable>
                                            <variable id="aL_X)*sBl03%NEW0`$16">licht</variable>
                                          </variables>
                                          <block type="on_ext" id="{C!-q#5L0R;9f?kYAsry" x="-312" y="14">
                                            <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="d,YSKZ.xFAT`;R,vIx2D">
                                                    <value name="IF0">
                                                      <block type="logic_operation" id=":sCXl^))p5{Xh%v$OKt!" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <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>
                                                        <value name="B">
                                                          <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">06:00</field>
                                                            <field name="END_TIME">23:00</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="variables_set" id="FynZ+bVq1MPh55VOl_q`">
                                                        <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                                        <value name="VALUE">
                                                          <block type="logic_compare" id=":qpdm}*R*.qIV}[b4MQO">
                                                            <field name="OP">LT</field>
                                                            <value name="A">
                                                              <block type="on_source" id="!u2_GN{4eMdq[GC%tjOm">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="e=3=QK~heu0PaUN)=_eB">
                                                                <field name="NUM">1000</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="controls_if" id="iX(Z4x6.^1Am:O3b$#To">
                                                            <value name="IF0">
                                                              <block type="logic_compare" id=")Hsxue?IHr)#[4uQ.E#K">
                                                                <field name="OP">NEQ</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="(=F@DeY}ZXlw`3H@jjSe">
                                                                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="get_value" id="iRDMVgP*lqUkL94f,N[}">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="%Y^,A~ps;6j3+zVe%Pb$">
                                                                <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="5D^CvDup/L{}o((]sZNc">
                                                                    <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="debug" id=":;07tr72fVw{?`HNic(q">
                                                        <field name="Severity">debug</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 * 1,2,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">debug</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">1000</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">debug</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>
                                        </xml>
                                        

                                        hier noch die Ausgabe der Switch2

                                        Außenbeleuchtung1.jpg

                                        Ich hoffe es ist jetzt alles dabei

                                        HomoranH 1 Antwort Letzte Antwort
                                        0
                                        • H Hicki

                                          @hicki hier die Debugausgabe

                                          2.11.2025, 16:05:37.254	[info ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: getState(id=meross.0.2103167712159190845648e1e962ef89.2, timerId=undefined) => {"val":false,"ack":true,"ts":1762095824738,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1762095824738}
                                          2.11.2025, 16:05:37.255	[info ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: setForeignState(id=meross.0.2103167712159190845648e1e962ef89.2, state={"val":true,"ack":false,"ts":1762095937255,"q":0,"from":"system.adapter.javascript.0","lc":1762095937255,"c":"script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5"})
                                          2.11.2025, 16:05:37.255	[warn ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: setForeignState(id=meross.0.2103167712159190845648e1e962ef89.2, state={"val":true,"ack":false,"ts":1762095937255,"q":0,"from":"system.adapter.javascript.0","lc":1762095937255,"c":"script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5"}) - wurde nicht ausgeführt, während der Debug-Modus aktiv ist
                                          2.11.2025, 16:05:37.256	[info ]: javascript.0 (1968) script.js.Scripte_-_Andreas.Außenbeleuchtung_mit_Datum5: getState(id=hm-rpc.0.PEQ1447187.1.LUX, timerId=undefined) => {"val":673.46,"ack":true,"ts":1762095937252,"q":0,"from":"system.adapter.hm-rpc.0","user":"system.user.admin","lc":1762095937252}
                                          

                                          MOD-EDIT: Code in code-tags gesetzt!

                                          Das dazugehörige Blockly

                                          Screenshot2 2025-11-02 161207.png

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable id="h9D`_bjnh7+zfds1apYJ">monat</variable>
                                              <variable id="aL_X)*sBl03%NEW0`$16">licht</variable>
                                            </variables>
                                            <block type="on_ext" id="{C!-q#5L0R;9f?kYAsry" x="-312" y="14">
                                              <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="d,YSKZ.xFAT`;R,vIx2D">
                                                      <value name="IF0">
                                                        <block type="logic_operation" id=":sCXl^))p5{Xh%v$OKt!" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <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>
                                                          <value name="B">
                                                            <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">06:00</field>
                                                              <field name="END_TIME">23:00</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="variables_set" id="FynZ+bVq1MPh55VOl_q`">
                                                          <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                                          <value name="VALUE">
                                                            <block type="logic_compare" id=":qpdm}*R*.qIV}[b4MQO">
                                                              <field name="OP">LT</field>
                                                              <value name="A">
                                                                <block type="on_source" id="!u2_GN{4eMdq[GC%tjOm">
                                                                  <field name="ATTR">state.val</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="e=3=QK~heu0PaUN)=_eB">
                                                                  <field name="NUM">1000</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="controls_if" id="iX(Z4x6.^1Am:O3b$#To">
                                                              <value name="IF0">
                                                                <block type="logic_compare" id=")Hsxue?IHr)#[4uQ.E#K">
                                                                  <field name="OP">NEQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="(=F@DeY}ZXlw`3H@jjSe">
                                                                      <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="get_value" id="iRDMVgP*lqUkL94f,N[}">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">meross.0.2103167712159190845648e1e962ef89.2</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="%Y^,A~ps;6j3+zVe%Pb$">
                                                                  <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="5D^CvDup/L{}o((]sZNc">
                                                                      <field name="VAR" id="aL_X)*sBl03%NEW0`$16">licht</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="debug" id=":;07tr72fVw{?`HNic(q">
                                                          <field name="Severity">debug</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 * 1,2,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">debug</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">1000</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">debug</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>
                                          </xml>
                                          

                                          hier noch die Ausgabe der Switch2

                                          Außenbeleuchtung1.jpg

                                          Ich hoffe es ist jetzt alles dabei

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

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

                                          hier die Debugausgabe

                                          nee, mit debug blöcken die Entscheidungskriterien ausgeben!
                                          kommt im Feld unter dem Blockly
                                          wenn du das im Log sehen willst musst du den js-Adapter auf debug stellen, oder die Blöcke auf Info

                                          EDIT
                                          ist das auf dem Foto der DP der das Licht anmachen soll?

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

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

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

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          455

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe