Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Wo ist Frage an Alexa

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Wo ist Frage an Alexa

Wo ist Frage an Alexa

Scheduled Pinned Locked Moved Skripten / Logik
8 Posts 3 Posters 519 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mico
    wrote on last edited by
    #1

    Hallo zusammen,

    leider komme ich mit meinem Script wo ist nicht wirklich weiter. Als Grundlage diente mir das Script Fenster offen.

    Deswegen habe ich unter Aufzählungen insgesamt 3 Zustände angelegt 1. Zuhause 2. Auf der Arbeit und Unterwegs diese werden je nach Zustand mit wahr oder falsch gekennzeichnet und sind in der function wo zu finden.
    Alexa soll aber nicht einfach nur sagen zuhause oder auf der Arbeit. Jeder Zustand soll einen eigenden Kommentar bekommen, und dann auf dem Echo das ausgewählt wurde ausgegeben werden.
    In Alexa eine Routine eingeflegt mit wo ist Gisela sie Antwortet mit einen Moment schaltet dann den Datenpunkt und dann war das alles, keine Antwort mehr.

    Screenshot 2023-09-01 053720.png

    Screenshot 2023-09-01 052358.png

    Screenshot 2023-09-01 052512.png

    1 Reply Last reply
    0
    • NewpicselN Offline
      NewpicselN Offline
      Newpicsel
      wrote on last edited by
      #2

      Moin @Mico,

      ist denn die Variable "EchoAuswählen" definitiv die richtige ObjektID von "speak" des jeweiligen Echos?

      Funktioniert der "Info output" der Variable?
      Funktioniert der Datenpunkt "speak" manuell?

      LG Peter

      M 1 Reply Last reply
      0
      • NewpicselN Newpicsel

        Moin @Mico,

        ist denn die Variable "EchoAuswählen" definitiv die richtige ObjektID von "speak" des jeweiligen Echos?

        Funktioniert der "Info output" der Variable?
        Funktioniert der Datenpunkt "speak" manuell?

        LG Peter

        M Offline
        M Offline
        Mico
        wrote on last edited by
        #3

        @newpicsel

        Nach Kontrolle ist EchoAuswahl auf das speak desjeweilige Echos gelegt. Als manuelle Kontrolle in einem anderen Script funktioniert ein direkites ansprechen des Speak Objektes.

        Bei meinen Fenster gibt er neuerdings dieses raus

        code_text
        ```14:11:53.094	info	javascript.0 (2198) script.js.common.sprache.Rundgang_sind_Fenster_offen_1: , Fenster Kammer, Fenster Stube und Fenster gute Stube.
        
        14:11:53.099	error	javascript.0 (2198) script.js.common.sprache.Rundgang_sind_Fenster_offen_1: TypeError: Cannot read properties of undefined (reading 'match')
        
        14:11:53.100	error	javascript.0 (2198) at Sprachausgabe_auf_Echo (script.js.common.sprache.Rundgang_sind_Fenster_offen_1:50:3)
        
        14:11:53.101	error	javascript.0 (2198) at Object.<anonymous> (script.js.common.sprache.Rundgang_sind_Fenster_offen_1:99:9) ```
        code_text
        

        Damit kann ich aber nichts anfangen.

        DJMarc75D NewpicselN 2 Replies Last reply
        0
        • M Mico

          @newpicsel

          Nach Kontrolle ist EchoAuswahl auf das speak desjeweilige Echos gelegt. Als manuelle Kontrolle in einem anderen Script funktioniert ein direkites ansprechen des Speak Objektes.

          Bei meinen Fenster gibt er neuerdings dieses raus

          code_text
          ```14:11:53.094	info	javascript.0 (2198) script.js.common.sprache.Rundgang_sind_Fenster_offen_1: , Fenster Kammer, Fenster Stube und Fenster gute Stube.
          
          14:11:53.099	error	javascript.0 (2198) script.js.common.sprache.Rundgang_sind_Fenster_offen_1: TypeError: Cannot read properties of undefined (reading 'match')
          
          14:11:53.100	error	javascript.0 (2198) at Sprachausgabe_auf_Echo (script.js.common.sprache.Rundgang_sind_Fenster_offen_1:50:3)
          
          14:11:53.101	error	javascript.0 (2198) at Object.<anonymous> (script.js.common.sprache.Rundgang_sind_Fenster_offen_1:99:9) ```
          code_text
          

          Damit kann ich aber nichts anfangen.

          DJMarc75D Offline
          DJMarc75D Offline
          DJMarc75
          wrote on last edited by
          #4

          @mico Amazon hat wieder Beschränkungen gesetzt - seit fast 2 Wochen.
          Daher funktioniert keine Abfrage mehr über den Summary.

          Hab ich Dir aber schon hier geschrieben:

          https://forum.iobroker.net/topic/67966/zu-welchem-alexa-wird-gesprochen-script/2?_=1693879187648

          Lehrling seit 1975 !!!
          Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
          https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

          1 Reply Last reply
          0
          • M Mico

            @newpicsel

            Nach Kontrolle ist EchoAuswahl auf das speak desjeweilige Echos gelegt. Als manuelle Kontrolle in einem anderen Script funktioniert ein direkites ansprechen des Speak Objektes.

            Bei meinen Fenster gibt er neuerdings dieses raus

            code_text
            ```14:11:53.094	info	javascript.0 (2198) script.js.common.sprache.Rundgang_sind_Fenster_offen_1: , Fenster Kammer, Fenster Stube und Fenster gute Stube.
            
            14:11:53.099	error	javascript.0 (2198) script.js.common.sprache.Rundgang_sind_Fenster_offen_1: TypeError: Cannot read properties of undefined (reading 'match')
            
            14:11:53.100	error	javascript.0 (2198) at Sprachausgabe_auf_Echo (script.js.common.sprache.Rundgang_sind_Fenster_offen_1:50:3)
            
            14:11:53.101	error	javascript.0 (2198) at Object.<anonymous> (script.js.common.sprache.Rundgang_sind_Fenster_offen_1:99:9) ```
            code_text
            

            Damit kann ich aber nichts anfangen.

            NewpicselN Offline
            NewpicselN Offline
            Newpicsel
            wrote on last edited by Newpicsel
            #5

            @mico

            Die Fehler im log können mir so auch nichts sagen 😅 man bräuchte schon die zugehörigen Skripte (komplett).

            Wenn ein direktes ansprechen von Speak funktioniert, muss irgendwo deine variable hängen.

            Was mir auch am wahrscheinlichsten erscheint, poste doch mal wo und wie diese variable geschrieben wird, klar muss diese natürlich bereits vor dem speak command definiert werden.

            Was @DJMarc75 schreibt ist vollkommen richtig, leider gibt es aktuell gravierende Probleme mit Alexa bzw. den Summary Daten 😩

            Das eine hat aber nichts mit dem anderen zutun,es gibt andere Wege deinen Datenpunkt zu steuern und in deinem Fall meintest du und ich gehe davon aus, dass dein Datenpunkt schaltet und der speak Befehl (theoretisch) abgesetzt werden müsste.
            Wie gesagt, ich vermute es hapert an der variable der passenden ObjektID (speak) des jeweiligen Gerätes, oder dem timing, wann diese variable gesetzt wird.

            Mit deiner Hilfe kriegen wir das aber sicher hin!

            Schöne Grüße
            Peter

            Edit: was tatsächlich ein zusammenhängendes Problem bezüglich der Summary Daten ist, wahrscheinlich ermittelst du hier, welches Gerät überhaupt angesprochen wurde und definierst das ausgabegerät mit diesen, was so dann natürlich nicht mehr funktionieren kann…

            Aber das kann ich so aktuell nur vermuten, da ich nicht weiß wie sich deine variable „EchoAuswählen“ zusammensetzt.

            M 1 Reply Last reply
            0
            • NewpicselN Newpicsel

              @mico

              Die Fehler im log können mir so auch nichts sagen 😅 man bräuchte schon die zugehörigen Skripte (komplett).

              Wenn ein direktes ansprechen von Speak funktioniert, muss irgendwo deine variable hängen.

              Was mir auch am wahrscheinlichsten erscheint, poste doch mal wo und wie diese variable geschrieben wird, klar muss diese natürlich bereits vor dem speak command definiert werden.

              Was @DJMarc75 schreibt ist vollkommen richtig, leider gibt es aktuell gravierende Probleme mit Alexa bzw. den Summary Daten 😩

              Das eine hat aber nichts mit dem anderen zutun,es gibt andere Wege deinen Datenpunkt zu steuern und in deinem Fall meintest du und ich gehe davon aus, dass dein Datenpunkt schaltet und der speak Befehl (theoretisch) abgesetzt werden müsste.
              Wie gesagt, ich vermute es hapert an der variable der passenden ObjektID (speak) des jeweiligen Gerätes, oder dem timing, wann diese variable gesetzt wird.

              Mit deiner Hilfe kriegen wir das aber sicher hin!

              Schöne Grüße
              Peter

              Edit: was tatsächlich ein zusammenhängendes Problem bezüglich der Summary Daten ist, wahrscheinlich ermittelst du hier, welches Gerät überhaupt angesprochen wurde und definierst das ausgabegerät mit diesen, was so dann natürlich nicht mehr funktionieren kann…

              Aber das kann ich so aktuell nur vermuten, da ich nicht weiß wie sich deine variable „EchoAuswählen“ zusammensetzt.

              M Offline
              M Offline
              Mico
              wrote on last edited by
              #6

              Hier mal das ganze in Wort und Bild:

              Screenshot 2023-09-06 070621.png

              Screenshot 2023-09-06 070708.png

              Screenshot 2023-09-06 070812.png

              Screenshot 2023-09-06 070834.png

              Screenshot 2023-09-06 070908.png

              Ananas ist ein Datenpunkt in IOT angelegt um die Routine von Alexa auf die Frage wo ist Gisela auf wahr schaltet.

              Echo Auswahl:

              
              <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="]T6TX_]v(A0XGMB[P;;G" x="-4437.6496" y="-5162.472">
                <field name="NAME">Zu welchem Echo wird gesprochen</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                <statement name="STACK">
                  <block type="controls_if" id="@MAym/:I_G;`:.vwE:N7">
                    <mutation elseif="6"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="%:L5Q.jqO=g4ZJ[vq@Xu">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="RIRA-{fe])~%Ms7YY{tT">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.name</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="dUYeT/gKUR+rB%WS==}Q">
                            <field name="TEXT">Alexa Stube</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="variables_set" id="|;.N!2GWgL;@F~6,~ViT">
                        <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                        <value name="VALUE">
                          <block type="field_oid" id="|0N}g?uPIkoxx,g[SWVB">
                            <field name="oid">alexa2.0.Echo-Devices.G2A1A60305120MMV.Commands.speak</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="l$q5bT;ZV(Y1p6@@/Wk[">
                            <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                            <value name="VALUE">
                              <block type="field_oid" id="$9yn@s2$tI2OWC`^8QXI">
                                <field name="oid">alexa2.0.Echo-Devices.G2A1A60305120MMV.Commands.speak-volume</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="I^-xyi$cucK)?@mImLcJ">
                                <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                <value name="VALUE">
                                  <block type="field_oid" id="by@XIi-eE9U7X4Z,s!_E">
                                    <field name="oid">alexa2.0.Echo-Devices.G2A1A60305120MMV.Player.volume</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="nS|J^9!@-WV:euH;hR^d">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="%Y|AbVWvTp[jmr-nqiR|">
                                        <field name="TEXT">Alexa Stube antwortet</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="2yL+1%}1hxAZpDa$`ue$">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="D_{./gn4u6::]ZMS_ho8">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.name</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="m~f3YmCm!+MbL;Ob%6Zb">
                            <field name="TEXT">Alexa gute Stube</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="variables_set" id="Bduh1nhh+ZLQeE_u#Umt">
                        <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                        <value name="VALUE">
                          <block type="field_oid" id="ES3NIs?DE@f--8AnC]gu">
                            <field name="oid">alexa2.0.Echo-Devices.G0922H07244524W8.Commands.speak</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="6k_o~!X1rXwEgAiPaO`/">
                            <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                            <value name="VALUE">
                              <block type="field_oid" id="fF5!66,GS~yX`)5[eLd2">
                                <field name="oid">alexa2.0.Echo-Devices.G0922H07244524W8.Commands.speak-volume</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="`:|b0Ug-J{wS-MWk[K_`">
                                <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                <value name="VALUE">
                                  <block type="field_oid" id="j_j,{9R6=Vd~Re!Y2xfO">
                                    <field name="oid">alexa2.0.Echo-Devices.G0922H07244524W8.Player.volume</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="MO=-#._Ofc]MFR5RZBGi">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="nh,#d5B!?2jRk^jN?vWg">
                                        <field name="TEXT">Alexa gute Stube antwortet</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF2">
                      <block type="logic_compare" id="V%1z)[d`^]$%t;gBvK!^">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="]Y=R|rh|q[!IqaYe}pe`">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.name</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="eYC;##xLxQ62wCzXFwcf">
                            <field name="TEXT">Alexa Werkstatt</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO2">
                      <block type="variables_set" id="7h:o6R*Jy0)NEprlilyn">
                        <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                        <value name="VALUE">
                          <block type="field_oid" id="}8|[6.VcG~OU03cu3z~o">
                            <field name="oid">alexa2.0.Echo-Devices.G090LF0965121B66.Commands.speak</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="rcjs)Pu*W^M*,#leTY_z">
                            <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                            <value name="VALUE">
                              <block type="field_oid" id=":J?kZV5U/4f0)v/G+x;1">
                                <field name="oid">alexa2.0.Echo-Devices.G090LF0965121B66.Commands.speak-volume</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="0.LDIiupUvU$D|Ee2U3d">
                                <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                <value name="VALUE">
                                  <block type="field_oid" id="Qle)~674}uNl-~!I(Kt%">
                                    <field name="oid">alexa2.0.Echo-Devices.G090LF0965121B66.Player.volume</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="-z[`=aP,x!`^IA]CNpOX">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="NaUB}H$MxI`3_^P$~9oK">
                                        <field name="TEXT">Alexa Werkstatt antwortet</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF3">
                      <block type="logic_compare" id="1O,$B|9jG_]Jv/MC67Sb">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="/zOb(_H~[|oNc]vZo8*X">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.name</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="%a8dt80nV(T*HExef0@;">
                            <field name="TEXT">Alexa Huehnerstall</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO3">
                      <block type="variables_set" id="AC6TDiR.SL+KkX?mh}Y1">
                        <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                        <value name="VALUE">
                          <block type="field_oid" id="Ib*]ORDzRHhN!zF%M[h^">
                            <field name="oid">alexa2.0.Echo-Devices.G090LF10720418N7.Commands.speak</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="/6Z3IwWK3Q%XMZVEN|}x">
                            <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                            <value name="VALUE">
                              <block type="field_oid" id="=BG),+q:Im!ekHJcibe1">
                                <field name="oid">alexa2.0.Echo-Devices.G090LF10720418N7.Commands.speak-volume</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="$2nfWaZg;gD{GiBP2XwJ">
                                <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                <value name="VALUE">
                                  <block type="field_oid" id="wGT$QhL%{=S4otgUEWph">
                                    <field name="oid">alexa2.0.Echo-Devices.G090LF10720418N7.Player.volume</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="GyH8*nox87_fduftW9^?">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="4@MN$Y^+/.-$[A=%=6+]">
                                        <field name="TEXT">Alexa Huehnerstall antwortet</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF4">
                      <block type="logic_compare" id="jU[dK5:KPpH%uoenTGLK">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="8F_=7+KAb0~iDJ`Uy3G!">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.name</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="v|2nP)2S|^y@!;#3c-I*">
                            <field name="TEXT">Alexa Kino</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO4">
                      <block type="variables_set" id="55XQX!{I)|)T-85m^b69">
                        <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                        <value name="VALUE">
                          <block type="field_oid" id="U;y1H~^PV)R#E-SR~}N$">
                            <field name="oid">alexa2.0.Echo-Devices.G090VC0990960QPP.Commands.speak</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="4m~^OB!xXQB$DA/?rC*e">
                            <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                            <value name="VALUE">
                              <block type="field_oid" id="lX#]%NR1)pl)!Uo,@SKR">
                                <field name="oid">alexa2.0.Echo-Devices.G090VC0990960QPP.Commands.speak-volume</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="o/+*piqfo_fN`r*psDt4">
                                <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                <value name="VALUE">
                                  <block type="field_oid" id="L+M7mhjv/SNY;rT^{ppF">
                                    <field name="oid">alexa2.0.Echo-Devices.G090VC0990960QPP.Player.volume</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="X)4fr_;GAIc/l6DTBCJv">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="^sx?hTL8k%leGQ4~VSM;">
                                        <field name="TEXT">Alexa Kino antwortet</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF5">
                      <block type="logic_compare" id="eZ~;QX_:@C^!clCJ11E`">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="bkX+3$rv$NjRizKi/BMC">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.name</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="BzF/,Cr#abV%_%MI1n?w">
                            <field name="TEXT">Alexa Garten</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO5">
                      <block type="variables_set" id="on_jgt3KKswj05^?]~2%">
                        <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                        <value name="VALUE">
                          <block type="field_oid" id="I@kpHDP{*fNkFw=yE*4#">
                            <field name="oid">alexa2.0.Echo-Devices.G090LF1072320AGF.Commands.speak</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="IUv,k3XP3{{kJx4slB5)">
                            <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                            <value name="VALUE">
                              <block type="field_oid" id="tun^4n,X+1(C)WT*hH^@">
                                <field name="oid">alexa2.0.Echo-Devices.G090LF1072320AGF.Commands.speak-volume</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="a8qxUDBHLH1`p+cFCkNh">
                                <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                <value name="VALUE">
                                  <block type="field_oid" id=".8]wE|xkc7-vqC1)m4V}">
                                    <field name="oid">alexa2.0.Echo-Devices.G090LF1072320AGF.Player.volume</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="3v7GP;:CRyzTri?`$u^S">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="s$j+Us8J(#b8Qhb[/.BI">
                                        <field name="TEXT">Alexa Garten antwortet</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <value name="IF6">
                      <block type="logic_compare" id="gC*T|kdr_QKeFN]W?Hsj">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="n_vShs`iKt}f2e!_S{2h">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.name</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="JAE(IdG{n9d#DGT^J0vK">
                            <field name="TEXT">Alexa Stall</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO6">
                      <block type="variables_set" id="f`PG+w+AvK,dghql$LE{">
                        <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                        <value name="VALUE">
                          <block type="field_oid" id="_hj/i10=bX`eYs]V_#0?">
                            <field name="oid">alexa2.0.Echo-Devices.G090L91072450LNV.Commands.speak</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="!7Z+p(z[~2RK3aBv#/I9">
                            <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                            <value name="VALUE">
                              <block type="field_oid" id="wSr$_opUEAJkO]{$MFz~">
                                <field name="oid">alexa2.0.Echo-Devices.G090L91072450LNV.Commands.speak-volume</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="Zq2kcN5[(-AQo^z$yGR4">
                                <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                <value name="VALUE">
                                  <block type="field_oid" id="HeDw/PHBW@xh-E#;DiI+">
                                    <field name="oid">alexa2.0.Echo-Devices.G090L91072450LNV.Player.volume</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="~@~sFDM/WM/GX(kLkob0">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="`aZkOY~79Asw){zVZ~xR">
                                        <field name="TEXT">Alexa Stall antwortet</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
              

              Wo bin ich suchen

              <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="x`7^VM_qdVecUnT#-}k#" x="-4287.659199999999" y="-5037.6016">
                <field name="NAME">wo bin ich suchen</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                <statement name="STACK">
                  <block type="variables_set" id="E*(]%~aisMZO.(k^i`8y">
                    <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="`@EfeL#zYAT8sUE[VF8o">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="9v{nM^@!n84$0{3)^w`8">
                        <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                        <value name="VALUE">
                          <block type="math_number" id="8,%@9N+ZA4lc8GXIQ_Z)">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="]m3+rUcIg}U#0KKu)6.4">
                            <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                            <value name="VALUE">
                              <block type="math_number" id="$51]NIOGtUk]@h[qWv9,">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_forEach" id="-Tk+}#DN]PW}RF(Y9g7x">
                                <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                <value name="LIST">
                                  <block type="selector" id="YrsxaRr#UyYO`{GnG0xd">
                                    <field name="TEXT">state[id=*](functions=wo)</field>
                                  </block>
                                </value>
                                <statement name="DO">
                                  <block type="controls_if" id="8_(8LaS/I#p4G{T}*%3o">
                                    <value name="IF0">
                                      <block type="logic_compare" id="7_+^2hcq;cdn*Ow!TSjQ">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value_var" id="9ce93zTK#^W1?*6/DH4o">
                                            <field name="ATTR">val</field>
                                            <value name="OID">
                                              <shadow type="text" id="cBp4C$?(MOvcCR?z+,{h">
                                                <field name="TEXT"></field>
                                              </shadow>
                                              <block type="variables_get" id="Ktuy_Y*Dd4KPr@m;zAJS">
                                                <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="#Kwmsbe1AGma*04_jn?d">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="math_change" id="W1n(R.?W6+zavffj72*q">
                                        <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                        <value name="DELTA">
                                          <shadow type="math_number" id="t#AEw.Ys@x3~iCGWej;R">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="math_number" id="N}Do:gBn[$BbTUQ%[u?Z">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_forEach" id="?#7|nZX+C`jO?cW+@EyI">
                                    <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                    <value name="LIST">
                                      <block type="selector" id="gu:nHxl#_@v@gO9z[5:4">
                                        <field name="TEXT">state[id=*](functions=wo)</field>
                                      </block>
                                    </value>
                                    <statement name="DO">
                                      <block type="controls_if" id="hM%rbRG_1,R`%Sz[/mL$">
                                        <value name="IF0">
                                          <block type="logic_compare" id="N/6/)I5}Y[K$,J}CTtJt">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value_var" id="LVJBx=@el]+--EI-:yCI">
                                                <field name="ATTR">val</field>
                                                <value name="OID">
                                                  <shadow type="text">
                                                    <field name="TEXT"></field>
                                                  </shadow>
                                                  <block type="variables_get" id="1lvE[x0RE*N4|y6HeI-R">
                                                    <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="%bp~o?9rYXL`!MNy4@:y">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="variables_set" id="^34oSTSe6Im4m+:Iv^RQ">
                                            <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="hIm%!nIH8/BksXNUOtc:">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="Q9f@N;Sw3U=MF1#^y$b!">
                                                <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                <value name="VALUE">
                                                  <block type="procedures_callcustomreturn" id="wY^V4^`+I:xhsk_xg^G]">
                                                    <mutation name="Aufenthalt bestimmen">
                                                      <arg name="Aufenthalts_dp"></arg>
                                                    </mutation>
                                                    <value name="ARG0">
                                                      <block type="variables_get" id="Z:|*KTtcDA!@u+qa@qcB">
                                                        <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="controls_if" id="sCGfv%93;J1:e)]:5Q[V">
                                                    <value name="IF0">
                                                      <block type="logic_ternary" id="edP+_aCtRH8)?e3W,90n">
                                                        <value name="IF">
                                                          <block type="logic_compare" id="9=koRPOMfH{O~)`uM]V;">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="U+k@f[Slm7Vwe;,-ynMM">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">0_userdata.0.wo_ist.Unterwegs</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="1WhZ9lLteGCni2JsT8NI">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="THEN">
                                                          <block type="logic_compare" id="T5S74x^kq3HgR.2Rk:J?">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="Ph]VuG,1(*UHnUwMXCX3">
                                                                <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id=":yHwo)iX}YYL*a4|Mj8t">
                                                                <field name="NUM">2</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="ELSE">
                                                          <block type="logic_ternary" id="GofWJtw!n[H8x]j4D=Hl">
                                                            <value name="IF">
                                                              <block type="logic_compare" id="|upUD?m8DE:eK/f8H-L|">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="1l^BmzAtv=Dol;/M$pg(">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">0_userdata.0.wo_ist.im_Krankenhaus</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="q~!w!B$}{.)Tqz6K-l*L">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="THEN">
                                                              <block type="logic_compare" id="RWE8.s(lc]*uv/kt;9(F">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="w|NSf|,HBxo)]Y85;#vM">
                                                                    <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="lMur*#R.UPnV=sNlp$tv">
                                                                    <field name="NUM">1</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="ELSE">
                                                              <block type="logic_compare" id="+.a1`#6ivFhA?6eilM:a">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="K=$A:=HP?1.{mlX4~):1">
                                                                    <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="YS4ctX^rH$JMTjVc$PEc">
                                                                    <field name="NUM">0</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="controls_if" id=",$Ed`a#[fcUzVWT9=EEb">
                                                        <mutation elseif="2"></mutation>
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="}-UoYs`uo{Cb81w)=Z{w">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="lz2f(%Z!%FaRp0]90LjT">
                                                                <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="heTUqZ!Nz=M5MA1}q`}F">
                                                                <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="text_append" id="1P79XEy0sqRhqRB*Q0cM">
                                                            <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="B9A#%hPcsdfN8cZL[:Ss">
                                                                <field name="TEXT"></field>
                                                              </shadow>
                                                              <block type="text_join" id="b~sxiFGYVgo=4+4BuADk">
                                                                <mutation items="2"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="text" id="cG)jbk/=Y2D|lYhJsjJ*">
                                                                    <field name="TEXT">Gisela ist noch, </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="variables_get" id="wsuzQsN(1P+WzT1@rp|4">
                                                                    <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <value name="IF1">
                                                          <block type="logic_compare" id="6xRScQYN_#T@-Uj#pMzf">
                                                            <field name="OP">GT</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="5P@q@AQnR_u,YPuzq0Lu">
                                                                <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="6V{HQl`p-eXIM!Y2No*_">
                                                                <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO1">
                                                          <block type="text_append" id="p@!}TPWA}i~:!;)bM^V?">
                                                            <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="-,k~=%4Nw=-(q]rv.n1/">
                                                                <field name="TEXT"></field>
                                                              </shadow>
                                                              <block type="text_join" id="|#8CpFt#%7=ylF|Hzl{.">
                                                                <mutation items="3"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="text" id=".n_u.z(V4g.KQx0Z8d~%">
                                                                    <field name="TEXT">Moment, ich verbinde mich eben mit dem Zentralrechner, des Ameos Krankenhauses, und prüfe nach  ob Gisela laut des Dienstplans  heute Arbeiten soll</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="text" id="ei/a[aJiYRlfCUDshQz1">
                                                                    <field name="TEXT">Gisela ist wohl,  </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD2">
                                                                  <block type="variables_get" id="Lq%CQG@~X-dG=[OfM;DY">
                                                                    <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <value name="IF2">
                                                          <block type="logic_compare" id="s;r5Zl8tw@q,}l}EdHaO">
                                                            <field name="OP">LT</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="(a8x~cI!Pf@xTGvsXs61">
                                                                <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="$v?J/`6CJZLqp2uI4Ce9">
                                                                <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO2">
                                                          <block type="text_append" id="4?ukOlaZ3M]_wAby1MSw">
                                                            <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                                                            <value name="TEXT">
                                                              <shadow type="text">
                                                                <field name="TEXT"></field>
                                                              </shadow>
                                                              <block type="text_join" id="!hh!TgHe)`KQwP?xM+k;">
                                                                <mutation items="3"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="text" id="_c1BV_lKGu)UADF67Lq{">
                                                                    <field name="TEXT">Ist das Dein ernst,  Gisela ist doch, </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="variables_get" id="$ky62u_W.hVsSy.B.Cgb">
                                                                    <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD2">
                                                                  <block type="text" id="~w7P~xXsHdug){8q%?PT">
                                                                    <field name="TEXT">Rufe Sie doch einfach mal</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="debug" id="!rf7|TBi2)`LJ8t7Sofn">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="XK.}%bg=6(j}kQ6%(P$c">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="variables_get" id="9,fhBXBI~R3VRoR3I8!K">
                                            <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="j2;C6VD.j.mDk4*#-K$J">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text">
                                                <field name="TEXT">test</field>
                                              </shadow>
                                              <block type="variables_get" id="odH$vK-D!,7~oRC]c5gh">
                                                <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="debug" id="+lVKy0/4AneX[]6JZ,6F">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text">
                                                    <field name="TEXT">test</field>
                                                  </shadow>
                                                  <block type="variables_get" id="7:H@8aJ10r]FQxuk;8CF">
                                                    <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
              

              Aufenthalt bestimmen

              return getObject(Aufenthalts_dp).common.name;
              

              Sprachausgabe

              <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="Vl1N2/u-bf=#0+gakLR6" x="-4412.1744" y="-5087.6656">
                <field name="NAME">Sprachausgabe auf Echo</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                <statement name="STACK">
                  <block type="control_ex" id="OcBZENe=yk:=`lE94x]W">
                    <field name="TYPE">false</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="OID">
                      <shadow type="field_oid" id="YF./5+U1n-W=.B=bl!-y">
                        <field name="oid">Object ID</field>
                      </shadow>
                      <block type="variables_get" id="h*TuHahvLLxyzF$^0c+x">
                        <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                      </block>
                    </value>
                    <value name="VALUE">
                      <shadow type="logic_boolean" id="u_+c*ywKgg!Z~0C1_2k4">
                        <field name="BOOL">TRUE</field>
                      </shadow>
                      <block type="variables_get" id="3h]|(z%PCT_%x:{D0|([">
                        <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                      </block>
                    </value>
                    <value name="DELAY_MS">
                      <shadow type="math_number" id="AGIKGbX4o-]3d/lt]=,C">
                        <field name="NUM">0</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="controls_if" id="^]!`q#Zho})Oi.pY=Ve|">
                        <mutation elseif="1" else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="P*b%/,VBs`scn+!.=iNE">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="variables_get" id="M)Fn*Qef{+K]`E.inijX">
                                <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="$3BlXU1O$h4m!_ML//_j">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="s(J|HM!S$0r]DBeL4Q`U">
                                    <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="m#03,DO.]FvgoQXV^ZJ*">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control_ex" id="*sm|T*W*ov{@Arihki_^">
                            <field name="TYPE">false</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="OID">
                              <shadow type="field_oid">
                                <field name="oid">Object ID</field>
                              </shadow>
                              <block type="variables_get" id="DZGSbhkE,}fWmtUsgpwY">
                                <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                              </block>
                            </value>
                            <value name="VALUE">
                              <shadow type="logic_boolean">
                                <field name="BOOL">TRUE</field>
                              </shadow>
                              <block type="variables_get" id="LVd~lBo,e6u4#hBvZN|V">
                                <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                              </block>
                            </value>
                            <value name="DELAY_MS">
                              <shadow type="math_number" id=")B7y,3eR`wf0hJQ71TC)">
                                <field name="NUM">0</field>
                              </shadow>
                            </value>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_operation" id="X[T?[C1+/R;P+$rB+!ZS">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="variables_get" id="fCFWSko#Wa6=RafX*@:d">
                                <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="t84j.|4m_w?.N2?~Z{zt">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="BxHnX~=clpO;EX(Yl(r^">
                                    <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="8;~n++EqT{wpOPn=y~DX">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="control_ex" id="vQ,jXg`9#H4#manqOWOC">
                            <field name="TYPE">false</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="OID">
                              <shadow type="field_oid">
                                <field name="oid">Object ID</field>
                              </shadow>
                              <block type="variables_get" id="Gv8$zwH*/X;a$4RWx|8}">
                                <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                              </block>
                            </value>
                            <value name="VALUE">
                              <shadow type="logic_boolean" id="mq=1F5ah99(D@gMeYAY-">
                                <field name="BOOL">TRUE</field>
                              </shadow>
                              <block type="text_join" id="$4X`Z9v7)aw{PmT4V0#E">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="[4U`Y[1TnD#/v4twmC|b">
                                    <field name="TEXT">Moment, ich verbinde mich eben mit dem Zentralrechner, des Ameos Krankenhauses, und prüfe nach  ob Gisela laut des Dienstplans  heute Arbeiten soll</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="text" id="h|%y2D^ev*plHyUTn:po">
                                    <field name="TEXT">Gisela ist wohl,  </field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="variables_get" id="oG$UI6BTZ6=%7o]k4A1r">
                                    <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="DELAY_MS">
                              <shadow type="math_number" id="AZFL4u=8)*N/loWLBg+*">
                                <field name="NUM">0</field>
                              </shadow>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="control_ex" id="2q4w+v7{d=Z0DQcz)kvo">
                            <field name="TYPE">false</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="OID">
                              <shadow type="field_oid">
                                <field name="oid">Object ID</field>
                              </shadow>
                              <block type="variables_get" id="d[~9JI{U^$W^M|84?6+W">
                                <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                              </block>
                            </value>
                            <value name="VALUE">
                              <shadow type="logic_boolean" id="oI7azvUWGtR0F~E]8vjK">
                                <field name="BOOL">TRUE</field>
                              </shadow>
                              <block type="text_join" id="6gj=,]ApH^WMrY5esdw#">
                                <mutation items="2"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="[g$,X@EjkierCx~EW91k">
                                    <field name="TEXT">Ist das Dein ernst,  Gisela ist doch, </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="variables_get" id="4vb*1+{7whg(J4#a0`AV">
                                    <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="DELAY_MS">
                              <shadow type="math_number" id="B.lr`uge$FdvG`BP6EkL">
                                <field name="NUM">0</field>
                              </shadow>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="debug" id="gHHm[3,!4YF!I#R(k4r(">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="Tg7B-D:Gfg{g35Mbx/B@">
                                <field name="TEXT">test</field>
                              </shadow>
                              <block type="variables_get" id="c4h1EbvC91F30jXdMcfG">
                                <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
              

              Danke vielmals für Eure Mithilfe
              Gruß
              Mico

              NewpicselN 1 Reply Last reply
              0
              • M Mico

                Hier mal das ganze in Wort und Bild:

                Screenshot 2023-09-06 070621.png

                Screenshot 2023-09-06 070708.png

                Screenshot 2023-09-06 070812.png

                Screenshot 2023-09-06 070834.png

                Screenshot 2023-09-06 070908.png

                Ananas ist ein Datenpunkt in IOT angelegt um die Routine von Alexa auf die Frage wo ist Gisela auf wahr schaltet.

                Echo Auswahl:

                
                <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="]T6TX_]v(A0XGMB[P;;G" x="-4437.6496" y="-5162.472">
                  <field name="NAME">Zu welchem Echo wird gesprochen</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  <statement name="STACK">
                    <block type="controls_if" id="@MAym/:I_G;`:.vwE:N7">
                      <mutation elseif="6"></mutation>
                      <value name="IF0">
                        <block type="logic_compare" id="%:L5Q.jqO=g4ZJ[vq@Xu">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="RIRA-{fe])~%Ms7YY{tT">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="dUYeT/gKUR+rB%WS==}Q">
                              <field name="TEXT">Alexa Stube</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="variables_set" id="|;.N!2GWgL;@F~6,~ViT">
                          <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                          <value name="VALUE">
                            <block type="field_oid" id="|0N}g?uPIkoxx,g[SWVB">
                              <field name="oid">alexa2.0.Echo-Devices.G2A1A60305120MMV.Commands.speak</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="l$q5bT;ZV(Y1p6@@/Wk[">
                              <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                              <value name="VALUE">
                                <block type="field_oid" id="$9yn@s2$tI2OWC`^8QXI">
                                  <field name="oid">alexa2.0.Echo-Devices.G2A1A60305120MMV.Commands.speak-volume</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="I^-xyi$cucK)?@mImLcJ">
                                  <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id="by@XIi-eE9U7X4Z,s!_E">
                                      <field name="oid">alexa2.0.Echo-Devices.G2A1A60305120MMV.Player.volume</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="nS|J^9!@-WV:euH;hR^d">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="%Y|AbVWvTp[jmr-nqiR|">
                                          <field name="TEXT">Alexa Stube antwortet</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <value name="IF1">
                        <block type="logic_compare" id="2yL+1%}1hxAZpDa$`ue$">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="D_{./gn4u6::]ZMS_ho8">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="m~f3YmCm!+MbL;Ob%6Zb">
                              <field name="TEXT">Alexa gute Stube</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO1">
                        <block type="variables_set" id="Bduh1nhh+ZLQeE_u#Umt">
                          <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                          <value name="VALUE">
                            <block type="field_oid" id="ES3NIs?DE@f--8AnC]gu">
                              <field name="oid">alexa2.0.Echo-Devices.G0922H07244524W8.Commands.speak</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="6k_o~!X1rXwEgAiPaO`/">
                              <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                              <value name="VALUE">
                                <block type="field_oid" id="fF5!66,GS~yX`)5[eLd2">
                                  <field name="oid">alexa2.0.Echo-Devices.G0922H07244524W8.Commands.speak-volume</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="`:|b0Ug-J{wS-MWk[K_`">
                                  <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id="j_j,{9R6=Vd~Re!Y2xfO">
                                      <field name="oid">alexa2.0.Echo-Devices.G0922H07244524W8.Player.volume</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="MO=-#._Ofc]MFR5RZBGi">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="nh,#d5B!?2jRk^jN?vWg">
                                          <field name="TEXT">Alexa gute Stube antwortet</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <value name="IF2">
                        <block type="logic_compare" id="V%1z)[d`^]$%t;gBvK!^">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="]Y=R|rh|q[!IqaYe}pe`">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="eYC;##xLxQ62wCzXFwcf">
                              <field name="TEXT">Alexa Werkstatt</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO2">
                        <block type="variables_set" id="7h:o6R*Jy0)NEprlilyn">
                          <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                          <value name="VALUE">
                            <block type="field_oid" id="}8|[6.VcG~OU03cu3z~o">
                              <field name="oid">alexa2.0.Echo-Devices.G090LF0965121B66.Commands.speak</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="rcjs)Pu*W^M*,#leTY_z">
                              <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                              <value name="VALUE">
                                <block type="field_oid" id=":J?kZV5U/4f0)v/G+x;1">
                                  <field name="oid">alexa2.0.Echo-Devices.G090LF0965121B66.Commands.speak-volume</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="0.LDIiupUvU$D|Ee2U3d">
                                  <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id="Qle)~674}uNl-~!I(Kt%">
                                      <field name="oid">alexa2.0.Echo-Devices.G090LF0965121B66.Player.volume</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="-z[`=aP,x!`^IA]CNpOX">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="NaUB}H$MxI`3_^P$~9oK">
                                          <field name="TEXT">Alexa Werkstatt antwortet</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <value name="IF3">
                        <block type="logic_compare" id="1O,$B|9jG_]Jv/MC67Sb">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="/zOb(_H~[|oNc]vZo8*X">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="%a8dt80nV(T*HExef0@;">
                              <field name="TEXT">Alexa Huehnerstall</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO3">
                        <block type="variables_set" id="AC6TDiR.SL+KkX?mh}Y1">
                          <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                          <value name="VALUE">
                            <block type="field_oid" id="Ib*]ORDzRHhN!zF%M[h^">
                              <field name="oid">alexa2.0.Echo-Devices.G090LF10720418N7.Commands.speak</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="/6Z3IwWK3Q%XMZVEN|}x">
                              <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                              <value name="VALUE">
                                <block type="field_oid" id="=BG),+q:Im!ekHJcibe1">
                                  <field name="oid">alexa2.0.Echo-Devices.G090LF10720418N7.Commands.speak-volume</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="$2nfWaZg;gD{GiBP2XwJ">
                                  <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id="wGT$QhL%{=S4otgUEWph">
                                      <field name="oid">alexa2.0.Echo-Devices.G090LF10720418N7.Player.volume</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="GyH8*nox87_fduftW9^?">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="4@MN$Y^+/.-$[A=%=6+]">
                                          <field name="TEXT">Alexa Huehnerstall antwortet</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <value name="IF4">
                        <block type="logic_compare" id="jU[dK5:KPpH%uoenTGLK">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="8F_=7+KAb0~iDJ`Uy3G!">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="v|2nP)2S|^y@!;#3c-I*">
                              <field name="TEXT">Alexa Kino</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO4">
                        <block type="variables_set" id="55XQX!{I)|)T-85m^b69">
                          <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                          <value name="VALUE">
                            <block type="field_oid" id="U;y1H~^PV)R#E-SR~}N$">
                              <field name="oid">alexa2.0.Echo-Devices.G090VC0990960QPP.Commands.speak</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="4m~^OB!xXQB$DA/?rC*e">
                              <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                              <value name="VALUE">
                                <block type="field_oid" id="lX#]%NR1)pl)!Uo,@SKR">
                                  <field name="oid">alexa2.0.Echo-Devices.G090VC0990960QPP.Commands.speak-volume</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="o/+*piqfo_fN`r*psDt4">
                                  <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id="L+M7mhjv/SNY;rT^{ppF">
                                      <field name="oid">alexa2.0.Echo-Devices.G090VC0990960QPP.Player.volume</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="X)4fr_;GAIc/l6DTBCJv">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="^sx?hTL8k%leGQ4~VSM;">
                                          <field name="TEXT">Alexa Kino antwortet</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <value name="IF5">
                        <block type="logic_compare" id="eZ~;QX_:@C^!clCJ11E`">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="bkX+3$rv$NjRizKi/BMC">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="BzF/,Cr#abV%_%MI1n?w">
                              <field name="TEXT">Alexa Garten</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO5">
                        <block type="variables_set" id="on_jgt3KKswj05^?]~2%">
                          <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                          <value name="VALUE">
                            <block type="field_oid" id="I@kpHDP{*fNkFw=yE*4#">
                              <field name="oid">alexa2.0.Echo-Devices.G090LF1072320AGF.Commands.speak</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="IUv,k3XP3{{kJx4slB5)">
                              <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                              <value name="VALUE">
                                <block type="field_oid" id="tun^4n,X+1(C)WT*hH^@">
                                  <field name="oid">alexa2.0.Echo-Devices.G090LF1072320AGF.Commands.speak-volume</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="a8qxUDBHLH1`p+cFCkNh">
                                  <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id=".8]wE|xkc7-vqC1)m4V}">
                                      <field name="oid">alexa2.0.Echo-Devices.G090LF1072320AGF.Player.volume</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="3v7GP;:CRyzTri?`$u^S">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="s$j+Us8J(#b8Qhb[/.BI">
                                          <field name="TEXT">Alexa Garten antwortet</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <value name="IF6">
                        <block type="logic_compare" id="gC*T|kdr_QKeFN]W?Hsj">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="n_vShs`iKt}f2e!_S{2h">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.name</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="JAE(IdG{n9d#DGT^J0vK">
                              <field name="TEXT">Alexa Stall</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO6">
                        <block type="variables_set" id="f`PG+w+AvK,dghql$LE{">
                          <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                          <value name="VALUE">
                            <block type="field_oid" id="_hj/i10=bX`eYs]V_#0?">
                              <field name="oid">alexa2.0.Echo-Devices.G090L91072450LNV.Commands.speak</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="!7Z+p(z[~2RK3aBv#/I9">
                              <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                              <value name="VALUE">
                                <block type="field_oid" id="wSr$_opUEAJkO]{$MFz~">
                                  <field name="oid">alexa2.0.Echo-Devices.G090L91072450LNV.Commands.speak-volume</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="Zq2kcN5[(-AQo^z$yGR4">
                                  <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                                  <value name="VALUE">
                                    <block type="field_oid" id="HeDw/PHBW@xh-E#;DiI+">
                                      <field name="oid">alexa2.0.Echo-Devices.G090L91072450LNV.Player.volume</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="~@~sFDM/WM/GX(kLkob0">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="`aZkOY~79Asw){zVZ~xR">
                                          <field name="TEXT">Alexa Stall antwortet</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
                

                Wo bin ich suchen

                <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="x`7^VM_qdVecUnT#-}k#" x="-4287.659199999999" y="-5037.6016">
                  <field name="NAME">wo bin ich suchen</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  <statement name="STACK">
                    <block type="variables_set" id="E*(]%~aisMZO.(k^i`8y">
                      <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="`@EfeL#zYAT8sUE[VF8o">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="9v{nM^@!n84$0{3)^w`8">
                          <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                          <value name="VALUE">
                            <block type="math_number" id="8,%@9N+ZA4lc8GXIQ_Z)">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="]m3+rUcIg}U#0KKu)6.4">
                              <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                              <value name="VALUE">
                                <block type="math_number" id="$51]NIOGtUk]@h[qWv9,">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                              <next>
                                <block type="controls_forEach" id="-Tk+}#DN]PW}RF(Y9g7x">
                                  <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                  <value name="LIST">
                                    <block type="selector" id="YrsxaRr#UyYO`{GnG0xd">
                                      <field name="TEXT">state[id=*](functions=wo)</field>
                                    </block>
                                  </value>
                                  <statement name="DO">
                                    <block type="controls_if" id="8_(8LaS/I#p4G{T}*%3o">
                                      <value name="IF0">
                                        <block type="logic_compare" id="7_+^2hcq;cdn*Ow!TSjQ">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value_var" id="9ce93zTK#^W1?*6/DH4o">
                                              <field name="ATTR">val</field>
                                              <value name="OID">
                                                <shadow type="text" id="cBp4C$?(MOvcCR?z+,{h">
                                                  <field name="TEXT"></field>
                                                </shadow>
                                                <block type="variables_get" id="Ktuy_Y*Dd4KPr@m;zAJS">
                                                  <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="#Kwmsbe1AGma*04_jn?d">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="math_change" id="W1n(R.?W6+zavffj72*q">
                                          <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                          <value name="DELTA">
                                            <shadow type="math_number" id="t#AEw.Ys@x3~iCGWej;R">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="math_number" id="N}Do:gBn[$BbTUQ%[u?Z">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_forEach" id="?#7|nZX+C`jO?cW+@EyI">
                                      <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                      <value name="LIST">
                                        <block type="selector" id="gu:nHxl#_@v@gO9z[5:4">
                                          <field name="TEXT">state[id=*](functions=wo)</field>
                                        </block>
                                      </value>
                                      <statement name="DO">
                                        <block type="controls_if" id="hM%rbRG_1,R`%Sz[/mL$">
                                          <value name="IF0">
                                            <block type="logic_compare" id="N/6/)I5}Y[K$,J}CTtJt">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value_var" id="LVJBx=@el]+--EI-:yCI">
                                                  <field name="ATTR">val</field>
                                                  <value name="OID">
                                                    <shadow type="text">
                                                      <field name="TEXT"></field>
                                                    </shadow>
                                                    <block type="variables_get" id="1lvE[x0RE*N4|y6HeI-R">
                                                      <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="%bp~o?9rYXL`!MNy4@:y">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="variables_set" id="^34oSTSe6Im4m+:Iv^RQ">
                                              <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="hIm%!nIH8/BksXNUOtc:">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="Q9f@N;Sw3U=MF1#^y$b!">
                                                  <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                  <value name="VALUE">
                                                    <block type="procedures_callcustomreturn" id="wY^V4^`+I:xhsk_xg^G]">
                                                      <mutation name="Aufenthalt bestimmen">
                                                        <arg name="Aufenthalts_dp"></arg>
                                                      </mutation>
                                                      <value name="ARG0">
                                                        <block type="variables_get" id="Z:|*KTtcDA!@u+qa@qcB">
                                                          <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="controls_if" id="sCGfv%93;J1:e)]:5Q[V">
                                                      <value name="IF0">
                                                        <block type="logic_ternary" id="edP+_aCtRH8)?e3W,90n">
                                                          <value name="IF">
                                                            <block type="logic_compare" id="9=koRPOMfH{O~)`uM]V;">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="U+k@f[Slm7Vwe;,-ynMM">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">0_userdata.0.wo_ist.Unterwegs</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id="1WhZ9lLteGCni2JsT8NI">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="THEN">
                                                            <block type="logic_compare" id="T5S74x^kq3HgR.2Rk:J?">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="Ph]VuG,1(*UHnUwMXCX3">
                                                                  <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id=":yHwo)iX}YYL*a4|Mj8t">
                                                                  <field name="NUM">2</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="ELSE">
                                                            <block type="logic_ternary" id="GofWJtw!n[H8x]j4D=Hl">
                                                              <value name="IF">
                                                                <block type="logic_compare" id="|upUD?m8DE:eK/f8H-L|">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="1l^BmzAtv=Dol;/M$pg(">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.wo_ist.im_Krankenhaus</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_boolean" id="q~!w!B$}{.)Tqz6K-l*L">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="THEN">
                                                                <block type="logic_compare" id="RWE8.s(lc]*uv/kt;9(F">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="w|NSf|,HBxo)]Y85;#vM">
                                                                      <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="lMur*#R.UPnV=sNlp$tv">
                                                                      <field name="NUM">1</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <value name="ELSE">
                                                                <block type="logic_compare" id="+.a1`#6ivFhA?6eilM:a">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="variables_get" id="K=$A:=HP?1.{mlX4~):1">
                                                                      <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="math_number" id="YS4ctX^rH$JMTjVc$PEc">
                                                                      <field name="NUM">0</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="controls_if" id=",$Ed`a#[fcUzVWT9=EEb">
                                                          <mutation elseif="2"></mutation>
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="}-UoYs`uo{Cb81w)=Z{w">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="lz2f(%Z!%FaRp0]90LjT">
                                                                  <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="variables_get" id="heTUqZ!Nz=M5MA1}q`}F">
                                                                  <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="text_append" id="1P79XEy0sqRhqRB*Q0cM">
                                                              <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                                                              <value name="TEXT">
                                                                <shadow type="text" id="B9A#%hPcsdfN8cZL[:Ss">
                                                                  <field name="TEXT"></field>
                                                                </shadow>
                                                                <block type="text_join" id="b~sxiFGYVgo=4+4BuADk">
                                                                  <mutation items="2"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id="cG)jbk/=Y2D|lYhJsjJ*">
                                                                      <field name="TEXT">Gisela ist noch, </field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD1">
                                                                    <block type="variables_get" id="wsuzQsN(1P+WzT1@rp|4">
                                                                      <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <value name="IF1">
                                                            <block type="logic_compare" id="6xRScQYN_#T@-Uj#pMzf">
                                                              <field name="OP">GT</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="5P@q@AQnR_u,YPuzq0Lu">
                                                                  <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="variables_get" id="6V{HQl`p-eXIM!Y2No*_">
                                                                  <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO1">
                                                            <block type="text_append" id="p@!}TPWA}i~:!;)bM^V?">
                                                              <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                                                              <value name="TEXT">
                                                                <shadow type="text" id="-,k~=%4Nw=-(q]rv.n1/">
                                                                  <field name="TEXT"></field>
                                                                </shadow>
                                                                <block type="text_join" id="|#8CpFt#%7=ylF|Hzl{.">
                                                                  <mutation items="3"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id=".n_u.z(V4g.KQx0Z8d~%">
                                                                      <field name="TEXT">Moment, ich verbinde mich eben mit dem Zentralrechner, des Ameos Krankenhauses, und prüfe nach  ob Gisela laut des Dienstplans  heute Arbeiten soll</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD1">
                                                                    <block type="text" id="ei/a[aJiYRlfCUDshQz1">
                                                                      <field name="TEXT">Gisela ist wohl,  </field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD2">
                                                                    <block type="variables_get" id="Lq%CQG@~X-dG=[OfM;DY">
                                                                      <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                          <value name="IF2">
                                                            <block type="logic_compare" id="s;r5Zl8tw@q,}l}EdHaO">
                                                              <field name="OP">LT</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="(a8x~cI!Pf@xTGvsXs61">
                                                                  <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="variables_get" id="$v?J/`6CJZLqp2uI4Ce9">
                                                                  <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO2">
                                                            <block type="text_append" id="4?ukOlaZ3M]_wAby1MSw">
                                                              <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                                                              <value name="TEXT">
                                                                <shadow type="text">
                                                                  <field name="TEXT"></field>
                                                                </shadow>
                                                                <block type="text_join" id="!hh!TgHe)`KQwP?xM+k;">
                                                                  <mutation items="3"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id="_c1BV_lKGu)UADF67Lq{">
                                                                      <field name="TEXT">Ist das Dein ernst,  Gisela ist doch, </field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD1">
                                                                    <block type="variables_get" id="$ky62u_W.hVsSy.B.Cgb">
                                                                      <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="ADD2">
                                                                    <block type="text" id="~w7P~xXsHdug){8q%?PT">
                                                                      <field name="TEXT">Rufe Sie doch einfach mal</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="debug" id="!rf7|TBi2)`LJ8t7Sofn">
                                          <field name="Severity">log</field>
                                          <value name="TEXT">
                                            <shadow type="text" id="XK.}%bg=6(j}kQ6%(P$c">
                                              <field name="TEXT">test</field>
                                            </shadow>
                                            <block type="variables_get" id="9,fhBXBI~R3VRoR3I8!K">
                                              <field name="VAR" id="sA:R=w^jUX^9SZn|!Na`">aufenthaltsbestimmung</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="debug" id="j2;C6VD.j.mDk4*#-K$J">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text">
                                                  <field name="TEXT">test</field>
                                                </shadow>
                                                <block type="variables_get" id="odH$vK-D!,7~oRC]c5gh">
                                                  <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="debug" id="+lVKy0/4AneX[]6JZ,6F">
                                                  <field name="Severity">log</field>
                                                  <value name="TEXT">
                                                    <shadow type="text">
                                                      <field name="TEXT">test</field>
                                                    </shadow>
                                                    <block type="variables_get" id="7:H@8aJ10r]FQxuk;8CF">
                                                      <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
                

                Aufenthalt bestimmen

                return getObject(Aufenthalts_dp).common.name;
                

                Sprachausgabe

                <block xmlns="https://developers.google.com/blockly/xml" type="procedures_defnoreturn" id="Vl1N2/u-bf=#0+gakLR6" x="-4412.1744" y="-5087.6656">
                  <field name="NAME">Sprachausgabe auf Echo</field>
                  <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                  <statement name="STACK">
                    <block type="control_ex" id="OcBZENe=yk:=`lE94x]W">
                      <field name="TYPE">false</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="OID">
                        <shadow type="field_oid" id="YF./5+U1n-W=.B=bl!-y">
                          <field name="oid">Object ID</field>
                        </shadow>
                        <block type="variables_get" id="h*TuHahvLLxyzF$^0c+x">
                          <field name="VAR" id="AF*h,ITA,rA(^{J5,?3R">Echo Volume to speak</field>
                        </block>
                      </value>
                      <value name="VALUE">
                        <shadow type="logic_boolean" id="u_+c*ywKgg!Z~0C1_2k4">
                          <field name="BOOL">TRUE</field>
                        </shadow>
                        <block type="variables_get" id="3h]|(z%PCT_%x:{D0|([">
                          <field name="VAR" id=";w@()6B#}z[RF745~*Wz">Echo Musik Volume</field>
                        </block>
                      </value>
                      <value name="DELAY_MS">
                        <shadow type="math_number" id="AGIKGbX4o-]3d/lt]=,C">
                          <field name="NUM">0</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="controls_if" id="^]!`q#Zho})Oi.pY=Ve|">
                          <mutation elseif="1" else="1"></mutation>
                          <value name="IF0">
                            <block type="logic_operation" id="P*b%/,VBs`scn+!.=iNE">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="variables_get" id="M)Fn*Qef{+K]`E.inijX">
                                  <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="$3BlXU1O$h4m!_ML//_j">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="s(J|HM!S$0r]DBeL4Q`U">
                                      <field name="VAR" id="+mfi=`Kg|@VA9;}X}5G|">gesamtanzahlWo</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="m#03,DO.]FvgoQXV^ZJ*">
                                      <field name="NUM">1</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control_ex" id="*sm|T*W*ov{@Arihki_^">
                              <field name="TYPE">false</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="OID">
                                <shadow type="field_oid">
                                  <field name="oid">Object ID</field>
                                </shadow>
                                <block type="variables_get" id="DZGSbhkE,}fWmtUsgpwY">
                                  <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                                </block>
                              </value>
                              <value name="VALUE">
                                <shadow type="logic_boolean">
                                  <field name="BOOL">TRUE</field>
                                </shadow>
                                <block type="variables_get" id="LVd~lBo,e6u4#hBvZN|V">
                                  <field name="VAR" id="T0s@GR$=2_+iz=1#q-|B">WoistListe</field>
                                </block>
                              </value>
                              <value name="DELAY_MS">
                                <shadow type="math_number" id=")B7y,3eR`wf0hJQ71TC)">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_operation" id="X[T?[C1+/R;P+$rB+!ZS">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="variables_get" id="fCFWSko#Wa6=RafX*@:d">
                                  <field name="VAR" id="K*%nnng^D{21;8u:sfQ.">Wogenauist</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="t84j.|4m_w?.N2?~Z{zt">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="BxHnX~=clpO;EX(Yl(r^">
                                      <field name="VAR" id="8.U/WnSK6owLcZT^s]zt">WoistAufenthalt</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="8;~n++EqT{wpOPn=y~DX">
                                      <field name="NUM">2</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="control_ex" id="vQ,jXg`9#H4#manqOWOC">
                              <field name="TYPE">false</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="OID">
                                <shadow type="field_oid">
                                  <field name="oid">Object ID</field>
                                </shadow>
                                <block type="variables_get" id="Gv8$zwH*/X;a$4RWx|8}">
                                  <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                                </block>
                              </value>
                              <value name="VALUE">
                                <shadow type="logic_boolean" id="mq=1F5ah99(D@gMeYAY-">
                                  <field name="BOOL">TRUE</field>
                                </shadow>
                                <block type="text_join" id="$4X`Z9v7)aw{PmT4V0#E">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="[4U`Y[1TnD#/v4twmC|b">
                                      <field name="TEXT">Moment, ich verbinde mich eben mit dem Zentralrechner, des Ameos Krankenhauses, und prüfe nach  ob Gisela laut des Dienstplans  heute Arbeiten soll</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="text" id="h|%y2D^ev*plHyUTn:po">
                                      <field name="TEXT">Gisela ist wohl,  </field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="variables_get" id="oG$UI6BTZ6=%7o]k4A1r">
                                      <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="DELAY_MS">
                                <shadow type="math_number" id="AZFL4u=8)*N/loWLBg+*">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                            </block>
                          </statement>
                          <statement name="ELSE">
                            <block type="control_ex" id="2q4w+v7{d=Z0DQcz)kvo">
                              <field name="TYPE">false</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="OID">
                                <shadow type="field_oid">
                                  <field name="oid">Object ID</field>
                                </shadow>
                                <block type="variables_get" id="d[~9JI{U^$W^M|84?6+W">
                                  <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                                </block>
                              </value>
                              <value name="VALUE">
                                <shadow type="logic_boolean" id="oI7azvUWGtR0F~E]8vjK">
                                  <field name="BOOL">TRUE</field>
                                </shadow>
                                <block type="text_join" id="6gj=,]ApH^WMrY5esdw#">
                                  <mutation items="2"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="[g$,X@EjkierCx~EW91k">
                                      <field name="TEXT">Ist das Dein ernst,  Gisela ist doch, </field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="variables_get" id="4vb*1+{7whg(J4#a0`AV">
                                      <field name="VAR" id=";%/yg}f?9[}qrpv_s*Ef">Aufenhaltsname ermitteln</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="DELAY_MS">
                                <shadow type="math_number" id="B.lr`uge$FdvG`BP6EkL">
                                  <field name="NUM">0</field>
                                </shadow>
                              </value>
                            </block>
                          </statement>
                          <next>
                            <block type="debug" id="gHHm[3,!4YF!I#R(k4r(">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="Tg7B-D:Gfg{g35Mbx/B@">
                                  <field name="TEXT">test</field>
                                </shadow>
                                <block type="variables_get" id="c4h1EbvC91F30jXdMcfG">
                                  <field name="VAR" id="?dW%dM6};1O%pt$DJR`S">EchoAuswählen</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
                

                Danke vielmals für Eure Mithilfe
                Gruß
                Mico

                NewpicselN Offline
                NewpicselN Offline
                Newpicsel
                wrote on last edited by Newpicsel
                #7

                Moin @mico

                tatsächlich kannst du momentan so keine Antwort absenden, da die History Objekte des Alexa Adapters keine Werte liefern.

                Entweder wartest und hoffst du auf einen fix oder benutzt ein bestimmten Echo zur Überbrückung für die Antwort.

                Sollte der Adapter gefixt sein, hier ein kleiner Tipp wie du super easy direkt mit der Seriennummer die Antwort an das richtige Gerät senden kannst.

                Antwort.jpg

                Edit: Du könntest mit deinem "ananas" Objekt, den #trigger in history steuern, um dir deine history Werte abzurufen, dann würde es gehen 🤷‍♂️
                Allerdings ist fraglich, wie lange diese trigger Lösung noch funktioniert…

                trigger.jpg

                ("default" wäre hier natürlich deine ObjektID "ananas")

                EDIT: wie es aussieht, gibt es vielleicht zum Wochenende bereits ein fix für das Alexa Problem! 🙏

                1 Reply Last reply
                0
                • NewpicselN Offline
                  NewpicselN Offline
                  Newpicsel
                  wrote on last edited by
                  #8

                  Moin @mico

                  Es gibt mittlerweile ein fix für den Alexa Adapter, hast dein Blockly damit schon getestet?

                  Ich schätze damit sollte es klappen aber wäre dennoch interessant.

                  Schöne Grüße

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  634

                  Online

                  32.4k

                  Users

                  81.3k

                  Topics

                  1.3m

                  Posts
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  ioBroker Community 2014-2025
                  logo
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Recent
                  • Tags
                  • Unread 0
                  • Categories
                  • Unreplied
                  • Popular
                  • GitHub
                  • Docu
                  • Hilfe