NEWS
Anwesenheit Check mit mehreren Personen + Doppelcheck
-
Hallo,
das script läuft so ganz gut. ABER wenn es nun paassiert das Fritzbox = WEG , Unifi = WEG
Dann ist dazwischen immer eine kurze Zeit ( ja WLAN wir noch Optimiert zuhause ) wo keiner True ist.
Habe dazu noch Ping ( Was aber in der kurzen Wegselzeit ebenfalls FALSE geht .. )ICH brauche also eine art DOPPEL Check ODER eine art CHECK das X Mal wiederholt ob wirklich X Mal alles False ist bis es weitergeht. Aber noch besser eine Zeitangabe.
Da ABWESEND gerne bis zu 5 Minuten Verzögerung haben darf ist mir da ALLES recht :)
WICHTIG: Das Anwesend als True muss SOFORT Funktionieren.
Meine Frage soll ich diese Prüfung bei jedem Benutzer Einbauen ? ODER
In meinem "Einer Da" Dort werden ca 5 Personen geprüft.
Ich glaube der Check bei "Einer da" macht mehr sinn und erspart arbeit oder ?
ABER kann man das umsetzen das es nur bei False X Minuten Checkt ? True MUSS sosoft gehen.Hier also mein "Einer da "

<xml xmlns="http://www.w3.org/1999/xhtml"> <block type="on_ext" id="[Kf+~E]`WU^B|jj/b_-+" x="-462" y="-562"> <mutation items="5"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="Z9?_mgxHczl;`*w?,cOE"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.chris</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="Z.Ksmjm6xGSjLN-FD6mJ"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.tanja</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="Il)%j0Ij9-fb0_4*XKCP"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.marcel</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="39b7_XhHjDLIGoq5ytJ3"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.milena</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="-3*1qo$UUm$etEqID$_C"> <field name="oid">EIGENE_OBJEKTE.0.ANWESENHEIT.gast</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="0.)bcIfB?@i~a`;FHOE1"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="GOY-!e1]#zXUvvk`q]va" inline="false"> <field name="OP">EQ</field> <value name="A"> <block type="logic_operation" id="m[S__0Qq,ejpAVNU?Sjt" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="y!6lR9zP]kftTt`)G$Cl" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_operation" id="Y*ayI^IMzkFk}r@U`=Z%" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="get_value" id="tA)ge`.hwKg0E-XKs~v5"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.chris</field> </block> </value> <value name="B"> <block type="get_value" id="z8G;`UV.pYvI~]wsGK%a"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.tanja</field> </block> </value> </block> </value> <value name="B"> <block type="get_value" id="7+WNSriRnZzM,9dIckSH"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.gast</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="J67*dVUc$b[4#CJ4y^nS" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="get_value" id="0.n3`q$K|V~ZzI2yi*A|"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.marcel</field> </block> </value> <value name="B"> <block type="get_value" id="xQ(+%ts?9qdF_:1t1g%g"> <field name="ATTR">val</field> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.milena</field> </block> </value> </block> </value> </block> </value> <value name="B"> <block type="logic_boolean" id="FKsX^!Blk}@JlR-wo.bp"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id=",%L+mbbI0-6pgQ(s,^~4"> <mutation delay_input="false"></mutation> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.einerda</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="-d-(C@l-5@g`Kw,y^u?x"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="ZT#9(7|YkhYTdiZ{/t?m"> <mutation delay_input="false"></mutation> <field name="OID">EIGENE_OBJEKTE.0.ANWESENHEIT.einerda</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="aGFvgp#sgksLT;f^qQ2?"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </xml>Ich hoffe ihr versteht was ich da vor habe ;)
-
ahh schade der könnte das alles out of the box... habe mir nen Slave RPI mit der Radar instanz gemacht, evtl auch ne möglichkeit für dich dein System zu schonen :)
bei sonst einerda falsch timeout xmin und stopp block des timeouts davor und stopp block über mache
