Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Anrufe auf FritzBox per Telegram auf Handy ankündigen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Anrufe auf FritzBox per Telegram auf Handy ankündigen

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

      Hallo zusammen!

      Wenn auf Festnetz jemand bei mir anruft, möchte ich eine Nachricht per Telegram auf mein Handy bekommen.
      Dazu habe ich ein Blockly erstellt. Ich habe bei YouTube eines gefunden, welches Alexa die Anrufer ankündigen läßt und es für meinen Zweck angepaßt. Leider funktioniert es nicht 😞 Wenn jemand anruft, meldet Telegram nix.
      Die Daten des Anrufers stehen aber in den Datenpunkten des ioBroker-TR64-Adapter drin!

      Vielleicht kann mir jemand sagen, wo das Problem liegt.

      Ich verstehe z.B. nicht, warum erst nach "ringing" ist "true" angefragt wird, und dann zusätzlich nochmal nach dem Wert von "OnCallStates" gleich "ring". Ist ja doppelt gemoppelt? Weiterhin weiß ich nicht, was der Timeout von einer Sekunde soll?

      Danke und Grüße,
      Marcus

      1595611095647-bildschirmfoto-2020-07-24-um-19.17.19.jpg

      Glasfaser F 2 Replies Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @invidianer last edited by

        @invidianer sagte in Anrufe auf FritzBox per Telegram auf Handy ankündigen:

        Ich habe bei YouTube eines gefunden

        Da sage ich nichts zu ..

        Ich kann dir das Empfehlen : Fenster und andere Geräte zählen opt. Alexa Ansagen

        I 1 Reply Last reply Reply Quote 1
        • I
          invidianer @Glasfaser last edited by

          @Glasfaser
          Danke, aber das ist dann doch ein "bisschen" zu komplex, um nur die Anrufe per Telegram zu bekommen.

          dslraser 1 Reply Last reply Reply Quote 0
          • dslraser
            dslraser Forum Testing Most Active @invidianer last edited by

            @invidianer

            @Glasfaser meint das im zweiten Beitrag

            https://forum.iobroker.net/post/273976

            I 1 Reply Last reply Reply Quote 0
            • I
              invidianer @dslraser last edited by

              @dslraser
              Ja, auch das habe ich gesehen, hilft mir aber nicht, denn da werden wohl irgendwelche Funktionen für gebracuht.

              dslraser 1 Reply Last reply Reply Quote 0
              • dslraser
                dslraser Forum Testing Most Active @invidianer last edited by

                @invidianer sagte in Anrufe auf FritzBox per Telegram auf Handy ankündigen:

                irgendwelche Funktionen für gebracuht.

                ähm, was meinst Du ?

                Und welche Version hast Du aktuell ?
                Mit 4.0.11 funktioniert es bei mir wieder.
                (Du warst doch neulich schon auf "Fehlersuche")

                I 1 Reply Last reply Reply Quote 0
                • I
                  invidianer @dslraser last edited by

                  @dslraser
                  Ich meine die JAVA-Skript Funktionen.
                  Ja, war ich. Auch nach dem Downgrade funktionierte es nur ein paar mal. Ja, ich weiß, ist komisch.

                  Wenn ihr in der Lage seid, 1000-seitige Blocklys zu entwickeln, dann werdet ihr mir ja wohl sagen können, was an meinem 5-Zeiligen falsch ist?! 😉

                  I dslraser 2 Replies Last reply Reply Quote 0
                  • I
                    invidianer @invidianer last edited by

                    Ich habe mein Skript mal vereinfacht, scheint auch zu funktionieren, allerdings zeigt er mir immer den LETZTEN Anrufer, nicht den AKTUELLEN an:

                    Bildschirmfoto 2020-08-01 um 23.22.00.jpg

                    F 1 Reply Last reply Reply Quote 0
                    • dslraser
                      dslraser Forum Testing Most Active @invidianer last edited by

                      @invidianer
                      da sieht auf den ersten Blick nix falsch aus
                      Und ich habe keine Lust es nach zu bauen.
                      (Du könntest ja auch mal einen Export hier rein stellen, dann würde es vielleicht Jemand importieren und ausprobieren)

                      I 1 Reply Last reply Reply Quote 0
                      • F
                        fastfoot @invidianer last edited by

                        @invidianer das on call states schaltet zu spät auf ring, deshalb funktioniert es nicht(gerade selbst getestet). Lass das Falls... also einfach weg. Den timeout benötigst du, da die Felder caller und callernumber etwas spät aktualisiert werden.

                        1 Reply Last reply Reply Quote 0
                        • I
                          invidianer @dslraser last edited by invidianer

                          @dslraser

                          Gute Idee 😉
                          Hier mal das zweite. Wenn ich wüßte, warum der Anrufer nicht aktualisiert wird, reicht mir das schon.

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="PO_Er88JZ#r/k,)=_|+W">Anrufername</variable>
                              <variable id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</variable>
                            </variables>
                            <block type="variables_set" id="*Zc]v09!Q%6#joG+Ei:T" x="13" y="-137">
                              <field name="VAR" id="PO_Er88JZ#r/k,)=_|+W">Anrufername</field>
                              <value name="VALUE">
                                <block type="logic_null" id="hq@8/?5(|EnrmY/2T#7)"></block>
                              </value>
                              <next>
                                <block type="variables_set" id="1HPrg.@o|QkT6.lH$Ebm">
                                  <field name="VAR" id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</field>
                                  <value name="VALUE">
                                    <block type="logic_null" id="CWnscBc[zRyr4vj;j%@C"></block>
                                  </value>
                                  <next>
                                    <block type="on" id="l1O_GvAVwV6Qa}gi5ol`">
                                      <field name="OID">tr-064.0.callmonitor.ringing</field>
                                      <field name="CONDITION">true</field>
                                      <field name="ACK_CONDITION"></field>
                                      <statement name="STATEMENT">
                                        <block type="variables_set" id="lM;E-f8bHJp}:WpzIa9F">
                                          <field name="VAR" id="PO_Er88JZ#r/k,)=_|+W">Anrufername</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="U7z3Ah4ti3oC*eOIb4[;">
                                              <field name="ATTR">val</field>
                                              <field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="t.MD}IVnzqTV]-04sv7O">
                                              <field name="VAR" id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</field>
                                              <value name="VALUE">
                                                <block type="get_value" id="QKdp!]RDa[E[*o%S_PcE">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">tr-064.0.callmonitor.inbound.caller</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="telegram" id="zm9[+AcU}V{{T1a@+dch">
                                                  <field name="INSTANCE"></field>
                                                  <field name="LOG"></field>
                                                  <field name="SILENT">FALSE</field>
                                                  <field name="PARSEMODE">default</field>
                                                  <value name="MESSAGE">
                                                    <shadow type="text" id="{/~)c~0#,A.Nu$:MzLI*">
                                                      <field name="TEXT">Anruf!</field>
                                                    </shadow>
                                                    <block type="text_join" id="`Bjmro*/-P=bq9X;4`1_">
                                                      <mutation items="3"></mutation>
                                                      <value name="ADD0">
                                                        <block type="text" id="wHFLh2T;(kx$L=^Vv|pj">
                                                          <field name="TEXT">Anruf von </field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD1">
                                                        <block type="variables_get" id="g.///^qK@vgkx.)$Z*$p">
                                                          <field name="VAR" id="PO_Er88JZ#r/k,)=_|+W">Anrufername</field>
                                                        </block>
                                                      </value>
                                                      <value name="ADD2">
                                                        <block type="variables_get" id=".0trD(7la{`G]VTza=Jp">
                                                          <field name="VAR" id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </xml>
                          
                          sigi234 dslraser 2 Replies Last reply Reply Quote 0
                          • F
                            fastfoot @invidianer last edited by

                            @invidianer sagte in Anrufe auf FritzBox per Telegram auf Handy ankündigen:

                            allerdings zeigt er mir immer den LETZTEN Anrufer, nicht den AKTUELLEN an:

                            siehe mein Kommentar zum timeout 🙂

                            I 1 Reply Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @invidianer last edited by

                              @invidianer

                              Bitte benutzt die Code Tags Funktion -> </>
                              Hier gehts zur Hilfe.

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                invidianer @fastfoot last edited by

                                @fastfoot
                                Danke!! Das probiere ich morgen mal aus (damit ich hier niemanden wecke) 😉

                                Eines aber noch: Das Setzen der beiden Variablen auf "null" wird vermutlich gar nicht funktionieren, weil es keinen Trigger hat? Ich meine, das Skript fängt erst nach dem "falls Objekt ringing ..." an, richtig? (Davon mal abgesehen, daß es vermutlich nicht nötig ist, die Variablen zu "nullen").

                                1 Reply Last reply Reply Quote 0
                                • I
                                  invidianer @sigi234 last edited by

                                  @sigi234
                                  Sry, done, thx 😉

                                  1 Reply Last reply Reply Quote 0
                                  • dslraser
                                    dslraser Forum Testing Most Active @invidianer last edited by

                                    @invidianer sagte in Anrufe auf FritzBox per Telegram auf Handy ankündigen:

                                    Gute Idee

                                    Das ist aber Dein gekürztes und nicht das Blockly aus dem ersten Beitrag....

                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      invidianer @dslraser last edited by

                                      @dslraser

                                      Stimmt, aber ich habe je geschrieben, daß es mir schon reicht, wenn mir jemand sagen kann, warum da der Anrufer nicht aktualisiert wurde ich das ist ja geschehen 😉

                                      Ich habe das erste Blockly bereits entsprechend angepasst und teste es morgen.
                                      So sieht es nun aus:

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable type="timeout" id="timeout">timeout</variable>
                                          <variable id="HP^vL38Xt4P{-Gc{4A.,">Anrufernummer</variable>
                                          <variable id="n,.bl90t$[=x3+48k@+#">Anrufername</variable>
                                          <variable id="Y)MXKWj1KTSU)`wXj{W0">Ausgabe</variable>
                                        </variables>
                                        <block type="on" id="l1O_GvAVwV6Qa}gi5ol`" x="138" y="88">
                                          <field name="OID">tr-064.0.callmonitor.ringing</field>
                                          <field name="CONDITION">true</field>
                                          <field name="ACK_CONDITION"></field>
                                          <statement name="STATEMENT">
                                            <block type="timeouts_settimeout" id="5*(_(vh~{z|d3b3)*?O-">
                                              <field name="NAME">timeout</field>
                                              <field name="DELAY">1000</field>
                                              <field name="UNIT">ms</field>
                                              <statement name="STATEMENT">
                                                <block type="variables_set" id="gDED/!Q}E[2_Bg8snR=o">
                                                  <field name="VAR" id="HP^vL38Xt4P{-Gc{4A.,">Anrufernummer</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="(^k9zO;1+2^I]-]MTurc">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">tr-064.0.callmonitor.inbound.caller</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="?LCU[n[X{M~/k5kRvRkt">
                                                      <field name="VAR" id="n,.bl90t$[=x3+48k@+#">Anrufername</field>
                                                      <value name="VALUE">
                                                        <block type="get_value" id="}RD8eCP*@a4[,)6qAZA6">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="controls_if" id="y:1x;{6Kj#3?D|c9TkcI">
                                                          <mutation elseif="1" else="1"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="k(hKgjA4sw@*rk-,`Drq">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="logic_operation" id="l9LqvK!w}}0%Or$7Oc_$">
                                                                  <field name="OP">AND</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="HPQgSTtV#c-Q~=[|Ilgb">
                                                                      <field name="VAR" id="n,.bl90t$[=x3+48k@+#">Anrufername</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="variables_get" id="R^xZk8QY`cd5,c3@]YVQ">
                                                                      <field name="VAR" id="HP^vL38Xt4P{-Gc{4A.,">Anrufernummer</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="text_isEmpty" id="[-$0Ze|AO{y$1eFb-A/c">
                                                                  <value name="VALUE">
                                                                    <shadow type="text" id="ij~i5cDaL,=7*^_ufGn=">
                                                                      <field name="TEXT"></field>
                                                                    </shadow>
                                                                    <block type="text" id="jE$xatYz=A1azr]0wGy[">
                                                                      <field name="TEXT"></field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="variables_set" id="8JnRw+rIY)Es`U8DqQL,">
                                                              <field name="VAR" id="Y)MXKWj1KTSU)`wXj{W0">Ausgabe</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="7ci8]f%|ElxIt_Nb]7z[">
                                                                  <field name="TEXT">Anruf von Unbekannt</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <value name="IF1">
                                                            <block type="logic_compare" id="?!|Cf@p7{g`qo.iN%oXQ">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="Z9,pbGq#C[)}oFXamGQ^">
                                                                  <field name="VAR" id="n,.bl90t$[=x3+48k@+#">Anrufername</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="text_isEmpty" id=":@8wQ?8hQy2sBeVgxSFs">
                                                                  <value name="VALUE">
                                                                    <shadow type="text" id="~2fwRFu{}l@6Ibh$MRyF">
                                                                      <field name="TEXT"></field>
                                                                    </shadow>
                                                                    <block type="text" id="/OdoU,cn`~(hbhQdd[!{">
                                                                      <field name="TEXT"></field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO1">
                                                            <block type="variables_set" id="VDu}R!p44D1cv+|M7*@V">
                                                              <field name="VAR" id="Y)MXKWj1KTSU)`wXj{W0">Ausgabe</field>
                                                              <value name="VALUE">
                                                                <block type="text_join" id="@Eu/A*Axn~nAgiB87|6-">
                                                                  <mutation items="2"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id="#enXtQW0iz3dO3:GOI=2">
                                                                      <field name="TEXT">Anruf von </field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD1">
                                                                    <block type="variables_get" id="49d5orI?C;emx/aq21(7">
                                                                      <field name="VAR" id="HP^vL38Xt4P{-Gc{4A.,">Anrufernummer</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <statement name="ELSE">
                                                            <block type="variables_set" id="%AV-0-~F||+*V.,V*2Dn">
                                                              <field name="VAR" id="Y)MXKWj1KTSU)`wXj{W0">Ausgabe</field>
                                                              <value name="VALUE">
                                                                <block type="text_join" id="B|=,.mrQfROX`g6Y~?,3">
                                                                  <mutation items="2"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id="z`TP{NSa0*ppD=U%Gm5(">
                                                                      <field name="TEXT">Anruf von </field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD1">
                                                                    <block type="variables_get" id="C+1J!pC,9:_nRfl^k9*B">
                                                                      <field name="VAR" id="n,.bl90t$[=x3+48k@+#">Anrufername</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="telegram" id="zm9[+AcU}V{{T1a@+dch">
                                                              <field name="INSTANCE"></field>
                                                              <field name="LOG"></field>
                                                              <field name="SILENT">FALSE</field>
                                                              <field name="PARSEMODE">default</field>
                                                              <value name="MESSAGE">
                                                                <shadow type="text" id="{/~)c~0#,A.Nu$:MzLI*">
                                                                  <field name="TEXT">text</field>
                                                                </shadow>
                                                                <block type="variables_get" id="Nr1:faX};Rl|x@YiKLMB">
                                                                  <field name="VAR" id="Y)MXKWj1KTSU)`wXj{W0">Ausgabe</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </xml>
                                      
                                      dslraser F 2 Replies Last reply Reply Quote 0
                                      • dslraser
                                        dslraser Forum Testing Most Active @invidianer last edited by

                                        @invidianer
                                        das hier geht schon mal

                                        Bildschirmfoto 2020-08-01 um 23.39.49.png

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                         <variables>
                                           <variable type="timeout" id="timeout">timeout</variable>
                                           <variable id="PO_Er88JZ#r/k,)=_|+W">Anrufername</variable>
                                           <variable id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</variable>
                                         </variables>
                                         <block type="on" id="l1O_GvAVwV6Qa}gi5ol`" inline="true" x="13" y="-85">
                                           <field name="OID">tr-064.0.callmonitor.ringing</field>
                                           <field name="CONDITION">true</field>
                                           <field name="ACK_CONDITION"></field>
                                           <statement name="STATEMENT">
                                             <block type="timeouts_cleartimeout" id="~$TOb{aB@bxMkEPJ1PyZ">
                                               <field name="NAME">timeout</field>
                                               <next>
                                                 <block type="timeouts_settimeout" id="xX80)7PpOi8JK^hD2Vfg">
                                                   <field name="NAME">timeout</field>
                                                   <field name="DELAY">1000</field>
                                                   <field name="UNIT">ms</field>
                                                   <statement name="STATEMENT">
                                                     <block type="variables_set" id="lM;E-f8bHJp}:WpzIa9F">
                                                       <field name="VAR" id="PO_Er88JZ#r/k,)=_|+W">Anrufername</field>
                                                       <value name="VALUE">
                                                         <block type="get_value" id="U7z3Ah4ti3oC*eOIb4[;">
                                                           <field name="ATTR">val</field>
                                                           <field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="t.MD}IVnzqTV]-04sv7O">
                                                           <field name="VAR" id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</field>
                                                           <value name="VALUE">
                                                             <block type="get_value" id="QKdp!]RDa[E[*o%S_PcE">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">tr-064.0.callmonitor.inbound.caller</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="telegram" id="zm9[+AcU}V{{T1a@+dch">
                                                               <field name="INSTANCE"></field>
                                                               <field name="LOG"></field>
                                                               <field name="SILENT">FALSE</field>
                                                               <field name="PARSEMODE">default</field>
                                                               <value name="MESSAGE">
                                                                 <shadow type="text" id="{/~)c~0#,A.Nu$:MzLI*">
                                                                   <field name="TEXT">Anruf!</field>
                                                                 </shadow>
                                                                 <block type="text_join" id="`Bjmro*/-P=bq9X;4`1_">
                                                                   <mutation items="5"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="text" id="wHFLh2T;(kx$L=^Vv|pj">
                                                                       <field name="TEXT">Anruf von:  </field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text_newline" id="nW@r,K#(nl+9R`OS}*0^">
                                                                       <field name="Type">\n</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="variables_get" id="g.///^qK@vgkx.)$Z*$p">
                                                                       <field name="VAR" id="PO_Er88JZ#r/k,)=_|+W">Anrufername</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD3">
                                                                     <block type="text_newline" id="H]^^(+|_g`}C7ZD@BGHi">
                                                                       <field name="Type">\n</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD4">
                                                                     <block type="variables_get" id=".0trD(7la{`G]VTza=Jp">
                                                                       <field name="VAR" id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="USERNAME">
                                                                 <block type="text" id="[1ahqJNVhGK8`9f5!CX4">
                                                                   <field name="TEXT">Heiko</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                        </xml>
                                        

                                        I 1 Reply Last reply Reply Quote 0
                                        • F
                                          fastfoot @invidianer last edited by

                                          @invidianer sagte in Anrufe auf FritzBox per Telegram auf Handy ankündigen:

                                          So sieht es nun aus:

                                          ich habe deine 2te Version genommen und noch einen Versand eines Bildes eingebaut. Dazu muss allerdings der Web-Adapter installiert sein und laufen

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="timeout" id="timeout">timeout</variable>
                                              <variable id="PO_Er88JZ#r/k,)=|+W">Anrufername</variable>
                                              <variable id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</variable>
                                              <variable id="ykk,z6|+S8DSC#.T=Yt.">command</variable>
                                            </variables>
                                            <block type="on" id="l1O_GvAVwV6Qa}gi5ol" inline="true" x="-38" y="-163">
                                              <field name="OID">tr-064.0.callmonitor.ringing</field>
                                              <field name="CONDITION">ne</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="~b:DDcG3WDH)ZhNRkjoE">
                                                  <mutation else="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="on_source" id="ZsKxF5kZJ9eIM}nyZ5Eb">
                                                      <field name="ATTR">state.val</field>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="timeouts_cleartimeout" id="+c|9MczfFy!kVD{$~;)N">
                                                      <field name="NAME">timeout</field>
                                                      <next>
                                                        <block type="timeouts_settimeout" id="nPTA6UZZKD5#k9JWu;JA">
                                                          <field name="NAME">timeout</field>
                                                          <field name="DELAY">1500</field>
                                                          <field name="UNIT">ms</field>
                                                          <statement name="STATEMENT">
                                                            <block type="variables_set" id="lM;E-f8bHJp}:WpzIa9F">
                                                              <field name="VAR" id="PO_Er88JZ#r/k,)=|+W">Anrufername</field>
                                                              <value name="VALUE">
                                                                <block type="get_value" id="U7z3Ah4ti3oC*eOIb4[;">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id="t.MD}IVnzqTV]-04sv7O">
                                                                  <field name="VAR" id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</field>
                                                                  <value name="VALUE">
                                                                    <block type="get_value" id="QKdp!]RDa[E[*o%S_PcE">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">tr-064.0.callmonitor.inbound.caller</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="variables_set" id="YDG3(!0co^3h=3wxgAFT">
                                                                      <field name="VAR" id="ykk,z6|+S8DSC#.T=Yt.">command</field>
                                                                      <value name="VALUE">
                                                                        <block type="text_join" id="[E2/PI?5IHk~ge65q_B," inline="false">
                                                                          <mutation items="3"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="text" id="u6}klLH4o-JN_}_svYu7">
                                                                              <field name="TEXT">curl -sL "</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="get_attr" id="|3Z(StsoECt+6yW`Z2oa">
                                                                              <value name="PATH">
                                                                                <shadow type="text" id="v:5n6{_[Ltw(uw}Kj-gy">
                                                                                  <field name="TEXT">imageurlcaller</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="OBJECT">
                                                                                <block type="get_value" id="Lzx6|^ZFk#)/C63VR`|`">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">tr-064.0.callmonitor.inbound.json</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD2">
                                                                            <block type="text" id="rIZ?85/JEHobWZ}A?lcz">
                                                                              <field name="TEXT">" &gt;img.jpg</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="controls_if" id="CW^Rdf96BFFOPxb@p5Wa">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="`]1ZYuOh~doV(;}`@ynR">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="text_length" id="vKua*^#|TX_/7x0Q;=]O">
                                                                                  <value name="VALUE">
                                                                                    <shadow type="text" id="R8H[}jNQN99UicM?b43Z">
                                                                                      <field name="TEXT">abc</field>
                                                                                    </shadow>
                                                                                    <block type="variables_get" id="=,.4OQX#)pEpM3!IXl4+">
                                                                                      <field name="VAR" id="ykk,z6|+S8DSC#.T=Yt.">command</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="10m1%8r-0JX2[Uu4vcGh">
                                                                                  <field name="NUM">100</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="exec" id="6VteYu;VN*S}N*XO]8AH" inline="true">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                              <field name="WITH_STATEMENT">TRUE</field>
                                                                              <field name="LOG"></field>
                                                                              <value name="COMMAND">
                                                                                <shadow type="text" id="k:5tbr),O~0E[#k0q`V*">
                                                                                  <field name="TEXT"></field>
                                                                                </shadow>
                                                                                <block type="variables_get" id="^+:Wv].HZz9}TCmAPJ!y">
                                                                                  <field name="VAR" id="ykk,z6|+S8DSC#.T=Yt.">command</field>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="STATEMENT">
                                                                                <block type="sendto_custom" id=":JZCN2W-jDA}?YJE#E~d">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="text,caption,user,parse_mode" with_statement="false"></mutation>
                                                                                  <field name="INSTANCE">telegram.0</field>
                                                                                  <field name="COMMAND">send</field>
                                                                                  <field name="LOG"></field>
                                                                                  <field name="WITH_STATEMENT">FALSE</field>
                                                                                  <value name="ARG0">
                                                                                    <shadow type="text" id="2UgH29(w#w0P-WjVLff,">
                                                                                      <field name="TEXT"></field>
                                                                                    </shadow>
                                                                                    <block type="text" id="S6}KDco%EUdN^M,E!pG:">
                                                                                      <field name="TEXT">img.jpg</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ARG1">
                                                                                    <shadow type="text" id="2[jnAhD+%80?z]t~Weq8">
                                                                                      <field name="TEXT"></field>
                                                                                    </shadow>
                                                                                    <block type="text_join" id="Bjmro*/-P=bq9X;41_">
                                                                                      <mutation items="3"></mutation>
                                                                                      <value name="ADD0">
                                                                                        <block type="text" id="wHFLh2T;(kx$L=^Vv|pj">
                                                                                          <field name="TEXT">Anruf von </field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="ADD1">
                                                                                        <block type="variables_get" id="g.///^qK@vgkx.)$Z*$p">
                                                                                          <field name="VAR" id="PO_Er88JZ#r/k,)=|+W">Anrufername</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="ADD2">
                                                                                        <block type="variables_get" id=".0trD(7la{G]VTza=Jp">
                                                                                          <field name="VAR" id="$Y-WWBt%3A}x?lw-o?wN">Anrufernummer</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ARG2">
                                                                                    <shadow type="text" id=")eQ8~}i)x@Z:a*]]@feI">
                                                                                      <field name="TEXT"></field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                  <value name="ARG3">
                                                                                    <shadow type="text" id="IZAc=s.1%tc;R#|T=kbX">
                                                                                      <field name="TEXT"></field>
                                                                                    </shadow>
                                                                                    <block type="text" id="aiwoow2#6|mRI0#8GuR7">
                                                                                      <field name="TEXT">HTML</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <statement name="ELSE">
                                                    <block type="timeouts_cleartimeout" id="h[ZC?AVy%P|fAj(0C~`I">
                                                      <field name="NAME">timeout</field>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          
                                          I dslraser 3 Replies Last reply Reply Quote 1
                                          • I
                                            invidianer @dslraser last edited by

                                            @dslraser
                                            Cool, danke!
                                            Wie hast Du es denn hinbekommen, daß das "falls Objekt ringing ist wahr" in EINER Zeile steht? Und warum wird der Timer beendet, bevor er startet?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly
                                            7
                                            48
                                            2855
                                            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