Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Hue Tap Dial Switch Drehschalter

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Hue Tap Dial Switch Drehschalter

Scheduled Pinned Locked Moved Blockly
16 Posts 4 Posters 1.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Tomek NapieralaT Tomek Napierala

    @djmarc75 dial tab.jpg dial tab 2.jpg

    Diese Objekte stehen zur verfügung

    DJMarc75D Offline
    DJMarc75D Offline
    DJMarc75
    wrote on last edited by
    #6

    @tomek-napierala
    Das sind alles DPs vom Typ Button, daher ist Dein Anliegen nicht einfach umzusetzen.
    "OutOfTheBox" gibts sowas nicht.

    Lehrling seit 1975 !!!
    Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
    https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

    Tomek NapieralaT 1 Reply Last reply
    0
    • DJMarc75D DJMarc75

      @tomek-napierala
      Das sind alles DPs vom Typ Button, daher ist Dein Anliegen nicht einfach umzusetzen.
      "OutOfTheBox" gibts sowas nicht.

      Tomek NapieralaT Offline
      Tomek NapieralaT Offline
      Tomek Napierala
      wrote on last edited by
      #7

      @djmarc75 verstehe sehr schade.. Home Assistent bietet blue prints und damit kann man auch diesen Schalter einfach integrieren.. Schade das es so etwas nicht mit dem iobroker gibt.. Trotzdem erstmal danke vllt meldet sich ja noch jemand der diesen Schalter benutzt und ein Skript hat 👍

      1 Reply Last reply
      0
      • Tomek NapieralaT Tomek Napierala

        @djmarc75 dial tab.jpg dial tab 2.jpg

        Diese Objekte stehen zur verfügung

        paul53P Offline
        paul53P Offline
        paul53
        wrote on last edited by
        #8

        @tomek-napierala sagte: Diese Objekte stehen zur verfügung

        Wie verhalten sich die Datenpunkte "dial_rotate"?
        Beispiel "dial_rotate_left_fast" beim schnellen Drehen nach links: Wird er beim Erkennen von schnellem Drehen true und beim Beenden false?

        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

        Tomek NapieralaT 1 Reply Last reply
        0
        • paul53P paul53

          @tomek-napierala sagte: Diese Objekte stehen zur verfügung

          Wie verhalten sich die Datenpunkte "dial_rotate"?
          Beispiel "dial_rotate_left_fast" beim schnellen Drehen nach links: Wird er beim Erkennen von schnellem Drehen true und beim Beenden false?

          Tomek NapieralaT Offline
          Tomek NapieralaT Offline
          Tomek Napierala
          wrote on last edited by
          #9

          @paul53 ja genau beim drehen ist es true und wenn man es nicht dreht ist es false

          paul53P 1 Reply Last reply
          0
          • Tomek NapieralaT Tomek Napierala

            @paul53 ja genau beim drehen ist es true und wenn man es nicht dreht ist es false

            paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by
            #10

            @tomek-napierala sagte: beim drehen ist es true und wenn man es nicht dreht ist es false

            Dann versuche es mal so:

            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

            Tomek NapieralaT 2 Replies Last reply
            0
            • paul53P paul53

              @tomek-napierala sagte: beim drehen ist es true und wenn man es nicht dreht ist es false

              Dann versuche es mal so:

              Blockly_temp.JPG

              Tomek NapieralaT Offline
              Tomek NapieralaT Offline
              Tomek Napierala
              wrote on last edited by
              #11

              @paul53 kannst du das Skript exportieren damit ich es einfügen kann?

              paul53P 1 Reply Last reply
              0
              • Tomek NapieralaT Tomek Napierala

                @paul53 kannst du das Skript exportieren damit ich es einfügen kann?

                paul53P Offline
                paul53P Offline
                paul53
                wrote on last edited by
                #12

                @tomek-napierala sagte: Skript exportieren

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable id="m[tT:9dSxGg/%=gG{}De">step</variable>
                   <variable id="XmW__|5,1mpIoX7am{K0">id</variable>
                   <variable id="M$X~_^BWKBx6@5sfWI.|">level</variable>
                   <variable type="timeout" id="timeout">timeout</variable>
                 </variables>
                 <block type="on_ext" id="n6N){3/a^L=L^m51j2_y" x="362" y="-13">
                   <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="4E5]#nT%8};d{eVk/3lm">
                       <field name="oid">default</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="T)T(dI@BJ{xe5f~+uKJl">
                       <mutation else="1"></mutation>
                       <value name="IF0">
                         <block type="on_source" id="nIHNGKkejeZmFk;~H250">
                           <field name="ATTR">state.val</field>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="procedures_callnoreturn" id="c_#`(G:G)=PFW+|g,{4." inline="true">
                           <mutation name="dimmen">
                             <arg name="step"></arg>
                           </mutation>
                           <value name="ARG0">
                             <block type="math_number" id="Li%]m6`zm{V[gQ^@CmbI">
                               <field name="NUM">1</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                       <statement name="ELSE">
                         <block type="timeouts_cleartimeout" id="vG;SH){SMrkO[:/f0U7f">
                           <field name="NAME">timeout</field>
                         </block>
                       </statement>
                     </block>
                   </statement>
                   <next>
                     <block type="on_ext" id="YxYuk$[l)-(}+:MTp#2I">
                       <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="`@(%)}o+/0wz9F2*}PEk">
                           <field name="oid">default</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="iBt%?$;w(2cpfj?O#pyh">
                           <mutation else="1"></mutation>
                           <value name="IF0">
                             <block type="on_source" id=".(B(}t?%@]7W*hP8oL9s">
                               <field name="ATTR">state.val</field>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="procedures_callnoreturn" id="PdjUpGo|ePK@56m7L$yw" inline="true">
                               <mutation name="dimmen">
                                 <arg name="step"></arg>
                               </mutation>
                               <value name="ARG0">
                                 <block type="math_number" id="1?9#P5*JYlB93AY_]c]n">
                                   <field name="NUM">5</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <statement name="ELSE">
                             <block type="timeouts_cleartimeout" id="~qyI)QepEuIjoxD2Kr..">
                               <field name="NAME">timeout</field>
                             </block>
                           </statement>
                         </block>
                       </statement>
                       <next>
                         <block type="on_ext" id="P=PN=M=mQDjOrQ5K;L49">
                           <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="~^|L8hdk(~i*G11J4AC8">
                               <field name="oid">default</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id=".kJC.6aAF3|sAxejI{x|">
                               <mutation else="1"></mutation>
                               <value name="IF0">
                                 <block type="on_source" id="BRsH(?;7hHav/r6jsw~2">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="procedures_callnoreturn" id="W;@^5X~Mx_Zsw*-*7qs3" inline="true">
                                   <mutation name="dimmen">
                                     <arg name="step"></arg>
                                   </mutation>
                                   <value name="ARG0">
                                     <block type="math_number" id="`?(4r^B`PHQm1E*m%6JJ">
                                       <field name="NUM">-1</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                               <statement name="ELSE">
                                 <block type="timeouts_cleartimeout" id="%iNkJ[]R,(!$wOxqULTu">
                                   <field name="NAME">timeout</field>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                           <next>
                             <block type="on_ext" id="pG96*K9y;txPK:l~1o,=">
                               <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="@oDrvs)2NLNb*d}6~%9%">
                                   <field name="oid">default</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="controls_if" id="clgG2`EZ7t3nTpT@HB/-">
                                   <mutation else="1"></mutation>
                                   <value name="IF0">
                                     <block type="on_source" id="XaF)V?zO1#]s:Ed7B+-J">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="procedures_callnoreturn" id="HlqHXqst1A/y`+2+DpH;" inline="true">
                                       <mutation name="dimmen">
                                         <arg name="step"></arg>
                                       </mutation>
                                       <value name="ARG0">
                                         <block type="math_number" id="[wK}hp}D*~}k+$a9o[9p">
                                           <field name="NUM">-5</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                   <statement name="ELSE">
                                     <block type="timeouts_cleartimeout" id="e@$3vKqkmu*ZX%r5S|9Y">
                                       <field name="NAME">timeout</field>
                                     </block>
                                   </statement>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
                 <block type="procedures_defnoreturn" id="AY*#(_}kV_8Oo({1EQNY" x="738" y="-13">
                   <mutation>
                     <arg name="step" varid="m[tT:9dSxGg/%=gG{}De"></arg>
                   </mutation>
                   <field name="NAME">dimmen</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   <statement name="STACK">
                     <block type="variables_set" id="}QA0pmU(qRjI}%fxfn[e">
                       <field name="VAR" id="M$X~_^BWKBx6@5sfWI.|">level</field>
                       <value name="VALUE">
                         <block type="get_value_var" id="1DVSO8.@BKISdUiAjSJ#">
                           <field name="ATTR">val</field>
                           <value name="OID">
                             <shadow type="text" id="C0jAAK1}rnZ!]G6loZVc">
                               <field name="TEXT"></field>
                             </shadow>
                             <block type="variables_get" id="9J]5vs,[EFl]N:.h:P3H">
                               <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <next>
                         <block type="math_change" id="v=8L`G]=lCT%nQfgE5y^">
                           <field name="VAR" id="M$X~_^BWKBx6@5sfWI.|">level</field>
                           <value name="DELTA">
                             <shadow type="math_number" id="(rZdb`d!BH/(7r7WpXQ=">
                               <field name="NUM">1</field>
                             </shadow>
                             <block type="variables_get" id="xi#m[xIiawD*v6.nx,e/">
                               <field name="VAR" id="m[tT:9dSxGg/%=gG{}De">step</field>
                             </block>
                           </value>
                           <next>
                             <block type="control_ex" id="n#Kg+~m/$eDf{3]d~cS8" inline="true">
                               <field name="TYPE">false</field>
                               <field name="CLEAR_RUNNING">FALSE</field>
                               <value name="OID">
                                 <shadow type="field_oid" id="UP![|S-V_B-{L{,b0xLr">
                                   <field name="oid">Object ID</field>
                                 </shadow>
                                 <block type="variables_get" id="#(}84KLy6y:aBSyMb?{v">
                                   <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                 </block>
                               </value>
                               <value name="VALUE">
                                 <shadow type="logic_boolean" id="8Cqg3XfCJRF*TdHNd;N]">
                                   <field name="BOOL">TRUE</field>
                                 </shadow>
                                 <block type="variables_get" id="vh=s!43dP).6^ww$W=#s">
                                   <field name="VAR" id="M$X~_^BWKBx6@5sfWI.|">level</field>
                                 </block>
                               </value>
                               <value name="DELAY_MS">
                                 <shadow type="math_number" id="XXlu]Do#cf9m;VdMaU;7">
                                   <field name="NUM">0</field>
                                 </shadow>
                               </value>
                               <next>
                                 <block type="timeouts_settimeout" id="T.p!P(L]u^,:~fB8GK-t">
                                   <field name="NAME">timeout</field>
                                   <field name="DELAY">400</field>
                                   <field name="UNIT">ms</field>
                                   <statement name="STATEMENT">
                                     <block type="procedures_callnoreturn" id="m:pXthVNPspTlk.2-UJb" inline="true">
                                       <mutation name="dimmen">
                                         <arg name="step"></arg>
                                       </mutation>
                                       <value name="ARG0">
                                         <block type="variables_get" id="I$me!4!WJ5S:UH=K8KUH">
                                           <field name="VAR" id="m[tT:9dSxGg/%=gG{}De">step</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
                 <block type="comment" id="zPL8`KcOAa?S`o_B8h?)" x="613" y="38">
                   <field name="COMMENT">right_slow</field>
                 </block>
                 <block type="variables_set" id="I{ZpBXzb_[bIXm*V4EGH" x="738" y="237">
                   <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                   <value name="VALUE">
                     <block type="field_oid" id="k(004a#-1Uh,7Ab~7Sko">
                       <field name="oid">0_userdata.0.Blockly.Level</field>
                     </block>
                   </value>
                   <next>
                     <block type="comment" id="m3et@hOu[@Z(w/zc1gS_">
                       <field name="COMMENT">4 x press</field>
                       <next>
                         <block type="on_ext" id="UJ3k2ii[D]UZLu40F~H^">
                           <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="BE!wbc5={RqmW;m07FL(">
                               <field name="oid">0_userdata.0.Blockly.Taste</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="variables_set" id="LPG16B7Cf^FfA-95Yx;_">
                               <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                               <value name="VALUE">
                                 <block type="field_oid" id="33i+OT*VmwZ7u*V%#vpq">
                                   <field name="oid">0_userdata.0.Blockly.Level</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <next>
                             <block type="on_ext" id="y5PS22zC/5/LPjK4h/{^">
                               <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="3HMR^*0(PQdx/Qy)F9W/">
                                   <field name="oid">0_userdata.0.Blockly.Taste</field>
                                 </shadow>
                               </value>
                               <statement name="STATEMENT">
                                 <block type="variables_set" id="MGuRGajOY{DT18_}!DdJ">
                                   <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                   <value name="VALUE">
                                     <block type="field_oid" id="g~WFY@$k%hRJ94O;/2eb">
                                       <field name="oid">0_userdata.0.Blockly.Level</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                               <next>
                                 <block type="on_ext" id="wyFv^T4p^TwGEzLA)x_z">
                                   <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="TL2rmSR9%t.k*|-c?KL;">
                                       <field name="oid">0_userdata.0.Blockly.Taste</field>
                                     </shadow>
                                   </value>
                                   <statement name="STATEMENT">
                                     <block type="variables_set" id="E7tipM6hH@pK5Aob0`WV">
                                       <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                       <value name="VALUE">
                                         <block type="field_oid" id="hmz=--U),o~;P|ny;6Cs">
                                           <field name="oid">0_userdata.0.Blockly.Level</field>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="on_ext" id=".nxac1l{nOCHnx)d|p,-">
                                       <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="2,7%(iI#;1b%oLaTqt9B">
                                           <field name="oid">0_userdata.0.Blockly.Taste</field>
                                         </shadow>
                                       </value>
                                       <statement name="STATEMENT">
                                         <block type="variables_set" id="dL$R/i*2Iz?$5eMM=I1$">
                                           <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                           <value name="VALUE">
                                             <block type="field_oid" id="5/mLKw|]z%NQg.*o_{7r">
                                               <field name="oid">0_userdata.0.Blockly.Level</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
                 <block type="comment" id="s(F$T[lt0AtS77/h.hk1" x="613" y="262">
                   <field name="COMMENT">right_fast</field>
                 </block>
                 <block type="comment" id="B1Reh}KViI|/Jw_tN9Z2" x="613" y="488">
                   <field name="COMMENT">left_slow</field>
                 </block>
                 <block type="comment" id="iL~{J5Jb[A-vsNS_e8(S" x="612" y="713">
                   <field name="COMMENT">left_fast</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

                Tomek NapieralaT 1 Reply Last reply
                0
                • paul53P paul53

                  @tomek-napierala sagte: Skript exportieren

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <variables>
                     <variable id="m[tT:9dSxGg/%=gG{}De">step</variable>
                     <variable id="XmW__|5,1mpIoX7am{K0">id</variable>
                     <variable id="M$X~_^BWKBx6@5sfWI.|">level</variable>
                     <variable type="timeout" id="timeout">timeout</variable>
                   </variables>
                   <block type="on_ext" id="n6N){3/a^L=L^m51j2_y" x="362" y="-13">
                     <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="4E5]#nT%8};d{eVk/3lm">
                         <field name="oid">default</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="T)T(dI@BJ{xe5f~+uKJl">
                         <mutation else="1"></mutation>
                         <value name="IF0">
                           <block type="on_source" id="nIHNGKkejeZmFk;~H250">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="procedures_callnoreturn" id="c_#`(G:G)=PFW+|g,{4." inline="true">
                             <mutation name="dimmen">
                               <arg name="step"></arg>
                             </mutation>
                             <value name="ARG0">
                               <block type="math_number" id="Li%]m6`zm{V[gQ^@CmbI">
                                 <field name="NUM">1</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <statement name="ELSE">
                           <block type="timeouts_cleartimeout" id="vG;SH){SMrkO[:/f0U7f">
                             <field name="NAME">timeout</field>
                           </block>
                         </statement>
                       </block>
                     </statement>
                     <next>
                       <block type="on_ext" id="YxYuk$[l)-(}+:MTp#2I">
                         <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="`@(%)}o+/0wz9F2*}PEk">
                             <field name="oid">default</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="iBt%?$;w(2cpfj?O#pyh">
                             <mutation else="1"></mutation>
                             <value name="IF0">
                               <block type="on_source" id=".(B(}t?%@]7W*hP8oL9s">
                                 <field name="ATTR">state.val</field>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="procedures_callnoreturn" id="PdjUpGo|ePK@56m7L$yw" inline="true">
                                 <mutation name="dimmen">
                                   <arg name="step"></arg>
                                 </mutation>
                                 <value name="ARG0">
                                   <block type="math_number" id="1?9#P5*JYlB93AY_]c]n">
                                     <field name="NUM">5</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <statement name="ELSE">
                               <block type="timeouts_cleartimeout" id="~qyI)QepEuIjoxD2Kr..">
                                 <field name="NAME">timeout</field>
                               </block>
                             </statement>
                           </block>
                         </statement>
                         <next>
                           <block type="on_ext" id="P=PN=M=mQDjOrQ5K;L49">
                             <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="~^|L8hdk(~i*G11J4AC8">
                                 <field name="oid">default</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="controls_if" id=".kJC.6aAF3|sAxejI{x|">
                                 <mutation else="1"></mutation>
                                 <value name="IF0">
                                   <block type="on_source" id="BRsH(?;7hHav/r6jsw~2">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="procedures_callnoreturn" id="W;@^5X~Mx_Zsw*-*7qs3" inline="true">
                                     <mutation name="dimmen">
                                       <arg name="step"></arg>
                                     </mutation>
                                     <value name="ARG0">
                                       <block type="math_number" id="`?(4r^B`PHQm1E*m%6JJ">
                                         <field name="NUM">-1</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <statement name="ELSE">
                                   <block type="timeouts_cleartimeout" id="%iNkJ[]R,(!$wOxqULTu">
                                     <field name="NAME">timeout</field>
                                   </block>
                                 </statement>
                               </block>
                             </statement>
                             <next>
                               <block type="on_ext" id="pG96*K9y;txPK:l~1o,=">
                                 <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="@oDrvs)2NLNb*d}6~%9%">
                                     <field name="oid">default</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="controls_if" id="clgG2`EZ7t3nTpT@HB/-">
                                     <mutation else="1"></mutation>
                                     <value name="IF0">
                                       <block type="on_source" id="XaF)V?zO1#]s:Ed7B+-J">
                                         <field name="ATTR">state.val</field>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="procedures_callnoreturn" id="HlqHXqst1A/y`+2+DpH;" inline="true">
                                         <mutation name="dimmen">
                                           <arg name="step"></arg>
                                         </mutation>
                                         <value name="ARG0">
                                           <block type="math_number" id="[wK}hp}D*~}k+$a9o[9p">
                                             <field name="NUM">-5</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <statement name="ELSE">
                                       <block type="timeouts_cleartimeout" id="e@$3vKqkmu*ZX%r5S|9Y">
                                         <field name="NAME">timeout</field>
                                       </block>
                                     </statement>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                   <block type="procedures_defnoreturn" id="AY*#(_}kV_8Oo({1EQNY" x="738" y="-13">
                     <mutation>
                       <arg name="step" varid="m[tT:9dSxGg/%=gG{}De"></arg>
                     </mutation>
                     <field name="NAME">dimmen</field>
                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                     <statement name="STACK">
                       <block type="variables_set" id="}QA0pmU(qRjI}%fxfn[e">
                         <field name="VAR" id="M$X~_^BWKBx6@5sfWI.|">level</field>
                         <value name="VALUE">
                           <block type="get_value_var" id="1DVSO8.@BKISdUiAjSJ#">
                             <field name="ATTR">val</field>
                             <value name="OID">
                               <shadow type="text" id="C0jAAK1}rnZ!]G6loZVc">
                                 <field name="TEXT"></field>
                               </shadow>
                               <block type="variables_get" id="9J]5vs,[EFl]N:.h:P3H">
                                 <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <next>
                           <block type="math_change" id="v=8L`G]=lCT%nQfgE5y^">
                             <field name="VAR" id="M$X~_^BWKBx6@5sfWI.|">level</field>
                             <value name="DELTA">
                               <shadow type="math_number" id="(rZdb`d!BH/(7r7WpXQ=">
                                 <field name="NUM">1</field>
                               </shadow>
                               <block type="variables_get" id="xi#m[xIiawD*v6.nx,e/">
                                 <field name="VAR" id="m[tT:9dSxGg/%=gG{}De">step</field>
                               </block>
                             </value>
                             <next>
                               <block type="control_ex" id="n#Kg+~m/$eDf{3]d~cS8" inline="true">
                                 <field name="TYPE">false</field>
                                 <field name="CLEAR_RUNNING">FALSE</field>
                                 <value name="OID">
                                   <shadow type="field_oid" id="UP![|S-V_B-{L{,b0xLr">
                                     <field name="oid">Object ID</field>
                                   </shadow>
                                   <block type="variables_get" id="#(}84KLy6y:aBSyMb?{v">
                                     <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                   </block>
                                 </value>
                                 <value name="VALUE">
                                   <shadow type="logic_boolean" id="8Cqg3XfCJRF*TdHNd;N]">
                                     <field name="BOOL">TRUE</field>
                                   </shadow>
                                   <block type="variables_get" id="vh=s!43dP).6^ww$W=#s">
                                     <field name="VAR" id="M$X~_^BWKBx6@5sfWI.|">level</field>
                                   </block>
                                 </value>
                                 <value name="DELAY_MS">
                                   <shadow type="math_number" id="XXlu]Do#cf9m;VdMaU;7">
                                     <field name="NUM">0</field>
                                   </shadow>
                                 </value>
                                 <next>
                                   <block type="timeouts_settimeout" id="T.p!P(L]u^,:~fB8GK-t">
                                     <field name="NAME">timeout</field>
                                     <field name="DELAY">400</field>
                                     <field name="UNIT">ms</field>
                                     <statement name="STATEMENT">
                                       <block type="procedures_callnoreturn" id="m:pXthVNPspTlk.2-UJb" inline="true">
                                         <mutation name="dimmen">
                                           <arg name="step"></arg>
                                         </mutation>
                                         <value name="ARG0">
                                           <block type="variables_get" id="I$me!4!WJ5S:UH=K8KUH">
                                             <field name="VAR" id="m[tT:9dSxGg/%=gG{}De">step</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                   <block type="comment" id="zPL8`KcOAa?S`o_B8h?)" x="613" y="38">
                     <field name="COMMENT">right_slow</field>
                   </block>
                   <block type="variables_set" id="I{ZpBXzb_[bIXm*V4EGH" x="738" y="237">
                     <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                     <value name="VALUE">
                       <block type="field_oid" id="k(004a#-1Uh,7Ab~7Sko">
                         <field name="oid">0_userdata.0.Blockly.Level</field>
                       </block>
                     </value>
                     <next>
                       <block type="comment" id="m3et@hOu[@Z(w/zc1gS_">
                         <field name="COMMENT">4 x press</field>
                         <next>
                           <block type="on_ext" id="UJ3k2ii[D]UZLu40F~H^">
                             <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="BE!wbc5={RqmW;m07FL(">
                                 <field name="oid">0_userdata.0.Blockly.Taste</field>
                               </shadow>
                             </value>
                             <statement name="STATEMENT">
                               <block type="variables_set" id="LPG16B7Cf^FfA-95Yx;_">
                                 <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                 <value name="VALUE">
                                   <block type="field_oid" id="33i+OT*VmwZ7u*V%#vpq">
                                     <field name="oid">0_userdata.0.Blockly.Level</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <next>
                               <block type="on_ext" id="y5PS22zC/5/LPjK4h/{^">
                                 <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="3HMR^*0(PQdx/Qy)F9W/">
                                     <field name="oid">0_userdata.0.Blockly.Taste</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="variables_set" id="MGuRGajOY{DT18_}!DdJ">
                                     <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                     <value name="VALUE">
                                       <block type="field_oid" id="g~WFY@$k%hRJ94O;/2eb">
                                         <field name="oid">0_userdata.0.Blockly.Level</field>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                                 <next>
                                   <block type="on_ext" id="wyFv^T4p^TwGEzLA)x_z">
                                     <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="TL2rmSR9%t.k*|-c?KL;">
                                         <field name="oid">0_userdata.0.Blockly.Taste</field>
                                       </shadow>
                                     </value>
                                     <statement name="STATEMENT">
                                       <block type="variables_set" id="E7tipM6hH@pK5Aob0`WV">
                                         <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                         <value name="VALUE">
                                           <block type="field_oid" id="hmz=--U),o~;P|ny;6Cs">
                                             <field name="oid">0_userdata.0.Blockly.Level</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="on_ext" id=".nxac1l{nOCHnx)d|p,-">
                                         <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="2,7%(iI#;1b%oLaTqt9B">
                                             <field name="oid">0_userdata.0.Blockly.Taste</field>
                                           </shadow>
                                         </value>
                                         <statement name="STATEMENT">
                                           <block type="variables_set" id="dL$R/i*2Iz?$5eMM=I1$">
                                             <field name="VAR" id="XmW__|5,1mpIoX7am{K0">id</field>
                                             <value name="VALUE">
                                               <block type="field_oid" id="5/mLKw|]z%NQg.*o_{7r">
                                                 <field name="oid">0_userdata.0.Blockly.Level</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                   <block type="comment" id="s(F$T[lt0AtS77/h.hk1" x="613" y="262">
                     <field name="COMMENT">right_fast</field>
                   </block>
                   <block type="comment" id="B1Reh}KViI|/Jw_tN9Z2" x="613" y="488">
                     <field name="COMMENT">left_slow</field>
                   </block>
                   <block type="comment" id="iL~{J5Jb[A-vsNS_e8(S" x="612" y="713">
                     <field name="COMMENT">left_fast</field>
                   </block>
                  </xml>
                  

                  Tomek NapieralaT Offline
                  Tomek NapieralaT Offline
                  Tomek Napierala
                  wrote on last edited by
                  #13

                  @paul53 danke werde es heute abend ausprobieren und mich melden ob es läuft 👍

                  1 Reply Last reply
                  0
                  • paul53P paul53

                    @tomek-napierala sagte: beim drehen ist es true und wenn man es nicht dreht ist es false

                    Dann versuche es mal so:

                    Blockly_temp.JPG

                    Tomek NapieralaT Offline
                    Tomek NapieralaT Offline
                    Tomek Napierala
                    wrote on last edited by
                    #14

                    @paul53 Ist das dein skript? Ich blicke da nicht richrig durch.. Die linke Seite ist mir noch klar da vergebe ich die objekte des dial tab aber der rechte Teil? wo füge ich die Lampe hinzu die gedimmt werden soll?

                    DJMarc75D 1 Reply Last reply
                    0
                    • Tomek NapieralaT Tomek Napierala

                      @paul53 Ist das dein skript? Ich blicke da nicht richrig durch.. Die linke Seite ist mir noch klar da vergebe ich die objekte des dial tab aber der rechte Teil? wo füge ich die Lampe hinzu die gedimmt werden soll?

                      DJMarc75D Offline
                      DJMarc75D Offline
                      DJMarc75
                      wrote on last edited by
                      #15

                      @tomek-napierala sagte in Hue Tap Dial Switch Drehschalter:

                      wo füge ich die Lampe hinzu die gedimmt werden soll?

                      na die DPs Level ... könnte bei Dir auch Brightness oder Helligkeit, oder oder oder heissen. Man kennt ja die Datenpunkte Deiner Lampe nicht.

                      Lehrling seit 1975 !!!
                      Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                      https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                      1 Reply Last reply
                      0
                      • D Offline
                        D Offline
                        drloksoft
                        wrote on last edited by
                        #16

                        @Tomek-Napierala hast Du den Hue Tap Dial schalter mit IOBROKER so erbinden können, dass Du damit alle möglichen Events starten kannst, oder gelingt es mit dem Schalter nicht? Wenn ja, kann ich jeden Taster mehrfach belegen wie

                        • klick
                        • doppelklick
                        • long press
                          Viele Grüße
                          Jürgen
                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        354

                        Online

                        32.7k

                        Users

                        82.3k

                        Topics

                        1.3m

                        Posts
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Home
                        • Recent
                        • Tags
                        • Unread 0
                        • Categories
                        • Unreplied
                        • Popular
                        • GitHub
                        • Docu
                        • Hilfe