Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Remote für Rollo: starten/stoppen mit einem Schalter

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Remote für Rollo: starten/stoppen mit einem Schalter

Geplant Angeheftet Gesperrt Verschoben Blockly
blocklyscenes
14 Beiträge 2 Kommentatoren 1.2k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • I io_laurent

    Hallo,
    folgender Aufbau:
    Ich habe ein Ikea Kadrilj Rollo mit zugehöriger open/close Remote am Zigbee.Adapter.
    Die Remote hat lediglich zwei Schalter, auf & zu (https://github.com/ioBroker/ioBroker.zigbee/wiki/Supported-devices Model: Ikea E1766), damit zwei DP, beide stehen auf false, wird einer der Knöpfe an der Remote gedrückt, springt er kurz auf true und sofort wieder zurück auf false.
    Bildschirmfoto 2020-06-14 um 15.50.40.png

    Das Rollo selbst hat zwei DP:
    Bildschirmfoto 2020-06-14 um 15.55.43.png
    Position: 100% Rollo ist eingefahren, 0% Rollo ist ausgefahren
    Stop: wenn das Rollo fährt und man drückt Stop, so hält das Rollo kurz an, um dann auf 100% einzufahren.

    Ich brauche nun ein einfaches Blockly für die Remote, was folgendes können soll:
    Ich drücke auf den close-Knopf der Remote, das Rollo fährt komplett aus, wenn nichts weiter gedrückt wird.
    Drücke ich während der Fahrt nochmal den close-Knopf, soll es an der Stelle anhalten und dort stehen bleiben.

    Alles, was ich bisher hinbekommen hab:
    Bildschirmfoto 2020-06-14 um 16.05.07.png

    ABER: wie steuere ich jetzt, dass beim zweiten Mal den Knopf drücken das Rollo stehen bleibt?!

    Für Hilfe wäre ich sehr dankbar!
    io_laurent

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

    @io_laurent sagte:

    Stop: wenn das Rollo fährt und man drückt Stop, so hält das Rollo kurz an, um dann auf 100% einzufahren.

    Also kann man per Button "stop" nicht wirklich stoppen ? Wenn "position" den Istzustand zurück meldet, dann versuche es mal so:

    Blockly_temp.JPG

    <xml xmlns="https://developers.google.com/blockly/xml">
     <variables>
       <variable id="o3^%-QYD{oO5e3Do3`4~">bewegung</variable>
       <variable id="b=`EQVpX+qZ[O1A|,y8#">position</variable>
     </variables>
     <block type="on_ext" id="eOK~M@#sw5_*QNeso*,V" x="113" y="38">
       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
       <field name="CONDITION">true</field>
       <field name="ACK_CONDITION"></field>
       <value name="OID0">
         <shadow type="field_oid" id="Q0/FU:A$y5,wTm:p,1/0">
           <field name="oid">default</field>
         </shadow>
       </value>
       <statement name="STATEMENT">
         <block type="controls_if" id="Be7V`|,R?v[9Z~l#@=3o">
           <mutation else="1"></mutation>
           <value name="IF0">
             <block type="variables_get" id="Ru_Qm%]eGLuGN{;z63`J">
               <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
             </block>
           </value>
           <statement name="DO0">
             <block type="control" id="xB+;[v%4UZ0_uyhPK-{)">
               <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="variables_get" id="XQP{JFNKtT2Z,nMqXvPS">
                   <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                 </block>
               </value>
             </block>
           </statement>
           <statement name="ELSE">
             <block type="control" id="Wt=d/-@:,6_;uQ=EKsrN">
               <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="{!p{`cYDw1Ij@?xycilX">
                   <field name="NUM">100</field>
                 </block>
               </value>
             </block>
           </statement>
           <next>
             <block type="variables_set" id=":oN~$Cg5:C9t=ixR@bW+">
               <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
               <value name="VALUE">
                 <block type="logic_negate" id="rz1]PCK1^#};=oc|6~k]">
                   <value name="BOOL">
                     <block type="variables_get" id="`pB4muPrW8Fy4c70F}F]">
                       <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                     </block>
                   </value>
                 </block>
               </value>
             </block>
           </next>
         </block>
       </statement>
       <next>
         <block type="on_ext" id="yH4l%rNnS75v{GLM.^/,">
           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
           <field name="CONDITION">true</field>
           <field name="ACK_CONDITION"></field>
           <value name="OID0">
             <shadow type="field_oid" id="M:X8`~c!j-|wA$z$8PtI">
               <field name="oid">default</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="controls_if" id="ArTON_Is;JK$41s;C*,j">
               <mutation else="1"></mutation>
               <value name="IF0">
                 <block type="variables_get" id="(;Z@}l$^w}-CDjUwYGa#">
                   <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="control" id="0:e1TXUPIBYpO|rOF93j">
                   <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="variables_get" id="p)Po0NO@befHCSP^=T9m">
                       <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                     </block>
                   </value>
                 </block>
               </statement>
               <statement name="ELSE">
                 <block type="control" id="D}yAJ#-3Q,(_4U,^r,51">
                   <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=")sO8+!RobIa`fByqk_HA">
                       <field name="NUM">0</field>
                     </block>
                   </value>
                 </block>
               </statement>
               <next>
                 <block type="variables_set" id="3yj%i(RvC./,XA/br?V9">
                   <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                   <value name="VALUE">
                     <block type="logic_negate" id="{}Q9g)v28}`?j-FXNyyr">
                       <value name="BOOL">
                         <block type="variables_get" id="cgQ)9]*B9NDM2^YraInj">
                           <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                         </block>
                       </value>
                     </block>
                   </value>
                 </block>
               </next>
             </block>
           </statement>
           <next>
             <block type="on_ext" id="?up1oU{E#=uG|6a)L`CF">
               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
               <field name="CONDITION">any</field>
               <field name="ACK_CONDITION"></field>
               <value name="OID0">
                 <shadow type="field_oid" id="Qf:T1#~:dlqsYfY[{uAh">
                   <field name="oid">default</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="variables_set" id="zQAPhOExyZMa9O{#O%$[">
                   <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                   <value name="VALUE">
                     <block type="on_source" id="%Q3P#IioDtJZwJfwo=yM">
                       <field name="ATTR">state.val</field>
                     </block>
                   </value>
                   <next>
                     <block type="controls_if" id=",,{YTc$GivE?A#5g_F:-">
                       <value name="IF0">
                         <block type="logic_operation" id="Bq{.1K`KB]=vx*)Zs9uY" inline="false">
                           <field name="OP">OR</field>
                           <value name="A">
                             <block type="logic_compare" id="Mj{AHA^9l.y+qp^twgl(">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="variables_get" id="g`4R$F[G,z.NNO[K@.@H">
                                   <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="nt1xB|Hq?R9)Uqc/+1jt">
                                   <field name="NUM">0</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_compare" id="bWrm0q~zfI^JZvg,0|Aw">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="variables_get" id="WEUIp]|{+0Fo?hzfG*gP">
                                   <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="y/`p0X#G/IDE]i8+ZZd`">
                                   <field name="NUM">100</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="variables_set" id="E:v(,}aS2YIb]q[wR@9[">
                           <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                           <value name="VALUE">
                             <block type="logic_boolean" id=":6u0=NR8#a:}GA*rW2?H">
                               <field name="BOOL">FALSE</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </statement>
             </block>
           </next>
         </block>
       </next>
     </block>
     <block type="comment" id="J`%{*:=.AI9XcS`%[khz" x="363" y="62">
       <field name="COMMENT">open</field>
     </block>
     <block type="comment" id="v2`F:upEa3Sai0sOs7(A" x="363" y="312">
       <field name="COMMENT">close</field>
     </block>
     <block type="comment" id="/i^UPj{e5Pna[x7=:]#C" x="362" y="587">
       <field name="COMMENT">position</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

    I 1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @io_laurent sagte:

      Stop: wenn das Rollo fährt und man drückt Stop, so hält das Rollo kurz an, um dann auf 100% einzufahren.

      Also kann man per Button "stop" nicht wirklich stoppen ? Wenn "position" den Istzustand zurück meldet, dann versuche es mal so:

      Blockly_temp.JPG

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="o3^%-QYD{oO5e3Do3`4~">bewegung</variable>
         <variable id="b=`EQVpX+qZ[O1A|,y8#">position</variable>
       </variables>
       <block type="on_ext" id="eOK~M@#sw5_*QNeso*,V" x="113" y="38">
         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
         <field name="CONDITION">true</field>
         <field name="ACK_CONDITION"></field>
         <value name="OID0">
           <shadow type="field_oid" id="Q0/FU:A$y5,wTm:p,1/0">
             <field name="oid">default</field>
           </shadow>
         </value>
         <statement name="STATEMENT">
           <block type="controls_if" id="Be7V`|,R?v[9Z~l#@=3o">
             <mutation else="1"></mutation>
             <value name="IF0">
               <block type="variables_get" id="Ru_Qm%]eGLuGN{;z63`J">
                 <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
               </block>
             </value>
             <statement name="DO0">
               <block type="control" id="xB+;[v%4UZ0_uyhPK-{)">
                 <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="variables_get" id="XQP{JFNKtT2Z,nMqXvPS">
                     <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                   </block>
                 </value>
               </block>
             </statement>
             <statement name="ELSE">
               <block type="control" id="Wt=d/-@:,6_;uQ=EKsrN">
                 <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="{!p{`cYDw1Ij@?xycilX">
                     <field name="NUM">100</field>
                   </block>
                 </value>
               </block>
             </statement>
             <next>
               <block type="variables_set" id=":oN~$Cg5:C9t=ixR@bW+">
                 <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                 <value name="VALUE">
                   <block type="logic_negate" id="rz1]PCK1^#};=oc|6~k]">
                     <value name="BOOL">
                       <block type="variables_get" id="`pB4muPrW8Fy4c70F}F]">
                         <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                       </block>
                     </value>
                   </block>
                 </value>
               </block>
             </next>
           </block>
         </statement>
         <next>
           <block type="on_ext" id="yH4l%rNnS75v{GLM.^/,">
             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
             <field name="CONDITION">true</field>
             <field name="ACK_CONDITION"></field>
             <value name="OID0">
               <shadow type="field_oid" id="M:X8`~c!j-|wA$z$8PtI">
                 <field name="oid">default</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="ArTON_Is;JK$41s;C*,j">
                 <mutation else="1"></mutation>
                 <value name="IF0">
                   <block type="variables_get" id="(;Z@}l$^w}-CDjUwYGa#">
                     <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="0:e1TXUPIBYpO|rOF93j">
                     <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="variables_get" id="p)Po0NO@befHCSP^=T9m">
                         <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                       </block>
                     </value>
                   </block>
                 </statement>
                 <statement name="ELSE">
                   <block type="control" id="D}yAJ#-3Q,(_4U,^r,51">
                     <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=")sO8+!RobIa`fByqk_HA">
                         <field name="NUM">0</field>
                       </block>
                     </value>
                   </block>
                 </statement>
                 <next>
                   <block type="variables_set" id="3yj%i(RvC./,XA/br?V9">
                     <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                     <value name="VALUE">
                       <block type="logic_negate" id="{}Q9g)v28}`?j-FXNyyr">
                         <value name="BOOL">
                           <block type="variables_get" id="cgQ)9]*B9NDM2^YraInj">
                             <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </next>
               </block>
             </statement>
             <next>
               <block type="on_ext" id="?up1oU{E#=uG|6a)L`CF">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                 <field name="CONDITION">any</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id="Qf:T1#~:dlqsYfY[{uAh">
                     <field name="oid">default</field>
                   </shadow>
                 </value>
                 <statement name="STATEMENT">
                   <block type="variables_set" id="zQAPhOExyZMa9O{#O%$[">
                     <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                     <value name="VALUE">
                       <block type="on_source" id="%Q3P#IioDtJZwJfwo=yM">
                         <field name="ATTR">state.val</field>
                       </block>
                     </value>
                     <next>
                       <block type="controls_if" id=",,{YTc$GivE?A#5g_F:-">
                         <value name="IF0">
                           <block type="logic_operation" id="Bq{.1K`KB]=vx*)Zs9uY" inline="false">
                             <field name="OP">OR</field>
                             <value name="A">
                               <block type="logic_compare" id="Mj{AHA^9l.y+qp^twgl(">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="variables_get" id="g`4R$F[G,z.NNO[K@.@H">
                                     <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="nt1xB|Hq?R9)Uqc/+1jt">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="bWrm0q~zfI^JZvg,0|Aw">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="variables_get" id="WEUIp]|{+0Fo?hzfG*gP">
                                     <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="y/`p0X#G/IDE]i8+ZZd`">
                                     <field name="NUM">100</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="variables_set" id="E:v(,}aS2YIb]q[wR@9[">
                             <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id=":6u0=NR8#a:}GA*rW2?H">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
         </next>
       </block>
       <block type="comment" id="J`%{*:=.AI9XcS`%[khz" x="363" y="62">
         <field name="COMMENT">open</field>
       </block>
       <block type="comment" id="v2`F:upEa3Sai0sOs7(A" x="363" y="312">
         <field name="COMMENT">close</field>
       </block>
       <block type="comment" id="/i^UPj{e5Pna[x7=:]#C" x="362" y="587">
         <field name="COMMENT">position</field>
       </block>
      </xml>
      

      I Offline
      I Offline
      io_laurent
      schrieb am zuletzt editiert von
      #3

      @paul53
      Erst mal vielen Dank, dass du dich meiner annimmst:wink:

      Ja, mit dem Button "stop" kann man nicht stoppen, verhält sich seltsam: fährt das Rollo aus und stop wird gedrückt, hält es kurz und fährt dann wieder ein;
      fährt das Rollo ein und man drückt stop, passiert gar nichts, das Rollo fährt weiter ein.

      Vielen Dank für dein Script, ich hab das leider nicht 100%ig verstanden, hab das dann so gemacht:
      Bildschirmfoto 2020-06-14 um 17.10.57.png

      Hat aber leider keinen Effekt, drücke sich close, fährt das Rollo aus, nochmal close, Rollo fährt weiter aus; drücke ich open, Rollo fährt ein, nochmal open, fährt weiter ein.

      Hab ich was falsch eingetragen oder hast du vielleicht noch ne andere Idee?

      paul53P 1 Antwort Letzte Antwort
      0
      • I io_laurent

        @paul53
        Erst mal vielen Dank, dass du dich meiner annimmst:wink:

        Ja, mit dem Button "stop" kann man nicht stoppen, verhält sich seltsam: fährt das Rollo aus und stop wird gedrückt, hält es kurz und fährt dann wieder ein;
        fährt das Rollo ein und man drückt stop, passiert gar nichts, das Rollo fährt weiter ein.

        Vielen Dank für dein Script, ich hab das leider nicht 100%ig verstanden, hab das dann so gemacht:
        Bildschirmfoto 2020-06-14 um 17.10.57.png

        Hat aber leider keinen Effekt, drücke sich close, fährt das Rollo aus, nochmal close, Rollo fährt weiter aus; drücke ich open, Rollo fährt ein, nochmal open, fährt weiter ein.

        Hab ich was falsch eingetragen oder hast du vielleicht noch ne andere Idee?

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

        @io_laurent sagte:

        hast du vielleicht noch ne andere Idee?

        Das Script setzt voraus, dass der Datenpunkt "position" während der Rollo-Bewegung seine gerade erreichte Position liefert. Ist das der Fall ? Wenn nicht, dann funktioniert es so nicht.

        Passiert etwas mit dem Datenpunkt "position", wenn während der Rollo-Bewegung der Button "stop" betätigt wird ?

        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

        I 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @io_laurent sagte:

          hast du vielleicht noch ne andere Idee?

          Das Script setzt voraus, dass der Datenpunkt "position" während der Rollo-Bewegung seine gerade erreichte Position liefert. Ist das der Fall ? Wenn nicht, dann funktioniert es so nicht.

          Passiert etwas mit dem Datenpunkt "position", wenn während der Rollo-Bewegung der Button "stop" betätigt wird ?

          I Offline
          I Offline
          io_laurent
          schrieb am zuletzt editiert von
          #5

          @paul53

          1. Ja, während der Fahrt ändert sich die %-Angabe unter Position von 100 in ca. 4er Schritten runter , 96,92,88,83,...

          2. Prozent in Position zählt wie oben beschrieben von 100 in 4er Schritten runter, wenn ich dann stop button drücke, zählt % Position einfach wieder in 4er Schritten hoch bis 100 (da das Rollo kurz stoppt und wieder ein fährt).

          paul53P 1 Antwort Letzte Antwort
          0
          • I io_laurent

            @paul53

            1. Ja, während der Fahrt ändert sich die %-Angabe unter Position von 100 in ca. 4er Schritten runter , 96,92,88,83,...

            2. Prozent in Position zählt wie oben beschrieben von 100 in 4er Schritten runter, wenn ich dann stop button drücke, zählt % Position einfach wieder in 4er Schritten hoch bis 100 (da das Rollo kurz stoppt und wieder ein fährt).

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

            @io_laurent sagte:

            während der Fahrt ändert sich die %-Angabe unter Position von 100 in ca. 4er Schritten runter , 96,92,88,83,...

            Wenn Du während der Fahrt manuell im Reiter Objekte z.B. den Wert 50 eingibst und absendest, wie verhält sich dann das Rollo ?

            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

            I 1 Antwort Letzte Antwort
            0
            • paul53P paul53

              @io_laurent sagte:

              während der Fahrt ändert sich die %-Angabe unter Position von 100 in ca. 4er Schritten runter , 96,92,88,83,...

              Wenn Du während der Fahrt manuell im Reiter Objekte z.B. den Wert 50 eingibst und absendest, wie verhält sich dann das Rollo ?

              I Offline
              I Offline
              io_laurent
              schrieb am zuletzt editiert von io_laurent
              #7

              @paul53
              Fährt los,

              1. ist der eingegebene Wert unterhalb der Position fährt es weiter bis zur eingegebenen Position.
              2. ist der eingegebene Wert oberhalb der Position stop es ganz kurz und fährt dann wieder zurück zu der eingegebene Position.
              paul53P 1 Antwort Letzte Antwort
              0
              • I io_laurent

                @paul53
                Fährt los,

                1. ist der eingegebene Wert unterhalb der Position fährt es weiter bis zur eingegebenen Position.
                2. ist der eingegebene Wert oberhalb der Position stop es ganz kurz und fährt dann wieder zurück zu der eingegebene Position.
                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von paul53
                #8

                @io_laurent sagte:

                Fährt los,

                welche Richtung ? 0 --> 100 % ?

                @io_laurent
                Nicht umgekehrt ? Eingabe > Position: fährt weiter zum Eingabewert; Eingabe < Position: fährt zurück zum Eingabewert ?

                Wenn es so reagiert, sollte das Script eigentlich funktionieren: Bei Tastendruck während Bewegung wird die letzte Position ausgegeben, sollte also dort bleiben bzw. ein kleines Stück zurück fahren.

                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

                I 1 Antwort Letzte Antwort
                0
                • paul53P paul53

                  @io_laurent sagte:

                  Fährt los,

                  welche Richtung ? 0 --> 100 % ?

                  @io_laurent
                  Nicht umgekehrt ? Eingabe > Position: fährt weiter zum Eingabewert; Eingabe < Position: fährt zurück zum Eingabewert ?

                  Wenn es so reagiert, sollte das Script eigentlich funktionieren: Bei Tastendruck während Bewegung wird die letzte Position ausgegeben, sollte also dort bleiben bzw. ein kleines Stück zurück fahren.

                  I Offline
                  I Offline
                  io_laurent
                  schrieb am zuletzt editiert von
                  #9

                  @paul53
                  Das Rollo ist eingefahren: Wert Position=100%

                  Rollo fährt aus in Richtung Wert=0%.
                  Ich gebe während dessen den Wert 50 manuell ein, Rollo fährt bis 50% und bleibt stehen.
                  Ist es schon über 50 hinaus (z.B. 20%) stoppt es kurz (also direkt nach Eingabe des Wertes 50) und fährt dann zurück auf 50%.

                  Also eigentlich reagiert alles richtig, wenn ich es richtig verstanden hab...?!

                  paul53P 3 Antworten Letzte Antwort
                  0
                  • I io_laurent

                    @paul53
                    Das Rollo ist eingefahren: Wert Position=100%

                    Rollo fährt aus in Richtung Wert=0%.
                    Ich gebe während dessen den Wert 50 manuell ein, Rollo fährt bis 50% und bleibt stehen.
                    Ist es schon über 50 hinaus (z.B. 20%) stoppt es kurz (also direkt nach Eingabe des Wertes 50) und fährt dann zurück auf 50%.

                    Also eigentlich reagiert alles richtig, wenn ich es richtig verstanden hab...?!

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

                    @io_laurent sagte:

                    Also eigentlich reagiert alles richtig, wenn ich es richtig verstanden hab...?!

                    Ja, Du hattest die Richtung (100 --> 0) nicht angegeben.
                    Dann wundert es mich, dass das Script das Rollo nicht stoppt, wenn während Bewegung die Taste betätigt wird.

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

                    1 Antwort Letzte Antwort
                    0
                    • I io_laurent

                      @paul53
                      Das Rollo ist eingefahren: Wert Position=100%

                      Rollo fährt aus in Richtung Wert=0%.
                      Ich gebe während dessen den Wert 50 manuell ein, Rollo fährt bis 50% und bleibt stehen.
                      Ist es schon über 50 hinaus (z.B. 20%) stoppt es kurz (also direkt nach Eingabe des Wertes 50) und fährt dann zurück auf 50%.

                      Also eigentlich reagiert alles richtig, wenn ich es richtig verstanden hab...?!

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

                      @io_laurent
                      Versuche es mal mit einem Offset von 5 %:

                      Blockly_temp.JPG

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

                      1 Antwort Letzte Antwort
                      0
                      • I io_laurent

                        @paul53
                        Das Rollo ist eingefahren: Wert Position=100%

                        Rollo fährt aus in Richtung Wert=0%.
                        Ich gebe während dessen den Wert 50 manuell ein, Rollo fährt bis 50% und bleibt stehen.
                        Ist es schon über 50 hinaus (z.B. 20%) stoppt es kurz (also direkt nach Eingabe des Wertes 50) und fährt dann zurück auf 50%.

                        Also eigentlich reagiert alles richtig, wenn ich es richtig verstanden hab...?!

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

                        @io_laurent
                        Versuche es mal hiermit:

                        Blockly_temp.JPG

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable id="o3^%-QYD{oO5e3Do3`4~">bewegung</variable>
                           <variable id="b=`EQVpX+qZ[O1A|,y8#">position</variable>
                         </variables>
                         <block type="on_ext" id="eOK~M@#sw5_*QNeso*,V" x="113" y="38">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                           <field name="CONDITION">true</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="Q0/FU:A$y5,wTm:p,1/0">
                               <field name="oid">default</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="Be7V`|,R?v[9Z~l#@=3o">
                               <mutation else="1"></mutation>
                               <value name="IF0">
                                 <block type="variables_get" id="Ru_Qm%]eGLuGN{;z63`J">
                                   <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id="xB+;[v%4UZ0_uyhPK-{)">
                                   <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="variables_get" id="XQP{JFNKtT2Z,nMqXvPS">
                                       <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id=":oN~$Cg5:C9t=ixR@bW+">
                                       <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="M?X5n+w`nWsK%QoC[]$A">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="controls_if" id="Lq1_@%(jC4J-K)Fcz+CS">
                                   <value name="IF0">
                                     <block type="logic_compare" id="z^*[}4!`:xoqpUZ+KA,/">
                                       <field name="OP">LT</field>
                                       <value name="A">
                                         <block type="variables_get" id="ld(-4XmG1|Mz/d$:,:({">
                                           <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="R$wWNIqo`I3fcAM$2^lk">
                                           <field name="NUM">100</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="Wt=d/-@:,6_;uQ=EKsrN">
                                       <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="{!p{`cYDw1Ij@?xycilX">
                                           <field name="NUM">100</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="/.D}0v}T93%k6hZipAYU">
                                           <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="E9DZ6e!pC|s$]S[7X*pG">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                           <next>
                             <block type="on_ext" id="yH4l%rNnS75v{GLM.^/,">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                               <field name="CONDITION">true</field>
                               <field name="ACK_CONDITION"></field>
                               <value name="OID0">
                                 <shadow type="field_oid" id="M:X8`~c!j-|wA$z$8PtI">
                                   <field name="oid">default</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="controls_if" id="sMK:SPL-4~UNuIQT{0nW">
                                   <mutation else="1"></mutation>
                                   <value name="IF0">
                                     <block type="variables_get" id="dV4p!ZX:pUCr-euIRhXI">
                                       <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="control" id="xigjNO~[ob]:_8*Vn!A8">
                                       <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="variables_get" id="Lbe|4c|0K0(bHH836$Lb">
                                           <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="1{chR+}hg]GM:Do;195H">
                                           <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="Yof2z%!2r|`DlTyIyXIY">
                                               <field name="BOOL">FALSE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <statement name="ELSE">
                                     <block type="controls_if" id=";@XgkX`!@aS3LvrGVO6O">
                                       <value name="IF0">
                                         <block type="logic_compare" id=",bHXQpXt*dpR)^q_T5Ne">
                                           <field name="OP">GT</field>
                                           <value name="A">
                                             <block type="variables_get" id="3j1*dBS_k^}l21$LK?xS">
                                               <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="*jVy2KzA{DOMzpD+AocB">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="b8+=)O1#@icz,HOqw+uo">
                                           <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="zUf*LJ}Gcg4]%]T?tdOk">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="j#~xZ1gqTMd7sSH79Te!">
                                               <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="hcLx]{(fD*-+_KM/oiUt">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                               <next>
                                 <block type="on_ext" id="?up1oU{E#=uG|6a)L`CF">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                   <field name="CONDITION">ne</field>
                                   <field name="ACK_CONDITION"></field>
                                   <value name="OID0">
                                     <shadow type="field_oid" id="Qf:T1#~:dlqsYfY[{uAh">
                                       <field name="oid">default</field>
                                     </shadow>
                                   </value>
                                   <statement name="STATEMENT">
                                     <block type="variables_set" id="zQAPhOExyZMa9O{#O%$[">
                                       <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                       <value name="VALUE">
                                         <block type="on_source" id="%Q3P#IioDtJZwJfwo=yM">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_if" id=",,{YTc$GivE?A#5g_F:-">
                                           <value name="IF0">
                                             <block type="logic_operation" id="Bq{.1K`KB]=vx*)Zs9uY" inline="false">
                                               <field name="OP">OR</field>
                                               <value name="A">
                                                 <block type="logic_compare" id="Mj{AHA^9l.y+qp^twgl(">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="variables_get" id="g`4R$F[G,z.NNO[K@.@H">
                                                       <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="nt1xB|Hq?R9)Uqc/+1jt">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="logic_compare" id=":/ZMPfWL^xjob/2jC06i">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="variables_get" id="(7N@1blW.IM/9$5[ua9n">
                                                       <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="KZ+Mhn$_q=[9F!lYQY_`">
                                                       <field name="NUM">100</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="variables_set" id="E:v(,}aS2YIb]q[wR@9[">
                                               <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id=":6u0=NR8#a:}GA*rW2?H">
                                                   <field name="BOOL">FALSE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </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

                        I 1 Antwort Letzte Antwort
                        0
                        • paul53P paul53

                          @io_laurent
                          Versuche es mal hiermit:

                          Blockly_temp.JPG

                          <xml xmlns="https://developers.google.com/blockly/xml">
                           <variables>
                             <variable id="o3^%-QYD{oO5e3Do3`4~">bewegung</variable>
                             <variable id="b=`EQVpX+qZ[O1A|,y8#">position</variable>
                           </variables>
                           <block type="on_ext" id="eOK~M@#sw5_*QNeso*,V" x="113" y="38">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                             <field name="CONDITION">true</field>
                             <field name="ACK_CONDITION"></field>
                             <value name="OID0">
                               <shadow type="field_oid" id="Q0/FU:A$y5,wTm:p,1/0">
                                 <field name="oid">default</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="controls_if" id="Be7V`|,R?v[9Z~l#@=3o">
                                 <mutation else="1"></mutation>
                                 <value name="IF0">
                                   <block type="variables_get" id="Ru_Qm%]eGLuGN{;z63`J">
                                     <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="control" id="xB+;[v%4UZ0_uyhPK-{)">
                                     <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="variables_get" id="XQP{JFNKtT2Z,nMqXvPS">
                                         <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id=":oN~$Cg5:C9t=ixR@bW+">
                                         <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="M?X5n+w`nWsK%QoC[]$A">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                                 <statement name="ELSE">
                                   <block type="controls_if" id="Lq1_@%(jC4J-K)Fcz+CS">
                                     <value name="IF0">
                                       <block type="logic_compare" id="z^*[}4!`:xoqpUZ+KA,/">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="variables_get" id="ld(-4XmG1|Mz/d$:,:({">
                                             <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="R$wWNIqo`I3fcAM$2^lk">
                                             <field name="NUM">100</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="Wt=d/-@:,6_;uQ=EKsrN">
                                         <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="{!p{`cYDw1Ij@?xycilX">
                                             <field name="NUM">100</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="/.D}0v}T93%k6hZipAYU">
                                             <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="E9DZ6e!pC|s$]S[7X*pG">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                             <next>
                               <block type="on_ext" id="yH4l%rNnS75v{GLM.^/,">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                 <field name="CONDITION">true</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id="M:X8`~c!j-|wA$z$8PtI">
                                     <field name="oid">default</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="sMK:SPL-4~UNuIQT{0nW">
                                     <mutation else="1"></mutation>
                                     <value name="IF0">
                                       <block type="variables_get" id="dV4p!ZX:pUCr-euIRhXI">
                                         <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="xigjNO~[ob]:_8*Vn!A8">
                                         <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="variables_get" id="Lbe|4c|0K0(bHH836$Lb">
                                             <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="1{chR+}hg]GM:Do;195H">
                                             <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="Yof2z%!2r|`DlTyIyXIY">
                                                 <field name="BOOL">FALSE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <statement name="ELSE">
                                       <block type="controls_if" id=";@XgkX`!@aS3LvrGVO6O">
                                         <value name="IF0">
                                           <block type="logic_compare" id=",bHXQpXt*dpR)^q_T5Ne">
                                             <field name="OP">GT</field>
                                             <value name="A">
                                               <block type="variables_get" id="3j1*dBS_k^}l21$LK?xS">
                                                 <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="*jVy2KzA{DOMzpD+AocB">
                                                 <field name="NUM">0</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="control" id="b8+=)O1#@icz,HOqw+uo">
                                             <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="zUf*LJ}Gcg4]%]T?tdOk">
                                                 <field name="NUM">0</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="j#~xZ1gqTMd7sSH79Te!">
                                                 <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="hcLx]{(fD*-+_KM/oiUt">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="on_ext" id="?up1oU{E#=uG|6a)L`CF">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                     <field name="CONDITION">ne</field>
                                     <field name="ACK_CONDITION"></field>
                                     <value name="OID0">
                                       <shadow type="field_oid" id="Qf:T1#~:dlqsYfY[{uAh">
                                         <field name="oid">default</field>
                                       </shadow>
                                     </value>
                                     <statement name="STATEMENT">
                                       <block type="variables_set" id="zQAPhOExyZMa9O{#O%$[">
                                         <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                         <value name="VALUE">
                                           <block type="on_source" id="%Q3P#IioDtJZwJfwo=yM">
                                             <field name="ATTR">state.val</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id=",,{YTc$GivE?A#5g_F:-">
                                             <value name="IF0">
                                               <block type="logic_operation" id="Bq{.1K`KB]=vx*)Zs9uY" inline="false">
                                                 <field name="OP">OR</field>
                                                 <value name="A">
                                                   <block type="logic_compare" id="Mj{AHA^9l.y+qp^twgl(">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="variables_get" id="g`4R$F[G,z.NNO[K@.@H">
                                                         <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="math_number" id="nt1xB|Hq?R9)Uqc/+1jt">
                                                         <field name="NUM">0</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_compare" id=":/ZMPfWL^xjob/2jC06i">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="variables_get" id="(7N@1blW.IM/9$5[ua9n">
                                                         <field name="VAR" id="b=`EQVpX+qZ[O1A|,y8#">position</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="math_number" id="KZ+Mhn$_q=[9F!lYQY_`">
                                                         <field name="NUM">100</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="variables_set" id="E:v(,}aS2YIb]q[wR@9[">
                                                 <field name="VAR" id="o3^%-QYD{oO5e3Do3`4~">bewegung</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id=":6u0=NR8#a:}GA*rW2?H">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                          </xml>
                          

                          I Offline
                          I Offline
                          io_laurent
                          schrieb am zuletzt editiert von
                          #13

                          @paul53
                          Leider nein. Gleiches Verhalten wie bei dem anderen Script (auch das mit 5% Offset).

                          Zur Sicherheit ein Screenshot, ob ich alles richtig eingetragen hab (ich weiß, zumindest das sollte ich hinbekommen, aber guck bitte nochmal kurz drüber:)
                          Bildschirmfoto 2020-06-15 um 18.58.49.png

                          Falls dir noch was einfällt, gerne her damit.

                          Bis hier hin danke ich schon mal sehr herzlich für deine Mühe und deinen Ehrgeiz! Vielen Dank!

                          paul53P 1 Antwort Letzte Antwort
                          0
                          • I io_laurent

                            @paul53
                            Leider nein. Gleiches Verhalten wie bei dem anderen Script (auch das mit 5% Offset).

                            Zur Sicherheit ein Screenshot, ob ich alles richtig eingetragen hab (ich weiß, zumindest das sollte ich hinbekommen, aber guck bitte nochmal kurz drüber:)
                            Bildschirmfoto 2020-06-15 um 18.58.49.png

                            Falls dir noch was einfällt, gerne her damit.

                            Bis hier hin danke ich schon mal sehr herzlich für deine Mühe und deinen Ehrgeiz! Vielen Dank!

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

                            @io_laurent sagte:

                            Falls dir noch was einfällt,

                            Leider nein, außer per Log zu verfolgen, was passiert.

                            Blockly_temp.JPG

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

                            1 Antwort Letzte Antwort
                            0
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            588

                            Online

                            32.7k

                            Benutzer

                            82.4k

                            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