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. Hue Tap Dial Switch Drehschalter

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

Hue Tap Dial Switch Drehschalter

Geplant Angeheftet Gesperrt Verschoben Blockly
16 Beiträge 4 Kommentatoren 1.2k Aufrufe 3 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.
  • Tomek NapieralaT Offline
    Tomek NapieralaT Offline
    Tomek Napierala
    schrieb am zuletzt editiert von
    #1

    Hallo
    Gibt es ein fertiges Blockly Skript für den hue tab dial? So das man mit dem drehen Dimmen kann und mit den tasten 1-4 die lampen auswählen kann welche gedimmt werden soll.. Das wäre echt praktisch :)

    DJMarc75D 1 Antwort Letzte Antwort
    0
    • Tomek NapieralaT Tomek Napierala

      Hallo
      Gibt es ein fertiges Blockly Skript für den hue tab dial? So das man mit dem drehen Dimmen kann und mit den tasten 1-4 die lampen auswählen kann welche gedimmt werden soll.. Das wäre echt praktisch :)

      DJMarc75D Offline
      DJMarc75D Offline
      DJMarc75
      schrieb am zuletzt editiert von
      #2

      @tomek-napierala wird denn dieser "hue tab dial" in Deinem (mir unbekannten) Adapter angezeigt ?

      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 Antwort Letzte Antwort
      0
      • Tomek NapieralaT Offline
        Tomek NapieralaT Offline
        Tomek Napierala
        schrieb am zuletzt editiert von
        #3

        @djmarc75 der ist über den zigbee
        Adapter angelernt und es werden alle Objekte angezeigt.

        DJMarc75D 1 Antwort Letzte Antwort
        0
        • Tomek NapieralaT Tomek Napierala

          @djmarc75 der ist über den zigbee
          Adapter angelernt und es werden alle Objekte angezeigt.

          DJMarc75D Offline
          DJMarc75D Offline
          DJMarc75
          schrieb am zuletzt editiert von
          #4

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

          es werden alle Objekte angezeigt.

          zeigen

          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 Antwort Letzte Antwort
          0
          • DJMarc75D DJMarc75

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

            es werden alle Objekte angezeigt.

            zeigen

            Tomek NapieralaT Offline
            Tomek NapieralaT Offline
            Tomek Napierala
            schrieb am zuletzt editiert von
            #5

            @djmarc75 dial tab.jpg dial tab 2.jpg

            Diese Objekte stehen zur verfügung

            DJMarc75D paul53P 2 Antworten Letzte Antwort
            0
            • Tomek NapieralaT Tomek Napierala

              @djmarc75 dial tab.jpg dial tab 2.jpg

              Diese Objekte stehen zur verfügung

              DJMarc75D Offline
              DJMarc75D Offline
              DJMarc75
              schrieb am zuletzt editiert von
              #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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                0
                • Tomek NapieralaT Tomek Napierala

                  @djmarc75 dial tab.jpg dial tab 2.jpg

                  Diese Objekte stehen zur verfügung

                  paul53P Offline
                  paul53P Offline
                  paul53
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #9

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

                    paul53P 1 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antworten Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #11

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

                        paul53P 1 Antwort Letzte Antwort
                        0
                        • Tomek NapieralaT Tomek Napierala

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

                          paul53P Offline
                          paul53P Offline
                          paul53
                          schrieb am zuletzt editiert von
                          #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 Antwort Letzte Antwort
                          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
                            schrieb am zuletzt editiert von
                            #13

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

                            1 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              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
                                schrieb am zuletzt editiert von
                                #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 Antwort Letzte Antwort
                                0
                                • D Offline
                                  D Offline
                                  drloksoft
                                  schrieb am zuletzt editiert von
                                  #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 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

                                  553

                                  Online

                                  32.4k

                                  Benutzer

                                  81.5k

                                  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