- ioBroker Community Home
- Deutsch
- Skripten / Logik
- Blockly
- Hue Tap Dial Switch Drehschalter
NEWS
Hue Tap Dial Switch Drehschalter
-
@tomek-napierala sagte in Hue Tap Dial Switch Drehschalter:
es werden alle Objekte angezeigt.
zeigen
Diese Objekte stehen zur verfügung
-
Diese Objekte stehen zur verfügung
@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-napierala
Das sind alles DPs vom Typ Button, daher ist Dein Anliegen nicht einfach umzusetzen.
"OutOfTheBox" gibts sowas nicht.@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 👍
-
Diese Objekte stehen zur verfügung
@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-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?@paul53 ja genau beim drehen ist es true und wenn man es nicht dreht ist es false
-
@paul53 ja genau beim drehen ist es true und wenn man es nicht dreht ist es false
@tomek-napierala sagte: beim drehen ist es true und wenn man es nicht dreht ist es false
Dann versuche es mal so:

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-napierala sagte: beim drehen ist es true und wenn man es nicht dreht ist es false
Dann versuche es mal so:

@paul53 kannst du das Skript exportieren damit ich es einfügen kann?
-
@paul53 kannst du das Skript exportieren damit ich es einfügen kann?
@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-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>@paul53 danke werde es heute abend ausprobieren und mich melden ob es läuft 👍
-
@tomek-napierala sagte: beim drehen ist es true und wenn man es nicht dreht ist es false
Dann versuche es mal so:

@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?
-
@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?
@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 -
@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
