- Home
- Deutsch
- Skripten / Logik
- Blockly
- Hue Lampe Blinken lassen
Hue Lampe Blinken lassen
-
@Daniel-Schwarz sagte in Hue Lampe Blinken lassen:
gibt es einen grund weshalb bei einem block timeout dabei ist und beim anderen nicht ?
moment---
-
Ja danke, das hatte ich vorher schon gemacht, aber die waren iwie alle nicht so wirklicch wie ich es wollte...
EDIT:
Der Alarm button ist aber jetzt ohne funktion oder ?
da gerade keine maschine mehr läuft.
-
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="xL{FzofqhyJnPQq`w`6A">Wohnzimmer_vorherige_Farbe</variable> <variable type="" id="S|;`41z#2)fy^=rNAo~q">Licht_war_aus</variable> <variable type="" id="Kc{,!;GakGUAz,3b2Fmi">Wunschfarbe</variable> <variable type="undefined" id="Alarm">Alarm</variable> <variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable> <variable type="undefined" id="vorher">vorher</variable> </variables> <block type="comment" id="I6dC10r:h!zx%yxI6$-C" x="13" y="1438"> <field name="COMMENT">Waschmaschine Sibylle</field> <next> <block type="on" id="Ma,cer@O39_MHUXE9b6{"> <field name="OID">hs100.0.192_168_1_63.power</field> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="U1uqg)1c{UYg%K;c5A6v"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="}A|D9zK[RvsatF3t207-" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="ZKHiHIV;rYPRn(a,^chX"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id=":kY_+I6B]29G!!Mz2-]#"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_63.power</field> </block> </value> <value name="B"> <block type="math_number" id="|k;F$jK|W.bs[D,wUC}5"> <field name="NUM">1.6</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="NBEs$P3%HC]-%|OoLAN_"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="IPZ@V}3xfJADI7YqktH"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="EidA92E?flHTK8Q+I4"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="0?=A65jlQdW|w,[];@"> <mutation delay_input="false"></mutation> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/a!HgmdF.^EB2xq7y;S1"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="EfmaiW1eoFma/%;tx/uN"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.1.Echo-Devices.G090U509910604SS.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">200</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="text" id="7~NfsWx!4$Axj+5yW;5"> <field name="TEXT">Guten Tag meine lieben, die Waschmaschine wurde gestartet</field> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="hr-gsMEPM%q-NFnrii^a" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="yjfRIE_PDs%FEPtMWf#l"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="kN%Iy1mht+ua8v#+IKy*"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_63.power</field> </block> </value> <value name="B"> <block type="math_number" id="jMA/e%Pyb9J8Y{wRFl*N"> <field name="NUM">1.3</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="{j@yrT3dQzuUj|7N(1.O"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="UCSz[z*556|oVd-!eh%V"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="?m,?02hXT0%B%PIy~?h:"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="update" id="d@I:Qh,1V#fRsSbcl6gg"> <mutation delay_input="false"></mutation> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="=VFU/ydj[Fm~(%88LVMX"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="controls_if" id=",VT_(}-]A9;)0R(vSU]b"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="z=E|D(bH-sMAk36(LLoS" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="c5G,b,Shw]HQ?lw,Bg7a"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="k%N/@JIfr`Zw(_XHXfbL"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="P@eVRqlr24$(}/OSJfO?"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="f3n4C7WFRM+kZLKub[Vr"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="wkj(TG+71zYi^KoXMn7u"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="VGngcb_qiQ40#^(:6BAE"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="!gVq(9GOHu}!7:/$%dH("> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> <value name="VALUE"> <block type="text_join" id="ubTVdLS$;!d.M`e:xVl~"> <mutation items="13"></mutation> <value name="ADD0"> <block type="text" id="j=i8G+L{#L}24{xa{hG5"> <field name="TEXT">{"on":</field> </block> </value> <value name="ADD1"> <block type="get_value" id="vzLd^92gIs,1^3d=G]=a"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="ADD2"> <block type="text" id="!~F-*j%?1RNBag?`n:R="> <field name="TEXT">,"level":</field> </block> </value> <value name="ADD3"> <block type="get_value" id="Bg_P[|O+,Mu00BYv,g{;"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.level</field> </block> </value> <value name="ADD4"> <block type="text" id="?,aj$+AM9OqDcY=ee?;,"> <field name="TEXT">,"hue":</field> </block> </value> <value name="ADD5"> <block type="get_value" id="/r9qP/YM[I/S564$R@=;"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.hue</field> </block> </value> <value name="ADD6"> <block type="text" id="_;F=(a5[)uRsLHy@Hn/H"> <field name="TEXT">,"b":</field> </block> </value> <value name="ADD7"> <block type="get_value" id="lZ,#.V9eKtZ7kq,nQ!(V"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.b</field> </block> </value> <value name="ADD8"> <block type="text" id="0dk;OC2*=2DNQ+Z/P|ah"> <field name="TEXT">,"g":</field> </block> </value> <value name="ADD9"> <block type="get_value" id="25VAjGL3EfK%UG*{QvC4"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.g</field> </block> </value> <value name="ADD10"> <block type="text" id="uK@M{CN[e|ZCbI^n1huo"> <field name="TEXT">,"r":</field> </block> </value> <value name="ADD11"> <block type="get_value" id="CahP{k1``=L!pBlxFVa_"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.r</field> </block> </value> <value name="ADD12"> <block type="text" id="3t#WOjP5^1^gG,}ev0.5"> <field name="TEXT">,"alert":"none","transitiontime":100}</field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="j8`X7P7ftm/gF~EfsiDG" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="L0JhREFF`j9!rE5Nv$)i"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="i*TEOWmP#Y@O=MKH(oM,"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="G]tQU(3kQeXYC(lcG3JG"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="iZ8O3#v6aum^VV2*lbCE"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="R4Uwu2xy,%qj=K%7?P!%"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="50lP69)k7B[]Rk/9QQXx"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="tJoznpM~~gpGKq34/4p4"> <field name="VAR" id="S|;`41z#2)fy^=rNAo~q" variabletype="">Licht_war_aus</field> <value name="VALUE"> <block type="logic_boolean" id="9(egRKvQ6Og:9}X9vqe["> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="$]v];32jRO^r|FSZ@.A5"> <field name="VAR" id="Kc{,!;GakGUAz,3b2Fmi" variabletype="">Wunschfarbe</field> <value name="VALUE"> <block type="text" id="4`@%7@YzY2tQ_3rWu3Mq"> <field name="TEXT">{"on":true,"level":100,"hue":26,"b":8,"g":138,"r":254,"alert":"none","transitiontime":100}</field> </block> </value> <next> <block type="timeouts_settimeout" id="[w0aUWyvjzp=-t9`)PNW"> <field name="NAME">Alarm</field> <field name="DELAY">100</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="variables_set" id="RLN*#zZ3qy9yYHO`0/g^"> <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field> <value name="VALUE"> <block type="text" id="4x#.$y:DTRa:HHhdn_c]"> <field name="TEXT">{"level":100, "hue":0,"alert":"lselect", "transitiontime":0}</field> </block> </value> <next> <block type="control" id="itzibgpZWAu(DBWms?jg"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="wuNXQStvBk*;W{8k2L4Y"> <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field> </block> </value> </block> </next> </block> </statement> <next> <block type="timeouts_settimeout" id="-8pz2t/Vcu1_p25SIXB]"> <field name="NAME">vorher</field> <field name="DELAY">15</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="GIak!-2;;-0,.0eEN@1E"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="{1GrBE@GyW!b_?2vJZlO"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="ZCIWnTB*gH%^zYA[xZE,"> <field name="VAR" id="S|;`41z#2)fy^=rNAo~q" variabletype="">Licht_war_aus</field> </block> </value> <value name="B"> <block type="logic_boolean" id="(E]3,vuEW|]mqQ5i,K-Z"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="DP@=NkP}mRlad9fvV_uS"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="l82L(3J,zRC$!GFJj*g*"> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="YEni4AhjTr^SC7ilRz}n"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id=",J;X#!07T[Ryi]-=S$u]"> <field name="VAR" id="Kc{,!;GakGUAz,3b2Fmi" variabletype="">Wunschfarbe</field> </block> </value> <next> <block type="control" id="{q*`mUco|1E;Vj2}Nm$8"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="{X/sr6W2Qh2HhcpY]yF{"> <field name="TEXT">{"on":false,"transitiontime":100}</field> </block> </value> </block> </next> </block> </statement> <next> <block type="variables_set" id="}]4UV1{QQ:@0dNDw?r_-"> <field name="VAR" id="S|;`41z#2)fy^=rNAo~q" variabletype="">Licht_war_aus</field> <value name="VALUE"> <block type="logic_boolean" id="zX^|qC#13:NlHPnFok{D"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="control" id="GwM0IrbMj(VE?$_04hV9"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.1.Echo-Devices.G090U509910604SS.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">20</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="text_join" id="3?*H|JGs27V@6~~~8F)-"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="EK,Z#@PTAApgQq:}.ub$"> <field name="TEXT">Halli, Hallo, ich bin es, die Waschmaschine, ich bin sowas von fertig! ;-)</field> </block> </value> <value name="ADD1"> <block type="text" id="o|olcNOtO7Bki7,Dkm6H"> <field name="TEXT">Zu deiner Information, du hast heute</field> </block> </value> <value name="ADD2"> <block type="get_value" id="[lI(`pb]l:,mcIceod$v"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_64.totalNow</field> </block> </value> <value name="ADD3"> <block type="text" id="Ot+b^8x;4V@0IgYOeK/d"> <field name="TEXT">KWh, beim Waschen verbraucht.</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="xL{FzofqhyJnPQq`w`6A">Wohnzimmer_vorherige_Farbe</variable> <variable type="" id="S|;`41z#2)fy^=rNAo~q">Licht_war_aus</variable> <variable type="undefined" id="Alarm">Alarm</variable> <variable type="" id="Kc{,!;GakGUAz,3b2Fmi">Wunschfarbe</variable> <variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable> <variable type="undefined" id="vorher">vorher</variable> </variables> <block type="comment" id="MT|OG_uE2Vv|b(gV]g!-" x="13" y="13"> <field name="COMMENT">Waschmaschine Tamara</field> <next> <block type="on" id="E]v/{:S!EN}:`-n!KG8t"> <field name="OID">hs100.0.192_168_1_64.power</field> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="6^wpDO[uw!J:X}YAGLc2"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="tUg/fnG6gl=C,e5r@2;=" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~acQv-uHMamsd]CyqSAt"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="*QG)__VUq{)wR/%,lD_u"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_64.power</field> </block> </value> <value name="B"> <block type="math_number" id="nHDh5{|=ujj,/s4R,wi%"> <field name="NUM">1.9</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="M6)24zQSu9Q-rcyqE74-"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="4ourwMoM?M,Q8p`2vS:5"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmashine_Tamara_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="a_o2/Yq3q(:@7_rniS3A"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="Tw6Rx`ft}FX%p^c]3jr!"> <mutation delay_input="false"></mutation> <field name="OID">hs100.0.Waschmashine_Tamara_läuft</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="ch7k(!?noDm6pdeEwQxQ"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="e)PS_6qK6]4JA1L[zXF("> <mutation delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV03639302FK.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">120</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="text" id="[U_XerX2c3PkA)L87$[P"> <field name="TEXT">Guten Tag meine lieben, die Waschmaschine wurde gestartet</field> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="={^U$UE)w[X.op!T$8*N" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="h0l|45d(w-#07qv*AI9c"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="#9rMD6VG56|qPND]J]C9"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_64.power</field> </block> </value> <value name="B"> <block type="math_number" id="UII=:BzN$82(llmLr?:d"> <field name="NUM">1.8</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Cp#uT-JNnXlRY#p#)K?7"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="U*IPrN:P7LrA;I:np=k:"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmashine_Tamara_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="w]-x^hHtJd54^I7]KQl|"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="update" id="Hn79Id=H[-32#@PbW+Qh"> <mutation delay_input="false"></mutation> <field name="OID">hs100.0.Waschmashine_Tamara_läuft</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="AsLvsc6Ky*qe5m`^2cQ]"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="controls_if" id="x7EaBGDENGkS0TK$B(w%"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="LW?[?l=}r.1ML6e^o*,3" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="9Ea.9@n4DIBz7tWsc6o*"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="5}T=ct9l_@9tTUYZ::_w"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmashine_Tamara_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="f]/Qoa#8bQ(q*Pje|!nl"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="30g!.(l0Yz5tvvKT9zzb"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="wb-!ZwL$5tlE[u#]q7U:"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%%$B?OA0N]qeoVVRKc(V"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="vFGzS*?e-L}yh=0?jQ$u"> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> <value name="VALUE"> <block type="text_join" id="6T#,e*QX)JI}=$[}@@F4"> <mutation items="13"></mutation> <value name="ADD0"> <block type="text" id="BLAPc(kX=qJDT5@b^B,i"> <field name="TEXT">{"on":</field> </block> </value> <value name="ADD1"> <block type="get_value" id="zf_4g.5VYBb*TM:80NpY"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="ADD2"> <block type="text" id="*(kgm^2[yijPGj1JLSh%"> <field name="TEXT">,"level":</field> </block> </value> <value name="ADD3"> <block type="get_value" id="-=SLN~~ws!mz+u6O^rwP"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.level</field> </block> </value> <value name="ADD4"> <block type="text" id="p^_FJZ$u2Q+kd3m^J?v5"> <field name="TEXT">,"hue":</field> </block> </value> <value name="ADD5"> <block type="get_value" id="p/lV)o`b5s#-k;6*j9;^"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.hue</field> </block> </value> <value name="ADD6"> <block type="text" id=":wM^jaL+TpCBosd39zm_"> <field name="TEXT">,"b":</field> </block> </value> <value name="ADD7"> <block type="get_value" id="#CgM4;GS)VGck+!?{(XD"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.b</field> </block> </value> <value name="ADD8"> <block type="text" id="[jD.nSA{1|7w;x[wkOa!"> <field name="TEXT">,"g":</field> </block> </value> <value name="ADD9"> <block type="get_value" id="W?7eP{m%W~[vUBaRH2Y!"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.g</field> </block> </value> <value name="ADD10"> <block type="text" id="I#~*w5O1nYlindL01c2l"> <field name="TEXT">,"r":</field> </block> </value> <value name="ADD11"> <block type="get_value" id="SE{4.Z9{i2u4W/XMASk-"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.r</field> </block> </value> <value name="ADD12"> <block type="text" id="!@2BF{`%TzO(.p=cM}5p"> <field name="TEXT">,"alert":"none","transitiontime":100}</field> </block> </value> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_operation" id="-V?QlS$ER+Fe(ZHZC~%o" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="QN;Whhb!wyUdG|0*MyW~"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D{js@!jhP_L7Z_p`F}i7"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmashine_Tamara_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="d%,fy8}x#]dAgOStYmcl"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="9p}B2%XhPb.K%zA7Nn++"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@$qJs*-*ll^P~u*@ZxOO"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="?tOk4~D(sfU*H,x/b/Ur"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="1{#BvcF-KWA0gzdT]tV4"> <field name="VAR" id="S|;`41z#2)fy^=rNAo~q" variabletype="">Licht_war_aus</field> <value name="VALUE"> <block type="logic_boolean" id=")9NmF]!UU%20UG$X|4#9"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="k*Vmi0*!8U,dBa=_YE!O"> <field name="VAR" id="Kc{,!;GakGUAz,3b2Fmi" variabletype="">Wunschfarbe</field> <value name="VALUE"> <block type="text" id="[#3;`R6-8_xy7A6Mj-=}"> <field name="TEXT">{"on":true,"level":100,"hue":26,"b":8,"g":138,"r":254,"alert":"none","transitiontime":100}</field> </block> </value> </block> </next> </block> </statement> <next> <block type="timeouts_settimeout" id="t5z9IGhAM2U||A=l?oE+"> <field name="NAME">Alarm</field> <field name="DELAY">100</field> <field name="UNIT">ms</field> <statement name="STATEMENT"> <block type="variables_set" id="eV2nz=S+o0Qh#knfX(VX"> <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field> <value name="VALUE"> <block type="text" id="6=Nsu~FIZ]GOWy9RW!a~"> <field name="TEXT">{"level":100, "hue":0,"alert":"lselect", "transitiontime":0}</field> </block> </value> <next> <block type="control" id="Lr:]7?$$Digass0*HoR["> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="=]YL~Rr~V00O,oe*2!)R"> <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field> </block> </value> </block> </next> </block> </statement> <next> <block type="timeouts_settimeout" id="Ft#CxWl=aL97Eq/1At(."> <field name="NAME">vorher</field> <field name="DELAY">15</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="controls_if" id="S]ZcTCCaff{|N8s3lG,b"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="uw*LFp.7s+wAcB}w_9;u"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="bJ7WHnuwLBnUP7xEp}K8"> <field name="VAR" id="S|;`41z#2)fy^=rNAo~q" variabletype="">Licht_war_aus</field> </block> </value> <value name="B"> <block type="logic_boolean" id="m`;umRIZO%.tdGH$8;.)"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="H-EBF0vG#rLz{@[/;^V0"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="~8~Jn?G+5I5`YE`8w#Qr"> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="lit.[J:;U2L[@{-{bf`("> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="AhY{UEx!(:@VRu]a`x2j"> <field name="VAR" id="Kc{,!;GakGUAz,3b2Fmi" variabletype="">Wunschfarbe</field> </block> </value> <next> <block type="control" id="@v0.X3AAGc*U8Udhqu[M"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="K~17t7:-PAkJ4{{TZMY}"> <field name="TEXT">{"on":false,"transitiontime":100}</field> </block> </value> </block> </next> </block> </statement> <next> <block type="variables_set" id="3c;Mfm,.pYC$g%7{P}ez"> <field name="VAR" id="S|;`41z#2)fy^=rNAo~q" variabletype="">Licht_war_aus</field> <value name="VALUE"> <block type="logic_boolean" id="hQ1J)7f.t$79)ORQc9#g"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <next> <block type="control" id="2CEP7kKDa@k1do^oB(%X"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LV03639302FK.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">20</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="text_join" id="=C{XRK$K(5v~dtj#7f0C" inline="false"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="#j41KA3g[~o7Fteb^:zr"> <field name="TEXT">Halli, Hallo, ich bin es, die Waschmaschine, ich bin sowas von fertig! ;-)</field> </block> </value> <value name="ADD1"> <block type="text" id="nounxTUR@-UvTVNF_^o#"> <field name="TEXT">Zu deiner Information, du hast heute</field> </block> </value> <value name="ADD2"> <block type="get_value" id=")DTM^xKQ~wKY!*cSUK_F"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_64.totalNow</field> </block> </value> <value name="ADD3"> <block type="text" id="W$G2it*A)Sp/};v+K]ow"> <field name="TEXT">KWh, beim Waschen verbraucht.</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </xml>
Ich habe mal zwei getrennte Blocklys draus gemacht. (auch wegen den Variablen und Timeouts)
Der Alarm button ist aber jetzt ohne funktion oder ?
Der war ja nur zum testen ob das blinken überhaupt funktioniert. Den brauchst Du in dem Waschmaschienenscript ja nicht.
-
Okay, habe sie jetzt auch getrennt gesetzt.
Okay, habe verstanden, das heisst aber auch das ich es so jetzt nicht testen kann, da keine WM läuft. auch nicht wenn ich den DP auf true setze.
Aber dann schauen wir einfach mal.
-
@Daniel-Schwarz kannst Du nicht einfach eine Lampe an die Steckdose hängen?
-
übrigens, hier ist ein Waschmaschinen Blockly was ich meinte
-
-
@Daniel-Schwarz zur Simulation von Last/(Strom)Verbrauch?!
-
Achsoooo, hahaha okay, das macht sinn.
-
Ja das hatte ich glaube auch gesehen gehabt, aber frag mich jetzt mal noch was damit war...
-
hmm jetzt mit lampe dran, ändert der mir nicht mehr den wert auf true... trotz 5 watt verbrauch
und somit passiert gar nichts -
@Daniel-Schwarz
Ich habe jetzt nochmal eine Weile "rumprobiert". Bei mir habe ich als Trigger mal eine normale Schaltsteckdose genommen. Ich habe noch mal einiges verändert. Bei mir hat es so funktioniert, auch wenn die Lampe vorher weiß war. Alarmfarbe ist rot eingestellt. Ich habe dann mal versucht alles auf Dein Blockly zu übertragen. Probier mal bitte dieses Blockly. Ist aber erstmal nur eine Maschine. Wenn es bei Dir funktioniert, kannst Du das ja leicht kopieren.<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</variable> <variable type="" id="xL{FzofqhyJnPQq`w`6A">Wohnzimmer_vorherige_Farbe</variable> <variable type="undefined" id="Alarm_Lampe_war_aus">Alarm_Lampe_war_aus</variable> <variable type="undefined" id="Alarm_Lampe_war_an">Alarm_Lampe_war_an</variable> </variables> <block type="comment" id="I6dC10r:h!zx%yxI6$-C" x="12" y="-38"> <field name="COMMENT">Waschmaschine Sibylle</field> <next> <block type="on" id="Ma,cer@O39_MHUXE9b6{"> <field name="OID">hs100.0.192_168_1_63.power</field> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="variables_set" id="ULJqVA?$K6.qMKQmbpRF"> <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field> <value name="VALUE"> <block type="text" id="{4CLW]o@hF(XGimYxu!C"> <field name="TEXT">{"level":100, "r":100,"alert":"lselect", "transitiontime":0}</field> </block> </value> <next> <block type="controls_if" id="U1uqg)1c{UYg%K;c5A6v"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="}A|D9zK[RvsatF3t207-" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="ZKHiHIV;rYPRn(a,^chX"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id=":kY_+I6B]29G!!Mz2-]#"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_63.power</field> </block> </value> <value name="B"> <block type="math_number" id="|k;F$jK|W.bs[D,wUC}5"> <field name="NUM">1.6</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="NBEs$P3%HC]-%|OoLAN_"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="IPZ@V}3xfJADI7YqktH"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="EidA92E?flHTK8Q+I4"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="update" id="0?=A65jlQdW|w,[];@"> <mutation delay_input="false"></mutation> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/a!HgmdF.^EB2xq7y;S1"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="EfmaiW1eoFma/%;tx/uN" inline="false" collapsed="true"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.1.Echo-Devices.G090U509910604SS.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">200</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="text" id="7~NfsWx!4$Axj+5yW;5"> <field name="TEXT">Guten Tag meine lieben, die Waschmaschine wurde gestartet</field> </block> </value> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="hr-gsMEPM%q-NFnrii^a" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="yjfRIE_PDs%FEPtMWf#l"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id="kN%Iy1mht+ua8v#+IKy*"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_63.power</field> </block> </value> <value name="B"> <block type="math_number" id="jMA/e%Pyb9J8Y{wRFl*N"> <field name="NUM">1.3</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="{j@yrT3dQzuUj|7N(1.O"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="UCSz[z*556|oVd-!eh%V"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="?m,?02hXT0%B%PIy~?h:"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="update" id="d@I:Qh,1V#fRsSbcl6gg"> <mutation delay_input="false"></mutation> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="=VFU/ydj[Fm~(%88LVMX"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="GwM0IrbMj(VE?$_04hV9" inline="false" collapsed="true"> <mutation delay_input="true"></mutation> <field name="OID">alexa2.1.Echo-Devices.G090U509910604SS.Commands.speak</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">20</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="text_join" id="3?*H|JGs27V@6~~~8F)-"> <mutation items="4"></mutation> <value name="ADD0"> <block type="text" id="EK,Z#@PTAApgQq:}.ub$"> <field name="TEXT">Halli, Hallo, ich bin es, die Waschmaschine, ich bin sowas von fertig! ;-)</field> </block> </value> <value name="ADD1"> <block type="text" id="o|olcNOtO7Bki7,Dkm6H"> <field name="TEXT">Zu deiner Information, du hast heute</field> </block> </value> <value name="ADD2"> <block type="get_value" id="[lI(`pb]l:,mcIceod$v"> <field name="ATTR">val</field> <field name="OID">hs100.0.192_168_1_64.totalNow</field> </block> </value> <value name="ADD3"> <block type="text" id="Ot+b^8x;4V@0IgYOeK/d"> <field name="TEXT">KWh, beim Waschen verbraucht.</field> </block> </value> </block> </value> <next> <block type="controls_if" id="x7EaBGDENGkS0TK$B(w%" collapsed="true"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_operation" id="PAjio?x9XqtLn+sM$^~q" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="IW.`[*:u==j[DNQ[OK`v"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=")6u:-]J@!i|}|j(E]B5E"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="~hEVoG5CyoN+sv{{BB;K"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="3Eh6Ruq3H3S?}EpnQAlM"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="wwa*TbF/?8e-9#irr@*7"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="VVv5Ot[TY?N(F]t(Z%|e"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="b9urUe=Yr_=iU%5)h|ck" collapsed="true"> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> <value name="VALUE"> <block type="text_join" id="`L[zcsiZx)1,O|jJ7lj."> <mutation items="13"></mutation> <value name="ADD0"> <block type="text" id="Hj|8{9!c.`mrJpCpt(m*"> <field name="TEXT">{"on":</field> </block> </value> <value name="ADD1"> <block type="get_value" id="M$p9OXLjw:*)^]gC:-i6"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="ADD2"> <block type="text" id="%,HS[U!kGOs6N|2dhTm+"> <field name="TEXT">,"level":</field> </block> </value> <value name="ADD3"> <block type="get_value" id="k]p#2VxJ=OGEQ3^=U*)="> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.level</field> </block> </value> <value name="ADD4"> <block type="text" id="RyhIk(X^q;q`N|qWECJ7"> <field name="TEXT">,"hue":</field> </block> </value> <value name="ADD5"> <block type="get_value" id="rO,4OhiK)-Q-{ghDa(sS"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.hue</field> </block> </value> <value name="ADD6"> <block type="text" id=".F;_~LVo_OM$O|(wv@!+"> <field name="TEXT">,"b":</field> </block> </value> <value name="ADD7"> <block type="get_value" id=":U7N4aga!ZwD6l3_]c[9"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.b</field> </block> </value> <value name="ADD8"> <block type="text" id="3@5q{w56qn#/(O}ad.{s"> <field name="TEXT">,"g":</field> </block> </value> <value name="ADD9"> <block type="get_value" id="q.[-(gAE~r-E!-cmf_9B"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.g</field> </block> </value> <value name="ADD10"> <block type="text" id="04W{15E)S8LMHA;zT,E0"> <field name="TEXT">,"r":</field> </block> </value> <value name="ADD11"> <block type="get_value" id="d@^/0!PhczCl{FM2gvvH"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.r</field> </block> </value> <value name="ADD12"> <block type="text" id="Jon021N2wE7[ak6cXIi{"> <field name="TEXT">,"alert":"none","transitiontime":100}</field> </block> </value> </block> </value> <next> <block type="control" id="=H;{e=)jtRyl?L;+esN5"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="$B*S6d:hz(=OE7:WBL94"> <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field> </block> </value> <next> <block type="timeouts_settimeout" id="S28bVy@ODVoyUu`ye5|6"> <field name="NAME">Alarm_Lampe_war_an</field> <field name="DELAY">15</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="control" id="{XMp]}%uGE8`a_m@BCO:"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="+:@vtVc}$kWuz95#miMy"> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="`bIKUuu5gGPq.kc/0[B{" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="g,dV!V]g!02H*i3LW8`x"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="^$-@@~n5ehaQsz*5:U-g"> <field name="ATTR">val</field> <field name="OID">hs100.0.Waschmaschine_Sibylle_läuft</field> </block> </value> <value name="B"> <block type="logic_boolean" id="WKM`Bx)0{M;V5EpO8JG."> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Bd]E6m(;Lf,YE=@HLhQ["> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="6qX?KVvAZE;Aj/REs.qf"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id="ba9_5y;6I0@ydx-ef0eW"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="((?FlJ;;5hSWq3BOmXJo"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="WC?J1+1dz;49!JWv_3n."> <field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field> </block> </value> <next> <block type="timeouts_settimeout" id="791GG7L%DRqAIc*g|Nnc"> <field name="NAME">Alarm_Lampe_war_aus</field> <field name="DELAY">15</field> <field name="UNIT">sec</field> <statement name="STATEMENT"> <block type="control" id="Lfyri[#!.2{$vTM(rSZj"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="{NgNb?Ub]toZlPfO}zn+"> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> </block> </value> <next> <block type="control" id="j2}?Ujr8Svat_5G5N[-b"> <mutation delay_input="false"></mutation> <field name="OID">hue.0.Wohnzimmer.command</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="x_IAyAfmce@2;$RjkMNZ"> <field name="TEXT">{"on":false,"transitiontime":100}</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> <next> <block type="on_ext" id="Dh1}]g.*Y*2#PG/$}Psa" collapsed="true"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="a8BEpy1,Ciq)TQS#2oN0"> <field name="oid">hue.0.Wohnzimmer.on</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="xz9Ub9K6w.t})FIQLm9P" collapsed="true"> <value name="IF0"> <block type="logic_compare" id="OA[*$L0[YIdLwK5`3Tq*"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Stp10`qq66fCh@rMKw=_"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="B"> <block type="logic_boolean" id=".#=1[HB/E{XyH4Mr~j#T"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="YP)!R%ZP*B{%*%0No3^{" collapsed="true"> <field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field> <value name="VALUE"> <block type="text_join" id="u]q(L56`9=n/~*Oo}I|J"> <mutation items="13"></mutation> <value name="ADD0"> <block type="text" id=";!f5?_5d4d7[nJiVl4=j"> <field name="TEXT">{"on":</field> </block> </value> <value name="ADD1"> <block type="get_value" id="|uSHbIn%=YCYQQ,{201:"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.on</field> </block> </value> <value name="ADD2"> <block type="text" id="/cC_ginyj^d4A*BU):?}"> <field name="TEXT">,"level":</field> </block> </value> <value name="ADD3"> <block type="get_value" id="aC,7],iC=DfbOxlSxnf5"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.level</field> </block> </value> <value name="ADD4"> <block type="text" id="kD$;bezgb}R}*jt4Z8#)"> <field name="TEXT">,"hue":</field> </block> </value> <value name="ADD5"> <block type="get_value" id="(yc21Iu4{DLTk(S8+Rii"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.hue</field> </block> </value> <value name="ADD6"> <block type="text" id="{s4PtLN{l{FF(piL!Du="> <field name="TEXT">,"b":</field> </block> </value> <value name="ADD7"> <block type="get_value" id="D`YT|*rvxxaC)*Q:{0^-"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.b</field> </block> </value> <value name="ADD8"> <block type="text" id="uR?yhpbjUfq^h;?!~USm"> <field name="TEXT">,"g":</field> </block> </value> <value name="ADD9"> <block type="get_value" id="u`VR1]tsjAWUISn@|qs{"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.g</field> </block> </value> <value name="ADD10"> <block type="text" id="ObA%_^^v|%W$ha8e?qx7"> <field name="TEXT">,"r":</field> </block> </value> <value name="ADD11"> <block type="get_value" id="%ZI29W$U+R/m,?ULDU!H"> <field name="ATTR">val</field> <field name="OID">hue.0.Wohnzimmer.r</field> </block> </value> <value name="ADD12"> <block type="text" id="-?SSZuhw/PW(:(`/JASx"> <field name="TEXT">,"alert":"none","transitiontime":100}</field> </block> </value> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </xml>
-
@dslraser Bei klappt der Alert nicht. Welchen Adapter hast du verwendet?
-
@werner2000x
mein Beitrag war aus 2019 (aber ich denke das ich nur den hue Adapter verwendet habe …)