Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst] Blockly Alarmanlage

    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

    [gelöst] Blockly Alarmanlage

    This topic has been deleted. Only users with topic management privileges can see it.
    • SmarthomeMF
      SmarthomeMF last edited by

      Hallo

      Ich möchte mir nun noch eine Alarmanlage bauen.

      Habe schon mal ein Blockly zusammen gebaut….

      Ich kann die Alarmanlage mit einem kurzen Klick auf den Switch einschalten.

      Die Lichter blinken dann auch wie gewünscht.

      Es wird auch der zweite Blockly angeschaltet.

      Mit einem langen Klick geht das Ganze auch wieder aus

      Ich bekomme auch die Meldungen vom Telegramm.

      ! ````
      <xml xmlns="http://www.w3.org/1999/xhtml"><block id="aQ!wnRA4_xq}N6MVPilz" type="on" x="-562" y="-288"><field name="OID">mihome.0.devices.switch_158d00019c97fb.click</field>
      <field name="CONDITION">ne</field>

      <statement name="STATEMENT"><block id="ZyC;P?~sDlh`mJ@0NYw2" type="controls_if"><value name="IF0"><block id="l:WLz-`+S@)@NqgI^JKP" type="get_value"><field name="ATTR">val</field>
              <field name="OID">mihome.0.devices.switch_158d00019c97fb.click</field></block></value> 
          <statement name="DO0"><block id="r]8i.|lrlVDJ]/nX8i.o" type="control"><mutation delay_input="false"></mutation>
              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE"><block id="1G*=|;[vOEhon}4q2it|" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
              <next><block id="H}kh`0w/}T{UH{s4%iTp" type="control"><mutation delay_input="false"></mutation>
                  <field name="OID">javascript.0.scriptEnabled.common.Alarm_Datenpunkt</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE"><block id="SW9xI5l1p4-q(AjI5,J7" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                  <next><block id="bpH9R|LW]eQ2-0[Q#Hn+" type="telegram"><field name="INSTANCE">.0</field>
      
                      <value name="MESSAGE"><shadow id="g{;RoBaIJV8SPv%ChLG?" type="text"><field name="TEXT">Alarmanlage an</field></shadow></value> 
                      <next><block id="/XeqP+4q2/(*=yBby=|`" type="control"><mutation delay_input="true"></mutation>
                          <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">1</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE"><block id="1n(8,IshL^!x}xyWt13@" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                          <next><block id="v7wFsES^fghf^XIx7U+4" type="control"><mutation delay_input="true"></mutation>
                              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">2</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE"><block id="3]3:;.2^r*Zn0|%gYGTD" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                              <next><block id="DWOf:S*UQN].}8*bfMdn" type="control"><mutation delay_input="true"></mutation>
                                  <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">3</field>
                                  <field name="UNIT">sec</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE"><block id="+`zliCOk^Dm2QU)t+?~2" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                  <next><block id="^o[tE#*Gj3tRkmPq6f2V" type="control"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">4</field>
                                      <field name="UNIT">sec</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block id="5mA(NHS*bzxNXe9T@%8o" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block> 
      

      <block id="qOc8Fb5G}1gS{],ffy5K" type="on" x="-612" y="263"><field name="OID">mihome.0.devices.switch_158d00019c97fb.long</field>
      <field name="CONDITION">ne</field>

      <statement name="STATEMENT"><block id="1iQ^-FNIC`;E:M^I5gK:" type="controls_if"><value name="IF0"><block id="Pye3j2^u_g.M1p0(|{A;" type="get_value"><field name="ATTR">val</field>
              <field name="OID">mihome.0.devices.switch_158d00019c97fb.long</field></block></value> 
          <statement name="DO0"><block id="3!U((8^C=@E!37AwZLq3" type="control"><mutation delay_input="false"></mutation>
              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE"><block id="ojie#5*SX[c,qU^#7o}U" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
              <next><block id="?uBk3m[+tzkc6]VB:.|k" type="control"><mutation delay_input="false"></mutation>
                  <field name="OID">javascript.0.scriptEnabled.common.Alarm_Datenpunkt</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE"><block id="dzsy[3U^x[v:bXlZG,EL" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                  <next><block id="IQZCJ;3v,@}#d*O;wJ_[" type="telegram"><field name="INSTANCE">.0</field>
      
                      <value name="MESSAGE"><shadow id="61lrt,~tO9CF3T{C#4N!" type="text"><field name="TEXT">Arlamanlage aus</field></shadow></value> 
                      <next><block id="]o~mX^5k^H-UNc!-Er.Q" type="control"><mutation delay_input="true"></mutation>
                          <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">1</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE"><block id="^/nu`Rq(e+rr=e~zYWQN" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                          <next><block id="oyzwodOXU^n[m~Z(hGzV" type="control"><mutation delay_input="true"></mutation>
                              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">2</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE"><block id="/V*#ve?9LytYwc:o~XE0" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                              <next><block id="ZX,h;2~Jg2^f@fM^9XkC" type="control"><mutation delay_input="true"></mutation>
                                  <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">3</field>
                                  <field name="UNIT">sec</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE"><block id="IB.0On5%n4|.~1f~Uq9-" type="logic_boolean"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block></xml> 
      
      
      Im zweiten Blockly habe ich dann versuch das so zusammen zu bauen!
      
      Wenn die Tür geöffnet werden soll wieder ein Licht blinken …..
      
      Aber das tut es nicht.
      
      >! ````
       <xml xmlns="http://www.w3.org/1999/xhtml"><block id="mWo*fz_FrGqurY@@DtJd" type="on_ext" x="-512" y="-287"><mutation items="1"></mutation>
          <field name="CONDITION">ne</field>
      
          <value name="OID0"><shadow id=":0Aw~]IUuWnFdItp.=aT" type="field_oid"><field name="oid">javascript.0.scriptEnabled.common.Alarm_Datenpunkt</field></shadow></value> 
          <statement name="STATEMENT"><block id="ZyC;P?~sDlh`mJ@0NYw2" type="controls_if"><value name="IF0"><block id="l:WLz-`+S@)@NqgI^JKP" type="get_value"><field name="ATTR">val</field>
                  <field name="OID">mihome.0.devices.magnet_158d0002026099.state</field></block></value> 
              <statement name="DO0"><block id="r]8i.|lrlVDJ]/nX8i.o" type="control"><mutation delay_input="false"></mutation>
                  <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE"><block id="1G*=|;[vOEhon}4q2it|" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                  <next><block id="bpH9R|LW]eQ2-0[Q#Hn+" type="telegram"><field name="INSTANCE">.0</field>
      
                      <value name="MESSAGE"><shadow id="g{;RoBaIJV8SPv%ChLG?" type="text"><field name="TEXT">Alarm Alarm Alarm</field></shadow></value> 
                      <next><block id="/XeqP+4q2/(*=yBby=|`" type="control"><mutation delay_input="true"></mutation>
                          <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">1</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE"><block id="1n(8,IshL^!x}xyWt13@" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                          <next><block id="v7wFsES^fghf^XIx7U+4" type="control"><mutation delay_input="true"></mutation>
                              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">2</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE"><block id="3]3:;.2^r*Zn0|%gYGTD" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                              <next><block id="DWOf:S*UQN].}8*bfMdn" type="control"><mutation delay_input="true"></mutation>
                                  <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">3</field>
                                  <field name="UNIT">sec</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE"><block id="+`zliCOk^Dm2QU)t+?~2" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                  <next><block id="^o[tE#*Gj3tRkmPq6f2V" type="control"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">4</field>
                                      <field name="UNIT">sec</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block id="5mA(NHS*bzxNXe9T@%8o" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block></xml> 
      

      Das Ganze schaut wieder einmal sehr komplex aus.

      Ich weiß nicht was ich das falsch gemacht habe oder ob das Ganze so passt.

      Bitte um Hilfe den ich weiß nicht mehr weiter.

      Danke
      4668_unbenannt_8.png
      4668_unbenannt_7.png

      1 Reply Last reply Reply Quote 0
      • E
        el-lutschi last edited by

        Hallo,

        also zuerst einmal würde ich bei den falls Bausteinen noch eine = wahr Abfrage dazu machen, also:

        falls Wert von Objekt ID = WAHR

        Zum Problem im 2ten Skript.

        Wenn ich das richtig verstehe willst du, dass der Alarm ausgelöst wird wenn du die Alarmanlage AN hast und die Tür geöffnet wird. Dazu musst du beim trigger den Türstatus abfragen, also:

        Falls Objekt Tür wurde geändert

        falls Wert von Objekt ID Tür = wahr und Wert von Objekt ID Alarmanlage = wahr

        mache…..... den Rest deines Skripts.

        So sollte es klappen. Ich kann dir morgen gern das Skript nachbauen und posten. Bin heut leider nicht mehr zuhaus.

        Gruß

        Chris

        1 Reply Last reply Reply Quote 0
        • SmarthomeMF
          SmarthomeMF last edited by

          Hallo

          Nun habe ich es am laufen.

          alles noch mal leicht abgeändert und es funktioniert!! 😄

          Das erste Blockly

          ! ````
          <xml xmlns="http://www.w3.org/1999/xhtml"><block id="aQ!wnRA4_xq}N6MVPilz" type="on" y="-538" x="-738"><field name="OID">mihome.0.devices.switch_158d00019c97fb.click</field>
          <field name="CONDITION">ne</field>

          <statement name="STATEMENT"><block id="ZyC;P?~sDlh`mJ@0NYw2" type="controls_if"><value name="IF0"><block id=";Hs@_40[gz%/DHa=_Jxp" type="logic_compare"><field name="OP">EQ</field>
                  <value name="A"><block id="l:WLz-`+S@)@NqgI^JKP" type="get_value"><field name="ATTR">val</field>
                      <field name="OID">mihome.0.devices.switch_158d00019c97fb.click</field></block></value> 
                  <value name="B"><block id="eOD@uXN5{anyJxj.wATh" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
              <statement name="DO0"><block id="r]8i.|lrlVDJ]/nX8i.o" type="control"><mutation delay_input="false"></mutation>
                  <field name="OID">javascript.0.scriptEnabled.common.Alarm</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE"><block id="1G*=|;[vOEhon}4q2it|" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                  <next><block id="@k^:bvD-lJc4D6SSea0Y" type="debug"><field name="Severity">log</field>
                      <value name="TEXT"><shadow id="qWfeS6e;Z.5)0UpIrya+" type="text"><field name="TEXT">Alarmanlage an</field></shadow></value> 
                      <next><block id="1PPz10v{pCtDPFTwd3C`" type="telegram"><field name="INSTANCE">.0</field>
          
                          <value name="MESSAGE"><shadow id="ZiW[+1Z4qO1n%m(x?LH)" type="text"><field name="TEXT">Alarmanlage an</field></shadow></value> 
                          <next><block id="wOhYLhSH:Qu-QFB[Sy#{" type="control"><mutation delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block id="!J{`=-=@S{QO?5N{A=z`" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                              <next><block id="/XeqP+4q2/(*=yBby=|`" type="control"><mutation delay_input="true"></mutation>
                                  <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">1</field>
                                  <field name="UNIT">sec</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE"><block id="1n(8,IshL^!x}xyWt13@" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                  <next><block id="v7wFsES^fghf^XIx7U+4" type="control"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">2</field>
                                      <field name="UNIT">sec</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block id="3]3:;.2^r*Zn0|%gYGTD" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                      <next><block id="DWOf:S*UQN].}8*bfMdn" type="control"><mutation delay_input="true"></mutation>
                                          <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">3</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE"><block id="+`zliCOk^Dm2QU)t+?~2" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                          <next><block id="^o[tE#*Gj3tRkmPq6f2V" type="control"><mutation delay_input="true"></mutation>
                                              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">4</field>
                                              <field name="UNIT">sec</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE"><block id="5mA(NHS*bzxNXe9T@%8o" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block> 
          

          <block id="V[dGc}~LF,cOcN/ytWe!" type="on" y="38" x="-688"><field name="OID">mihome.0.devices.switch_158d00019c97fb.long</field>
          <field name="CONDITION">ne</field>

          <statement name="STATEMENT"><block id="C{RB{r;){:_e;)Pi9_ql" type="controls_if"><value name="IF0"><block id="89JuatTa{JuqvsM.){7U" type="logic_compare"><field name="OP">EQ</field>
                  <value name="A"><block id="CFFLCuw4qj~7VnYqo]MA" type="get_value"><field name="ATTR">val</field>
                      <field name="OID">mihome.0.devices.switch_158d00019c97fb.long</field></block></value> 
                  <value name="B"><block id="=5b;t%zA~sA4vR8@H:k," type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
              <statement name="DO0"><block id="V._m{M;5R5.1l4GR2[9}" type="control"><mutation delay_input="false"></mutation>
                  <field name="OID">javascript.0.scriptEnabled.common.Alarm</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE"><block id="(cJg%8+yu1nu-*:+1jp(" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                  <next><block id="!AAoA-e_kywI3wl:FXSS" type="debug"><field name="Severity">log</field>
                      <value name="TEXT"><shadow id="t1S1M7}g08y6r7iySY^s" type="text"><field name="TEXT">Alarmanlage aus</field></shadow></value> 
                      <next><block id="DqSgQ0N.DgnS=%g4{O%_" type="telegram"><field name="INSTANCE">.0</field>
          
                          <value name="MESSAGE"><shadow id="VB8M?kVHvEMPaot[DXZj" type="text"><field name="TEXT">Alarmanlage aus</field></shadow></value> 
                          <next><block id="J;*ytTK4[Rx;gl-J{-.B" type="control"><mutation delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE"><block id="M!OU{+Mknb_,#:A%]rxw" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                              <next><block id="JwzF~*RE-79/*Or71_8s" type="control"><mutation delay_input="true"></mutation>
                                  <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">1</field>
                                  <field name="UNIT">sec</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE"><block id="C5Z5`]%.OWv*MMyLeY{Z" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                                  <next><block id="l?2|pFeHr6D5Qi*}2R[N" type="control"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">2</field>
                                      <field name="UNIT">sec</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block id="lV1`1!X*F*qop?*f25l." type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                      <next><block id="}|Fe`SIB9sL7cfP]ud[w" type="control"><mutation delay_input="true"></mutation>
                                          <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER2</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">3</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE"><block id="p8gj;sCfv}{-I6wfRzUN" type="logic_boolean"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block></xml> 
          
          das zweite Blockly
          
          >! ````
           <xml xmlns="http://www.w3.org/1999/xhtml"><block id="173Dl`^-0-r#/_t4:fam" type="on" y="-37" x="-713"><field name="OID">mihome.0.devices.magnet_158d0002026099.state</field>
              <field name="CONDITION">ne</field>
          
              <statement name="STATEMENT"><block id="ZZ9#=`oCwqBQ~LBElZ6{" type="controls_if"><value name="IF0"><block id="G#)gwzBYj7]+p9Ek[y)d" type="logic_compare"><field name="OP">EQ</field>
                      <value name="A"><block id="q9?;_*fDx|7M4cJLCHq)" type="get_value"><field name="ATTR">val</field>
                          <field name="OID">mihome.0.devices.magnet_158d0002026099.state</field></block></value> 
                      <value name="B"><block id="7~/KqrChX8Hp018Yzo6L" type="logic_boolean"><field name="BOOL">TRUE</field></block></value></block></value> 
                  <statement name="DO0"><block id="r=-#uJsBH_?[-7JWsiY(" type="debug"><field name="Severity">log</field>
                      <value name="TEXT"><shadow id="Oh7ZQjt-vzoz*-gA[=Xd" type="text"><field name="TEXT">""ALARM""</field></shadow></value> 
                      <next><block id="l1/Qzlsxd4[~PyJE+fD!" type="control"><mutation delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE"><block id="v?Kh/*.+}VAg8jR(Ud/d" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                          <next><block id="a-v^qjtTMh/XF~3R!|;o" type="control"><mutation delay_input="true"></mutation>
                              <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">1</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE"><block id="hpe@8u-,W+NX:m1)d(f," type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                              <next><block id="[N=+NMx~?b+VOBwo-3QC" type="control"><mutation delay_input="true"></mutation>
                                  <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">2</field>
                                  <field name="UNIT">sec</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE"><block id="cwmpkzncxJ0V!rNWzv]U" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                                  <next><block id="YOeu:2PamC#]G);L)Ktl" type="control"><mutation delay_input="true"></mutation>
                                      <field name="OID">sonoff.0.Sonoff-T1-111-Keller2.POWER3</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">3</field>
                                      <field name="UNIT">sec</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE"><block id="gJ^six*;g=25Z_0{+XBD" type="logic_boolean"><field name="BOOL">FALSE</field></block></value></block></next></block></next></block></next></block></next></block></statement></block></statement></block></xml> 
          

          Wenn die Alarmanlage an ist und die Tür wird geöffnet fängt das Licht zu blinken an und ich bekomme eine Nachricht via Telegramm aufs Smarthome.

          Nun möchte ich auch noch eine Akustische Ausgabe haben!

          Im Eingabgsbereich habe ich ein Xiaomi Gateway….

          weiß aber nicht wie ich das mit dem Gateway machen kann.

          Und natürlich wäre auch ein Akustische Ausgabe am Tablett (wo ich das VIS am laugen habe) toll.

          Ich möchte am besten mit der Stimme von JARVIS (Ironman) die Ansage haben....

          Alarmanlage AN... Alarmanlage AUS....

          und beim Auslösen des Alarmes soll JARVIS (oder so) sagen " Dieses Haus ist Alarmgesichert. Der Besitzer und die Polizei wurde verständigt" :lol:

          Kann mir das wer helfen.

          Danke
          4668_unbenannt_11.png
          4668_unbenannt_10.png

          1 Reply Last reply Reply Quote 0
          • lobomau
            lobomau last edited by

            Zum Scharf- und Unscharfstellen kann ich das Blockly von rantanplan empfehlen:

            viewtopic.php?f=21&t=4769&hilit=rantanp … =20#p49863

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

            Support us

            ioBroker
            Community Adapters
            Donate

            412
            Online

            31.9k
            Users

            80.2k
            Topics

            1.3m
            Posts

            3
            4
            1308
            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