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. ioBroker Allgemein
  4. Unlogisch, oder?

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.6k

Unlogisch, oder?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
blocklyskript
44 Beiträge 5 Kommentatoren 2.8k Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Uli977U Uli977

    @paul53 .... Danke!

    -->Wenn man noch die Datenpunkt-ID und den Pushover-Text an die Funktion übergibt, kommt man mit einer Funktion aus.
    Liegt aber ausßerhalb meines Horizontes..... leider!

    Ich versuche mal das Erste herzuleiten.

    242a7049-9efa-43f6-ab13-64d35d838b5a-image.png

    Du setzt also
    Rolloshoch an = wahr
    sonst
    Rolloshoch an = falsch (also quasi aus)

    89d45120-5f40-44e9-a898-51f0de53e191-image.png
    nach Rolloshoch an (ist also der Tigger, denke ich)
    Falles Rolloshoch an ist und dies ungleich dem Datenpunkt 02_Rollos_hell ist, dann setzt eben diesen Datenpunkt auf an.

    Habe ich das halbwegs richtig erfasst?

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

    @Uli977
    Beispiel mit einem Werteliste-Datenpunkt (0 = runter / 1 = halb / 2 = hoch), der nicht pendeln sollte, wenn die Helligkeit um den Grenzwert schwankt:

    Blockly_temp.JPG

    <xml xmlns="http://www.w3.org/1999/xhtml">
     <variables>
       <variable type="" id=":zvUsC0|Kab)@w#8FyU*">pos</variable>
       <variable type="" id="3U:fR:NTK]((S%BF:qKU">text</variable>
       <variable type="" id="OGmWDgWGPI,X=.mQGeRi">position</variable>
     </variables>
     <block type="on_ext" id="vh$1Vf/:fEcxImN2n]k0" x="284" y="206">
       <mutation items="1"></mutation>
       <field name="CONDITION">ne</field>
       <field name="ACK_CONDITION"></field>
       <value name="OID0">
         <shadow type="field_oid" id="tfo!K_/{iAV9vOD,pUJY">
           <field name="oid">hm-rpc.1.JEQ0127504.1.BRIGHTNESS</field>
         </shadow>
       </value>
       <statement name="STATEMENT">
         <block type="variables_set" id="lN5qRzU4D#}GrF6c6rw.">
           <field name="VAR" id="OGmWDgWGPI,X=.mQGeRi" variabletype="">position</field>
           <value name="VALUE">
             <block type="get_value_var" id="EkukU7CWM9Cc|KlL@]((">
               <field name="ATTR">val</field>
               <value name="OID">
                 <shadow type="text" id="if+bcv~aJm8(_v4!N*Qt">
                   <field name="TEXT">javascript.0.Eigene_Datenpunkte.Rollos.Position</field>
                 </shadow>
               </value>
             </block>
           </value>
           <next>
             <block type="controls_if" id="^$G6+:/WMZ|/WDB2fU#y">
               <mutation elseif="1"></mutation>
               <value name="IF0">
                 <block type="logic_operation" id="jBdHxI2JqKwjN+GmSqz$" inline="false">
                   <field name="OP">OR</field>
                   <value name="A">
                     <block type="logic_operation" id="gb8@[=FK[/8fWlPn98~N" inline="false">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="time_compare" id="X3l,9dGhy[#al5e6UK}8">
                           <mutation end_time="true"></mutation>
                           <field name="OPTION">between</field>
                           <field name="START_TIME">06:20</field>
                           <field name="END_TIME">13:00</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="!H|u[@([;Oi#rKZBj!?1">
                           <field name="OP">LTE</field>
                           <value name="A">
                             <block type="time_get" id="3G_H|t2k7j?@UPrk}sxm">
                               <mutation format="false" language="false"></mutation>
                               <field name="OPTION">wd</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="Zr.RQ+G+)4!LJw)}%JR*">
                               <field name="NUM">5</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <value name="B">
                     <block type="logic_operation" id="V9HqfHfSj]+8E`cl5?Lo" inline="false">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="time_compare" id="F:Di?ZhZGohui{!i%vjA">
                           <mutation end_time="true"></mutation>
                           <field name="OPTION">between</field>
                           <field name="START_TIME">07:20</field>
                           <field name="END_TIME">13:00</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="kwm^uszT!E7p4s/Jnhck">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="time_get" id="6,;gs.halVW.Y(zJ^a9H">
                               <mutation format="false" language="false"></mutation>
                               <field name="OPTION">wd</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="05HB+edMRk+*}d3VSPCl">
                               <field name="NUM">6</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="controls_if" id="_nvT*^^T/pjRc+Gr-G/,">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="logic_compare" id="KHO9xlj^73pIkb0+b`Wf">
                       <field name="OP">GT</field>
                       <value name="A">
                         <block type="on_source" id="U28dcR#%rb0P{r$L?D[;">
                           <field name="ATTR">state.val</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="Rl0JN=!80xgl5#n:]M/e">
                           <field name="NUM">125</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="procedures_callnoreturn" id="+5L;V(0vm?h,DsB~iaS3" inline="false">
                       <mutation name="Rollos">
                         <arg name="pos"></arg>
                         <arg name="text"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="math_number" id="m;Pvd1z0f6aI=)1YUv04">
                           <field name="NUM">2</field>
                         </block>
                       </value>
                       <value name="ARG1">
                         <block type="text" id="u:.LP3Y|dT3)VQtY3T4^">
                           <field name="TEXT">Rollos Hell AN</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_operation" id="{nDDIm4l*Z:g9].e=6C6" inline="false">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="logic_compare" id="t0h#-RxZI7fDK%e(nSz1">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="on_source" id="g#6,(3P^*]a3Hsg[DkF.">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="P2?W7)Y|z~?CE5o?M/`u">
                               <field name="NUM">105</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="2Z#Fp+m`%vir/U1+8r9=">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="variables_get" id="~nxV{-pa1}4sNa6=OJ(z">
                               <field name="VAR" id="OGmWDgWGPI,X=.mQGeRi" variabletype="">position</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="Z)r-xEtuX8.A7)Vf?,q[">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="procedures_callnoreturn" id="vjE6CT#1x)R}-=KP`r~+" inline="false">
                       <mutation name="Rollos">
                         <arg name="pos"></arg>
                         <arg name="text"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="math_number" id="NNmycRmhg7mIge|.//eR">
                           <field name="NUM">1</field>
                         </block>
                       </value>
                       <value name="ARG1">
                         <block type="text" id="s6di?Zk#|3ttJ%7}g7fD">
                           <field name="TEXT">Rollos Dämmerung AN</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
               <value name="IF1">
                 <block type="time_compare" id="3vD:`(5CWOI?jo_9PRQx">
                   <mutation end_time="true"></mutation>
                   <field name="OPTION">between</field>
                   <field name="START_TIME">16:30</field>
                   <field name="END_TIME">23:00</field>
                 </block>
               </value>
               <statement name="DO1">
                 <block type="controls_if" id="20tMCwFK~z~lsj4W*Ap6">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="logic_compare" id="kF}oo6q+KDk9.=niG$$;">
                       <field name="OP">LT</field>
                       <value name="A">
                         <block type="on_source" id="#iG#-8x{3%T/A^1ZW:f0">
                           <field name="ATTR">state.val</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="qUyPku]-h{X_G8bUW]dY">
                           <field name="NUM">105</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="procedures_callnoreturn" id="19HUA@=jzzD?E|C.*+Ve" inline="false">
                       <mutation name="Rollos">
                         <arg name="pos"></arg>
                         <arg name="text"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="math_number" id="HQO5,$*Ku?$8^S2H0v|p">
                           <field name="NUM">0</field>
                         </block>
                       </value>
                       <value name="ARG1">
                         <block type="text" id="K#)Gl0No3R0h,!re0A4{">
                           <field name="TEXT">Rollos Dunkel AN</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_operation" id="XD(}sOfU8=x%l^2V,dRn" inline="false">
                       <field name="OP">AND</field>
                       <value name="A">
                         <block type="logic_compare" id="#BzXE0EML#Jxi$*eTZul">
                           <field name="OP">LTE</field>
                           <value name="A">
                             <block type="on_source" id="0MVZ{._bY71nK2E4B2-]">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="C@!{A@Nc+r19dvJ_]hDp">
                               <field name="NUM">125</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="1[.7Pu]|X%R--vf=Pqi7">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="variables_get" id="J?Kq4?Va0z1O0IRW!Ibg">
                               <field name="VAR" id="OGmWDgWGPI,X=.mQGeRi" variabletype="">position</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="2G3]iiA/3LI(fhP2!|9c">
                               <field name="NUM">2</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="procedures_callnoreturn" id="ND.6MMjRv;@lp]@d}`P~" inline="false">
                       <mutation name="Rollos">
                         <arg name="pos"></arg>
                         <arg name="text"></arg>
                       </mutation>
                       <value name="ARG0">
                         <block type="math_number" id="Sk1pVsEB-cP~@8%pf.98">
                           <field name="NUM">1</field>
                         </block>
                       </value>
                       <value name="ARG1">
                         <block type="text" id="-AYd!UVDe(Ie,-f-a6+n">
                           <field name="TEXT">Rollos Dämmerung AN</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
             </block>
           </next>
         </block>
       </statement>
     </block>
     <block type="procedures_defnoreturn" id="i,rn}%)D74@At@*q%T*J" x="788" y="513">
       <mutation>
         <arg name="pos" varid=":zvUsC0|Kab)@w#8FyU*"></arg>
         <arg name="text" varid="3U:fR:NTK]((S%BF:qKU"></arg>
       </mutation>
       <field name="NAME">Rollos</field>
       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
       <statement name="STACK">
         <block type="controls_if" id="oDVP[wHj1?nE{Y65Xlg#">
           <value name="IF0">
             <block type="logic_compare" id="S0k]xJj^92IX/=426Mgo">
               <field name="OP">NEQ</field>
               <value name="A">
                 <block type="variables_get" id="n@{0}l7?wIrv}=6zB_oM">
                   <field name="VAR" id=":zvUsC0|Kab)@w#8FyU*" variabletype="">pos</field>
                 </block>
               </value>
               <value name="B">
                 <block type="get_value_var" id="sX|w;aWHBY-^Ebp1!ibN">
                   <field name="ATTR">val</field>
                   <value name="OID">
                     <shadow type="text" id="-z6%VF@:8i}(gJ*!{MvX">
                       <field name="TEXT">javascript.0.Eigene_Datenpunkte.Rollos.Position</field>
                     </shadow>
                   </value>
                 </block>
               </value>
             </block>
           </value>
           <statement name="DO0">
             <block type="control_ex" id="nQNoF|lS6ca^`4v8#JBj">
               <field name="TYPE">true</field>
               <field name="CLEAR_RUNNING">FALSE</field>
               <value name="OID">
                 <shadow type="field_oid" id="V*`k!$zP/XOwU}470*!R">
                   <field name="oid">Object ID</field>
                 </shadow>
                 <block type="text" id="Q2XXyS|E~$XT@RS:|^RM">
                   <field name="TEXT">javascript.0.Eigene_Datenpunkte.Rollos.Position</field>
                 </block>
               </value>
               <value name="VALUE">
                 <shadow type="logic_boolean" id="AJ#yt*m6@rS?;X5!U=v;">
                   <field name="BOOL">TRUE</field>
                 </shadow>
                 <block type="variables_get" id="OX_Gy~4*UQq:kRzx!~x1">
                   <field name="VAR" id=":zvUsC0|Kab)@w#8FyU*" variabletype="">pos</field>
                 </block>
               </value>
               <value name="DELAY_MS">
                 <shadow type="math_number" id="i.j,FDpkCoigAop}F]GD">
                   <field name="NUM">0</field>
                 </shadow>
               </value>
               <next>
                 <block type="pushover" id="4|k:GHBv8v6oTYjjF68{">
                   <field name="INSTANCE"></field>
                   <field name="SOUND"></field>
                   <field name="PRIORITY">0</field>
                   <field name="LOG"></field>
                   <value name="MESSAGE">
                     <shadow type="text" id="eyA^I/w3/r9R%9FP{tLH">
                       <field name="TEXT">Rollos Hell AN</field>
                     </shadow>
                     <block type="variables_get" id="q}4rjh,i-~BwSB_!;^lp">
                       <field name="VAR" id="3U:fR:NTK]((S%BF:qKU" variabletype="">text</field>
                     </block>
                   </value>
                 </block>
               </next>
             </block>
           </statement>
         </block>
       </statement>
     </block>
    </xml>
    

    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

    Uli977U 1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @Uli977 sagte:

      nach Rolloshoch an (ist also der Tigger, denke ich)

      Rolloshoch ist der Name der Funktion.

      @Uli977 sagte in Unlogisch, oder?:

      Falles Rolloshoch an ist und dies ungleich dem Datenpunkt 02_Rollos_hell ist, dann setzt eben diesen Datenpunkt auf an.

      Falls der Wert von an ungleich dem Wert des Datenpunktes ist, wird der Datenpunkt auf den Wert von an (true oder false) gesetzt.

      @Uli977 sagte in Unlogisch, oder?:

      Du setzt also
      Rolloshoch an = wahr
      sonst
      Rolloshoch an = falsch (also quasi aus)

      Der Aufruf der Funktion Rolloshoch erfolgt mit Übergabe von wahr bzw. falsch an den Funktionsparameter an.

      Uli977U Offline
      Uli977U Offline
      Uli977
      schrieb am zuletzt editiert von Uli977
      #14

      @paul53 Vorab mal eben, bevor ich mir das neue Skript ansehe.

      Das hatte ich in Anwendung und Rollo_Dämmerung und Rollo_Dunkel sind gleichzeitig bei 121 auf ein gegangen....

      Ist da was falsch?

      26709173-0201-4b49-9cec-9a0339c3630d-image.png

      EDIT: Jetzt (20:33) wo ich nochmal auf die Datenpunkte schaue ist es richtig. Hell = false / Dämmerung = wahr / Dunkel = false (Aktuelle Helligkeit 107)

      1 Antwort Letzte Antwort
      0
      • paul53P paul53

        @Uli977
        Beispiel mit einem Werteliste-Datenpunkt (0 = runter / 1 = halb / 2 = hoch), der nicht pendeln sollte, wenn die Helligkeit um den Grenzwert schwankt:

        Blockly_temp.JPG

        <xml xmlns="http://www.w3.org/1999/xhtml">
         <variables>
           <variable type="" id=":zvUsC0|Kab)@w#8FyU*">pos</variable>
           <variable type="" id="3U:fR:NTK]((S%BF:qKU">text</variable>
           <variable type="" id="OGmWDgWGPI,X=.mQGeRi">position</variable>
         </variables>
         <block type="on_ext" id="vh$1Vf/:fEcxImN2n]k0" x="284" y="206">
           <mutation items="1"></mutation>
           <field name="CONDITION">ne</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="tfo!K_/{iAV9vOD,pUJY">
               <field name="oid">hm-rpc.1.JEQ0127504.1.BRIGHTNESS</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="variables_set" id="lN5qRzU4D#}GrF6c6rw.">
               <field name="VAR" id="OGmWDgWGPI,X=.mQGeRi" variabletype="">position</field>
               <value name="VALUE">
                 <block type="get_value_var" id="EkukU7CWM9Cc|KlL@]((">
                   <field name="ATTR">val</field>
                   <value name="OID">
                     <shadow type="text" id="if+bcv~aJm8(_v4!N*Qt">
                       <field name="TEXT">javascript.0.Eigene_Datenpunkte.Rollos.Position</field>
                     </shadow>
                   </value>
                 </block>
               </value>
               <next>
                 <block type="controls_if" id="^$G6+:/WMZ|/WDB2fU#y">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="logic_operation" id="jBdHxI2JqKwjN+GmSqz$" inline="false">
                       <field name="OP">OR</field>
                       <value name="A">
                         <block type="logic_operation" id="gb8@[=FK[/8fWlPn98~N" inline="false">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="time_compare" id="X3l,9dGhy[#al5e6UK}8">
                               <mutation end_time="true"></mutation>
                               <field name="OPTION">between</field>
                               <field name="START_TIME">06:20</field>
                               <field name="END_TIME">13:00</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="!H|u[@([;Oi#rKZBj!?1">
                               <field name="OP">LTE</field>
                               <value name="A">
                                 <block type="time_get" id="3G_H|t2k7j?@UPrk}sxm">
                                   <mutation format="false" language="false"></mutation>
                                   <field name="OPTION">wd</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="Zr.RQ+G+)4!LJw)}%JR*">
                                   <field name="NUM">5</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_operation" id="V9HqfHfSj]+8E`cl5?Lo" inline="false">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="time_compare" id="F:Di?ZhZGohui{!i%vjA">
                               <mutation end_time="true"></mutation>
                               <field name="OPTION">between</field>
                               <field name="START_TIME">07:20</field>
                               <field name="END_TIME">13:00</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="kwm^uszT!E7p4s/Jnhck">
                               <field name="OP">GTE</field>
                               <value name="A">
                                 <block type="time_get" id="6,;gs.halVW.Y(zJ^a9H">
                                   <mutation format="false" language="false"></mutation>
                                   <field name="OPTION">wd</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="05HB+edMRk+*}d3VSPCl">
                                   <field name="NUM">6</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="controls_if" id="_nvT*^^T/pjRc+Gr-G/,">
                       <mutation elseif="1"></mutation>
                       <value name="IF0">
                         <block type="logic_compare" id="KHO9xlj^73pIkb0+b`Wf">
                           <field name="OP">GT</field>
                           <value name="A">
                             <block type="on_source" id="U28dcR#%rb0P{r$L?D[;">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="Rl0JN=!80xgl5#n:]M/e">
                               <field name="NUM">125</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="procedures_callnoreturn" id="+5L;V(0vm?h,DsB~iaS3" inline="false">
                           <mutation name="Rollos">
                             <arg name="pos"></arg>
                             <arg name="text"></arg>
                           </mutation>
                           <value name="ARG0">
                             <block type="math_number" id="m;Pvd1z0f6aI=)1YUv04">
                               <field name="NUM">2</field>
                             </block>
                           </value>
                           <value name="ARG1">
                             <block type="text" id="u:.LP3Y|dT3)VQtY3T4^">
                               <field name="TEXT">Rollos Hell AN</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_operation" id="{nDDIm4l*Z:g9].e=6C6" inline="false">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="logic_compare" id="t0h#-RxZI7fDK%e(nSz1">
                               <field name="OP">GTE</field>
                               <value name="A">
                                 <block type="on_source" id="g#6,(3P^*]a3Hsg[DkF.">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="P2?W7)Y|z~?CE5o?M/`u">
                                   <field name="NUM">105</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="2Z#Fp+m`%vir/U1+8r9=">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="variables_get" id="~nxV{-pa1}4sNa6=OJ(z">
                                   <field name="VAR" id="OGmWDgWGPI,X=.mQGeRi" variabletype="">position</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="Z)r-xEtuX8.A7)Vf?,q[">
                                   <field name="NUM">0</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="procedures_callnoreturn" id="vjE6CT#1x)R}-=KP`r~+" inline="false">
                           <mutation name="Rollos">
                             <arg name="pos"></arg>
                             <arg name="text"></arg>
                           </mutation>
                           <value name="ARG0">
                             <block type="math_number" id="NNmycRmhg7mIge|.//eR">
                               <field name="NUM">1</field>
                             </block>
                           </value>
                           <value name="ARG1">
                             <block type="text" id="s6di?Zk#|3ttJ%7}g7fD">
                               <field name="TEXT">Rollos Dämmerung AN</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="time_compare" id="3vD:`(5CWOI?jo_9PRQx">
                       <mutation end_time="true"></mutation>
                       <field name="OPTION">between</field>
                       <field name="START_TIME">16:30</field>
                       <field name="END_TIME">23:00</field>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="controls_if" id="20tMCwFK~z~lsj4W*Ap6">
                       <mutation elseif="1"></mutation>
                       <value name="IF0">
                         <block type="logic_compare" id="kF}oo6q+KDk9.=niG$$;">
                           <field name="OP">LT</field>
                           <value name="A">
                             <block type="on_source" id="#iG#-8x{3%T/A^1ZW:f0">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="qUyPku]-h{X_G8bUW]dY">
                               <field name="NUM">105</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="procedures_callnoreturn" id="19HUA@=jzzD?E|C.*+Ve" inline="false">
                           <mutation name="Rollos">
                             <arg name="pos"></arg>
                             <arg name="text"></arg>
                           </mutation>
                           <value name="ARG0">
                             <block type="math_number" id="HQO5,$*Ku?$8^S2H0v|p">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                           <value name="ARG1">
                             <block type="text" id="K#)Gl0No3R0h,!re0A4{">
                               <field name="TEXT">Rollos Dunkel AN</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_operation" id="XD(}sOfU8=x%l^2V,dRn" inline="false">
                           <field name="OP">AND</field>
                           <value name="A">
                             <block type="logic_compare" id="#BzXE0EML#Jxi$*eTZul">
                               <field name="OP">LTE</field>
                               <value name="A">
                                 <block type="on_source" id="0MVZ{._bY71nK2E4B2-]">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="C@!{A@Nc+r19dvJ_]hDp">
                                   <field name="NUM">125</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="1[.7Pu]|X%R--vf=Pqi7">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="variables_get" id="J?Kq4?Va0z1O0IRW!Ibg">
                                   <field name="VAR" id="OGmWDgWGPI,X=.mQGeRi" variabletype="">position</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="2G3]iiA/3LI(fhP2!|9c">
                                   <field name="NUM">2</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="procedures_callnoreturn" id="ND.6MMjRv;@lp]@d}`P~" inline="false">
                           <mutation name="Rollos">
                             <arg name="pos"></arg>
                             <arg name="text"></arg>
                           </mutation>
                           <value name="ARG0">
                             <block type="math_number" id="Sk1pVsEB-cP~@8%pf.98">
                               <field name="NUM">1</field>
                             </block>
                           </value>
                           <value name="ARG1">
                             <block type="text" id="-AYd!UVDe(Ie,-f-a6+n">
                               <field name="TEXT">Rollos Dämmerung AN</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
           </statement>
         </block>
         <block type="procedures_defnoreturn" id="i,rn}%)D74@At@*q%T*J" x="788" y="513">
           <mutation>
             <arg name="pos" varid=":zvUsC0|Kab)@w#8FyU*"></arg>
             <arg name="text" varid="3U:fR:NTK]((S%BF:qKU"></arg>
           </mutation>
           <field name="NAME">Rollos</field>
           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
           <statement name="STACK">
             <block type="controls_if" id="oDVP[wHj1?nE{Y65Xlg#">
               <value name="IF0">
                 <block type="logic_compare" id="S0k]xJj^92IX/=426Mgo">
                   <field name="OP">NEQ</field>
                   <value name="A">
                     <block type="variables_get" id="n@{0}l7?wIrv}=6zB_oM">
                       <field name="VAR" id=":zvUsC0|Kab)@w#8FyU*" variabletype="">pos</field>
                     </block>
                   </value>
                   <value name="B">
                     <block type="get_value_var" id="sX|w;aWHBY-^Ebp1!ibN">
                       <field name="ATTR">val</field>
                       <value name="OID">
                         <shadow type="text" id="-z6%VF@:8i}(gJ*!{MvX">
                           <field name="TEXT">javascript.0.Eigene_Datenpunkte.Rollos.Position</field>
                         </shadow>
                       </value>
                     </block>
                   </value>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="control_ex" id="nQNoF|lS6ca^`4v8#JBj">
                   <field name="TYPE">true</field>
                   <field name="CLEAR_RUNNING">FALSE</field>
                   <value name="OID">
                     <shadow type="field_oid" id="V*`k!$zP/XOwU}470*!R">
                       <field name="oid">Object ID</field>
                     </shadow>
                     <block type="text" id="Q2XXyS|E~$XT@RS:|^RM">
                       <field name="TEXT">javascript.0.Eigene_Datenpunkte.Rollos.Position</field>
                     </block>
                   </value>
                   <value name="VALUE">
                     <shadow type="logic_boolean" id="AJ#yt*m6@rS?;X5!U=v;">
                       <field name="BOOL">TRUE</field>
                     </shadow>
                     <block type="variables_get" id="OX_Gy~4*UQq:kRzx!~x1">
                       <field name="VAR" id=":zvUsC0|Kab)@w#8FyU*" variabletype="">pos</field>
                     </block>
                   </value>
                   <value name="DELAY_MS">
                     <shadow type="math_number" id="i.j,FDpkCoigAop}F]GD">
                       <field name="NUM">0</field>
                     </shadow>
                   </value>
                   <next>
                     <block type="pushover" id="4|k:GHBv8v6oTYjjF68{">
                       <field name="INSTANCE"></field>
                       <field name="SOUND"></field>
                       <field name="PRIORITY">0</field>
                       <field name="LOG"></field>
                       <value name="MESSAGE">
                         <shadow type="text" id="eyA^I/w3/r9R%9FP{tLH">
                           <field name="TEXT">Rollos Hell AN</field>
                         </shadow>
                         <block type="variables_get" id="q}4rjh,i-~BwSB_!;^lp">
                           <field name="VAR" id="3U:fR:NTK]((S%BF:qKU" variabletype="">text</field>
                         </block>
                       </value>
                     </block>
                   </next>
                 </block>
               </statement>
             </block>
           </statement>
         </block>
        </xml>
        

        Uli977U Offline
        Uli977U Offline
        Uli977
        schrieb am zuletzt editiert von
        #15

        @paul53 Alles klar....

        Hab es jetzt so umgesetzt, vielleicht kannst du dir das mal ansehen.

        Das von dir
        f0072cb9-9348-4e05-97bb-182ffd41fbf8-image.png

        Das entsprechende Programm für das Rollo dazu.

        42d68a75-0eb8-4fe0-b7e3-ce0e039c2cbc-image.png

        1 Antwort Letzte Antwort
        0
        • Uli977U Offline
          Uli977U Offline
          Uli977
          schrieb am zuletzt editiert von Uli977
          #16

          @paul53 Ich habe noch eine Frage....

          Dieses Rollo soll nie auf halb fahren und erst frühestens um 20:30 Uhr komplett zu.
          Im Sommer natürlich nur wenn Position 0 (runter) gesetzt ist, von mir aus auch erst um 22:30 Uhr.
          Im Winter aber nicht vor 20:30 Uhr, auch nicht wenn zu diesem Zeitpunkt die 0 bereits um z.B. 17 Uhr erreicht wurde.

          Wie baue ich das am Besten ein?

          So?

          07790f9d-16a3-4627-a5d8-83c436ebb5a5-image.png

          paul53P 1 Antwort Letzte Antwort
          0
          • Uli977U Offline
            Uli977U Offline
            Uli977
            schrieb am zuletzt editiert von Uli977
            #17

            @paul53 Mir ist gerade was eingefallen....

            Ich habe Rollos welche bei der morgendlichen Dämmerung hoch fahren sollen und ich habe welche die dies nicht tun sollen (Schlafräume).
            Benötige ich dann nicht sogar 4 Zustände?

            0 = Dunkel = runter
            1 = Dämmerung Morgen = halb
            2 = Dämmerung Abend = halb
            3 = Hell = hoch

            Oder mache ich das so?
            Eine zusätzliche Zeit > 16:30 reinbringen

            ec0ec406-c982-49d0-81d5-b476ae53a5f4-image.png

            paul53P 1 Antwort Letzte Antwort
            0
            • Uli977U Uli977

              @paul53 Mir ist gerade was eingefallen....

              Ich habe Rollos welche bei der morgendlichen Dämmerung hoch fahren sollen und ich habe welche die dies nicht tun sollen (Schlafräume).
              Benötige ich dann nicht sogar 4 Zustände?

              0 = Dunkel = runter
              1 = Dämmerung Morgen = halb
              2 = Dämmerung Abend = halb
              3 = Hell = hoch

              Oder mache ich das so?
              Eine zusätzliche Zeit > 16:30 reinbringen

              ec0ec406-c982-49d0-81d5-b476ae53a5f4-image.png

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

              @Uli977 sagte:

              Eine zusätzliche Zeit > 16:30 reinbringen

              Das kann man machen, denn man muss ja nur zwischen morgens und abends unterscheiden. Allerdings sind zu viele Abfragen mehrfach enthalten. Verwende besser geschachtelte falls-Blöcke.

              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

              Uli977U 1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @Uli977 sagte:

                Eine zusätzliche Zeit > 16:30 reinbringen

                Das kann man machen, denn man muss ja nur zwischen morgens und abends unterscheiden. Allerdings sind zu viele Abfragen mehrfach enthalten. Verwende besser geschachtelte falls-Blöcke.

                Uli977U Offline
                Uli977U Offline
                Uli977
                schrieb am zuletzt editiert von Uli977
                #19

                @paul53 Was meinst du? Besser einen vierten Zustand, oder besser mit der Zeit arbeiten?

                <xml xmlns="http://www.w3.org/1999/xhtml">
                 <block type="on_ext" id="RE]*yf?BO+D1I2Q[vtL=" x="1063" y="63">
                   <mutation items="1"></mutation>
                   <field name="CONDITION">ne</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="*Os]pxbYo2/_^AApvlh.">
                       <field name="oid">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="comment" id="*}1Wyj(wAQb/%8BDX3Q9">
                       <field name="COMMENT">Dämmerung - Halb hoch (1)</field>
                       <next>
                         <block type="comment" id="cU-VqW@Shvwji(qp2=a%">
                           <field name="COMMENT">Schlafz.Fenster.Links</field>
                           <next>
                             <block type="controls_if" id="17VH7cRk;:i$z=`sFFsA">
                               <value name="IF0">
                                 <block type="logic_operation" id="$*8}tibLROsi(!qV;x`)" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="logic_operation" id="Y91Q?AZT[,lCf|Dtt3EG" inline="false">
                                       <field name="OP">AND</field>
                                       <value name="A">
                                         <block type="logic_operation" id="pq,ApZMq?|[|l91R?gdg" inline="false">
                                           <field name="OP">AND</field>
                                           <value name="A">
                                             <block type="logic_compare" id="9T1TKc9f9._|sPFvao8L">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="z1SjRq;QUcDmtYKge6Yo">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">hm-rega.0.42948</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="logic_boolean" id="}|O`{[vIo7d[^mn1`/R:">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="logic_compare" id="*$4n:FsuO0LCEqq$6dPS">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="get_value" id="F,)EkXq;DV%:tD^sKi5U">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="ZIq^vw#.m:.nG}wXegT;">
                                                   <field name="NUM">1</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="time_compare" id="L@t]G$kl!:apSEp-JX4^">
                                           <mutation end_time="false"></mutation>
                                           <field name="OPTION">&gt;</field>
                                           <field name="START_TIME">16:30</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_compare" id="Lf+Qc^C+``Cs$V2[jP1U">
                                       <field name="OP">NEQ</field>
                                       <value name="A">
                                         <block type="get_value" id="@?bW4K4wh3Sa9U6eB=a4">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="|aH~^d7LVBFO320L]q(a">
                                           <field name="NUM">55</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id="9KPYk#V?%PG9fKSbj7(X">
                                   <mutation delay_input="true"></mutation>
                                   <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                   <field name="WITH_DELAY">TRUE</field>
                                   <field name="DELAY_MS">6</field>
                                   <field name="UNIT">sec</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="{z),lML{ioh^b2nJ?^5;">
                                       <field name="NUM">55</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                               <next>
                                 <block type="comment" id="@d`*vMQ4,!;K.7*4%O`[">
                                   <field name="COMMENT">Schlafz.Fenster.Rechts</field>
                                   <next>
                                     <block type="controls_if" id=")#]MF=75UZ0~/=(]iTni">
                                       <value name="IF0">
                                         <block type="logic_operation" id="`-u1?O$m=dq#7aum3.1w" inline="false">
                                           <field name="OP">AND</field>
                                           <value name="A">
                                             <block type="logic_operation" id="%QkIV2-}2!:qDTG9(#b[" inline="false">
                                               <field name="OP">AND</field>
                                               <value name="A">
                                                 <block type="logic_operation" id="W59ckgPktK/BxcZnVp@6" inline="false">
                                                   <field name="OP">AND</field>
                                                   <value name="A">
                                                     <block type="logic_compare" id="X4m%J?93au/u92/;PrrY">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="(;tMmF)0:u7~HlnKoVUl">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">hm-rega.0.42948</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_boolean" id="MvE~?qtNE18YQ@$rbMii">
                                                           <field name="BOOL">TRUE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_compare" id="?w)Z:!hwc383RX%]-R^+">
                                                       <field name="OP">EQ</field>
                                                       <value name="A">
                                                         <block type="get_value" id="!|[wXeKcrxz-tt{AS#(V">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="math_number" id="QY.@s3}%C@l$C`a|(2uO">
                                                           <field name="NUM">1</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="time_compare" id=":3BH;V5)lZOAX%4`rm~U">
                                                   <mutation end_time="false"></mutation>
                                                   <field name="OPTION">&gt;</field>
                                                   <field name="START_TIME">16:30</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="logic_operation" id="hnbc(O:O$p]yUwVus@Z0" inline="false">
                                               <field name="OP">AND</field>
                                               <value name="A">
                                                 <block type="logic_compare" id="ORZCYitd*|X0S:]T,c}b">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="Z30=vxRu3Hc%cf48}@N_">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.MEQ0951207.1.STATE</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_boolean" id="aOPW`*|DV!`nKAXQhu@D">
                                                       <field name="BOOL">FALSE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="logic_compare" id="NfC5s[HuL$Ep/rlJRK+%">
                                                   <field name="OP">NEQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="w=.J/=wPSfqLxeUn+`W[">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="B[hes~zQ+2*3qGn9Il.-">
                                                       <field name="NUM">55</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="[OR9bp?*gnQp6.43LJ)R">
                                           <mutation delay_input="true"></mutation>
                                           <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">7</field>
                                           <field name="UNIT">sec</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="SKK|-q|UV`Qqo~f+S$#c">
                                               <field name="NUM">55</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="comment" id="6Bo*LLHn~v)D/;i^70t*">
                                           <field name="COMMENT">Dunkel - Komplett runter (0)</field>
                                           <next>
                                             <block type="comment" id="g1]h+rZ?tW.iMGtW@(@/">
                                               <field name="COMMENT">Schlafz.Fenster.Links</field>
                                               <next>
                                                 <block type="controls_if" id="@~61uCYR@I@Pd1Ur+l5!">
                                                   <value name="IF0">
                                                     <block type="logic_operation" id=",qK:e_V3Sq{Janyn26fx" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="logic_operation" id="}DR+mJ1kMAXAFVGSt|+," inline="false">
                                                           <field name="OP">AND</field>
                                                           <value name="A">
                                                             <block type="logic_compare" id="**a/UcEfJD2VG*v]+f~:">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="(TP-8}-1S1.j!n{ipH-x">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">hm-rega.0.42948</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="logic_boolean" id="t=G`W/p0C|:vP-B#;AGX">
                                                                   <field name="BOOL">TRUE</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_compare" id="4%[6SC6SLc_8bD_K*QZ|">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="GMdP$m~[t|nHxdo?|oY}">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="[1R/TB]9SLqBOMY9bG[a">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_compare" id="|U`]UITrUq{09#_7@Fs|">
                                                           <field name="OP">NEQ</field>
                                                           <value name="A">
                                                             <block type="get_value" id="?sj,uS~HV3wRtFZz.A]Z">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="BQAGE!l*BZl*BGZJ#]Jw">
                                                               <field name="NUM">0</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="`NzZ2B;P59!2|O/^()cL">
                                                       <mutation delay_input="true"></mutation>
                                                       <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                                       <field name="WITH_DELAY">TRUE</field>
                                                       <field name="DELAY_MS">6</field>
                                                       <field name="UNIT">sec</field>
                                                       <field name="CLEAR_RUNNING">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="!@(hgo%5{%=Z2OTe@#*#">
                                                           <field name="NUM">0</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="comment" id=",4m4P1~FFQSsDQL[;%c*">
                                                       <field name="COMMENT">Schlafz.Fenster.Rechts</field>
                                                       <next>
                                                         <block type="controls_if" id="T4yGf4Z59;i2ov$.7p@w">
                                                           <value name="IF0">
                                                             <block type="logic_operation" id="%C7i5H(}!Y0/3Y1@XqN:" inline="false">
                                                               <field name="OP">AND</field>
                                                               <value name="A">
                                                                 <block type="logic_operation" id="GfJ8%xnO6WuI%Gh]`YL;" inline="false">
                                                                   <field name="OP">AND</field>
                                                                   <value name="A">
                                                                     <block type="logic_compare" id="7FBgyvzGJRNTkn0Mi:++">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id=")mi814u;Bsf~pGn0m3Bo">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">hm-rega.0.42948</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="logic_boolean" id=":7P],?l}w4G4PD,#^$2{">
                                                                           <field name="BOOL">TRUE</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="logic_compare" id="]zM,qp5ZpV@Tr1V{l5T{">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id="=F6Ed2@Lty,cDO]Ke@yo">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="b?w$^S3hu[7:/uIg:3`P">
                                                                           <field name="NUM">0</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="logic_operation" id="p*~4-qX?REf{=heDuJAq" inline="false">
                                                                   <field name="OP">AND</field>
                                                                   <value name="A">
                                                                     <block type="logic_compare" id="DbE~+[lg--DOSU5*@jn3">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id="Sl[fICYe(LQxD9d#,$m7">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">hm-rpc.1.MEQ0951207.1.STATE</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="logic_boolean" id="H`l*qu-v7.)E%B;UD!,P">
                                                                           <field name="BOOL">FALSE</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="logic_compare" id="79P|t8_C(W}j3UAkxoKM">
                                                                       <field name="OP">NEQ</field>
                                                                       <value name="A">
                                                                         <block type="get_value" id="3QI8jUOe,$Q)=b=5KObC">
                                                                           <field name="ATTR">val</field>
                                                                           <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="@D|#t@^]ku+oX_n$1h%n">
                                                                           <field name="NUM">0</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control" id="{6Ar^m$Z[8muQR]QzC-Q">
                                                               <mutation delay_input="true"></mutation>
                                                               <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                               <field name="WITH_DELAY">TRUE</field>
                                                               <field name="DELAY_MS">7</field>
                                                               <field name="UNIT">sec</field>
                                                               <field name="CLEAR_RUNNING">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="W%@a_Xr`qylt;%|I7DJ+">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                Falls du noch Lust hast mir das zu zeigen.....

                paul53P 1 Antwort Letzte Antwort
                0
                • Uli977U Uli977

                  @paul53 Was meinst du? Besser einen vierten Zustand, oder besser mit der Zeit arbeiten?

                  <xml xmlns="http://www.w3.org/1999/xhtml">
                   <block type="on_ext" id="RE]*yf?BO+D1I2Q[vtL=" x="1063" y="63">
                     <mutation items="1"></mutation>
                     <field name="CONDITION">ne</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="*Os]pxbYo2/_^AApvlh.">
                         <field name="oid">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="comment" id="*}1Wyj(wAQb/%8BDX3Q9">
                         <field name="COMMENT">Dämmerung - Halb hoch (1)</field>
                         <next>
                           <block type="comment" id="cU-VqW@Shvwji(qp2=a%">
                             <field name="COMMENT">Schlafz.Fenster.Links</field>
                             <next>
                               <block type="controls_if" id="17VH7cRk;:i$z=`sFFsA">
                                 <value name="IF0">
                                   <block type="logic_operation" id="$*8}tibLROsi(!qV;x`)" inline="false">
                                     <field name="OP">AND</field>
                                     <value name="A">
                                       <block type="logic_operation" id="Y91Q?AZT[,lCf|Dtt3EG" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_operation" id="pq,ApZMq?|[|l91R?gdg" inline="false">
                                             <field name="OP">AND</field>
                                             <value name="A">
                                               <block type="logic_compare" id="9T1TKc9f9._|sPFvao8L">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="z1SjRq;QUcDmtYKge6Yo">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">hm-rega.0.42948</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_boolean" id="}|O`{[vIo7d[^mn1`/R:">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_compare" id="*$4n:FsuO0LCEqq$6dPS">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="F,)EkXq;DV%:tD^sKi5U">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="ZIq^vw#.m:.nG}wXegT;">
                                                     <field name="NUM">1</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="time_compare" id="L@t]G$kl!:apSEp-JX4^">
                                             <mutation end_time="false"></mutation>
                                             <field name="OPTION">&gt;</field>
                                             <field name="START_TIME">16:30</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="logic_compare" id="Lf+Qc^C+``Cs$V2[jP1U">
                                         <field name="OP">NEQ</field>
                                         <value name="A">
                                           <block type="get_value" id="@?bW4K4wh3Sa9U6eB=a4">
                                             <field name="ATTR">val</field>
                                             <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="|aH~^d7LVBFO320L]q(a">
                                             <field name="NUM">55</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="9KPYk#V?%PG9fKSbj7(X">
                                     <mutation delay_input="true"></mutation>
                                     <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                     <field name="WITH_DELAY">TRUE</field>
                                     <field name="DELAY_MS">6</field>
                                     <field name="UNIT">sec</field>
                                     <field name="CLEAR_RUNNING">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="{z),lML{ioh^b2nJ?^5;">
                                         <field name="NUM">55</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="comment" id="@d`*vMQ4,!;K.7*4%O`[">
                                     <field name="COMMENT">Schlafz.Fenster.Rechts</field>
                                     <next>
                                       <block type="controls_if" id=")#]MF=75UZ0~/=(]iTni">
                                         <value name="IF0">
                                           <block type="logic_operation" id="`-u1?O$m=dq#7aum3.1w" inline="false">
                                             <field name="OP">AND</field>
                                             <value name="A">
                                               <block type="logic_operation" id="%QkIV2-}2!:qDTG9(#b[" inline="false">
                                                 <field name="OP">AND</field>
                                                 <value name="A">
                                                   <block type="logic_operation" id="W59ckgPktK/BxcZnVp@6" inline="false">
                                                     <field name="OP">AND</field>
                                                     <value name="A">
                                                       <block type="logic_compare" id="X4m%J?93au/u92/;PrrY">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="(;tMmF)0:u7~HlnKoVUl">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">hm-rega.0.42948</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_boolean" id="MvE~?qtNE18YQ@$rbMii">
                                                             <field name="BOOL">TRUE</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_compare" id="?w)Z:!hwc383RX%]-R^+">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="!|[wXeKcrxz-tt{AS#(V">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="QY.@s3}%C@l$C`a|(2uO">
                                                             <field name="NUM">1</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="time_compare" id=":3BH;V5)lZOAX%4`rm~U">
                                                     <mutation end_time="false"></mutation>
                                                     <field name="OPTION">&gt;</field>
                                                     <field name="START_TIME">16:30</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_operation" id="hnbc(O:O$p]yUwVus@Z0" inline="false">
                                                 <field name="OP">AND</field>
                                                 <value name="A">
                                                   <block type="logic_compare" id="ORZCYitd*|X0S:]T,c}b">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="Z30=vxRu3Hc%cf48}@N_">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">hm-rpc.1.MEQ0951207.1.STATE</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_boolean" id="aOPW`*|DV!`nKAXQhu@D">
                                                         <field name="BOOL">FALSE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_compare" id="NfC5s[HuL$Ep/rlJRK+%">
                                                     <field name="OP">NEQ</field>
                                                     <value name="A">
                                                       <block type="get_value" id="w=.J/=wPSfqLxeUn+`W[">
                                                         <field name="ATTR">val</field>
                                                         <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="math_number" id="B[hes~zQ+2*3qGn9Il.-">
                                                         <field name="NUM">55</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="[OR9bp?*gnQp6.43LJ)R">
                                             <mutation delay_input="true"></mutation>
                                             <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">7</field>
                                             <field name="UNIT">sec</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="SKK|-q|UV`Qqo~f+S$#c">
                                                 <field name="NUM">55</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="comment" id="6Bo*LLHn~v)D/;i^70t*">
                                             <field name="COMMENT">Dunkel - Komplett runter (0)</field>
                                             <next>
                                               <block type="comment" id="g1]h+rZ?tW.iMGtW@(@/">
                                                 <field name="COMMENT">Schlafz.Fenster.Links</field>
                                                 <next>
                                                   <block type="controls_if" id="@~61uCYR@I@Pd1Ur+l5!">
                                                     <value name="IF0">
                                                       <block type="logic_operation" id=",qK:e_V3Sq{Janyn26fx" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="logic_operation" id="}DR+mJ1kMAXAFVGSt|+," inline="false">
                                                             <field name="OP">AND</field>
                                                             <value name="A">
                                                               <block type="logic_compare" id="**a/UcEfJD2VG*v]+f~:">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id="(TP-8}-1S1.j!n{ipH-x">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">hm-rega.0.42948</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="logic_boolean" id="t=G`W/p0C|:vP-B#;AGX">
                                                                     <field name="BOOL">TRUE</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="logic_compare" id="4%[6SC6SLc_8bD_K*QZ|">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id="GMdP$m~[t|nHxdo?|oY}">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="math_number" id="[1R/TB]9SLqBOMY9bG[a">
                                                                     <field name="NUM">0</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_compare" id="|U`]UITrUq{09#_7@Fs|">
                                                             <field name="OP">NEQ</field>
                                                             <value name="A">
                                                               <block type="get_value" id="?sj,uS~HV3wRtFZz.A]Z">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="BQAGE!l*BZl*BGZJ#]Jw">
                                                                 <field name="NUM">0</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="`NzZ2B;P59!2|O/^()cL">
                                                         <mutation delay_input="true"></mutation>
                                                         <field name="OID">hm-rpc.1.OEQ1971970.1.LEVEL</field>
                                                         <field name="WITH_DELAY">TRUE</field>
                                                         <field name="DELAY_MS">6</field>
                                                         <field name="UNIT">sec</field>
                                                         <field name="CLEAR_RUNNING">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="!@(hgo%5{%=Z2OTe@#*#">
                                                             <field name="NUM">0</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="comment" id=",4m4P1~FFQSsDQL[;%c*">
                                                         <field name="COMMENT">Schlafz.Fenster.Rechts</field>
                                                         <next>
                                                           <block type="controls_if" id="T4yGf4Z59;i2ov$.7p@w">
                                                             <value name="IF0">
                                                               <block type="logic_operation" id="%C7i5H(}!Y0/3Y1@XqN:" inline="false">
                                                                 <field name="OP">AND</field>
                                                                 <value name="A">
                                                                   <block type="logic_operation" id="GfJ8%xnO6WuI%Gh]`YL;" inline="false">
                                                                     <field name="OP">AND</field>
                                                                     <value name="A">
                                                                       <block type="logic_compare" id="7FBgyvzGJRNTkn0Mi:++">
                                                                         <field name="OP">EQ</field>
                                                                         <value name="A">
                                                                           <block type="get_value" id=")mi814u;Bsf~pGn0m3Bo">
                                                                             <field name="ATTR">val</field>
                                                                             <field name="OID">hm-rega.0.42948</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="logic_boolean" id=":7P],?l}w4G4PD,#^$2{">
                                                                             <field name="BOOL">TRUE</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="logic_compare" id="]zM,qp5ZpV@Tr1V{l5T{">
                                                                         <field name="OP">EQ</field>
                                                                         <value name="A">
                                                                           <block type="get_value" id="=F6Ed2@Lty,cDO]Ke@yo">
                                                                             <field name="ATTR">val</field>
                                                                             <field name="OID">javascript.0.Eigene_Datenpunkte.Rollos.01_Rollo_Position</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="math_number" id="b?w$^S3hu[7:/uIg:3`P">
                                                                             <field name="NUM">0</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="logic_operation" id="p*~4-qX?REf{=heDuJAq" inline="false">
                                                                     <field name="OP">AND</field>
                                                                     <value name="A">
                                                                       <block type="logic_compare" id="DbE~+[lg--DOSU5*@jn3">
                                                                         <field name="OP">EQ</field>
                                                                         <value name="A">
                                                                           <block type="get_value" id="Sl[fICYe(LQxD9d#,$m7">
                                                                             <field name="ATTR">val</field>
                                                                             <field name="OID">hm-rpc.1.MEQ0951207.1.STATE</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="logic_boolean" id="H`l*qu-v7.)E%B;UD!,P">
                                                                             <field name="BOOL">FALSE</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="logic_compare" id="79P|t8_C(W}j3UAkxoKM">
                                                                         <field name="OP">NEQ</field>
                                                                         <value name="A">
                                                                           <block type="get_value" id="3QI8jUOe,$Q)=b=5KObC">
                                                                             <field name="ATTR">val</field>
                                                                             <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="math_number" id="@D|#t@^]ku+oX_n$1h%n">
                                                                             <field name="NUM">0</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="{6Ar^m$Z[8muQR]QzC-Q">
                                                                 <mutation delay_input="true"></mutation>
                                                                 <field name="OID">hm-rpc.1.OEQ1971956.1.LEVEL</field>
                                                                 <field name="WITH_DELAY">TRUE</field>
                                                                 <field name="DELAY_MS">7</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="W%@a_Xr`qylt;%|I7DJ+">
                                                                     <field name="NUM">0</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                  </xml>
                  

                  Falls du noch Lust hast mir das zu zeigen.....

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

                  @Uli977 sagte:

                  Falls du noch Lust hast mir das zu zeigen.....

                  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

                  Uli977U 1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @Uli977 sagte:

                    Falls du noch Lust hast mir das zu zeigen.....

                    Blockly_temp.JPG

                    Uli977U Offline
                    Uli977U Offline
                    Uli977
                    schrieb am zuletzt editiert von
                    #21

                    @paul53 Schickst du mir das ?

                    paul53P 1 Antwort Letzte Antwort
                    0
                    • Uli977U Uli977

                      @paul53 Schickst du mir das ?

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

                      @Uli977 sagte:

                      Schickst du mir das ?

                      <xml xmlns="http://www.w3.org/1999/xhtml">
                       <block type="on_ext" id="_B=],f#1:Sva2,+0gG-}" x="62" y="62">
                         <mutation items="1"></mutation>
                         <field name="CONDITION">ne</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="t~._%qK0mPtx8u~gs_nf">
                             <field name="oid">default</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="apK0_SG78fSuhnMDrU_.">
                             <value name="IF0">
                               <block type="get_value" id="Ix#uV$aTN+~E%f#`}zoJ">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ID auswählen</field>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="controls_if" id="KBQ._8.Tc%mVZChv=|a|">
                                 <value name="IF0">
                                   <block type="logic_operation" id="js7G7ZpJ__-kBa#,d~*!" inline="false">
                                     <field name="OP">AND</field>
                                     <value name="A">
                                       <block type="logic_compare" id="F%?mDp(XL-d,ZE6);U|h">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="on_source" id="n1FiuR-`%#`@l-x]n{^$">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="Jtj=*i6@Nf1JwFL]X7mx">
                                             <field name="NUM">1</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="time_compare" id="P2(C5~6:du=hB6I-oG^[">
                                         <mutation end_time="false"></mutation>
                                         <field name="OPTION">&gt;</field>
                                         <field name="START_TIME">12:00</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="Kyd~nM=zFo%2.;`?Qckb">
                                     <mutation delay_input="true"></mutation>
                                     <field name="OID">Object ID</field>
                                     <field name="WITH_DELAY">TRUE</field>
                                     <field name="DELAY_MS">6</field>
                                     <field name="UNIT">sec</field>
                                     <field name="CLEAR_RUNNING">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="mt^?FDzsp|dN/M}DX@Dy">
                                         <field name="NUM">55</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_if" id="#eY0?3@+NqZn0U9WvG6$">
                                         <value name="IF0">
                                           <block type="logic_negate" id="*DDSIqw=lb7JSg$1nbu/">
                                             <value name="BOOL">
                                               <block type="get_value" id="C*n,ocvxWPnzol5.n!u%">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">ID auswählen</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="19%L]|Rt%%2gLMn~KeGx">
                                             <mutation delay_input="true"></mutation>
                                             <field name="OID">Object ID</field>
                                             <field name="WITH_DELAY">TRUE</field>
                                             <field name="DELAY_MS">7</field>
                                             <field name="UNIT">sec</field>
                                             <field name="CLEAR_RUNNING">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="w(XM1h:j.^CP`C~CUV~c">
                                                 <field name="NUM">55</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="controls_if" id="Q[hM9}qN{n|b0K4eq%/$">
                                     <value name="IF0">
                                       <block type="logic_compare" id="8d9zdX)?Zrp0,]@TVB#6">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="on_source" id="~^U!t66JUGdQe:pp.fDr">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="HS`9kkLA^68R(#H;5%yT">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="QTdR.o)Xr(|V-j:*~u.d">
                                         <mutation delay_input="true"></mutation>
                                         <field name="OID">Object ID</field>
                                         <field name="WITH_DELAY">TRUE</field>
                                         <field name="DELAY_MS">6</field>
                                         <field name="UNIT">sec</field>
                                         <field name="CLEAR_RUNNING">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="qd5p12Fi)k@]Y)kIvDA*">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id="$GB!aRkQzywDAC{mZNHh">
                                             <value name="IF0">
                                               <block type="logic_negate" id="l0twpu^Hw~d^eBA=k]4N">
                                                 <value name="BOOL">
                                                   <block type="get_value" id="N4Ge*1TTHFX+qCxG:-=T">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">ID auswählen</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="-han6870cW^8cyY=-4$]">
                                                 <mutation delay_input="true"></mutation>
                                                 <field name="OID">Object ID</field>
                                                 <field name="WITH_DELAY">TRUE</field>
                                                 <field name="DELAY_MS">7</field>
                                                 <field name="UNIT">sec</field>
                                                 <field name="CLEAR_RUNNING">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="Y}!b=o/8B,_W},PLj[g[">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                       <block type="comment" id="w(dtxDu5Q8`p-7UuDl%i" x="338" y="113">
                         <field name="COMMENT">Automatic</field>
                       </block>
                       <block type="comment" id="N^R,B0d[zyq3R__SlT8X" x="562" y="262">
                         <field name="COMMENT">Fenster</field>
                       </block>
                      </xml>
                      

                      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

                      Uli977U 1 Antwort Letzte Antwort
                      0
                      • paul53P paul53

                        @Uli977 sagte:

                        Schickst du mir das ?

                        <xml xmlns="http://www.w3.org/1999/xhtml">
                         <block type="on_ext" id="_B=],f#1:Sva2,+0gG-}" x="62" y="62">
                           <mutation items="1"></mutation>
                           <field name="CONDITION">ne</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="t~._%qK0mPtx8u~gs_nf">
                               <field name="oid">default</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="apK0_SG78fSuhnMDrU_.">
                               <value name="IF0">
                                 <block type="get_value" id="Ix#uV$aTN+~E%f#`}zoJ">
                                   <field name="ATTR">val</field>
                                   <field name="OID">ID auswählen</field>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="controls_if" id="KBQ._8.Tc%mVZChv=|a|">
                                   <value name="IF0">
                                     <block type="logic_operation" id="js7G7ZpJ__-kBa#,d~*!" inline="false">
                                       <field name="OP">AND</field>
                                       <value name="A">
                                         <block type="logic_compare" id="F%?mDp(XL-d,ZE6);U|h">
                                           <field name="OP">EQ</field>
                                           <value name="A">
                                             <block type="on_source" id="n1FiuR-`%#`@l-x]n{^$">
                                               <field name="ATTR">state.val</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="Jtj=*i6@Nf1JwFL]X7mx">
                                               <field name="NUM">1</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="time_compare" id="P2(C5~6:du=hB6I-oG^[">
                                           <mutation end_time="false"></mutation>
                                           <field name="OPTION">&gt;</field>
                                           <field name="START_TIME">12:00</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="Kyd~nM=zFo%2.;`?Qckb">
                                       <mutation delay_input="true"></mutation>
                                       <field name="OID">Object ID</field>
                                       <field name="WITH_DELAY">TRUE</field>
                                       <field name="DELAY_MS">6</field>
                                       <field name="UNIT">sec</field>
                                       <field name="CLEAR_RUNNING">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="mt^?FDzsp|dN/M}DX@Dy">
                                           <field name="NUM">55</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_if" id="#eY0?3@+NqZn0U9WvG6$">
                                           <value name="IF0">
                                             <block type="logic_negate" id="*DDSIqw=lb7JSg$1nbu/">
                                               <value name="BOOL">
                                                 <block type="get_value" id="C*n,ocvxWPnzol5.n!u%">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">ID auswählen</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="control" id="19%L]|Rt%%2gLMn~KeGx">
                                               <mutation delay_input="true"></mutation>
                                               <field name="OID">Object ID</field>
                                               <field name="WITH_DELAY">TRUE</field>
                                               <field name="DELAY_MS">7</field>
                                               <field name="UNIT">sec</field>
                                               <field name="CLEAR_RUNNING">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="w(XM1h:j.^CP`C~CUV~c">
                                                   <field name="NUM">55</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="controls_if" id="Q[hM9}qN{n|b0K4eq%/$">
                                       <value name="IF0">
                                         <block type="logic_compare" id="8d9zdX)?Zrp0,]@TVB#6">
                                           <field name="OP">EQ</field>
                                           <value name="A">
                                             <block type="on_source" id="~^U!t66JUGdQe:pp.fDr">
                                               <field name="ATTR">state.val</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="HS`9kkLA^68R(#H;5%yT">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="QTdR.o)Xr(|V-j:*~u.d">
                                           <mutation delay_input="true"></mutation>
                                           <field name="OID">Object ID</field>
                                           <field name="WITH_DELAY">TRUE</field>
                                           <field name="DELAY_MS">6</field>
                                           <field name="UNIT">sec</field>
                                           <field name="CLEAR_RUNNING">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="qd5p12Fi)k@]Y)kIvDA*">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="controls_if" id="$GB!aRkQzywDAC{mZNHh">
                                               <value name="IF0">
                                                 <block type="logic_negate" id="l0twpu^Hw~d^eBA=k]4N">
                                                   <value name="BOOL">
                                                     <block type="get_value" id="N4Ge*1TTHFX+qCxG:-=T">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">ID auswählen</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id="-han6870cW^8cyY=-4$]">
                                                   <mutation delay_input="true"></mutation>
                                                   <field name="OID">Object ID</field>
                                                   <field name="WITH_DELAY">TRUE</field>
                                                   <field name="DELAY_MS">7</field>
                                                   <field name="UNIT">sec</field>
                                                   <field name="CLEAR_RUNNING">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="Y}!b=o/8B,_W},PLj[g[">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                         <block type="comment" id="w(dtxDu5Q8`p-7UuDl%i" x="338" y="113">
                           <field name="COMMENT">Automatic</field>
                         </block>
                         <block type="comment" id="N^R,B0d[zyq3R__SlT8X" x="562" y="262">
                           <field name="COMMENT">Fenster</field>
                         </block>
                        </xml>
                        

                        Uli977U Offline
                        Uli977U Offline
                        Uli977
                        schrieb am zuletzt editiert von
                        #23

                        @paul53 Danke, ich baue das mal ein.

                        Uli977U 1 Antwort Letzte Antwort
                        0
                        • Uli977U Uli977

                          @paul53 Danke, ich baue das mal ein.

                          Uli977U Offline
                          Uli977U Offline
                          Uli977
                          schrieb am zuletzt editiert von Uli977
                          #24

                          @paul53

                          So?

                          3959e0c4-59c7-4433-90a3-025e5e8f822b-image.png

                          Was bewirkt dieser Teil?

                          ac886ff1-988e-483a-b635-d50901cb9c59-image.png

                          paul53P 1 Antwort Letzte Antwort
                          0
                          • Uli977U Uli977

                            @paul53

                            So?

                            3959e0c4-59c7-4433-90a3-025e5e8f822b-image.png

                            Was bewirkt dieser Teil?

                            ac886ff1-988e-483a-b635-d50901cb9c59-image.png

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

                            @Uli977 sagte:

                            Was bewirkt dieser Teil?

                            Die Abfrage von LEVEL ist falsch, sondern das Fenster muss geschlossen sein (nicht Fenster offen) für das Rollo rechts, so wie in Deinem ursprünglichen Script.

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

                            1 Antwort Letzte Antwort
                            0
                            • Uli977U Uli977

                              @paul53 Ich habe noch eine Frage....

                              Dieses Rollo soll nie auf halb fahren und erst frühestens um 20:30 Uhr komplett zu.
                              Im Sommer natürlich nur wenn Position 0 (runter) gesetzt ist, von mir aus auch erst um 22:30 Uhr.
                              Im Winter aber nicht vor 20:30 Uhr, auch nicht wenn zu diesem Zeitpunkt die 0 bereits um z.B. 17 Uhr erreicht wurde.

                              Wie baue ich das am Besten ein?

                              So?

                              07790f9d-16a3-4627-a5d8-83c436ebb5a5-image.png

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

                              @Uli977 sagte:

                              Wie baue ich das am Besten ein?
                              So?

                              Was soll der Zeitplan-Trigger ?
                              Für das Wohnzimmer:

                              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

                              Uli977U 2 Antworten Letzte Antwort
                              0
                              • paul53P paul53

                                @Uli977 sagte:

                                Wie baue ich das am Besten ein?
                                So?

                                Was soll der Zeitplan-Trigger ?
                                Für das Wohnzimmer:

                                Blockly_temp.JPG

                                Uli977U Offline
                                Uli977U Offline
                                Uli977
                                schrieb am zuletzt editiert von
                                #27

                                @paul53

                                Der Zeitplan soll bewirken, dass erst nach 20:30 geschaut wird ob es dunkel ist und auch erst dann das Rollo heruntergefahren wird. Und nicht früher.

                                11a4dd6f-06d9-474b-979c-ed77d91a2e1c-image.png

                                J 1 Antwort Letzte Antwort
                                0
                                • Uli977U Uli977

                                  @paul53

                                  Der Zeitplan soll bewirken, dass erst nach 20:30 geschaut wird ob es dunkel ist und auch erst dann das Rollo heruntergefahren wird. Und nicht früher.

                                  11a4dd6f-06d9-474b-979c-ed77d91a2e1c-image.png

                                  J Offline
                                  J Offline
                                  Jan1
                                  schrieb am zuletzt editiert von
                                  #28

                                  @Uli977
                                  Dann hats ein Zeitplan der das alle 5 Minuten macht?
                                  Sinnvoller wäre es nach 20:30 kurz zu schauen ob es schon dunkel ist ;-)

                                  Uli977U 1 Antwort Letzte Antwort
                                  0
                                  • J Jan1

                                    @Uli977
                                    Dann hats ein Zeitplan der das alle 5 Minuten macht?
                                    Sinnvoller wäre es nach 20:30 kurz zu schauen ob es schon dunkel ist ;-)

                                    Uli977U Offline
                                    Uli977U Offline
                                    Uli977
                                    schrieb am zuletzt editiert von
                                    #29

                                    @Jan1 Ich möchte aber, wann auch immer es nach 20:30 Uhr dunkel ist (kann auch erst 22:00 Uhr sein), das Rollo dann herunter fährt.

                                    J haselchenH 2 Antworten Letzte Antwort
                                    0
                                    • Uli977U Uli977

                                      @Jan1 Ich möchte aber, wann auch immer es nach 20:30 Uhr dunkel ist (kann auch erst 22:00 Uhr sein), das Rollo dann herunter fährt.

                                      J Offline
                                      J Offline
                                      Jan1
                                      schrieb am zuletzt editiert von
                                      #30

                                      @Uli977
                                      Schon klar, aber irgendwie verschachtelst Du gerne zu viele Abfragen in eine Bedingung, so dass außer Paul53 keiner mehr durchblickt, was da wann und wie eintreten muss :sunglasses:

                                      Uli977U 1 Antwort Letzte Antwort
                                      1
                                      • Uli977U Uli977

                                        @Jan1 Ich möchte aber, wann auch immer es nach 20:30 Uhr dunkel ist (kann auch erst 22:00 Uhr sein), das Rollo dann herunter fährt.

                                        haselchenH Offline
                                        haselchenH Offline
                                        haselchen
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #31

                                        @Uli977

                                        Und das lässt Du alle 5min prüfen? 🤔
                                        Bisschen sinnfrei oder?

                                        Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                                        Uli977U J 2 Antworten Letzte Antwort
                                        0
                                        • paul53P paul53

                                          @Uli977 sagte:

                                          Wie baue ich das am Besten ein?
                                          So?

                                          Was soll der Zeitplan-Trigger ?
                                          Für das Wohnzimmer:

                                          Blockly_temp.JPG

                                          Uli977U Offline
                                          Uli977U Offline
                                          Uli977
                                          schrieb am zuletzt editiert von
                                          #32

                                          @paul53

                                          Fehlt da nicht ein steure

                                          6512fdc2-78ce-4208-b307-771bd32936bf-image.png

                                          paul53P 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
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          716

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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