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
    749

  • 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 Offline
    A Offline
    acem
    schrieb am zuletzt editiert von acem
    #1

    Hallo zusammen,

    habe mir einen Aqara OPPLE ( 6 Tasten ) gekauft den hier Aqara OPPLE.jpg um meine Rolladen damit zu steuern, leider klappt es nicht so wie ich es möchte :-)

    Ich möchte damit 3 Rolladenaktoren damit steuern.

    Rolladenaktor 1:
    Button 1,
    soll bei 1 x klick Rolladen runter fahren, bei erneuten klick stoppen und bei erneuten klick wieder runter fahren.

    Button 2,
    soll 1x klick Rolladen hoch fahren, bei erneuten klick stoppen und bei erneuten klick wider hoch fahren.

    Mit den anderen 4 Buttons sollen die anderen 2 Rolladenaktoren gesteuert werden.

    Bei allen Rolladenaktoren soll die steuerung Funktionieren egal in welche position die Rolladen stehen.

    Ich bekommen den Rolladenaktor zwar zum laufen aber leider nicht so wie ich es wollte.

    Hier ist mein Blockly Script mit der ich es versucht habe.

    Blockly.png

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="eMgLO*`%a1S?7!djRLF)">wert</variable>
        <variable id="H!9#H$!|0qws7W#C?[Bz">stop</variable>
      </variables>
      <block type="on_ext" id="??7bd%_]UAx^tPrqE#]7" x="-765" y="-98">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="9*%5.m`meML62IbJJ%Wn">
            <field name="oid">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
          </shadow>
        </value>
        <value name="OID1">
          <shadow type="field_oid" id="4![N7?vlM:U4?g@L*H{t">
            <field name="oid">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
          </shadow>
        </value>
        <value name="OID2">
          <shadow type="field_oid" id="71!~PQP|!Jqc6QuNe37L">
            <field name="oid">zigbee.0.04cf8cdf3c797db7.button_3_click</field>
          </shadow>
        </value>
        <value name="OID3">
          <shadow type="field_oid" id="o,eq[d0|x.i~B@wlBM7=">
            <field name="oid">zigbee.0.04cf8cdf3c797db7.button_4_click</field>
          </shadow>
        </value>
        <value name="OID4">
          <shadow type="field_oid" id="Jbh$:8DIzr,mkfnQv`Bf">
            <field name="oid">zigbee.0.04cf8cdf3c797db7.button_5_click</field>
          </shadow>
        </value>
        <value name="OID5">
          <shadow type="field_oid" id="LBD`^ETM-O/PImuq7@S^">
            <field name="oid">zigbee.0.04cf8cdf3c797db7.button_6_click</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="controls_if" id="{nb56[`AHb}k@THDH$x-">
            <value name="IF0">
              <block type="logic_compare" id="a_tbH~f9UTj|!9tV$PBu">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="%oQJ-NY:cI[nuNp;A#WG">
                    <field name="ATTR">val</field>
                    <field name="OID">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id=":fV+T4l_f,q}nBMSM8]X">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="controls_if" id=":-*c_02b}GoFCN=YQ;l?">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="8D}`8DM_dRnzT9nD8Bdn">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="]@Ua,hIB4tW;LD_qBn/x">
                        <field name="VAR" id="eMgLO*`%a1S?7!djRLF)">wert</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="3z{^^%rqz::}.NL!ats$">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="7wCT)y%0f@cUlq4vdMt.">
                    <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=":#X.LJDyOfwW-meGdV]y">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_compare" id="!R}UoZUp)6CbP2,^Pd^(">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="variables_get" id="0dKG=E%yOHP={|Hry!S0">
                        <field name="VAR" id="eMgLO*`%a1S?7!djRLF)">wert</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="6J377xWh+X+Si{Iv:xV6">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="control" id="C$%raA8[`zgfPhgv7TY@">
                    <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="variables_get" id="UMw)/o5@?F3Xsm[Y8[mB">
                        <field name="VAR" id="H!9#H$!|0qws7W#C?[Bz">stop</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
            <next>
              <block type="controls_if" id="|i8yb%p7^!H`~flO`0+c">
                <value name="IF0">
                  <block type="logic_compare" id="S`D[%hMAvACHWRXap@K=">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="}|oyfX3z$43tbh-eJe}j">
                        <field name="ATTR">val</field>
                        <field name="OID">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="}:py;y3hM!z[mb*0K,%,">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="controls_if" id="BoK}6:Floo,GeW9]JIE~">
                    <mutation else="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="kf0,/{FAr/-JMY_udc_a">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="h!E5Oy[Hk!=6u}`X!=g7">
                            <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="m!^aY@TKBK*1%Tw{zc@%">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="S_3Rt!C=W,}$ANMu8-5Q">
                        <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="aafB$}LD^sA5;%bZ}kVv">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <statement name="ELSE">
                      <block type="control" id="El[l3$CuQ!*:XQZC2jBj">
                        <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="{dmsL]XG-268y!ahN^3!">
                            <field name="NUM">100</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </xml>
    

    Aqara OPPLE-Datenpunkt.png

    Zur Info! bei Objekte Datenpunkt geht der Wert false bei Tastendruck nur ganz kurz auf True und sofort wieder auf false.

    Mit der Blokly macht Button 1 folgendes beim 1x klick fährt der Rolladenaktor runter bei erneuten klick stopt es und fährt sofort hoch. bei erneutem klick kurz stop und weiter hoch.

    Ich komme einfach nicht weiter, hoffe das mir einer Hier helfen kann, würde mich riesig freuen

    Vielen Herzlichen Dank
    Acem

    paul53P 1 Antwort Letzte Antwort
    0
    • A acem

      Hallo zusammen,

      habe mir einen Aqara OPPLE ( 6 Tasten ) gekauft den hier Aqara OPPLE.jpg um meine Rolladen damit zu steuern, leider klappt es nicht so wie ich es möchte :-)

      Ich möchte damit 3 Rolladenaktoren damit steuern.

      Rolladenaktor 1:
      Button 1,
      soll bei 1 x klick Rolladen runter fahren, bei erneuten klick stoppen und bei erneuten klick wieder runter fahren.

      Button 2,
      soll 1x klick Rolladen hoch fahren, bei erneuten klick stoppen und bei erneuten klick wider hoch fahren.

      Mit den anderen 4 Buttons sollen die anderen 2 Rolladenaktoren gesteuert werden.

      Bei allen Rolladenaktoren soll die steuerung Funktionieren egal in welche position die Rolladen stehen.

      Ich bekommen den Rolladenaktor zwar zum laufen aber leider nicht so wie ich es wollte.

      Hier ist mein Blockly Script mit der ich es versucht habe.

      Blockly.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="eMgLO*`%a1S?7!djRLF)">wert</variable>
          <variable id="H!9#H$!|0qws7W#C?[Bz">stop</variable>
        </variables>
        <block type="on_ext" id="??7bd%_]UAx^tPrqE#]7" x="-765" y="-98">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="9*%5.m`meML62IbJJ%Wn">
              <field name="oid">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
            </shadow>
          </value>
          <value name="OID1">
            <shadow type="field_oid" id="4![N7?vlM:U4?g@L*H{t">
              <field name="oid">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
            </shadow>
          </value>
          <value name="OID2">
            <shadow type="field_oid" id="71!~PQP|!Jqc6QuNe37L">
              <field name="oid">zigbee.0.04cf8cdf3c797db7.button_3_click</field>
            </shadow>
          </value>
          <value name="OID3">
            <shadow type="field_oid" id="o,eq[d0|x.i~B@wlBM7=">
              <field name="oid">zigbee.0.04cf8cdf3c797db7.button_4_click</field>
            </shadow>
          </value>
          <value name="OID4">
            <shadow type="field_oid" id="Jbh$:8DIzr,mkfnQv`Bf">
              <field name="oid">zigbee.0.04cf8cdf3c797db7.button_5_click</field>
            </shadow>
          </value>
          <value name="OID5">
            <shadow type="field_oid" id="LBD`^ETM-O/PImuq7@S^">
              <field name="oid">zigbee.0.04cf8cdf3c797db7.button_6_click</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="{nb56[`AHb}k@THDH$x-">
              <value name="IF0">
                <block type="logic_compare" id="a_tbH~f9UTj|!9tV$PBu">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="get_value" id="%oQJ-NY:cI[nuNp;A#WG">
                      <field name="ATTR">val</field>
                      <field name="OID">zigbee.0.04cf8cdf3c797db7.button_1_click</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id=":fV+T4l_f,q}nBMSM8]X">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="controls_if" id=":-*c_02b}GoFCN=YQ;l?">
                  <mutation elseif="1"></mutation>
                  <value name="IF0">
                    <block type="logic_compare" id="8D}`8DM_dRnzT9nD8Bdn">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="variables_get" id="]@Ua,hIB4tW;LD_qBn/x">
                          <field name="VAR" id="eMgLO*`%a1S?7!djRLF)">wert</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="3z{^^%rqz::}.NL!ats$">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="7wCT)y%0f@cUlq4vdMt.">
                      <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=":#X.LJDyOfwW-meGdV]y">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <value name="IF1">
                    <block type="logic_compare" id="!R}UoZUp)6CbP2,^Pd^(">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="variables_get" id="0dKG=E%yOHP={|Hry!S0">
                          <field name="VAR" id="eMgLO*`%a1S?7!djRLF)">wert</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="6J377xWh+X+Si{Iv:xV6">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO1">
                    <block type="control" id="C$%raA8[`zgfPhgv7TY@">
                      <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="variables_get" id="UMw)/o5@?F3Xsm[Y8[mB">
                          <field name="VAR" id="H!9#H$!|0qws7W#C?[Bz">stop</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </statement>
              <next>
                <block type="controls_if" id="|i8yb%p7^!H`~flO`0+c">
                  <value name="IF0">
                    <block type="logic_compare" id="S`D[%hMAvACHWRXap@K=">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="}|oyfX3z$43tbh-eJe}j">
                          <field name="ATTR">val</field>
                          <field name="OID">zigbee.0.04cf8cdf3c797db7.button_2_click</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="}:py;y3hM!z[mb*0K,%,">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="controls_if" id="BoK}6:Floo,GeW9]JIE~">
                      <mutation else="1"></mutation>
                      <value name="IF0">
                        <block type="logic_compare" id="kf0,/{FAr/-JMY_udc_a">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="h!E5Oy[Hk!=6u}`X!=g7">
                              <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="m!^aY@TKBK*1%Tw{zc@%">
                              <field name="NUM">100</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="S_3Rt!C=W,}$ANMu8-5Q">
                          <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="aafB$}LD^sA5;%bZ}kVv">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                      <statement name="ELSE">
                        <block type="control" id="El[l3$CuQ!*:XQZC2jBj">
                          <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="{dmsL]XG-268y!ahN^3!">
                              <field name="NUM">100</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      

      Aqara OPPLE-Datenpunkt.png

      Zur Info! bei Objekte Datenpunkt geht der Wert false bei Tastendruck nur ganz kurz auf True und sofort wieder auf false.

      Mit der Blokly macht Button 1 folgendes beim 1x klick fährt der Rolladenaktor runter bei erneuten klick stopt es und fährt sofort hoch. bei erneutem klick kurz stop und weiter hoch.

      Ich komme einfach nicht weiter, hoffe das mir einer Hier helfen kann, würde mich riesig freuen

      Vielen Herzlichen Dank
      Acem

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

      @acem
      Welche Datenpunkte haben die Rollos?
      Nur LEVEL? Dann wird es schwierig zu stoppen, weil die im Datenpunkt gemeldete Position nicht immer aktuell ist.

      Wenn Du für jeden Taster einen eigenen Trigger verwendest, wird es einfacher.

      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
        Welche Datenpunkte haben die Rollos?
        Nur LEVEL? Dann wird es schwierig zu stoppen, weil die im Datenpunkt gemeldete Position nicht immer aktuell ist.

        Wenn Du für jeden Taster einen eigenen Trigger verwendest, wird es einfacher.

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

        @paul53 so sieht es bei Datenpunk bei Rollo1 aus

        Datenpunkt_Rollo1.png

        1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @acem
          Welche Datenpunkte haben die Rollos?
          Nur LEVEL? Dann wird es schwierig zu stoppen, weil die im Datenpunkt gemeldete Position nicht immer aktuell ist.

          Wenn Du für jeden Taster einen eigenen Trigger verwendest, wird es einfacher.

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

          @paul53 sagte in Aqara OPPLE ( 6 Tasten ):

          Wenn Du für jeden Taster einen eigenen Trigger verwendest, wird es einfacher.

          Wie sollte es aussehen?

          paul53P -cs-- 2 Antworten Letzte Antwort
          0
          • A acem

            @paul53 sagte in Aqara OPPLE ( 6 Tasten ):

            Wenn Du für jeden Taster einen eigenen Trigger verwendest, wird es einfacher.

            Wie sollte es aussehen?

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

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

            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
            • A acem

              @paul53 sagte in Aqara OPPLE ( 6 Tasten ):

              Wenn Du für jeden Taster einen eigenen Trigger verwendest, wird es einfacher.

              Wie sollte es aussehen?

              -cs-- Offline
              -cs-- Offline
              -cs-
              schrieb am zuletzt editiert von -cs-
              #6

              @acem

              Hi, mit einer Taste z.B. rauf-stop-rauf wird es ohne extra Script nicht gehen. Mit 2 Tasten is es einfacher.

              In der BDA des Homematic Aktors (hast Du doch falls ich richtig recherchiert habe?) steht, das z.B. für stop auf die runter Taste gedrückt werden muss:

              Auschnitt der BDA Abs. 8:

              Ein kurzer Tastendruck der oberen oder unteren
              Wippenhälfte fährt den Rollladen in die obere bzw.
              untere Endposition. Ein kurzer Tastendruck in die
              entgegengesetzte Richtung stoppt den Motor vorzeitig.
              Ein langer Tastendruck der Wippe fährt den Motor nur
              solange in die gewünschte Richtung, wie die Wippe

              betätigt wird.

              A 1 Antwort Letzte Antwort
              0
              • paul53P paul53

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

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

                @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 1 Antwort Letzte Antwort
                0
                • -cs-- -cs-

                  @acem

                  Hi, mit einer Taste z.B. rauf-stop-rauf wird es ohne extra Script nicht gehen. Mit 2 Tasten is es einfacher.

                  In der BDA des Homematic Aktors (hast Du doch falls ich richtig recherchiert habe?) steht, das z.B. für stop auf die runter Taste gedrückt werden muss:

                  Auschnitt der BDA Abs. 8:

                  Ein kurzer Tastendruck der oberen oder unteren
                  Wippenhälfte fährt den Rollladen in die obere bzw.
                  untere Endposition. Ein kurzer Tastendruck in die
                  entgegengesetzte Richtung stoppt den Motor vorzeitig.
                  Ein langer Tastendruck der Wippe fährt den Motor nur
                  solange in die gewünschte Richtung, wie die Wippe

                  betätigt wird.

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

                  @csr sagte in Aqara OPPLE ( 6 Tasten ):

                  @acem

                  Hi, mit einer Taste z.B. rauf-stop-rauf wird es ohne extra Script nicht gehen. Mit 2 Tasten is es einfacher.

                  mit dem Script von @paul53 sollte es doch Funktionieren oder?

                  In der BDA des Homematic Aktors (hast Du doch falls ich richtig recherchiert habe?) steht, das z.B. für stop auf die runter Taste gedrückt werden muss:

                  Wenn die Rolladen runter fahren und der Homematic Taster Oben gedrückt wird stopt es wenn dann z.B bei hochfahren der Rollos der Taster von Homematic nach Unten gedrückt wird soppt es dann auch!

                  Auschnitt der BDA Abs. 8:

                  Ein kurzer Tastendruck der oberen oder unteren
                  Wippenhälfte fährt den Rollladen in die obere bzw.
                  untere Endposition. Ein kurzer Tastendruck in die
                  entgegengesetzte Richtung stoppt den Motor vorzeitig.
                  Ein langer Tastendruck der Wippe fährt den Motor nur
                  solange in die gewünschte Richtung, wie die Wippe

                  betätigt wird.

                  1 Antwort Letzte Antwort
                  0
                  • paul53P paul53

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

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

                    @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 1 Antwort Letzte Antwort
                    0
                    • 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

                                          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

                                          491

                                          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