NEWS
Abwesenheit über 2 Punkte + Alarm an
-
Hallo....
könnte das so funktionieren?
Wert 1 läuft über fbpresence.....könnte auch radar2 nehmen, oder alle beide???
Wert 2 über die icloud und yakha - also geofencingWenn alle Personen abwesend dann warte erstmal x Minuten. Wenn dann immer noch alle Abwesend, dann prüfe den verbundenen Icloud Schalter in ioBroker.
Wenn dann wirklich alles so bleibt und alle sind weg, dann drück den Button.
Der schaltet dann über die MI App die Alarmanlage an.Jetzt kommt das Problem.
Ich habe das Einschalten der Alarm Anlage auf nem Button liegen. Anders bekomme ich die nicht an. Vermutlich schon...aber das ist mir zu umfangreich.
Ist es möglich dem Doppelklick des Buttons ein kurzes true zu senden, ohne dass man drauf drückt?Wenn einer wieder zurückkommt geht die presence wieder auf false und der Button wird wieder gedrückt.....jedoch halt nie von einer Person.
-
@marko1974 Zum Verständnis:
das macht die Alarmanlage an und das
aus?Der Trigger nutzt nichts, wenn die folgende Abfrage (das Blaue) nicht im Trigger drin steht.
Anwesentheit ist über fbpresence? Welcher DP ist fbpresence (ein Telefon in FritzBox)?
Kann man den Zustand der Alarmanlage abfragen oder nur steuern? -
Alarm wirklich über handy erfassen?
Würde ich nieeee machen.
Beispiel Akku leer, oder Handy gerade kaputt gemacht. Vor allem bei Frau und Kinder, nicht gut.
Alarm scharf und erdt recht bei unscharf Schaltung, solle immer eine bewusste Entscheidung sein. -
Theoretisch Ja, praktisch Nein.
Ich habe lieber ein paar Fehlalarme durch leere Akkus etc als dass ich mich drauf verlassen muss dass der letzte der das Haus verlässt den Alarm manuell scharf stellt.
@Marko1974
Wie @MCU schon schreibt, bringt der Trigger gar nichts, wenn die Aktionen nicht im Trigger Block stehen.Weiterhin triggerst Du AbsenceAll nur auf wahr, d.h. alle Aktionen die dann im Trigger Block stehen, werden nur ausgeführt wenn AbsenceAll auf wahr schaltet.
Wenn also jemand nach Hause kommt löst der Trigger gar nicht aus.
Besser:
Trigger: wenn AbsenceAll aktualisiert wurde
. falls wahr -> Alarm scharf
. sonst -> Alarm unscharfDas mit dem Button verstehe ich nicht.
-
Muss ich wohl eh in die Tonne kloppen.
Ich hatte die Xiaomi App hat die Funktion, dass sie alle verbundenen Kontaktsensoren mit in ihre Alarmüberwachung einbindet.
Da es leider keine möglichkeit gibt alarm an zu triggern, als über einen Button, dachte ich ich lege alarm an/aus auf einen xiaomi button.
Wollte den dann über Blockly ansprechen. Das geht aber nicht....da gibts ne Fehlermedung. Man kann den Schalter nicht virtuell drücken.@Muchul Alternativen?
-
@marko1974
Wird die Tür abgeschlossen, oder nur zugemacht?
Du könntest einen Sensor in die Zarge einbauen der erkennt das die tür abgeschlossen wurde und dann den Alarm scharfschalten.
Aber einen echten Taster als trigger müsste doch eigentlich gehen?Gib bitte mal mehr Informationen wie und wo dein Alarm gesteuert wird.
-
@muchul ich habe es jetzt mal so gemacht, dass die Anlage nicht über deren Hauseigene App gesteuert werden muss.
Ich gebe die Quelle mal unten an. War ein youtube Video. Habe nur Vis rausgenommen und zusätzlich die Anwesenheit über Homekit gesteuert. Somit wird zuerst mit radar2 und dann noch mit geofence von homekit abgefragt. Wenn alles zutrifft schaltet das Ding scharf.
Jetzt brauche ich auf dem Button quasi nur noch einen Notstopp Alarm aus falls es doch mal losheult.
Wie bringe ich es denn am besten fertig, dass ich alle anderen Sensoren auch noch eingebunden bekomme?
Ein Fenster muss ja zu sein, wenn man rausgeht...daher wäre gut, wenn eingangstür geöffnet wird, dann frage alle sensoren ab. wenn einer wahr ist, dann alexa sag: "da ist noch was auf". Wenn es dann zu ist...nochmal abfrage: ist jetzt alles zu? Wenn dann Eingangstür geschlossen wir, prüfen ob handys aus dem wlan und aus dem geofence...dann mach alarm an.<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="timeout" id="timeout">timeout</variable> <variable type="interval" id="Intervall">Intervall</variable> </variables> <block type="comment" id="WEkYIToXNF-t;h/C5fzM" x="-488" y="87"> <field name="COMMENT">Tür wurde geöffnet, setze Datenpunkt/Variable "AuslösungPrüfen" = TRUE, falls kein Handy zuhause ist!</field> <next> <block type="on_ext" id="nJoXTuB~qt}BNZ!hXKAx"> <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="]q{L)z.0)^Du|+2zC(WI"> <field name="oid">mihome.0.devices.magnet_158d0002c662ac.state</field> </shadow> </value> <statement name="STATEMENT"> <block type="debug" id="o:z*~P[K-@=AMvPQ^!le"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="{SK+8iYB+DFbfPXIZlYm"> <field name="TEXT">Haustür is opened MagnetSensor</field> </shadow> </value> <next> <block type="controls_if" id="_Yp`0Nux;y(w)7G_x/pl"> <value name="IF0"> <block type="logic_operation" id="b5dkQ4Ui].|oiizk#CNj" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="GAf[oI8$;r;l=}_/?37["> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="FwfA3Zfsb2K@Yl2R:u0g"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="3a^~qyZH4Gr2pn:ZKb[?"> <field name="ATTR">val</field> <field name="OID">radar2.0.Heidelore_iPhone11._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="ojfjrfX*N:2z;j1BB^tQ"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="8ZnTs1Debc[[7)0oY(Z5"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="rlR~?g6Wg3L]1*9NH`u5"> <field name="ATTR">val</field> <field name="OID">radar2.0.Konrad_iPhonex._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="z|j%J@ljh;Ifr*#mfw0`"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="MvJ*7H.J-|D(Rlv|ay9."> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="HwAorbGKy!@.n[NCuhX)"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="e0jf-U]P,KaaqB=`:z7t"> <field name="ATTR">val</field> <field name="OID">radar2.0.Marko_iPhone12._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="+`IM#Xs|V7K}`TPgAPFD"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="!TY_ZLgmVno%|RNXYCH:"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id=",2an#Tw{T]u[6-9p`q~l"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="rTD6rzw36t~Sk|]cYCU8"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="I)Jx|o8.VgD`g]w)=,E:"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Auslösung_Alarm_prüfen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="ADM[SsJMFQ||dDqY-+KR"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </next> </block> </statement> <next> <block type="comment" id="X;cc|u:DbPLICTY7NBF/"> <field name="COMMENT">Auslösung prüfen,Tür wurde geöffnet! Prüfen ob beide Handys NICHT zuhause sind!</field> <next> <block type="on_ext" id="74FM7K9@pyG-e;Spcd(m"> <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="}XnmE%ro`eJvX8E5hBv@"> <field name="oid">0_userdata.0.Auslösung_Alarm_prüfen</field> </shadow> </value> <statement name="STATEMENT"> <block type="debug" id="M;,|b#:Waws4GJS.Fjoo"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="E``#^*Pe3NmaY+7Aoa5;"> <field name="TEXT">Tür wurde geöffnet (Auslösung Prüfen)</field> </shadow> </value> <next> <block type="comment" id=":m9De-X0E`PjlmnC.GZ%"> <field name="COMMENT">Countdown, in 3 Minuten prüfen ob jemand zuhause ist, falls beide Handys nicht zuhause sind, AlarmHaustür aktivieren</field> <next> <block type="timeouts_settimeout" id="31nk2;?(.^~,[Nyrx2)-"> <field name="NAME">timeout</field> <field name="DELAY">3</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="debug" id="9d2+71G1+yervS/P%NRt"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="}-slVVu`Z9zl]9~71e/X"> <field name="TEXT">Alarmverzögerung um 3 Minute, Timer abgelaufen</field> </shadow> </value> <next> <block type="controls_if" id="I!hd1SZ-`TlpG^q1+bXF"> <value name="IF0"> <block type="logic_operation" id="yWlNeObbAQ9DnpdT0Bb:" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="Z%9uXMJWFY?!HcC(6;nx"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="=4L#Z5{]E5E4@Cd,~)~1"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="YPOVW+b:@2`]m2qp4N,T"> <field name="ATTR">val</field> <field name="OID">radar2.0.Heidelore_iPhone11._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="UgH8-GjYW81hN(|/us!N"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="K/@i/S6!q^x8Mo(p)Q=G"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="DNUW(#k%BZ-M@UL2-b~w"> <field name="ATTR">val</field> <field name="OID">radar2.0.Konrad_iPhonex._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="p4-/9!+YL]]h|:=/bT`B"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="EYeA_ux|RF;#{3BR1u7e"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="GWwAs}^9G1]E4Mx}l+Xd"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Rb#5(l66PgJzHJ#mSz(V"> <field name="ATTR">val</field> <field name="OID">radar2.0.Marko_iPhone12._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="p1q~Vt;IAv(f=fp7~{Te"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="#j2PmOS|]Z+^mfN1NzpR"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="T}gg1i,p!l(zZ`AZ{5:F"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="ra19KIkLgR(~=Mq,-XCK"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="9_DH5~V@[JMA9xxzH]v{"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Alarm_Eingangstür</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="h%f*LXg3m*kdAUuu+}%l"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="debug" id=".c;QU=~15nmC@l^5k[mk"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="Wz*:]l-}]8g85_oiq9sq"> <field name="TEXT">Alarm ausgelöst</field> </shadow> </value> <next> <block type="control" id="JQI[w30L7g1;WYi]Ql+3"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mihome.0.devices.gateway_7c49ebb1d3ed.volume</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="zT6;:~F!5h-LaIjvOx6k"> <field name="NUM">100</field> </block> </value> <next> <block type="control" id="GOjJp-r_#wU~Q;!p@8`b"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">mihome.0.devices.gateway_7c49ebb1d3ed.mid</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="V6WwSWrRdp4S3Cu|=[D!"> <field name="NUM">1</field> </block> </value> <next> <block type="control" id="?)Dw[+cVvYPFDmG(3@lp"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">mihome.0.devices.gateway_7c49ebb1d3ed.dimmer</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">200</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="qsk3v+0;5G2YK9Y*s.AF"> <field name="NUM">10</field> </block> </value> <next> <block type="control" id="iPc1z@5EUy4!3k?hb`Lw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">mihome.0.devices.gateway_7c49ebb1d3ed.rgb</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">300</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="text" id="(2ud0Jb(Y|*-qN;Quw01"> <field name="TEXT">#CC0000</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="ZwCfZWaW`4s6Z}{;Qcne"> <field name="COMMENT">Alarm (AlarmHaustür=True), benachrichtigung per Telegram verschicken</field> <next> <block type="on_ext" id="R]rL|Cr(oUJFQ|o^`_%3"> <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="(%!i?p?0U:!rX1[;^#on"> <field name="oid">0_userdata.0.Alarm_Eingangstür</field> </shadow> </value> <statement name="STATEMENT"> <block type="debug" id="bOz(9OV:EQPt3H1QVlI8"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="kKzrHBS34Rb47I9l|4JA"> <field name="TEXT">Sofortnachricht über Whatsapp gesendet</field> </shadow> </value> <next> <block type="whatsapp-cmb" id="MrjI}$U(=|~ZFn$%sX[i"> <field name="INSTANCE"></field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="pqQ?+r%%W.xn,t`SaW$m"> <field name="TEXT">Alarm Eingangstür</field> </shadow> </value> <next> <block type="timeouts_setinterval" id="s1u/i{iD8LKl%F!FQAqy"> <field name="NAME">Intervall</field> <field name="INTERVAL">5</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="debug" id="*:FB.z;G^2r.FzSG+|$Z"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="?UBklZROg}K_y:%@B+0)"> <field name="TEXT">Intervallnachricht über Whatsapp gesendet</field> </shadow> </value> <next> <block type="whatsapp-cmb" id="%%rOv%#3f_1V,{i:0FSe"> <field name="INSTANCE"></field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="Sap(2X.3|r(-8FAYUx:k"> <field name="TEXT">!!!!!!!!!!!!!Alarm Eingangstür!!!!!!!!!!!!!!!!!</field> </shadow> </value> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="-r`e9A-6-ic}H#gTa:Ng"> <field name="COMMENT">Aktive Alarm Ton und Auslösung Ausschalten</field> <next> <block type="on_ext" id="xDKaztEROs[o9mNgY*8S"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="c#w;u{g86v;6obn]b.k."> <field name="oid">radar2.0.Heidelore_iPhone11._here</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="|WODVP_DV,RZ7v4)c1YN"> <field name="oid">radar2.0.Konrad_iPhonex._here</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="Oc,L8(k3v(VN.Vo_];Xx"> <field name="oid">radar2.0.Marko_iPhone12._here</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="ypl2C4p:1qFH4,psy^/="> <field name="oid">0_userdata.0.Anwesenheit</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="%fF;l0vU{!=@d(aSyIPM"> <value name="IF0"> <block type="logic_operation" id="#|M.?c0%XJ5@ktdN$1%2" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="}2tvLAT2SyHcH#+ETha+"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="a[SfULE|i+wo`v41ZVAx"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="G4]DrM{;0*j+3{I7^0%f"> <field name="ATTR">val</field> <field name="OID">radar2.0.Heidelore_iPhone11._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="%vlQ.;Biu#fut#5*zQ*v"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Q+u(orV7oiEuq|H*q#.b"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="^;bSFP%8:v00h86-sKQ|"> <field name="ATTR">val</field> <field name="OID">radar2.0.Konrad_iPhonex._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Z+ilKwh-r(@48uIy.nA{"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="}]M6hl]mU|u$D;Ej`_nk"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="6yZ927Y1;Ws?W1)RPdxo"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="hIXSl=y-J~S]/P(#~gq8"> <field name="ATTR">val</field> <field name="OID">radar2.0.Marko_iPhone12._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id=",{BhY_d/_0.vK1=5;a^-"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="D90B5a-D*Hp{Nm%c[:a;"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="{y`zp3]~b!bCAP^n3%I*"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="a0?Q-7ewS/XHT.fLk+e+"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="wx!4xT-WGFyXoOZ9[0yD"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="k_N)EL][SkQF!M?8-]db"> <field name="TEXT">Alarm Aus durch Handy</field> </shadow> </value> <next> <block type="timeouts_clearinterval" id=".Vi6V:=I`^NN]eyX(n,u"> <field name="NAME">Intervall</field> <next> <block type="control" id="xE8v%~F?Tsv:mQ+H(N4K"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Alarm_Eingangstür</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="1STJM_h7m4)Mo7r~cEgN"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="}|RW|kzjU/(GILo{NU**"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">mihome.0.devices.gateway_7c49ebb1d3ed.mid</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">1</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="8wkZkJ2*=YZxT)a@.to("> <field name="NUM">9</field> </block> </value> <next> <block type="control" id="J^7r222yi%Bt!M;P@].;"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Auslösung_Alarm_prüfen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=".H^mv*g]u*)zTy}QC5m#"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="control" id="WDV@nXdxqj-)WX(p#1JT"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Alarmanlage_scharfgeschaltet</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="xf[CYMMo6)Mu##2SYpe*"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="P)c4Qh7g64HCdt4s_c%4"> <field name="COMMENT">Alarmanlage Scharfschaltung Aktive</field> <next> <block type="on_ext" id="GG^bs~`!WEs)n:Un{0xY"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id=",AXZS+5IYH-NLe~VlI6*"> <field name="oid">radar2.0.Heidelore_iPhone11._here</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="FP])n4QZS5!Ku-KhvqPY"> <field name="oid">radar2.0.Konrad_iPhonex._here</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="B597TYOr7tifqNk{9Lll"> <field name="oid">radar2.0.Marko_iPhone12._here</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="##!U2MHBh:q{sPCVK51`"> <field name="oid">0_userdata.0.Anwesenheit</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="?8s9VF)(8e:*qETSFh6k"> <value name="IF0"> <block type="logic_operation" id="D42^X$NRxE[Z09Q=u)sO" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="-1*STdW:@Avo;Lqkt!rs"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="Ly4UO%(^`ZIjpL|tBE]6"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="s-=*CWGscxTt8*t?Z2w]"> <field name="ATTR">val</field> <field name="OID">radar2.0.Heidelore_iPhone11._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="nZ,(t9T4J87y;WXb$0aX"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="?P0^-D.et-+Fd|b%jI8Y"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="S)!%MWW_MmGNa{_NCLCT"> <field name="ATTR">val</field> <field name="OID">radar2.0.Konrad_iPhonex._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="oWPphlGz^)]c2:}!?$Lt"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="$w0*K,()S?#~mK_!6.6u"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="=X#UW@|]IQSPMrA7Ss?s"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="_~M*:WmMnuK1t]!?r!D]"> <field name="ATTR">val</field> <field name="OID">radar2.0.Marko_iPhone12._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="0#AwhdO@~aAqE)uK!j]J"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="kg=i@RkG86Y;6a!Grl^/"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="N$em9B_a1t}z6%$`Cy?2"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="1@EcT3,I/dxRGcE-w0~D"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="(tJDe^a2|ln(%eM89DrZ"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="Vjq5YCtbpOLd/6:m5sKA"> <field name="TEXT">Handys sind nicht anwesend</field> </shadow> </value> <next> <block type="whatsapp-cmb" id="E0VL]Vai%=6k855{~jqe"> <field name="INSTANCE"></field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="o?q)}F1gn7z)s~V+kwc@"> <field name="TEXT">Wohnung wurde verlassen! Alarmanlage ist nun eingeschaltet!</field> </shadow> </value> <next> <block type="control" id="(UvZefQ23RRzK0loJQC5"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Alarmanlage_scharfgeschaltet</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="9izYCCvR4~{riS)JwsP*"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id=".@4Niy|D5|Dd^K8y*2yE"> <field name="COMMENT">Alarmanlage Scharfschaltung Ausschalten</field> <next> <block type="on_ext" id="9#DwZF;izu@qHxFUL{qE"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="}#`#+=;|ehfQ=g}8nD!P"> <field name="oid">radar2.0.Heidelore_iPhone11._here</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="IS3@F/I3-xB)faqh%w67"> <field name="oid">radar2.0.Konrad_iPhonex._here</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="Cm]-y;4=dD]YmhstOs-."> <field name="oid">radar2.0.Marko_iPhone12._here</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="O@rt6HEmANUPb(#3a1y`"> <field name="oid">0_userdata.0.Anwesenheit</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="RWjHOHDlmgYynL/7X/}v"> <mutation elseif="2"></mutation> <value name="IF0"> <block type="logic_operation" id="#7!4+fT+(fX%1a3lW!bz" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="FPl[EWC;F/bnic{{~vL+"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="z3y3.Dgd6jRR@mU|zZog"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="{Awl#^(iy.YIcYhyk0Tg"> <field name="ATTR">val</field> <field name="OID">radar2.0.Heidelore_iPhone11._here</field> </block> </value> <value name="B"> <block type="logic_boolean" id="#}Y1H5u_LBBlEgE{cF6L"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="~r;n,ar3`c}S/CXtxxdQ"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="+:@i0|f_=qM=^Y:r!Mhz"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Auslösung_Alarm_prüfen</field> </block> </value> <value name="B"> <block type="logic_boolean" id="6[YrgWz_^bwM~S{FSwG*"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="Tne:`$Tsxe@(6+Nik=`d"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="EL9,Swp5A#(0YZBd@PNR"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="k/ltH/)szBsP{+rXv9,$"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="4zhP?!H,ba8zxwRDe!@X"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="}rxOOs.hYzjGTA1R^zwR"> <field name="TEXT">Mama zuhause</field> </shadow> </value> <next> <block type="control" id="L/j[#[0{s9u]qQ)M8uk*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Alarmanlage_scharfgeschaltet</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="1~U[4?Zro.;U;5k5x![b"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="whatsapp-cmb" id="r~x/O-2*8jxupAV0SY59"> <field name="INSTANCE"></field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="+J_z%pGY72i)@$S`pX_5"> <field name="TEXT">Alarmanlage ausgeschaltet durch Heidelore</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_operation" id="!XtrQV;%Mkf#B5Wmz;p0" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="T7[)J-{,y|[[:[Rp=yrv"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="/MjT75O|^/MO[3{/fkGC"> <field name="ATTR">val</field> <field name="OID">radar2.0.Konrad_iPhonex._here</field> </block> </value> <value name="B"> <block type="logic_compare" id="Q]nKb#Gm0*?d!a|wm~.A"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="MWas|M+ad9Q[BDEJul:+"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Auslösung_Alarm_prüfen</field> </block> </value> <value name="B"> <block type="logic_boolean" id="hu3uZYGI!rHn1c}sc3Zl"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="MC}Fd`2E2GyjLu~^v!}["> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="SDoRFhul?36kFaVAuuez"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="#vT;{KYgLIm[?o*F7bWS"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="}Es:Lqzi7YMzXqi:opki"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Alarmanlage_scharfgeschaltet</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="uG=7h9|s=3IrA{:rw2Cw"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="debug" id="59?2%IRTMdeUkTdb5;qn"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id=",4q,1b|8J/UeH.Q2)A|/"> <field name="TEXT">Konni zuhause</field> </shadow> </value> <next> <block type="whatsapp-cmb" id="{df9reNV+AQ)_4?D??/M"> <field name="INSTANCE"></field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id=")2wN^da6kVb==4XK@$kI"> <field name="TEXT">Alarmanlage ausgeschaltet durch Konni</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_operation" id="N1yuK%lM%Rbtjg~ytYbN" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_operation" id="~%9eQZJtqakPQseu~(OV"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="I0At=~nanAU~%)Pd(f%~"> <field name="ATTR">val</field> <field name="OID">radar2.0.Marko_iPhone12._here</field> </block> </value> <value name="B"> <block type="logic_compare" id="43mZK9dMhk{DR]}6i@Ko"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="M/*?%xlQ|4tw[)j$?s`*"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Auslösung_Alarm_prüfen</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Hj3nqWH!@q+mOM;WHokW"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="}4gGHdXHY5nix=:I~m^d"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="lJm8+D5o].-_:VnVKSBW"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="7anh=pDAMombbz2tE4jI"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="control" id="ogV{eDKv{mr*WO[v}]1L"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Alarmanlage_scharfgeschaltet</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="}lry4EMmiTAGTh$Zt^R1"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="debug" id="U7/cNnoY_B^T{?2nZue/"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id=":DlNf|TThB30Q[b|x03y"> <field name="TEXT">Marko da</field> </shadow> </value> <next> <block type="whatsapp-cmb" id="zkX*Wn_rs$lj7?9Qvv|@"> <field name="INSTANCE"></field> <field name="LOG"></field> <value name="MESSAGE"> <shadow type="text" id="Ry7[Av%r^8YeA,-RoN,+"> <field name="TEXT">Alarmanlage ausgeschaltet durch Marko</field> </shadow> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
-
@EddyD-s-SmartHome Ah Du bist ja auch hier....da kannste doch bestimmt etwas zu sagen. Hatte Dein Script genutzt.
Funktioniert das so, wenn ich als object noch ne abwesenheit einbinde die fremd gesteuert wird?
Wie hast Du deine anderen kontakte eingebunden?