Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Felix18 @Phantomkommander last edited by

      @phantomkommander hast du ein Skript zu, das du mal preis geben würdest? Ob nun Türkontakt oder Bewegungsmelder das spielt dann ja keine rolle.

      Phantomkommander 1 Reply Last reply Reply Quote 0
      • Phantomkommander
        Phantomkommander @Felix18 last edited by Phantomkommander

        @felix18

        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>
        

        f0e8c41b-f319-4d86-af60-26bd9e38c37c-image.png

        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.

        DJMarc75 F 3 Replies Last reply Reply Quote 1
        • DJMarc75
          DJMarc75 @Phantomkommander last edited by

          @phantomkommander sagte in Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen:

          das reine Blockly für die Türe sieht so aus

          Wie immer bitte auch einen Screenshot vom Skript zeigen.

          1 Reply Last reply Reply Quote 0
          • F
            Felix18 @Phantomkommander last edited by

            @phantomkommander cool danke, so simpel das 😉 das ich da nicht drauf gekommen bin !!! 1000 Dank phantomkommander!!!

            @DJMarc75 kopiere das Skript einfach in Blockly, dann kannst du es öffnen!

            DJMarc75 1 Reply Last reply Reply Quote 0
            • DJMarc75
              DJMarc75 @Felix18 last edited by

              @felix18 sagte in Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen:

              kopiere das Skript einfach in Blockly, dann kannst du es öffnen!

              aha, dann mache ich das in Zukunft so !

              Danke @Phantomkommander für den Screenshot 👍

              1 Reply Last reply Reply Quote 0
              • DJMarc75
                DJMarc75 @Phantomkommander last edited by DJMarc75

                @phantomkommander

                Bau da noch den BriefkastenDP auf false ein 😉

                Screenshot 2024-01-05 230402.png

                Phantomkommander 1 Reply Last reply Reply Quote 0
                • Phantomkommander
                  Phantomkommander @DJMarc75 last edited by Phantomkommander

                  @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:

                  c146147f-68e9-4d86-a8d2-cd6ef2f8dd3b-image.png

                  F 3 Replies Last reply Reply Quote 0
                  • F
                    Felix18 @Phantomkommander last edited by

                    @phantomkommander
                    Hallo Phantomkommander, könntest du bitte nochmal alle Skripte nochmal einzeln Hochladen?? Ich kann das so garnicht lesen, da es so klein ist! Dafür wäre ich dir sehr Dankbar!!!

                    1 Reply Last reply Reply Quote 0
                    • F
                      Felix18 @Phantomkommander last edited by

                      @phantomkommander oder aber am besten das ganze Blockly wie oben uploaden!

                      Phantomkommander 1 Reply Last reply Reply Quote 0
                      • Phantomkommander
                        Phantomkommander @Felix18 last edited by

                        @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>
                        
                        1 Reply Last reply Reply Quote 0
                        • F
                          Felix18 @Phantomkommander last edited by

                          @phantomkommander sorry Phantomkommander, ich muss dich nochmal stören!!!
                          Das kopieren funktionier nicht, da sind wahrscheinlich ein paar Buchstaben zwischen die ein ERROR verursachen. Foto wäre vielleicht doch besser oder gibt es ein link im Internet??
                          Ich danke dir nochmals, das du Dir die Zeit nimmst!!

                          D DJMarc75 2 Replies Last reply Reply Quote 0
                          • D
                            DennisMenger @Felix18 last edited by

                            @felix18 ich konnte das Blockly einwandfrei importieren

                            Wie hast du denn versucht das Blockly zu importieren?

                            F 1 Reply Last reply Reply Quote 0
                            • DJMarc75
                              DJMarc75 @Felix18 last edited by

                              @felix18 sagte in Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen:

                              Das kopieren funktionier nicht

                              Hast Du denn den Adapter PushOver auch installiert ?

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                Felix18 @DJMarc75 last edited by

                                @djmarc75 nein

                                DJMarc75 1 Reply Last reply Reply Quote 0
                                • F
                                  Felix18 @DennisMenger last edited by

                                  @dennismenger text kopiert und im Blockly unter Blöcke importieren eingefügt.

                                  1 Reply Last reply Reply Quote 0
                                  • DJMarc75
                                    DJMarc75 @Felix18 last edited by

                                    @felix18 sagte in Abwesenheit geschehene Aktionen/Anwesenheit vorlesen lassen:

                                    nein

                                    Um ein Blockly importieren zu können müssen auch alle Adapter, welche im Skript verwendet werden, installiert sein - sonst geht das nicht.
                                    Also installiere Dir den PushOver-Adapter 😉

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      Felix18 @DJMarc75 last edited by

                                      @djmarc75 okay, wusste nicht, das der benötigt wird. Mache alles per whatts app und Telegramm.

                                      DJMarc75 1 Reply Last reply Reply Quote 0
                                      • DJMarc75
                                        DJMarc75 @Felix18 last edited by DJMarc75

                                        @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 😉

                                        Hier mal das Skript ohne die PushoverBlöcke zum Importieren:

                                        <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="-637">
                                           <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>
                                           <next>
                                             <block type="on_ext" id="*y6-cs.]])R2T1*4Je0;">
                                               <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>
                                               <next>
                                                 <block type="on_ext" id="lTY]3N1fa|Lt[/_M{d=P">
                                                   <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="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>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="on_ext" id="rv)=:My)YQg/T2o+~7e#">
                                                       <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="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>
                                                           </statement>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                         <block type="on_ext" id="i|fVv5b85}pWp)MKMw7l" x="913" y="-512">
                                           <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="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>
                                                           </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>
                                           <next>
                                             <block type="schedule" id="OUzW{u`QM~6ae.o!_HQ*">
                                               <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>
                                           </next>
                                         </block>
                                        </xml>
                                        

                                        F Phantomkommander 2 Replies Last reply Reply Quote 0
                                        • F
                                          Felix18 @DJMarc75 last edited by

                                          @djmarc75 danke djmarc75,Danke, damit kann ich ja schon mal was anfangen. Das ich das Skript nicht 1:1 übernehmen kann ist mir schon bewusst. Ich wollte mir einfach nur ein überblick über das Skript verschaffen, um das Skript lesen und verstehen zu lernen/können, da ich mich erst seit einiger Zeit damit beschäftige.

                                          1 Reply Last reply Reply Quote 0
                                          • Phantomkommander
                                            Phantomkommander @DJMarc75 last edited by

                                            @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. 😉

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            853
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            22
                                            957
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo