Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [Gelöst] Aqara OPPLE ( 6 Tasten )

NEWS

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

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

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

[Gelöst] Aqara OPPLE ( 6 Tasten )

Geplant Angeheftet Gesperrt Verschoben Blockly
21 Beiträge 5 Kommentatoren 1.4k Aufrufe 4 Beobachtet
  • Ä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.
  • A acem

    @paul53 sagte in Aqara OPPLE ( 6 Tasten ):

    @acem sagte:

    Wie sollte es aussehen?

    Etwa so für 1 Rollo (2 Taster).

    Blockly_temp.JPG

    @acem sagte in Aqara OPPLE ( 6 Tasten ):

    geht der Wert false bei Tastendruck nur ganz kurz auf True und sofort wieder auf false.

    Deshalb Trigger "größer als letztes".

    Muß ich für 3 Rollos dann 3 Blockly Scripte haben zb. Rollo1, Rollo2, Rollo3 oder würde es auch mit einem Script alle 3 Rollos gehen?

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

    @acem sagte:

    würde es auch mit einem Script alle 3 Rollos gehen?

    Ja, es wird nur unübersichtlich groß, denn die 3 Rollos sind unabhängig voneinander.

    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

    A 1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @acem sagte:

      würde es auch mit einem Script alle 3 Rollos gehen?

      Ja, es wird nur unübersichtlich groß, denn die 3 Rollos sind unabhängig voneinander.

      A Offline
      A Offline
      acem
      schrieb am zuletzt editiert von
      #11

      @paul53 das heißt wenn ich dich richtig verstehe 3 getrennte Blockly-Scripte für 3 Rollos ist das richtig?

      kannst du mir Bitte die Code-Datei hochladen.

      Vielen Dank
      Acem

      1 Antwort Letzte Antwort
      0
      • A acem

        @paul53 kannst du mir Bitte für alle 3 Rollos den Code Datei hochladen würde mich sehr darüber freuen.

        Vielen Dank
        Acem

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

        @acem sagte:

        für alle 3 Rollos den Code Datei hochladen

        Nur für 1 Rollo: Erstelle besser 3 gleiche Skripte, die sich nur in den Datenpunkt-Zuweisungen unterscheiden.
        Ich denke (habe selbst keine Rollos), dass man auch den Datenpunkt "WORKING" auswerten kann:

        Blockly_temp.JPG

        <xml xmlns="https://developers.google.com/blockly/xml">
         <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
           <field name="CONDITION">gt</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
               <field name="oid">default</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
               <mutation elseif="1"></mutation>
               <value name="IF0">
                 <block type="get_value" id="mV^Y;=Sn4pe*hYVwsW+=">
                   <field name="ATTR">val</field>
                   <field name="OID">ID auswählen</field>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="comment" id="@2Z:hu2+O}v*|Br4o=H1">
                   <field name="COMMENT">STOP</field>
                   <next>
                     <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">Object ID</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </next>
                 </block>
               </statement>
               <value name="IF1">
                 <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                   <field name="OP">GT</field>
                   <value name="A">
                     <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                       <field name="ATTR">val</field>
                       <field name="OID">ID auswählen</field>
                     </block>
                   </value>
                   <value name="B">
                     <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                       <field name="NUM">0</field>
                     </block>
                   </value>
                 </block>
               </value>
               <statement name="DO1">
                 <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                   <field name="OID">Object ID</field>
                   <field name="WITH_DELAY">FALSE</field>
                   <value name="VALUE">
                     <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                       <field name="NUM">0</field>
                     </block>
                   </value>
                 </block>
               </statement>
             </block>
           </statement>
           <next>
             <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
               <field name="CONDITION">gt</field>
               <field name="ACK_CONDITION"></field>
               <value name="OID0">
                 <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                   <field name="oid">default</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="get_value" id="KhTa;iI@,kCT``6]yUmU">
                       <field name="ATTR">val</field>
                       <field name="OID">ID auswählen</field>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="comment" id="FZc0*I)iZVC9OP(rb-=]">
                       <field name="COMMENT">STOP</field>
                       <next>
                         <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">Object ID</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                       <field name="OP">LT</field>
                       <value name="A">
                         <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                           <field name="ATTR">val</field>
                           <field name="OID">ID auswählen</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                           <field name="NUM">100</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">Object ID</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                           <field name="NUM">100</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
             </block>
           </next>
         </block>
         <block type="comment" id="3^iID,d2k:8DT^gav2:C" x="188" y="88">
           <field name="COMMENT">WORKING</field>
         </block>
         <block type="comment" id="F$@csF+M{ZFzKL,LcJ,C" x="187" y="387">
           <field name="COMMENT">WORKING</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

        A 2 Antworten Letzte Antwort
        0
        • paul53P paul53

          @acem sagte:

          für alle 3 Rollos den Code Datei hochladen

          Nur für 1 Rollo: Erstelle besser 3 gleiche Skripte, die sich nur in den Datenpunkt-Zuweisungen unterscheiden.
          Ich denke (habe selbst keine Rollos), dass man auch den Datenpunkt "WORKING" auswerten kann:

          Blockly_temp.JPG

          <xml xmlns="https://developers.google.com/blockly/xml">
           <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
             <field name="CONDITION">gt</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                 <field name="oid">default</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                 <mutation elseif="1"></mutation>
                 <value name="IF0">
                   <block type="get_value" id="mV^Y;=Sn4pe*hYVwsW+=">
                     <field name="ATTR">val</field>
                     <field name="OID">ID auswählen</field>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="comment" id="@2Z:hu2+O}v*|Br4o=H1">
                     <field name="COMMENT">STOP</field>
                     <next>
                       <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">Object ID</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                       </block>
                     </next>
                   </block>
                 </statement>
                 <value name="IF1">
                   <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                     <field name="OP">GT</field>
                     <value name="A">
                       <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                         <field name="ATTR">val</field>
                         <field name="OID">ID auswählen</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                         <field name="NUM">0</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO1">
                   <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">Object ID</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                         <field name="NUM">0</field>
                       </block>
                     </value>
                   </block>
                 </statement>
               </block>
             </statement>
             <next>
               <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                 <field name="CONDITION">gt</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                     <field name="oid">default</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                     <mutation elseif="1"></mutation>
                     <value name="IF0">
                       <block type="get_value" id="KhTa;iI@,kCT``6]yUmU">
                         <field name="ATTR">val</field>
                         <field name="OID">ID auswählen</field>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="comment" id="FZc0*I)iZVC9OP(rb-=]">
                         <field name="COMMENT">STOP</field>
                         <next>
                           <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">Object ID</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <value name="IF1">
                       <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                         <field name="OP">LT</field>
                         <value name="A">
                           <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                             <field name="ATTR">val</field>
                             <field name="OID">ID auswählen</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                             <field name="NUM">100</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO1">
                       <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">Object ID</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                             <field name="NUM">100</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
           <block type="comment" id="3^iID,d2k:8DT^gav2:C" x="188" y="88">
             <field name="COMMENT">WORKING</field>
           </block>
           <block type="comment" id="F$@csF+M{ZFzKL,LcJ,C" x="187" y="387">
             <field name="COMMENT">WORKING</field>
           </block>
          </xml>
          

          A Offline
          A Offline
          acem
          schrieb am zuletzt editiert von
          #13

          @paul53 ich bin jetzt etwas verwirrt

          wekchen Script jetzt nehmen den hier?
          Script.png

          oder

          1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @acem sagte:

            für alle 3 Rollos den Code Datei hochladen

            Nur für 1 Rollo: Erstelle besser 3 gleiche Skripte, die sich nur in den Datenpunkt-Zuweisungen unterscheiden.
            Ich denke (habe selbst keine Rollos), dass man auch den Datenpunkt "WORKING" auswerten kann:

            Blockly_temp.JPG

            <xml xmlns="https://developers.google.com/blockly/xml">
             <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
               <field name="CONDITION">gt</field>
               <field name="ACK_CONDITION"></field>
               <value name="OID0">
                 <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                   <field name="oid">default</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="get_value" id="mV^Y;=Sn4pe*hYVwsW+=">
                       <field name="ATTR">val</field>
                       <field name="OID">ID auswählen</field>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="comment" id="@2Z:hu2+O}v*|Br4o=H1">
                       <field name="COMMENT">STOP</field>
                       <next>
                         <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">Object ID</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                       <field name="OP">GT</field>
                       <value name="A">
                         <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                           <field name="ATTR">val</field>
                           <field name="OID">ID auswählen</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                           <field name="NUM">0</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">Object ID</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                           <field name="NUM">0</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
               <next>
                 <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">gt</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                       <field name="oid">default</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                       <mutation elseif="1"></mutation>
                       <value name="IF0">
                         <block type="get_value" id="KhTa;iI@,kCT``6]yUmU">
                           <field name="ATTR">val</field>
                           <field name="OID">ID auswählen</field>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="comment" id="FZc0*I)iZVC9OP(rb-=]">
                           <field name="COMMENT">STOP</field>
                           <next>
                             <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">Object ID</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                           <field name="OP">LT</field>
                           <value name="A">
                             <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                               <field name="ATTR">val</field>
                               <field name="OID">ID auswählen</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                               <field name="NUM">100</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">Object ID</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                               <field name="NUM">100</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
             <block type="comment" id="3^iID,d2k:8DT^gav2:C" x="188" y="88">
               <field name="COMMENT">WORKING</field>
             </block>
             <block type="comment" id="F$@csF+M{ZFzKL,LcJ,C" x="187" y="387">
               <field name="COMMENT">WORKING</field>
             </block>
            </xml>
            

            A Offline
            A Offline
            acem
            schrieb am zuletzt editiert von acem
            #14

            @paul53 sagte in Aqara OPPLE ( 6 Tasten ):

            @acem sagte:

            für alle 3 Rollos den Code Datei hochladen

            Nur für 1 Rollo: Erstelle besser 3 gleiche Skripte, die sich nur in den Datenpunkt-Zuweisungen unterscheiden.
            Ich denke (habe selbst keine Rollos), dass man auch den Datenpunkt "WORKING" auswerten kann:

            Blockly_temp.JPG

            <xml xmlns="https://developers.google.com/blockly/xml">
             <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
               <field name="CONDITION">gt</field>
               <field name="ACK_CONDITION"></field>
               <value name="OID0">
                 <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                   <field name="oid">default</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="get_value" id="mV^Y;=Sn4pe*hYVwsW+=">
                       <field name="ATTR">val</field>
                       <field name="OID">ID auswählen</field>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="comment" id="@2Z:hu2+O}v*|Br4o=H1">
                       <field name="COMMENT">STOP</field>
                       <next>
                         <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">Object ID</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                       <field name="OP">GT</field>
                       <value name="A">
                         <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                           <field name="ATTR">val</field>
                           <field name="OID">ID auswählen</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                           <field name="NUM">0</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">Object ID</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                           <field name="NUM">0</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
               <next>
                 <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">gt</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                       <field name="oid">default</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                       <mutation elseif="1"></mutation>
                       <value name="IF0">
                         <block type="get_value" id="KhTa;iI@,kCT``6]yUmU">
                           <field name="ATTR">val</field>
                           <field name="OID">ID auswählen</field>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="comment" id="FZc0*I)iZVC9OP(rb-=]">
                           <field name="COMMENT">STOP</field>
                           <next>
                             <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">Object ID</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                           <field name="OP">LT</field>
                           <value name="A">
                             <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                               <field name="ATTR">val</field>
                               <field name="OID">ID auswählen</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                               <field name="NUM">100</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">Object ID</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                               <field name="NUM">100</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </statement>
                 </block>
               </next>
             </block>
             <block type="comment" id="3^iID,d2k:8DT^gav2:C" x="188" y="88">
               <field name="COMMENT">WORKING</field>
             </block>
             <block type="comment" id="F$@csF+M{ZFzKL,LcJ,C" x="187" y="387">
               <field name="COMMENT">WORKING</field>
             </block>
            </xml>
            

            diesen hier nehmen?

            Und bei Datenpunkt dann LEVEL nehmen beim stoppen der Rollos?

            paul53P 1 Antwort Letzte Antwort
            0
            • A acem

              @paul53 sagte in Aqara OPPLE ( 6 Tasten ):

              @acem sagte:

              für alle 3 Rollos den Code Datei hochladen

              Nur für 1 Rollo: Erstelle besser 3 gleiche Skripte, die sich nur in den Datenpunkt-Zuweisungen unterscheiden.
              Ich denke (habe selbst keine Rollos), dass man auch den Datenpunkt "WORKING" auswerten kann:

              Blockly_temp.JPG

              <xml xmlns="https://developers.google.com/blockly/xml">
               <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                 <field name="CONDITION">gt</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                     <field name="oid">default</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                     <mutation elseif="1"></mutation>
                     <value name="IF0">
                       <block type="get_value" id="mV^Y;=Sn4pe*hYVwsW+=">
                         <field name="ATTR">val</field>
                         <field name="OID">ID auswählen</field>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="comment" id="@2Z:hu2+O}v*|Br4o=H1">
                         <field name="COMMENT">STOP</field>
                         <next>
                           <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">Object ID</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <value name="IF1">
                       <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                         <field name="OP">GT</field>
                         <value name="A">
                           <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                             <field name="ATTR">val</field>
                             <field name="OID">ID auswählen</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO1">
                       <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">Object ID</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </statement>
                 <next>
                   <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">gt</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                         <field name="oid">default</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                         <mutation elseif="1"></mutation>
                         <value name="IF0">
                           <block type="get_value" id="KhTa;iI@,kCT``6]yUmU">
                             <field name="ATTR">val</field>
                             <field name="OID">ID auswählen</field>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="comment" id="FZc0*I)iZVC9OP(rb-=]">
                             <field name="COMMENT">STOP</field>
                             <next>
                               <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">Object ID</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                             <field name="OP">LT</field>
                             <value name="A">
                               <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                                 <field name="ATTR">val</field>
                                 <field name="OID">ID auswählen</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                                 <field name="NUM">100</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">Object ID</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                                 <field name="NUM">100</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
               <block type="comment" id="3^iID,d2k:8DT^gav2:C" x="188" y="88">
                 <field name="COMMENT">WORKING</field>
               </block>
               <block type="comment" id="F$@csF+M{ZFzKL,LcJ,C" x="187" y="387">
                 <field name="COMMENT">WORKING</field>
               </block>
              </xml>
              

              diesen hier nehmen?

              Und bei Datenpunkt dann LEVEL nehmen beim stoppen der Rollos?

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

              @acem sagte:

              diesen hier nehmen?

              Ja.

              @acem sagte:

              Und bei Datenpunkt dann LEVEL nehmen beim stoppen der Rollos?

              Zum Stoppen den Datenpunkt "STOP" nehmen. Zum prüfen auf > 0 bzw. < 100 und zum Fahren den Datenpunkt "LEVEL" nehmen.

              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

              A 1 Antwort Letzte Antwort
              0
              • paul53P paul53

                @acem sagte:

                diesen hier nehmen?

                Ja.

                @acem sagte:

                Und bei Datenpunkt dann LEVEL nehmen beim stoppen der Rollos?

                Zum Stoppen den Datenpunkt "STOP" nehmen. Zum prüfen auf > 0 bzw. < 100 und zum Fahren den Datenpunkt "LEVEL" nehmen.

                A Offline
                A Offline
                acem
                schrieb am zuletzt editiert von acem
                #16

                @paul53 1.png

                so sieht es dann aus, ist das so korrekt?, Funktionert noch nicht! habe ich etwas übersehen? bzw. Etwas vergessen?

                <xml xmlns="https://developers.google.com/blockly/xml">
                  <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                    <field name="CONDITION">gt</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                        <field name="oid">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                        <mutation elseif="1"></mutation>
                        <value name="IF0">
                          <block type="get_value" id="mV^Y;=Sn4pe*hYVwsW+=">
                            <field name="ATTR">val</field>
                            <field name="OID">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="comment" id="@2Z:hu2+O}v*|Br4o=H1">
                            <field name="COMMENT">STOP</field>
                            <next>
                              <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                                <field name="ATTR">val</field>
                                <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <next>
                      <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                        <field name="CONDITION">gt</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                          <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                            <field name="oid">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="get_value" id="KhTa;iI@,kCT``6]yUmU">
                                <field name="ATTR">val</field>
                                <field name="OID">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="comment" id="FZc0*I)iZVC9OP(rb-=]">
                                <field name="COMMENT">STOP</field>
                                <next>
                                  <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                                    <field name="ATTR">val</field>
                                    <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                                    <field name="NUM">100</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                                    <field name="NUM">100</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                  <block type="comment" id="3^iID,d2k:8DT^gav2:C" x="188" y="88">
                    <field name="COMMENT">WORKING</field>
                  </block>
                  <block type="comment" id="F$@csF+M{ZFzKL,LcJ,C" x="163" y="363">
                    <field name="COMMENT">WORKING</field>
                  </block>
                </xml>
                
                paul53P 1 Antwort Letzte Antwort
                0
                • A acem

                  @paul53 1.png

                  so sieht es dann aus, ist das so korrekt?, Funktionert noch nicht! habe ich etwas übersehen? bzw. Etwas vergessen?

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                      <field name="CONDITION">gt</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                          <field name="oid">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="get_value" id="mV^Y;=Sn4pe*hYVwsW+=">
                              <field name="ATTR">val</field>
                              <field name="OID">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="comment" id="@2Z:hu2+O}v*|Br4o=H1">
                              <field name="COMMENT">STOP</field>
                              <next>
                                <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                              <field name="OP">GT</field>
                              <value name="A">
                                <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                                  <field name="ATTR">val</field>
                                  <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <next>
                        <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                          <field name="CONDITION">gt</field>
                          <field name="ACK_CONDITION"></field>
                          <value name="OID0">
                            <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                              <field name="oid">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                            </shadow>
                          </value>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                              <mutation elseif="1"></mutation>
                              <value name="IF0">
                                <block type="get_value" id="KhTa;iI@,kCT``6]yUmU">
                                  <field name="ATTR">val</field>
                                  <field name="OID">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="comment" id="FZc0*I)iZVC9OP(rb-=]">
                                  <field name="COMMENT">STOP</field>
                                  <next>
                                    <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                                      <field name="ATTR">val</field>
                                      <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                                      <field name="NUM">100</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                                      <field name="NUM">100</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                    <block type="comment" id="3^iID,d2k:8DT^gav2:C" x="188" y="88">
                      <field name="COMMENT">WORKING</field>
                    </block>
                    <block type="comment" id="F$@csF+M{ZFzKL,LcJ,C" x="163" y="363">
                      <field name="COMMENT">WORKING</field>
                    </block>
                  </xml>
                  
                  paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von paul53
                  #17

                  @acem sagte:

                  so sieht es dann aus, ist das so korrekt?

                  Nein. Wozu habe ich wohl den Kommentar "WORKING" über die ID gesetzt ?

                  Blockly_temp.JPG

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">gt</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                         <field name="oid">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                         <mutation elseif="1"></mutation>
                         <value name="IF0">
                           <block type="get_value_var" id="LttFi5rjtj!**-7*e8V(">
                             <field name="ATTR">val</field>
                             <value name="OID">
                               <shadow type="text" id="=Ay:(0.aj-$Z#BPA-[Wk">
                                 <field name="TEXT">hm-rpc.1.OEQ0984789.1.WORKING</field>
                               </shadow>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                             <field name="OP">GT</field>
                             <value name="A">
                               <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                                 <field name="ATTR">val</field>
                                 <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                                 <field name="NUM">0</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </statement>
                     <next>
                       <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                         <field name="CONDITION">gt</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                             <field name="oid">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                             <mutation elseif="1"></mutation>
                             <value name="IF0">
                               <block type="get_value_var" id="a7#irb}{hQIfPcL*[vg~">
                                 <field name="ATTR">val</field>
                                 <value name="OID">
                                   <shadow type="text" id="9`2xZVOf]:C4A/JeY]3D">
                                     <field name="TEXT">hm-rpc.1.OEQ0984789.1.WORKING</field>
                                   </shadow>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <value name="IF1">
                               <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                                 <field name="OP">LT</field>
                                 <value name="A">
                                   <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                                     <field name="ATTR">val</field>
                                     <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                                     <field name="NUM">100</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO1">
                               <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                                     <field name="NUM">100</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </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

                  A 1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

                    @acem sagte:

                    so sieht es dann aus, ist das so korrekt?

                    Nein. Wozu habe ich wohl den Kommentar "WORKING" über die ID gesetzt ?

                    Blockly_temp.JPG

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <block type="on_ext" id="o:qjiuF~}nHI8lK*vi?v" x="-112" y="37">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                       <field name="CONDITION">gt</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="QGeY$;M9!5)9d,@h=EqD">
                           <field name="oid">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="Zq*6ZdI*Wgxjf4x{BDr^">
                           <mutation elseif="1"></mutation>
                           <value name="IF0">
                             <block type="get_value_var" id="LttFi5rjtj!**-7*e8V(">
                               <field name="ATTR">val</field>
                               <value name="OID">
                                 <shadow type="text" id="=Ay:(0.aj-$Z#BPA-[Wk">
                                   <field name="TEXT">hm-rpc.1.OEQ0984789.1.WORKING</field>
                                 </shadow>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id="te_y*PZd)4tOsKDGyIQO">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="C|p1--AVAOW2l.m|B#zg">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <value name="IF1">
                             <block type="logic_compare" id=",Po6zL,{6U|(I3/qOT*f">
                               <field name="OP">GT</field>
                               <value name="A">
                                 <block type="get_value" id="]iSe_Yo^l}bb2;YU39`Q">
                                   <field name="ATTR">val</field>
                                   <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="Uxy@vvKPnTdWmK~}-^Y6">
                                   <field name="NUM">0</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO1">
                             <block type="control" id="3t/,-4XTu_OGvb]vNM`N">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="math_number" id="a=r_u+iG7/{LN=I-W0TV">
                                   <field name="NUM">0</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                         </block>
                       </statement>
                       <next>
                         <block type="on_ext" id="q$zeQ?G=^:]fvR$1mqT}">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                           <field name="CONDITION">gt</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="w;[jH?o5j3D@SJ[th*B}">
                               <field name="oid">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="FmoIsPm8Koh*~!0.G}Ly">
                               <mutation elseif="1"></mutation>
                               <value name="IF0">
                                 <block type="get_value_var" id="a7#irb}{hQIfPcL*[vg~">
                                   <field name="ATTR">val</field>
                                   <value name="OID">
                                     <shadow type="text" id="9`2xZVOf]:C4A/JeY]3D">
                                       <field name="TEXT">hm-rpc.1.OEQ0984789.1.WORKING</field>
                                     </shadow>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id="aht^Gmxa2#l{Cj.F=tcG">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">hm-rpc.1.OEQ0984789.1.STOP</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="Dr}%akT.-7,Ys*qtra=h">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                               <value name="IF1">
                                 <block type="logic_compare" id="xQ[R:$/?Cxa;)D}Q)Lv$">
                                   <field name="OP">LT</field>
                                   <value name="A">
                                     <block type="get_value" id="/b7YuV1idXT,v]6q,D[!">
                                       <field name="ATTR">val</field>
                                       <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="x(-s7g44OD!1E-eE.,z=">
                                       <field name="NUM">100</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO1">
                                 <block type="control" id="N4#gW=r]eOX;4BtCLho`">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">hm-rpc.1.OEQ0984789.1.LEVEL</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id=":Xlpnf-|We`VD4*:!#fb">
                                       <field name="NUM">100</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                    </xml>
                    

                    A Offline
                    A Offline
                    acem
                    schrieb am zuletzt editiert von acem
                    #18

                    @paul53 jetzt funktioniert es

                    Script4.png

                    Danke vielmals :-) ;-)

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      Stoni
                      schrieb am zuletzt editiert von
                      #19

                      @acem Über welchen Adapter hast Du den Opple 6-fach eingebunden?

                      Ich habe ihn gerade über den Deconz Adapter eingebunden, bei mir erscheint aber nur eine Taste. Dafür brauche ich mir keinen 6-fach Schalter kaufen...

                      VG Stoni

                      F 1 Antwort Letzte Antwort
                      0
                      • S Stoni

                        @acem Über welchen Adapter hast Du den Opple 6-fach eingebunden?

                        Ich habe ihn gerade über den Deconz Adapter eingebunden, bei mir erscheint aber nur eine Taste. Dafür brauche ich mir keinen 6-fach Schalter kaufen...

                        VG Stoni

                        F Offline
                        F Offline
                        Frank579
                        schrieb am zuletzt editiert von
                        #20

                        @stoni
                        Das hatte ich am Anfang auch, du musst mal jede Taste drücken auch die Doppel und dreifach Klicks. Der Datenpunkt würde bei mir erst angelegt wenn ich alles einmal betätigt habe ....

                        S 1 Antwort Letzte Antwort
                        0
                        • F Frank579

                          @stoni
                          Das hatte ich am Anfang auch, du musst mal jede Taste drücken auch die Doppel und dreifach Klicks. Der Datenpunkt würde bei mir erst angelegt wenn ich alles einmal betätigt habe ....

                          S Offline
                          S Offline
                          Stoni
                          schrieb am zuletzt editiert von
                          #21

                          @frank579 Danke für die Rückmeldung. Hatte zwischenzeitlich mal die Conbee FW auf den neuesten Stand gebracht und im Netz ein wenig recherchiert. Jetzt läufts...
                          Grüße

                          1 Antwort Letzte Antwort
                          0

                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                          Registrieren Anmelden
                          Antworten
                          • In einem neuen Thema antworten
                          Anmelden zum Antworten
                          • Älteste zuerst
                          • Neuste zuerst
                          • Meiste Stimmen


                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          401

                          Online

                          32.8k

                          Benutzer

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