Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [Gelöst] Aqara OPPLE ( 6 Tasten )

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [Gelöst] Aqara OPPLE ( 6 Tasten )

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @acem last edited by

      @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 1 Reply Last reply Reply Quote 0
      • A
        acem @paul53 last edited by

        @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 Reply Last reply Reply Quote 0
        • paul53
          paul53 @acem last edited by 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 2 Replies Last reply Reply Quote 0
          • A
            acem @paul53 last edited by

            @paul53 ich bin jetzt etwas verwirrt

            wekchen Script jetzt nehmen den hier?
            Script.png

            oder

            1 Reply Last reply Reply Quote 0
            • A
              acem @paul53 last edited by 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?

              paul53 1 Reply Last reply Reply Quote 0
              • paul53
                paul53 @acem last edited by 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 1 Reply Last reply Reply Quote 0
                • A
                  acem @paul53 last edited by 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>
                  
                  paul53 1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @acem last edited by 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 1 Reply Last reply Reply Quote 0
                    • A
                      acem @paul53 last edited by acem

                      @paul53 jetzt funktioniert es

                      Script4.png

                      Danke vielmals 🙂 😉

                      1 Reply Last reply Reply Quote 0
                      • S
                        Stoni last edited by

                        @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 Reply Last reply Reply Quote 0
                        • F
                          Frank579 @Stoni last edited by

                          @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 Reply Last reply Reply Quote 0
                          • S
                            Stoni @Frank579 last edited by

                            @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 Reply Last reply Reply Quote 0
                            • First post
                              Last post

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            883
                            Online

                            32.0k
                            Users

                            80.5k
                            Topics

                            1.3m
                            Posts

                            5
                            21
                            938
                            Loading More Posts
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes
                            Reply
                            • Reply as topic
                            Log in to reply
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                            The ioBroker Community 2014-2023
                            logo