<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="xL{FzofqhyJnPQq`w`6A">Wohnzimmer_vorherige_Farbe</variable>
<variable type="" id="#-mXz|12s@TMb{7:o;u`">Alarmfarbe</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="procedures_defcustomnoreturn" id="RNp5O@$XFY~1TyEGm,2," x="13" y="13">
<mutation statements="false"></mutation>
<field name="NAME">Datenpunkte_erstellen</field>
<field name="SCRIPT">LyoqCiAqIENyZWF0ZSBzdGF0ZXMgdW5kZXIgMF91c2VyZGF0YS4wIG9yIGphdmFzY3JpcHQueAogKiBDdXJyZW50IFZlcnNpb246ICAgICBodHRwczovL2dpdGh1Yi5jb20vTWljLU0vaW9icm9rZXIuY3JlYXRlVXNlclN0YXRlcwogKiBTdXBwb3J0OiAgICAgICAgICAgICBodHRwczovL2ZvcnVtLmlvYnJva2VyLm5ldC90b3BpYy8yNjgzOS8KICogQXV0b3I6ICAgICAgICAgICAgICAgTWljIChpb0Jyb2tlcikgfCBNaWMtTSAoZ2l0aHViKQogKiBWZXJzaW9uOiAgICAgICAgICAgICAxLjAgKDE3IEphbnVhcnkgMjAyMCkKICogRXhhbXBsZToKICogLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KICAgIGxldCBzdGF0ZXNUb0NyZWF0ZSA9IFsKICAgICAgICBbJ1Rlc3QuVGVzdDEnLCB7J25hbWUnOidUZXN0IDEnLCAndHlwZSc6J3N0cmluZycsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzonaW5mbycsICdkZWYnOidIZWxsbycgfV0sCiAgICAgICAgWydUZXN0LlRlc3QyJywgeyduYW1lJzonVGVzdCAyJywgJ3R5cGUnOidzdHJpbmcnLCAncmVhZCc6dHJ1ZSwgJ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9jZWVkLgogICAgICAgICAgICAgICAgbnVtU3RhdGVzLS07CiAgICAgICAgICAgICAgICBpZiAobnVtU3RhdGVzID09PSAwKSB7CiAgICAgICAgICAgICAgICAgICAgaWYgKExPR19ERUJVRykgbG9nKCdbRGVidWddIEFsbCBzdGF0ZXMgc3VjY2Vzc2Z1bGx5IHByb2Nlc3NlZCEnKTsKICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mIGNhbGxiYWNrID09PSAnZnVuY3Rpb24nKSB7IC8vIGV4ZWN1dGUgaWYgYSBmdW5jdGlvbiB3YXMgcHJvdmlkZWQgdG8gcGFyYW1ldGVyIGNhbGxiYWNrCiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChMT0dfREVCVUcpIGxvZygnW0RlYnVnXSBBbiBvcHRpb25hbCBjYWxsYmFjayBmdW5jdGlvbiB3YXMgcHJvdmlkZWQsIHdoaWNoIHdlIGFyZSBnb2luZyB0byBleGVjdXRlIG5vdy4nKTsKICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKCk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICAvLyBXZSBuZWVkIHRvIGdvIG91dCBhbmQgY29udGludWUgd2l0aCBuZXh0IGVsZW1lbnQgaW4gbG9vcC4KICAgICAgICAgICAgICAgICAgICByZXR1cm47IC8vIGh0dHBzOi8vc3RhY2tvdmVyZmxvdy5jb20vcXVlc3Rpb25zLzE4NDUyOTIwL2NvbnRpbnVlLWluLWN1cnNvci1mb3JlYWNoCiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0gLy8gaWYoIWZvcmNlKQogICAgICAgIH0KCiAgICAgICAgLyoqKioqKioqKioqKgogICAgICAgICAqIFN0YXRlIGlzIG5vdCBleGlzdGluZyBvciBmb3JjZSA9IHRydWUsIHNvIHdlIGFyZSBjb250aW51aW5nIHRvIGNyZWF0ZSB0aGUgc3RhdGUgdGhyb3VnaCBzZXRPYmplY3QoKS4KICAgICAgICAgKioqKioqKioqKioqLwogICAgICAgIGxldCBvYmogPSB7fTsKICAgICAgICBvYmoudHlwZSA9ICdzdGF0ZSc7CiAgICAgICAgb2JqLm5hdGl2ZSA9IHt9OwogICAgICAgIG9iai5jb21tb24gPSBwYXJhbVsxXTsKICAgICAgICBzZXRPYmplY3QoRlVMTF9TVEFURV9JRCwgb2JqLCBmdW5jdGlvbiAoZXJyKSB7CiAgICAgICAgICAgIGlmIChlcnIpIHsKICAgICAgICAgICAgICAgIGxvZygnQ2Fubm90IHdyaXRlIG9iamVjdCBmb3Igc3RhdGUgWycgKyBGVUxMX1NUQVRFX0lEICsgJ106ICcgKyBlcnIpOwogICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgaWYgKExPR19ERUJVRykgbG9nKCdbRGVidWddIE5vdyB3ZSBhcmUgY3JlYXRpbmcgbmV3IHN0YXRlIFsnICsgRlVMTF9TVEFURV9JRCArICddJykKICAgICAgICAgICAgICAgIGxldCBpbml0ID0gbnVsbDsKICAgICAgICAgICAgICAgIGlmKHBhcmFtWzFdLmRlZiA9PT0gdW5kZWZpbmVkKSB7CiAgICAgICAgICAgICAgICAgICAgaWYocGFyYW1bMV0udHlwZSA9PT0gJ251bWJlcicpIGluaXQgPSAwOwogICAgICAgICAgICAgICAgICAgIGlmKHBhcmFtWzFdLnR5cGUgPT09ICdib29sZWFuJykgaW5pdCA9IGZhbHNlOwogICAgICAgICAgICAgICAgICAgIGlmKHBhcmFtWzFdLnR5cGUgPT09ICdzdHJpbmcnKSBpbml0ID0gJyc7CiAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgIGluaXQgPSBwYXJhbVsxXS5kZWY7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgIHNldFN0YXRlKEZVTExfU1RBVEVfSUQsIGluaXQsIHRydWUsIGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgICAgICBpZiAoTE9HX0RFQlVHKSBsb2coJ1tEZWJ1Z10gc2V0U3RhdGUgZHVyY2hnZWbDvGhydDogJyArIEZVTExfU1RBVEVfSUQpOwogICAgICAgICAgICAgICAgICAgICAgICBudW1TdGF0ZXMtLTsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKG51bVN0YXRlcyA9PT0gMCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKExPR19ERUJVRykgbG9nKCdbRGVidWddIEFsbCBzdGF0ZXMgcHJvY2Vzc2VkLicpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBjYWxsYmFjayA9PT0gJ2Z1bmN0aW9uJykgeyAvLyBleGVjdXRlIGlmIGEgZnVuY3Rpb24gd2FzIHByb3ZpZGVkIHRvIHBhcmFtZXRlciBjYWxsYmFjawogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChMT0dfREVCVUcpIGxvZygnW0RlYnVnXSBGdW5jdGlvbiB0byBjYWxsYmFjayBwYXJhbWV0ZXIgd2FzIHByb3ZpZGVkJyk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbGxiYWNrKCk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICB9KTsKICAgICAgICAgICAgICAgIH0sIERFTEFZICsgKDIwICogY291bnRlcikgKTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgfSk7Cn0KCmxldCBzdGF0ZXNUb0NyZWF0ZSA9IFsKICAgIFsnSFVFLkhVRV9BbGFybScsIHsnbmFtZSc6J0hVRSBBbGFybScsICd0eXBlJzonYm9vbGVhbicsICdyZWFkJzp0cnVlLCAnd3JpdGUnOnRydWUsICdyb2xlJzonYnV0dG9uJywgJ2RlZic6dHJ1ZSwgInNtYXJ0TmFtZSI6IHsiZGUiOiAiQWxhcm0iLCJzbWFydFR5cGUiOiAiU1dJVENIIn0gfV0sCiAgICAKXTsgICAgCmNyZWF0ZVVzZXJTdGF0ZXMoJzBfdXNlcmRhdGEuMCcsIGZhbHNlLCBzdGF0ZXNUb0NyZWF0ZSk7Cg==</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_callcustomnoreturn" id="P)A~4b{!A4-0L(P6^+M!" x="13" y="63">
<mutation name="Datenpunkte_erstellen"></mutation>
<next>
<block type="on_ext" id="Dh1}]g.*Y*2#PG/$}Psa">
<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.Fensterlampe.on</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="xz9Ub9K6w.t})FIQLm9P">
<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.Fensterlampe.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="y*(t}AAi4.l4v9DB%t{l" collapsed="true">
<field name="VAR" id="xL{FzofqhyJnPQq`w`6A" variabletype="">Wohnzimmer_vorherige_Farbe</field>
<value name="VALUE">
<block type="text_join" id="8qo3[#FHqbw]omvf[2wK">
<mutation items="13"></mutation>
<value name="ADD0">
<block type="text" id="7HWx4=ylwAnXnfwl0_6#">
<field name="TEXT">{"on":</field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id=",DEuCp|hL@9o5Og^N4Zp">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.on</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="/i@f|=R)YDRcsQcDh|-k">
<field name="TEXT">,"level":</field>
</block>
</value>
<value name="ADD3">
<block type="get_value" id=",Fb;/Sb-`4W?$*`;SRnE">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.level</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="?egu2j4e8X/my`!l36ry">
<field name="TEXT">,"hue":</field>
</block>
</value>
<value name="ADD5">
<block type="get_value" id="xpy8q,AY?*gz5Qv,E8@a">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.hue</field>
</block>
</value>
<value name="ADD6">
<block type="text" id="6xzoF;n%KZDTw[Cm}pJa">
<field name="TEXT">,"b":</field>
</block>
</value>
<value name="ADD7">
<block type="get_value" id="AWl-;FiMeM}p`Gr.`^6C">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.b</field>
</block>
</value>
<value name="ADD8">
<block type="text" id="~TXt4ust;JP4!i%,u@HT">
<field name="TEXT">,"g":</field>
</block>
</value>
<value name="ADD9">
<block type="get_value" id="0J9J(6EMJeu%6~PL9!Hj">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.g</field>
</block>
</value>
<value name="ADD10">
<block type="text" id="bK`T7H[5j+`/$jevDEm/">
<field name="TEXT">,"r":</field>
</block>
</value>
<value name="ADD11">
<block type="get_value" id="/g^ZHDa{4|*nhzSLPP^R">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.r</field>
</block>
</value>
<value name="ADD12">
<block type="text" id="8t+{I;|3:[4h}m1v6=F_">
<field name="TEXT">,"alert":"none","transitiontime":100}</field>
</block>
</value>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="on_ext" id="xhm14(HW4VoRvObmxFfQ">
<mutation items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="6{C-o)p.q~,jZQ)O,CsP">
<field name="oid">0_userdata.0.HUE.HUE_Alarm</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="NJZ9T6,C.]pP/wnD#KHL">
<field name="VAR" id="#-mXz|12s@TMb{7:o;u`" variabletype="">Alarmfarbe</field>
<value name="VALUE">
<block type="text" id="Y1I(367SlX2E|wL.:xvd">
<field name="TEXT">{"level":100, "r":100,"alert":"lselect", "transitiontime":0}</field>
</block>
</value>
<next>
<block type="controls_if" id="x7EaBGDENGkS0TK$B(w%">
<mutation elseif="1"></mutation>
<value name="IF0">
<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.Fensterlampe.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>
<statement name="DO0">
<block type="control" id="Qs1K%azKNq=wPf,b2,W%">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="O)0K[zXZ/}lb0(B+Eizm">
<field name="TEXT">Der Alarm wurde ausgelöst</field>
</block>
</value>
<next>
<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="k+Z,U9$?doapFG5CqJ-O">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.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="@z%@{/~.PDZnLzBRXF3I">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.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="J*ro+E!aOEh[N1=:D6OH">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.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=",*5d(+oqW9qsIv=,q~D)">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.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="I%O-36[JAQIN|ICUrVa4">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.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="YCz:`BA1I!9y9=I/]U!-">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.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.Fensterlampe.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.Fensterlampe.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>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="jg@C3dwQ?@2ftvq%B:IV">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="GQ(x0#_EiQ4RL?~ms^z2">
<field name="ATTR">val</field>
<field name="OID">hue.0.Fensterlampe.on</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="93MrP!_xKC9*PeGBgCo:">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="control" id="1ftmybv|LYEEeLzehC%)">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.G0911B0592770T3W.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="$|7IdSy~!!mfX[1k~1@D">
<field name="TEXT">Der Alarm wurde ausgelöst</field>
</block>
</value>
<next>
<block type="control" id="((?FlJ;;5hSWq3BOmXJo">
<mutation delay_input="false"></mutation>
<field name="OID">hue.0.Fensterlampe.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.Fensterlampe.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.Fensterlampe.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>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</xml>