NEWS
[Gelöst] 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: -
-
@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:diesen hier nehmen?
Und bei Datenpunkt dann LEVEL nehmen beim stoppen der Rollos?
-
-
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>
-
@acem sagte:
so sieht es dann aus, ist das so korrekt?
Nein. Wozu habe ich wohl den Kommentar "WORKING" über die ID gesetzt ?
-
@paul53 jetzt funktioniert es
Danke vielmals
-
@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
-
@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 .... -
@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