Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Verschiedene Ansagen bei alexa über Blockly(Fritzbox)

    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

    Verschiedene Ansagen bei alexa über Blockly(Fritzbox)

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

      Hallo....es gibt ja das Blocklyscript wo Alexa sagt das ein Anruf von dem oder dem Kommt. gibt es auch eine möglichkeit jedem anrufer einen eigenen text zuzuordnen, da ja jeder anrufer in der fritzbox eine ID hat....so denke ich mal

      lg

      M Winni 2 Replies Last reply Reply Quote 0
      • M
        MCU @matze55 last edited by

        @matze55 Welches Blockly-Script meinst Du?
        Ja, du fragst nach der Telefonnummer ab und sendest Deinen gewünschten Text an die aktuelle Alexa.
        Eingangsanruf erkennt man im DP tr-064.0.callmonitor.inbound.caller

        matze55 1 Reply Last reply Reply Quote 1
        • matze55
          matze55 @MCU last edited by

          @mcu ich wollte es gerne so haben das jeder Anrufer einen eigenen Text zugeordnet bekommt. Aber ich glaube das geht nicht.

          G 1 Reply Last reply Reply Quote 0
          • G
            guergen @matze55 last edited by

            @matze55 Das kannst Du doch mit hilfe eines Scrips lösen:
            kommt der Anruf von Nummer "A" lässt Du Alaexa sagen dass es der Anrufer "A" ist, kommt der Ruf von "B" ist es Anrufer "B". Bei unbekanntem Anrufer lässt Du dir die Nummer ansagen.

            matze55 1 Reply Last reply Reply Quote 0
            • matze55
              matze55 @guergen last edited by

              @MCU hier habe ich das Script her:
              Blockly

              @guergen Das kann man mit hilfe eines Scripts lösen....mhh gut und schön bin aber leider kein Experte.

              G 1 Reply Last reply Reply Quote 0
              • G
                guergen @matze55 last edited by guergen

                @matze55 Wenn du das Script nutzt, müssen die Einträge im Telefonbuch gepflegt werden, dannn geht das doch automatisch.
                AVM setzt doch die Nummer direkt in einen Namen um.
                Ließ doch mal die Nachrichten unter dem Post von dem kopierten Blockly 🙂

                1 Reply Last reply Reply Quote 0
                • Winni
                  Winni @matze55 last edited by Winni

                  @matze55 ich hab da mal was gebastelt, nur kurz ausprobiert, nicht viel getestet, vielleicht passt das so für dich, oder du kannst es für dich ändern.

                  Wenn jemand anruft sagt Alexa z.B. den Text:
                  Xyz mit der Rufnummer 0151xxxxxxx möchte mit dir sprechen

                  2025_06_30_15.35.54~2.jpg
                  Die Ausgabe erfolgt hier auf 4 Echo-Geräten

                  matze55 1 Reply Last reply Reply Quote 0
                  • matze55
                    matze55 @Winni last edited by

                    @winni hast du mal das Blockly bitte.

                    Winni 1 Reply Last reply Reply Quote 0
                    • Winni
                      Winni @matze55 last edited by

                      @matze55 gerne 😀

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="_L{8phOT6eS{1}_^VVh|">text</variable>
                        </variables>
                        <block type="comment" id="9{gz|2R@#iV_EkAv~YAY" x="-4113" y="-5063">
                          <field name="COMMENT">Ansage wer anruft</field>
                          <next>
                            <block type="on_ext" id="NI{l`tG0){@Pwc;!6(pk">
                              <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="U+.RE^a!hzM7{*D$jUrb">
                                  <field name="oid">tr-064.0.callmonitor.ringing</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="timeouts_wait" id="=NcI~y7=lLWL|Wc^T)sK">
                                  <field name="DELAY">3</field>
                                  <field name="UNIT">sec</field>
                                  <next>
                                    <block type="variables_set" id="tj/T!Kf[hY2*/1z%uApe">
                                      <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field>
                                      <value name="VALUE">
                                        <block type="text_join" id="mKlF=3f)3T0F6*ShmV2%">
                                          <mutation items="4"></mutation>
                                          <value name="ADD0">
                                            <block type="get_value" id="M#nVUag`MU`T+ZVFym-f">
                                              <field name="ATTR">val</field>
                                              <field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
                                            </block>
                                          </value>
                                          <value name="ADD1">
                                            <block type="text" id="=y0DUgMIUcPrP}eKvm=o">
                                              <field name="TEXT"> mit der rufnummer </field>
                                            </block>
                                          </value>
                                          <value name="ADD2">
                                            <block type="get_value" id="bHInGqoOcwQmDOce~m!^">
                                              <field name="ATTR">val</field>
                                              <field name="OID">tr-064.0.callmonitor.inbound.caller</field>
                                            </block>
                                          </value>
                                          <value name="ADD3">
                                            <block type="text" id="?P-9eI$!m$h^DnlMPkEs">
                                              <field name="TEXT"> möchte mit dir sprechen </field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="comment" id="Z0GHC[_+WHTvabH*IPOA">
                                          <field name="COMMENT">Echo Schlafzimmer </field>
                                          <next>
                                            <block type="control" id="L*ZA=^K#OQ?7gisix1DK">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">alexa2.0.Echo-Devices.G0911B05932700S3.Commands.speak</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="yve_LL]EgEBrJ47oiWm6">
                                                  <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="comment" id="fAzzTCto*oOu:ElPxBkX">
                                                  <field name="COMMENT">Echo Wohnzimmer </field>
                                                  <next>
                                                    <block type="control" id="Dz(|gw}pYu$mB4%H]W]@">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">alexa2.0.Echo-Devices.G090NV037425053B.Commands.speak</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="WYz}T=3Bf?stlR.j--F,">
                                                          <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="comment" id="r~zTCFR-c8Vmdzs]/=uZ">
                                                          <field name="COMMENT">Echo Küche</field>
                                                          <next>
                                                            <block type="control" id="=B2S!}4[`JRncw|(;5P,">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">alexa2.0.Echo-Devices.G070RQ1080360WJU.Commands.speak</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="zX/v]AyW[(=p]rzS/qwe">
                                                                  <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="comment" id="=oot=kz4%Wf?XhA.q|Px">
                                                                  <field name="COMMENT">Echo Bad</field>
                                                                  <next>
                                                                    <block type="control" id="ex6Rgw9YwM%2::KS$Q:K">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">alexa2.0.Echo-Devices.G090U50991121FH7.Commands.speak</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="?XA4l-v-85up=v?ao$Tn">
                                                                          <field name="VAR" id="_L{8phOT6eS{1}_^VVh|">text</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </xml>
                      
                      1 Reply Last reply Reply Quote 0
                      • matze55
                        matze55 last edited by

                        Ich bin ja D...mm, warum es schwerer sich machen wenn es einfach geht, habe nur im Telefonbuch der Fritzbox jedem Anrufer einen eigenen Text verpasst unter der Telefonnnummer.

                        Aber die Scripte funktionieren ich danke nochmal für die Unterstützung

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        917
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        4
                        10
                        226
                        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