@mfroeschl sagte in JavaScript Adapter starten Cron-Jobs nicht mehr richtig:
Nein. Da wird 19:39 ausgegeben, obwohl als Logzeitpunkt 20:39 aufgezeichnet wird
Woran kann das liegen?
dann passt deine Systemzeit nicht ^^ hatte ich auch schon
@mfroeschl sagte in JavaScript Adapter starten Cron-Jobs nicht mehr richtig:
Nein. Da wird 19:39 ausgegeben, obwohl als Logzeitpunkt 20:39 aufgezeichnet wird
Woran kann das liegen?
dann passt deine Systemzeit nicht ^^ hatte ich auch schon
das reine Blockly für die Türe sieht so aus:
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="*y6-cs.]])R2T1*4Je0;" x="-212" y="-537">
<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="AEUTQ$A$5Apb.ewlUOg`">
<field name="oid">0_userdata.0.Smarthome.Fenster_und_Türen.Wohnungstüre</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="JG0OF#mdUj6D#+K_!_D2">
<value name="IF0">
<block type="logic_compare" id="A41f;SHLi0Zq16Bl(=TM">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="4Te=m~kxMuo.ACT^4Dc!">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="1ak~viJQL-9ha;J;/:(I">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="LM?YM2PP[S^}bzGA~|CQ">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">alexa2.0.Echo-Devices.dfff8d63060d492dbbd0e9d897a39f88.Commands.announcement</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="text" id="0a;Tm]s^rW@o5k@eN:CD">
<field name="TEXT">Die Post war da.</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
Ich aktualisiere einen Datenpunkt, wenn wir Post haben. Machen wir die Türe auf und der Datenpunkt ist auf true, kommt die Meldung, dass wir Post haben.
@haselchen ja richtig, die vom 31.05. Nein, bei der Version habe ich persönlich nichts negatives im Verglich zur Stable Version feststellen können.
Bei mir läuft es auch wieder wie gewohnt. PERFEKT, danke dafür
@antonio-taverna
Hi,
ja habe mittlerweile eine Lösung für mich selber gefunden. Aktuell habe ich es noch so gelöst:
Ich denke mit Alias geht es mittlerweile einfacher, allerdings habe ich es noch nicht selber probiert.
Bei mir wird der Datenpunkt getriggert und entsprechend dem Wert (closed /open) einen selbst erstellten Datenpunkt mit true / false beschrieben.
@marty56 sagte in Tr-64 erkennen, ob ein Aufruf auf AB gesprochen wurde:
Danke fürs Feedback.
abindex scheint sich aber nur erhöhen, wenn man die Nachricht auf der Fritzbox speichert.
Das wollte ich eigentlich nicht machen, weil mir nicht klar ist, ob man die gespeicherten Nachrichten leicht verwalten kann. (Ich habe die Fritzbox noch nicht lange). Eine Email mit der Nachricht reicht mir eigentlich.
Hi,
kann es sein, dass sich ABindex mittlerweile überhaupt nicht mehr aktualisiert? egal ob intern oder auf USB gespeichert?
@djmarc75 sagte in Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen:
@felix18 Zusammenfassend würde ich aber sagen dass das Skript für Dich eher weniger in Frage kommt, da nicht nur Pushover sondern auch einige ZigbeeDevices, Alexa, FBCheckpresence, Aliase, eigene DPs welche von anderen Skripten beschrieben werden, usw im Einsatz sind.
Das macht es schwierig für Dein (und auch mein) System umzusetzen
Da gebe ich dir Recht, das Blockly ist sehr "verschachtelt", nicht 1:1 übernehmbar und sicher auch nicht sehr elegant umgesetzt.
@felix18 sagte in Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen:
@phantomkommander oder aber am besten das ganze Blockly wie oben uploaden!
Hi,
sorry eben erst gesehen.
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</variable>
<variable type="timeout" id="timeout2">timeout2</variable>
<variable type="timeout" id="timeout">timeout</variable>
</variables>
<block type="variables_set" id="lcV4@YcxeeA;O#$MIxd%" x="237" y="-713">
<field name="VAR" id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</field>
<value name="VALUE">
<block type="math_number" id="X4#@{ccyO5TTu`5DP8$1">
<field name="NUM">0</field>
</block>
</value>
</block>
<block type="on_ext" id="*y6-cs.]])R2T1*4Je0;" x="-212" y="-537">
<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="AEUTQ$A$5Apb.ewlUOg`">
<field name="oid">0_userdata.0.Smarthome.Fenster_und_Türen.Wohnungstüre</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="JG0OF#mdUj6D#+K_!_D2">
<value name="IF0">
<block type="logic_compare" id="A41f;SHLi0Zq16Bl(=TM">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="4Te=m~kxMuo.ACT^4Dc!">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="1ak~viJQL-9ha;J;/:(I">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="LM?YM2PP[S^}bzGA~|CQ">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">alexa2.0.Echo-Devices.dfff8d63060d492dbbd0e9d897a39f88.Commands.announcement</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="text" id="0a;Tm]s^rW@o5k@eN:CD">
<field name="TEXT">Die Post war da.</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
<block type="on_ext" id="i|fVv5b85}pWp)MKMw7l" x="894" y="-500">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="%zFTA^:4}r#G7fiBGe1o">
<field name="oid">zigbee.0.00158d000852a4f9.tilt_angle_z</field>
</shadow>
</value>
<value name="OID1">
<shadow type="field_oid" id="#i:zct=A$0m+C.nw$_]%">
<field name="oid">zigbee.0.00158d000852a4f9.tilt_angle_y_abs</field>
</shadow>
</value>
<value name="OID2">
<shadow type="field_oid" id="J]_IHgXdDj:o$$`m8T2k">
<field name="oid">zigbee.0.00158d000852a4f9.vibration</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="debug" id="8]5Z6tecNBTPqC8yv{Bj">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="OH1INFxT_kZ//aw~Z:]2">
<field name="TEXT">Vibrationsalarm ausgelöst</field>
</shadow>
</value>
<next>
<block type="timeouts_wait" id="h@y(LmNY@Ycz/tSk@g%t" disabled="true">
<field name="DELAY">3</field>
<field name="UNIT">sec</field>
<next>
<block type="math_change" id="eRNg^[V2G~G/}E]=2n4O">
<field name="VAR" id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</field>
<value name="DELTA">
<shadow type="math_number" id="5cCpmL[J_535B#UA[2aO">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="WThZ!J/l:sV~S7*RT%BA">
<field name="NUM">1</field>
</block>
</value>
<next>
<block type="controls_if" id="B0A`mKW|CMdRX5qX*OFS">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="^-,B,)Ab0lY(1FZuY%YI" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_operation" id="iGAc%${X6XX7)DK{(LgA" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_operation" id="Czi[Z+/}$a!d!gAM#X.c" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_operation" id="]4Zc{0.l:0`(%Bzmyiat" inline="false">
<field name="OP">OR</field>
<value name="A">
<block type="logic_operation" id="+%jX2CP9Lyl_9|+sYyEv" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="nHKEC=y:Vza;1`2F{hy3">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="AV+-(!.f+Ou)0zbqKrZ/">
<field name="ATTR">val</field>
<field name="OID">fb-checkpresence.0.familyMembers.Privat.Florian-Handy.presence</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="9hl[~)aBs+d6??QLGXw8">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="GQFuiAK7ko*5sy+Ia?qh">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="rQGR*lvo3=-^vd?-Ma@1">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Datenpunkte-Zustände.Alarmanlage_Trigger</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="I=PM%9(?5cO=T)U^qvhw">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="hx#%YUG3[8v+,o=y{0zi" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="`CJTlf_6.wd[w1gn+10p">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="%PE1w4z}:wF:+c,JJJ.^">
<field name="ATTR">val</field>
<field name="OID">fb-checkpresence.0.familyMembers.Arbeit.Florian-Privat.presence</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="|G%gwm)i*r#T@}h6tGiG">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="T%){;){Kt?DI}we0LL4^">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="bunbY:M1,O/B0)Y$/,}=">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Datenpunkte-Zustände.Alarmanlage_Trigger</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="b,$@:7d1X=0Q=5dl(p$p">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="sXZfC@nHZA0$~$nvFs[*">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="xfMGcJ-rrNJ~Ar$f2nCd">
<field name="ATTR">val</field>
<field name="OID">fb-checkpresence.0.familyMembers.Privat.Galaxy-A51-von-Andrea.presence</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="5b`_rT}P^+:4,!rgikzO">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="gu5JRFT-6j^DE-ZenI/b" inline="false" disabled="true">
<field name="OP">OR</field>
<value name="A">
<block type="logic_compare" id="qK0}I^1)nGnUs73{IX;f">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id=".YFae_fbL/SB_pzMtvT#">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d000852a4f9.tilt_angle_y_abs</field>
</block>
</value>
<value name="B">
<block type="math_number" id="`NCF.+P-,C!sHGgFLbI=">
<field name="NUM">168</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="F-;?-ab;GGR;J@|4W+a/">
<field name="OP">GT</field>
<value name="A">
<block type="get_value" id="cP4h8J%N6|-zhWF(7pk]">
<field name="ATTR">val</field>
<field name="OID">zigbee.0.00158d000852a4f9.tilt_angle_z</field>
</block>
</value>
<value name="B">
<block type="math_number" id="]O)F9*Zwe!1qA~Q6qD5o">
<field name="NUM">40</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="ZVPtr,(!E;bQqyzIroV-" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="l}3NC$`1DpjGq$;/3%)_">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="1,0k!JS@[D4~ro%PFTCv">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Ao^}ea11-[_,k_Z~nXV?">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="J;)trvRVzC$Ly/~np0k+">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="k}/}oNGY[oiOTPjHw5nq">
<field name="VAR" id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</field>
</block>
</value>
<value name="B">
<block type="math_number" id="7Uk2*},.Z;r4(m]F.TOx">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="|{sX6+g]FHZha{|QBWdy">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="vD49B+#aGsq(I[UHnb{c">
<field name="TEXT">Briefkasten wurde geleert.</field>
</shadow>
</value>
<next>
<block type="control" id="YuDu#J6PfJvE{BW8d?CR">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">alexa2.0.Echo-Devices.dfff8d63060d492dbbd0e9d897a39f88.Commands.announcement</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="text" id="27M,[=mH{O`uItiO+NI)">
<field name="TEXT">Der Briefkasten wurde geleert</field>
</block>
</value>
<next>
<block type="pushover" id="rmf541]8Z,H3D2AD0I}S">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="QkGk1V2i}fVj=F)u.@e|">
<field name="TEXT">Der Briefkasten wurde geleert</field>
</shadow>
</value>
<next>
<block type="debug" id="!M=jh-5Cd,Gg+7PkVsqt">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="r2`jsUp-h_s|X3z4=LA#">
<field name="TEXT">Timer startet</field>
</shadow>
</value>
<next>
<block type="timeouts_settimeout" id="ul3rz1cJ32Xrzc163UL1">
<field name="NAME">timeout</field>
<field name="DELAY">1</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="debug" id=";AWtEbAge=R+h7T[i(7g">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="f5fxoUrR2=!}nKZJRal5">
<field name="TEXT">Timer abgelaufen</field>
</shadow>
</value>
<next>
<block type="update" id="E7!|U=@?7*Aol1x]=e;v">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="pG|y*8tnxCz=]u?|o,._">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="}MB7Bt/k}Q9iX;`Cp)OG">
<field name="VAR" id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</field>
<value name="VALUE">
<block type="math_number" id="dr5v!`|4zK/W!$U^,P^o">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="timeouts_cleartimeout" id="^rvnSK2H8ic~E`F0f|NM">
<field name="NAME">timeout</field>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="debug" id="z2jx5AG1w,nO|B-pG~0%">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="SUU6-CFE_iK4EQ(XF7F{">
<field name="TEXT">Falls hat nicht ausgelöst</field>
</shadow>
</value>
<next>
<block type="timeouts_settimeout" id="dEj`1-?L!A|LJHUA*a_9">
<field name="NAME">timeout2</field>
<field name="DELAY">1</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="debug" id="I%#|d/Fj_VGL|Dz]ATyo">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="(XX3[KFZ)!r+qIXA8Em(">
<field name="TEXT">Timeout 2 abgelaufen</field>
</shadow>
</value>
<next>
<block type="variables_set" id="L?K9Unx7{5aZWAjs=*Gd">
<field name="VAR" id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</field>
<value name="VALUE">
<block type="math_number" id="H_k0e.dQv{X7I2ik-TrL">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="timeouts_cleartimeout" id="nR|r}Gi``isZO6HZ3*mU">
<field name="NAME">timeout</field>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
<block type="on_ext" id="lTY]3N1fa|Lt[/_M{d=P" x="13" y="-237">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">any</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="`aW4I-?NhC6eJ/-3PsAL">
<field name="oid">alias.0.Treppenhaus.Briefkasten.Status.lastupdate</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="debug" id="6HWY$ffIDo-J1Ee|SgPB">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="DF,;A{P*O^fU1ql~hv!1">
<field name="TEXT">Bewegungsmelder aktualisiert</field>
</shadow>
</value>
<next>
<block type="controls_if" id="D@#ux7d{i~S__vjhTdZn">
<value name="IF0">
<block type="logic_operation" id="Z(%IWuppU4/7C+MN}!n1" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="time_compare_ex" id="pUAmS|w[~l%4:{*xx#S8">
<mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
<field name="USE_ACTUAL_TIME">TRUE</field>
<field name="OPTION">between</field>
<value name="START_TIME">
<shadow type="text" id="%jLJWzoa/@Ky1/dR=?D*">
<field name="TEXT">07:00</field>
</shadow>
</value>
<value name="END_TIME">
<shadow type="text" id="7C6PX}).%exzNRw5z5K[">
<field name="TEXT">18:00</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="M)n~3xHU3@ysLlW1Gpk)">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=";J;a/p)ySe$ji4c|dTp1">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="F##?Q(r|W41r,;/xU^Cj">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="debug" id="f=XWWxO~+|XLE/=d%hNL">
<field name="Severity">log</field>
<value name="TEXT">
<shadow type="text" id="%D3Q[b0*9x-HnFqYSf=9">
<field name="TEXT">Briefkasten wurde befüllt</field>
</shadow>
</value>
<next>
<block type="control" id="%7*s:CKL2)[RpjaO}(Yj">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.dfff8d63060d492dbbd0e9d897a39f88.Commands.announcement</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="L1=pk#6Nf#|-b|3SKZ#M">
<field name="TEXT">Die Post ist da!</field>
</block>
</value>
<next>
<block type="pushover" id="cqtYl)[,Bo9$LD-$/+N9">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id=":~c!H0A0C=T7E1[+[NL*">
<field name="TEXT">Post ist da.</field>
</shadow>
</value>
<next>
<block type="update" id="]hW7~[C9Rt=yiyWrDro]">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id=".Va])il[7U@rh`VAfJCs">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
<block type="on_ext" id="rv)=:My)YQg/T2o+~7e#" x="-788" y="87">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">ne</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="ZD+LIBR=^EbGcw`IjE;v">
<field name="oid">alexa2.0.History.summary</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="rpMEj)rqP-QW=OKu7Od4">
<value name="IF0">
<block type="logic_operation" id="MkBoXS~f/wHf*#@~LRSH" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Uug|#_p0uj;8=BMEaYtD">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="V5r7vVkXy4L!it)[^qbx">
<field name="ATTR">val</field>
<field name="OID">alexa2.0.History.summary</field>
</block>
</value>
<value name="B">
<block type="text" id="3#%B0@f`UER^xtG6R9|?">
<field name="TEXT">post</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="miExzG{S,/gqi42aPJ~T">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="h2{[piMrYp$dY=A%8M|~">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="x.8B^cFxg3U|E]~T8pvP">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="timeouts_wait" id="s+%(.R1o,$bT|z7Bn1bb" disabled="true">
<field name="DELAY">5</field>
<field name="UNIT">min</field>
<next>
<block type="pushover" id="ilu_@]$pT%`F|N4E2fY#">
<field name="INSTANCE"></field>
<field name="SOUND"></field>
<field name="PRIORITY">0</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="!%P}--mLpdnS3kbc;(v!">
<field name="TEXT">Der Briefkasten wurde von Alexa geleert.</field>
</shadow>
</value>
<next>
<block type="variables_set" id="fEh1FUnPprpIuY:[m#M*">
<field name="VAR" id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</field>
<value name="VALUE">
<block type="math_number" id="`5h|IQ11y.tt|A)S7Y_P">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="update" id="n[_7]mOfDt8k:O9CCmzI">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="BA3B^iC1y*uR:Q.%SN^f">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
<block type="schedule" id="OUzW{u`QM~6ae.o!_HQ*" x="762" y="1238">
<field name="SCHEDULE">0 0 * * 1-6</field>
<statement name="STATEMENT">
<block type="controls_if" id="7oYe{=.sX.c),8]-cn7O">
<value name="IF0">
<block type="logic_compare" id="O3{^{}anrSB1_Yj%7{~d">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="4]aEtl66Yquy`ySBj8(*">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=".p`Bk](Q+F,@{^={;WIf">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="update" id="fCMAA4KAE.1L[{}*YKNh">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="f2o4BSRMTU_2QfS,0BM?">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="wWJ:dk#9b]Agih6bA(nR">
<field name="VAR" id="7@H6Hmpl25v1=tL9tu)Y">wird geöffnet</field>
<value name="VALUE">
<block type="math_number" id="ZTb9cB39Nwkz}9:F5ySN">
<field name="NUM">0</field>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>
@djmarc75
der Datenpunkt wird über das leeren des Briefkastens zurückgesetzt. ja, sonst hätte man jeden Tag Post.
So sieht das ganze teil aus:
das reine Blockly für die Türe sieht so aus:
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="*y6-cs.]])R2T1*4Je0;" x="-212" y="-537">
<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="AEUTQ$A$5Apb.ewlUOg`">
<field name="oid">0_userdata.0.Smarthome.Fenster_und_Türen.Wohnungstüre</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="JG0OF#mdUj6D#+K_!_D2">
<value name="IF0">
<block type="logic_compare" id="A41f;SHLi0Zq16Bl(=TM">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="4Te=m~kxMuo.ACT^4Dc!">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.Smarthome.Briefkasten</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="1ak~viJQL-9ha;J;/:(I">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="LM?YM2PP[S^}bzGA~|CQ">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">alexa2.0.Echo-Devices.dfff8d63060d492dbbd0e9d897a39f88.Commands.announcement</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="text" id="0a;Tm]s^rW@o5k@eN:CD">
<field name="TEXT">Die Post war da.</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
Ich aktualisiere einen Datenpunkt, wenn wir Post haben. Machen wir die Türe auf und der Datenpunkt ist auf true, kommt die Meldung, dass wir Post haben.
@felix18
Hi,
ich habe ähnliches Setup, allerdings mit einem Tür Kontakt. Wenn die Wohnungstüre geöffnet wird, bekomme ich eine Sprachmeldung: "Die Post war da"
ich denke mit deinem Setup ist das sicher auch möglich.
@thomas-braun ah ok, hatte ich nicht mitbekommen.
@meister-mopper gab es nicht auch mal ein Fehler, bei dem der Stick nicht mehr richtig erkannt wurde?
@ilovegym sagte in Überwachen der ersten Stunde des Geschirrspülers:
ich war in meinem frueheren Leben mal 15 Jahre lang in der Entwicklung&Support bei einem großen weiße Waren Hersteller..
deshalb wollte ich auf sowas hinaus.. aber lass ihn erstmal die Zeit überwachen, und noch 5x das dreckige Geschirr mit der Hand spülen, bis er Tipps diesbezüglich annehmen mag..Ist ja sein Geschirr, nicht meins..
Lass es doch einfach gut sein! JA es ist mein Geschirr, und JA es kann dir egal sein, ob ich 5 oder 10 mal die Werte Prüfe!
Weiter schreibe ich besser nichts mehr.
Vielleicht kann ein Admin die Komentarfunktion deaktivieren.