sooooo,
Habe die Alarmanlage ans Laufen bekommen,
Sensoren Script
schimmer-media.de/index.php?attachment/3993/
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on_ext" id="k{lmFnBOufnYh7F;FPzu" x="-162" y="-162">
<mutation items="3"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id=";9YQvS~5!N}:XdP8:59d">
<field name="oid">mihome.0.devices.switch_158d00024668d1.double</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="xU{!@uh`t3@]eu(6Uh]|">
<field name="oid">mihome.0.devices.magnet_158d00024b2c15.state</field>
</shadow>
</value>
<value name="OID2">
<shadow type="field_oid" id="p@b(}fV+#k3zvMFG4Ioy">
<field name="oid">mihome.0.devices.magnet_158d00024b2c15.state</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="go)i#|+|2iCMKk.kkRg=">
<value name="IF0">
<block type="logic_compare" id="x:m9@WqcD(9;uGB86+?l">
<field name="OP">EQ</field>
<value name="A">
<block type="logic_boolean" id="gOVke5|N2|_e~x^8=|Qp">
<field name="BOOL">TRUE</field>
</block>
</value>
<value name="B">
<block type="get_value" id="OI?)8@fxU=/ml~OzTi:!">
<field name="ATTR">val</field>
<field name="OID">MyVariable.0.Alarmanlage.Alarmanlage_an</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="controls_if" id=".kO|v2fO:1A_EH](-*9.">
<value name="IF0">
<block type="logic_compare" id="Vnp0`+DuMfRrfXwu4DdV">
<field name="OP">EQ</field>
<value name="A">
<block type="logic_boolean" id="d.oD2/kra]11U/h!w=I6">
<field name="BOOL">TRUE</field>
</block>
</value>
<value name="B">
<block type="logic_operation" id=".vDy?d#M?!a}K]Nb3@;H">
<field name="OP">OR</field>
<value name="A">
<block type="get_value" id="~XL0|WCq@VC)h:*DMYjs">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.switch_158d00024668d1.double</field>
</block>
</value>
<value name="B">
<block type="logic_operation" id="CTOO%~|]n.M7q#@4DZq[">
<field name="OP">OR</field>
<value name="A">
<block type="get_value" id="nbt;fV:s%kdh}^elOBq~">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.magnet_158d00024b2c15.state</field>
</block>
</value>
<value name="B">
<block type="get_value" id="BR2.}HG_%op=rZ`SU!}3">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.magnet_158d00024b2c15.state</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="XqB=#sH_3Ny`l}wpu4n9">
<mutation delay_input="false"></mutation>
<field name="OID">MyVariable.0.Alarmanlage.alarm_ausgelöst</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="lBYQ=~nC9m%{}fHAono3">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Auslöse Script
schimmer-media.de/index.php?attachment/3994/
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on" id="ff_;m?5I`z9,re[wg*t." x="-87" y="-137">
<field name="OID">MyVariable.0.Alarmanlage.alarm_ausgelöst</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="control" id="UI7#[UnA,jV;jhZXAef;">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.on</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="n8ojd9B-UT@+=7j]0Vv?">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="Sa5O=:NLSZvGt)QPf(KB">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.rgb</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="EQXxc:.|9x.8@,kLImmH">
<field name="TEXT">#ff8400</field>
</block>
</value>
<next>
<block type="control" id="+wBuf7:p3Rk-slh0]k%y">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.dimmer</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="+G,p`set1L@3L}XYW3!,">
<field name="TEXT">100</field>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="R]Y)~WjV^zz`MMAO*?Sj">
<field name="NAME">timeout</field>
<field name="DELAY">30</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="controls_if" id=":X?w_**_y[8ooL:34f=P">
<value name="IF0">
<block type="logic_compare" id="pP)IUf+4.x`5yA:jL-sD">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="9f#[G?W=A_CXQ4WFgd#M">
<field name="ATTR">val</field>
<field name="OID">MyVariable.0.Alarmanlage.alarm_ausgelöst</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="YNw{-}8|gBx|r6?q^St5">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="controls_if" id="`_0osBIv.YQ[sySUmtz0">
<value name="IF0">
<block type="logic_compare" id="TR!t%9B5vFw}QUgy(sx^">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="]7)h;hV~7WA]uHL=3`cN">
<field name="ATTR">val</field>
<field name="OID">MyVariable.0.Alarmanlage.alarm_ausgelöst</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="`%W,ZYlRt0=!:`De`Fe.">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="@:1sW^6`FI;=2~7^/(Ic">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.mid</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_tonumber" id="UM5s92-vR(Z},9v/A*s~">
<value name="VALUE">
<block type="text" id="a4v)@27YvH;`:3*3/.F4">
<field name="TEXT">2</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="-%~IpTjr)=:(^4HBsvW+">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_tonumber" id="mNalWVTOS8)w,zk.gL@3">
<value name="VALUE">
<block type="text" id="jI+u^P{FWnw)hiKiqcT2">
<field name="TEXT">1</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="timeouts_setinterval" id="_Gq5hzMR^i-EO|C!-^le">
<field name="NAME">Intervall2</field>
<field name="INTERVAL">1000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="control" id="P`AarH.2ntzd=~][tAq1">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.on</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="iC447alE|)}}#4PHB_z,">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="Y(plh@KG#w[usfPDic0~">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.rgb</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="LS+q|D6OQ_GKV1,~1MG:">
<field name="TEXT">#ff0000</field>
</block>
</value>
<next>
<block type="control" id="nNvQ))=6)8if9CGzuHPb">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.dimmer</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="Dmk}8_yBibLMbHd#+{n2">
<field name="TEXT">100</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
<next>
<block type="timeouts_setinterval" id="|EFQDab]0vJer@MQ6M:i">
<field name="NAME">Intervall</field>
<field name="INTERVAL">7</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="lgfGvn-nMkAdQt|z}_NP">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.mid</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_tonumber" id="iLR+wBV7B(MLplom]=RD">
<value name="VALUE">
<block type="text" id="DXvX[rPwRSBA)YwRJit5">
<field name="TEXT">2</field>
</block>
</value>
</block>
</value>
<next>
<block type="control" id="cjE@|rmFY0c}3!dbkYyc">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="convert_tonumber" id="!p{f?l(mAJe{{Bwm7m|n">
<value name="VALUE">
<block type="text" id="-nCL!kgP:~E)!zSkf3KG">
<field name="TEXT">1</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Rücksetzen
schimmer-media.de/index.php?attachment/3995/
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on" id="u:-,c6(/U/w!P8wy1*#8" x="38" y="-37">
<field name="OID">MyVariable.0.Alarmanlage.Alarmanlage_an</field>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="3o8P+c%,i,?77D?|pIg8">
<value name="IF0">
<block type="logic_compare" id="#C2gr8C8=z[e}DomxjEM">
<field name="OP">EQ</field>
<value name="A">
<block type="logic_boolean" id="dwA1VvqU/xXmW5OA[DSt">
<field name="BOOL">FALSE</field>
</block>
</value>
<value name="B">
<block type="get_value" id="aMiJ@p:A:9x}%[8O)tBj">
<field name="ATTR">val</field>
<field name="OID">MyVariable.0.Alarmanlage.Alarmanlage_an</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="-x*U/(JZu5VD`_gxVZA)">
<mutation delay_input="false"></mutation>
<field name="OID">MyVariable.0.Alarmanlage.alarm_ausgelöst</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="[-S0A,l`}]lpS.5g()tk">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="F8^r}`KH@70Af7ymYf^w">
<mutation delay_input="false"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.on</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="mlcuyxsWGjSRV%(_ME#P">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="DE)eA=HJgqG]1QJPLNun">
<mutation delay_input="false"></mutation>
<field name="OID">javascript.0.scriptEnabled.Scripte.Alarmanlage.Alarmanlage_auslösen</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="||e}JfxB)5oV)F/aPgng">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="K}+hF;XM#AANzw?%q!9^">
<mutation delay_input="true"></mutation>
<field name="OID">javascript.0.scriptEnabled.Scripte.Alarmanlage.Alarmanlage_auslösen</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">30</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="5B5wG_.rqY;e=#RluZIt">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="control" id="%9wm%T[2Iyfn6;Q`1(D)">
<mutation delay_input="true"></mutation>
<field name="OID">mihome.0.devices.gateway_7811dcfd7da9.on</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">10</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="I}jMqc=#hhs}zeP_k]8}">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Taster ein
schimmer-media.de/index.php?attachment/3996/
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on" id=";Uj{NGp{W:d?|laUgjOZ" x="63" y="12">
<field name="OID">mihome.0.devices.switch_158d00024668d1.click</field>
<field name="CONDITION">true</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="3wcQXa(KZx3Oe7#;?g2z">
<value name="IF0">
<block type="logic_compare" id="ZL_DPU+tyE`xSGWbW}Q1">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=".vAJZZ}-?9[e3mA2zm+H">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.switch_158d00024668d1.click</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=":gy6+B;GqniDO/h)8)P{">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="dA5a=2AN.-NVW58UpDh^">
<mutation delay_input="true"></mutation>
<field name="OID">MyVariable.0.Alarmanlage.Alarmanlage_an</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">5</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id=",%c!+b^W*ebfy1^NX.TS">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Taster aus
schimmer-media.de/index.php?attachment/3997/
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="on" id=";Uj{NGp{W:d?|laUgjOZ" x="63" y="12">
<field name="OID">mihome.0.devices.switch_158d00024668d1.long</field>
<field name="CONDITION">true</field>
<field name="ACK_CONDITION"></field>
<statement name="STATEMENT">
<block type="controls_if" id="3wcQXa(KZx3Oe7#;?g2z">
<value name="IF0">
<block type="logic_compare" id="ZL_DPU+tyE`xSGWbW}Q1">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=".vAJZZ}-?9[e3mA2zm+H">
<field name="ATTR">val</field>
<field name="OID">mihome.0.devices.switch_158d00024668d1.long</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=":gy6+B;GqniDO/h)8)P{">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="dA5a=2AN.-NVW58UpDh^">
<mutation delay_input="false"></mutation>
<field name="OID">MyVariable.0.Alarmanlage.Alarmanlage_an</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id=",%c!+b^W*ebfy1^NX.TS">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Sind insgesamt 5 Scripte.
Und hier noch ein kleines Video
Inhalte von externen Seiten werden ohne Ihre Zustimmung nicht automatisch geladen und angezeigt.
Alle externen Inhalte anzeigen
Durch die Aktivierung der externen Inhalte erklären Sie sich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.