Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Badradio

NEWS

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

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

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

Badradio

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
blockly
75 Beiträge 10 Kommentatoren 4.4k Aufrufe 7 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • J Jan1

    @lustig29
    na daran kann es auch liegen, da das ne Gruppe ist und somit verbunden. Ein Grund warum ich das bei mir nicht mehr verwende, da das etwas seltsam reagiert.

    L Offline
    L Offline
    lustig29
    schrieb am zuletzt editiert von
    #34

    @Jan1 habe alle Multiroomgruppen in der Alexa App gelöscht und siehe da, jetzt läuft es. :blush:
    Wenn ich nun Multiroom nutzen möchte kann ich das doch bestimmt auch mit Hilfe eines Skriptes oder? Ich meine, wenn ich zum Beispiel zu Alexa sage: " Starte Multiroom, dass ein Skript gestartet wird, dass die Musikwiedergabe auf mehreren Echo´s gleichzeitig startet.

    J 1 Antwort Letzte Antwort
    0
    • L lustig29

      @Jan1 habe alle Multiroomgruppen in der Alexa App gelöscht und siehe da, jetzt läuft es. :blush:
      Wenn ich nun Multiroom nutzen möchte kann ich das doch bestimmt auch mit Hilfe eines Skriptes oder? Ich meine, wenn ich zum Beispiel zu Alexa sage: " Starte Multiroom, dass ein Skript gestartet wird, dass die Musikwiedergabe auf mehreren Echo´s gleichzeitig startet.

      J Offline
      J Offline
      Jan1
      schrieb am zuletzt editiert von
      #35

      @lustig29
      musst probieren

      L 2 Antworten Letzte Antwort
      0
      • J Jan1

        @lustig29
        musst probieren

        L Offline
        L Offline
        lustig29
        schrieb am zuletzt editiert von
        #36

        @Jan1 ok, danke nochmal:man-raising-hand:

        1 Antwort Letzte Antwort
        0
        • J Jan1

          @lustig29
          musst probieren

          L Offline
          L Offline
          lustig29
          schrieb am zuletzt editiert von
          #37

          @Jan1 wie passe ich das Skript am besten an? Möchte gerne, dass das Skript von Sonntag bis Donnerstag von 4:30 bis 21 Uhr läuft und Freitag / Samstag von 4:30 bis 23 Uhr läuft.

          J 1 Antwort Letzte Antwort
          0
          • L lustig29

            @Jan1 wie passe ich das Skript am besten an? Möchte gerne, dass das Skript von Sonntag bis Donnerstag von 4:30 bis 21 Uhr läuft und Freitag / Samstag von 4:30 bis 23 Uhr läuft.

            J Offline
            J Offline
            Jan1
            schrieb am zuletzt editiert von
            #38

            @lustig29
            poste mal den Export, ist einfacher das gleich selber umzubauen ;-)

            L 1 Antwort Letzte Antwort
            0
            • J Jan1

              @lustig29
              poste mal den Export, ist einfacher das gleich selber umzubauen ;-)

              L Offline
              L Offline
              lustig29
              schrieb am zuletzt editiert von
              #39
              <xml xmlns="https://developers.google.com/blockly/xml">
                <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="-462" y="-837">
                  <field name="OID">deconz.0.Sensors.14.presence</field>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                      <value name="IF0">
                        <block type="logic_operation" id="mQ/dx2,-_w5IG$iE;)@J" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                              <field name="USE_ACTUAL_TIME">TRUE</field>
                              <field name="OPTION">not between</field>
                              <value name="START_TIME">
                                <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                  <field name="TEXT">23:00</field>
                                </shadow>
                              </value>
                              <value name="END_TIME">
                                <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                  <field name="TEXT">04:30</field>
                                </shadow>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="on_source" id="9crFy+ImY/x|/4%_|Iuh">
                              <field name="ATTR">state.val</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="0caXwgeFdZ2+*-%4$]n7" disabled="true">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                          <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.speak-volume</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">1</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="qgnMFdS`CHLm~05gl|0$">
                              <field name="NUM">30</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="beIy{b}b`o+JDO}s--G*" disabled="true">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.ssml</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="@8xQbOq8H?PQJA?Obn$x">
                                  <field name="TEXT">&lt;speak&gt;&lt;voice name="Hans"&gt;Hallo, ich wünsche dir viel Erfolg bei deinem Geschäft. Hände waschen bitte nicht vergessen!&lt;/voice&gt;.&lt;/speak&gt;</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="k!y+]`TjgB*YNCulFP(b" disabled="true">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.volume</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="math_number" id="|,.2zG8A2}c;nn9~X%3Z">
                                      <field name="NUM">20</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="!l0yy;jVq!YL4RH3xD/8" disabled="true">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Music-Provider.TuneIn</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">4</field>
                                      <field name="UNIT">sec</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE">
                                        <block type="text" id="V4T*~XZ),3.JVa}:sLV,">
                                          <field name="TEXT">HR 3</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="-K*]=!?T(x=t3aH]yXB">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="R4Lwk@QMSU7wLUUR_{)">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                  <next>
                    <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                      <field name="OID">deconz.0.Sensors.9.open</field>
                      <field name="CONDITION">true</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                          <value name="IF0">
                            <block type="logic_operation" id="xRm)qTm9{hP%Om6X$S" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="on_source" id="FQBb^YFSsXxvNU,7?;g7">
                                  <field name="ATTR">state.val</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="get_value" id="I,5DN_vB(m]L_X%%l0C">
                                  <field name="ATTR">val</field>
                                  <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="-YhxQx;-Ohq38S3jpH,F">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPause</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id=".=Zr.OXX+3jD[5g4N84O">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="z.h$,n|N2GUp46ne8_SS">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="#Lz~5_ooORwjdqU#Xd|]">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="oQu-RS?b?*%VTU/wm#PF" disabled="true">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">deconz.0.Sensors.6.presence</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="J5VYYL98Ib}qaE`GTXmi">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </xml>_text
              
              J 1 Antwort Letzte Antwort
              0
              • L lustig29
                <xml xmlns="https://developers.google.com/blockly/xml">
                  <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="-462" y="-837">
                    <field name="OID">deconz.0.Sensors.14.presence</field>
                    <field name="CONDITION">ne</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                        <value name="IF0">
                          <block type="logic_operation" id="mQ/dx2,-_w5IG$iE;)@J" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                <field name="USE_ACTUAL_TIME">TRUE</field>
                                <field name="OPTION">not between</field>
                                <value name="START_TIME">
                                  <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                    <field name="TEXT">23:00</field>
                                  </shadow>
                                </value>
                                <value name="END_TIME">
                                  <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                    <field name="TEXT">04:30</field>
                                  </shadow>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="on_source" id="9crFy+ImY/x|/4%_|Iuh">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="0caXwgeFdZ2+*-%4$]n7" disabled="true">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.speak-volume</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">1</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="qgnMFdS`CHLm~05gl|0$">
                                <field name="NUM">30</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="beIy{b}b`o+JDO}s--G*" disabled="true">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.ssml</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="@8xQbOq8H?PQJA?Obn$x">
                                    <field name="TEXT">&lt;speak&gt;&lt;voice name="Hans"&gt;Hallo, ich wünsche dir viel Erfolg bei deinem Geschäft. Hände waschen bitte nicht vergessen!&lt;/voice&gt;.&lt;/speak&gt;</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="k!y+]`TjgB*YNCulFP(b" disabled="true">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.volume</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="|,.2zG8A2}c;nn9~X%3Z">
                                        <field name="NUM">20</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="!l0yy;jVq!YL4RH3xD/8" disabled="true">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Music-Provider.TuneIn</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">4</field>
                                        <field name="UNIT">sec</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="V4T*~XZ),3.JVa}:sLV,">
                                            <field name="TEXT">HR 3</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="-K*]=!?T(x=t3aH]yXB">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="R4Lwk@QMSU7wLUUR_{)">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <next>
                      <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                        <field name="OID">deconz.0.Sensors.9.open</field>
                        <field name="CONDITION">true</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                            <value name="IF0">
                              <block type="logic_operation" id="xRm)qTm9{hP%Om6X$S" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="on_source" id="FQBb^YFSsXxvNU,7?;g7">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="get_value" id="I,5DN_vB(m]L_X%%l0C">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="-YhxQx;-Ohq38S3jpH,F">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPause</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id=".=Zr.OXX+3jD[5g4N84O">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="z.h$,n|N2GUp46ne8_SS">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="#Lz~5_ooORwjdqU#Xd|]">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="oQu-RS?b?*%VTU/wm#PF" disabled="true">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">deconz.0.Sensors.6.presence</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="J5VYYL98Ib}qaE`GTXmi">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </xml>_text
                
                J Offline
                J Offline
                Jan1
                schrieb am zuletzt editiert von
                #40

                @lustig29
                kann das nicht importieren, kommt ein Fehler. Poste das noch mal.

                L 1 Antwort Letzte Antwort
                0
                • J Jan1

                  @lustig29
                  kann das nicht importieren, kommt ein Fehler. Poste das noch mal.

                  L Offline
                  L Offline
                  lustig29
                  schrieb am zuletzt editiert von
                  #41

                  @Jan1

                  code_text
                  ```<xml xmlns="https://developers.google.com/blockly/xml">
                    <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="-462" y="-837">
                      <field name="OID">deconz.0.Sensors.14.presence</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                          <value name="IF0">
                            <block type="logic_operation" id="mQ/dx2,-_w5IG$iE;)@J" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                  <field name="USE_ACTUAL_TIME">TRUE</field>
                                  <field name="OPTION">not between</field>
                                  <value name="START_TIME">
                                    <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                      <field name="TEXT">23:00</field>
                                    </shadow>
                                  </value>
                                  <value name="END_TIME">
                                    <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                      <field name="TEXT">04:30</field>
                                    </shadow>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="on_source" id="9crFy+ImY/x|/4%_|Iuh">
                                  <field name="ATTR">state.val</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="0caXwgeFdZ2+*-%4$]n7" disabled="true">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.speak-volume</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">1</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="qgnMFdS`CHLm~05gl|0$">
                                  <field name="NUM">30</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="beIy{b}b`o+JDO}s--G*" disabled="true">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.ssml</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="text" id="@8xQbOq8H?PQJA?Obn$x">
                                      <field name="TEXT">&lt;speak&gt;&lt;voice name="Hans"&gt;Hallo, ich wünsche dir viel Erfolg bei deinem Geschäft. Hände waschen bitte nicht vergessen!&lt;/voice&gt;.&lt;/speak&gt;</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="k!y+]`TjgB*YNCulFP(b" disabled="true">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.volume</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="|,.2zG8A2}c;nn9~X%3Z">
                                          <field name="NUM">20</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="!l0yy;jVq!YL4RH3xD/8" disabled="true">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                          <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Music-Provider.TuneIn</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">4</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="V4T*~XZ),3.JVa}:sLV,">
                                              <field name="TEXT">HR 3</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="-K*]=!?T(x=t3aH]yXB">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="R4Lwk@QMSU7wLUUR_{)">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <next>
                        <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                          <field name="OID">deconz.0.Sensors.9.open</field>
                          <field name="CONDITION">true</field>
                          <field name="ACK_CONDITION"></field>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                              <value name="IF0">
                                <block type="logic_operation" id="xRm)qTm9{hP%Om6X$S" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="on_source" id="FQBb^YFSsXxvNU,7?;g7">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="get_value" id="I,5DN_vB(m]L_X%%l0C">
                                      <field name="ATTR">val</field>
                                      <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="-YhxQx;-Ohq38S3jpH,F">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPause</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id=".=Zr.OXX+3jD[5g4N84O">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="z.h$,n|N2GUp46ne8_SS">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="#Lz~5_ooORwjdqU#Xd|]">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="oQu-RS?b?*%VTU/wm#PF" disabled="true">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">deconz.0.Sensors.6.presence</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="J5VYYL98Ib}qaE`GTXmi">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </xml>
                  J 1 Antwort Letzte Antwort
                  0
                  • L lustig29

                    @Jan1

                    code_text
                    ```<xml xmlns="https://developers.google.com/blockly/xml">
                      <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="-462" y="-837">
                        <field name="OID">deconz.0.Sensors.14.presence</field>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                            <value name="IF0">
                              <block type="logic_operation" id="mQ/dx2,-_w5IG$iE;)@J" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">not between</field>
                                    <value name="START_TIME">
                                      <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                        <field name="TEXT">23:00</field>
                                      </shadow>
                                    </value>
                                    <value name="END_TIME">
                                      <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                        <field name="TEXT">04:30</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="on_source" id="9crFy+ImY/x|/4%_|Iuh">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="0caXwgeFdZ2+*-%4$]n7" disabled="true">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.speak-volume</field>
                                <field name="WITH_DELAY">TRUE</field>
                                <field name="DELAY_MS">1</field>
                                <field name="UNIT">sec</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="qgnMFdS`CHLm~05gl|0$">
                                    <field name="NUM">30</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="beIy{b}b`o+JDO}s--G*" disabled="true">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.ssml</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text" id="@8xQbOq8H?PQJA?Obn$x">
                                        <field name="TEXT">&lt;speak&gt;&lt;voice name="Hans"&gt;Hallo, ich wünsche dir viel Erfolg bei deinem Geschäft. Hände waschen bitte nicht vergessen!&lt;/voice&gt;.&lt;/speak&gt;</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="k!y+]`TjgB*YNCulFP(b" disabled="true">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.volume</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="|,.2zG8A2}c;nn9~X%3Z">
                                            <field name="NUM">20</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="!l0yy;jVq!YL4RH3xD/8" disabled="true">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Music-Provider.TuneIn</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">4</field>
                                            <field name="UNIT">sec</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text" id="V4T*~XZ),3.JVa}:sLV,">
                                                <field name="TEXT">HR 3</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="-K*]=!?T(x=t3aH]yXB">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="R4Lwk@QMSU7wLUUR_{)">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                            <field name="OID">deconz.0.Sensors.9.open</field>
                            <field name="CONDITION">true</field>
                            <field name="ACK_CONDITION"></field>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                                <value name="IF0">
                                  <block type="logic_operation" id="xRm)qTm9{hP%Om6X$S" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="on_source" id="FQBb^YFSsXxvNU,7?;g7">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="get_value" id="I,5DN_vB(m]L_X%%l0C">
                                        <field name="ATTR">val</field>
                                        <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="-YhxQx;-Ohq38S3jpH,F">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPause</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id=".=Zr.OXX+3jD[5g4N84O">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="z.h$,n|N2GUp46ne8_SS">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="#Lz~5_ooORwjdqU#Xd|]">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="oQu-RS?b?*%VTU/wm#PF" disabled="true">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">deconz.0.Sensors.6.presence</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="J5VYYL98Ib}qaE`GTXmi">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </xml>
                    J Offline
                    J Offline
                    Jan1
                    schrieb am zuletzt editiert von Jan1
                    #42

                    @lustig29
                    sollte so laufen:

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="-713" y="-962">
                        <field name="OID">deconz.0.Sensors.14.presence</field>
                        <field name="CONDITION">gt</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="4?*WfIKqZiI!c(5PfJ@j" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_operation" id="x`2E4DnQ.BgSd,iRP*c8" inline="false">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="Ohd:_Bw/iju]Awl-^=z-">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="time_get" id="O^x[v[!?catkP4RCpOz]">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                            <field name="OPTION">wd</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="Ja2f??qvp!GX*YKtcJ]6">
                                            <field name="NUM">5</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id=")oLQU@bu6a5/?n_Dhv1h">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="time_get" id="NN4DT)!uI~)C([1SECM*">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                            <field name="OPTION">wd</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="My8hqgd2/OACXUvdMGC{">
                                            <field name="NUM">6</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">not between</field>
                                    <value name="START_TIME">
                                      <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                        <field name="TEXT">21:00</field>
                                      </shadow>
                                    </value>
                                    <value name="END_TIME">
                                      <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                        <field name="TEXT">04:30</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="procedures_callnoreturn" id="HYDQ4AV{{wC}d6ksPT*]">
                                <mutation name="mach Musik"></mutation>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_operation" id="H:r0a@jlkAc9sL$O(O#V" inline="false">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_operation" id="P$fbDr7:773XkVU2=BJp" inline="false">
                                    <field name="OP">OR</field>
                                    <value name="A">
                                      <block type="logic_compare" id="i3/O:|ti/LY/uHR/fEU+">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="time_get" id="^G;Psf~+o2]}Uob(]b2a">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                            <field name="OPTION">wd</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="_.Mul65$$G*j*sZ^bQ.r">
                                            <field name="NUM">5</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="iK:{R?msG0E(6C}XAUog">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="time_get" id="H{FxEk#$^~Rwn5uv]37Y">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                            <field name="OPTION">wd</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="_P;Wn7P;KOm7#aLJNC)}">
                                            <field name="NUM">6</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="time_compare_ex" id="^lfh?S(toOnFPFKDFi+g">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                    <field name="USE_ACTUAL_TIME">TRUE</field>
                                    <field name="OPTION">not between</field>
                                    <value name="START_TIME">
                                      <shadow type="text" id="8dK5/$+^{fKNNFd^zvf/">
                                        <field name="TEXT">23:00</field>
                                      </shadow>
                                    </value>
                                    <value name="END_TIME">
                                      <shadow type="text" id="z=Vk@M/,CRI+E`n8`bUU">
                                        <field name="TEXT">04:30</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="procedures_callnoreturn" id="dz?2/:3,Q*Br%A9/HRYS">
                                <mutation name="mach Musik"></mutation>
                              </block>
                            </statement>
                          </block>
                        </statement>
                        <next>
                          <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                            <field name="OID">deconz.0.Sensors.9.open</field>
                            <field name="CONDITION">gt</field>
                            <field name="ACK_CONDITION"></field>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                                <value name="IF0">
                                  <block type="get_value" id="I,5DN_vB(m]L_X%%l0C">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="control" id="-YhxQx;-Ohq38S3jpH,F">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPause</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id=".=Zr.OXX+3jD[5g4N84O">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="z.h$,n|N2GUp46ne8_SS">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="#Lz~5_ooORwjdqU#Xd|]">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="oQu-RS?b?*%VTU/wm#PF" disabled="true">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">deconz.0.Sensors.6.presence</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="J5VYYL98Ib}qaE`GTXmi">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                      <block type="procedures_defnoreturn" id="zDn%EJ=R{.L40rH7~+|Q" x="62" y="-962">
                        <field name="NAME">mach Musik</field>
                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                        <statement name="STACK">
                          <block type="control" id="0caXwgeFdZ2+*-%4$]n7" disabled="true">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.speak-volume</field>
                            <field name="WITH_DELAY">TRUE</field>
                            <field name="DELAY_MS">1</field>
                            <field name="UNIT">sec</field>
                            <field name="CLEAR_RUNNING">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="qgnMFdS`CHLm~05gl|0$">
                                <field name="NUM">30</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="beIy{b}b`o+JDO}s--G*" disabled="true">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.ssml</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="@8xQbOq8H?PQJA?Obn$x">
                                    <field name="TEXT">&lt;speak&gt;&lt;voice name="Hans"&gt;Hallo, ich wünsche dir viel Erfolg bei deinem Geschäft. Hände waschen bitte nicht vergessen!&lt;/voice&gt;.&lt;/speak&gt;</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="k!y+]`TjgB*YNCulFP(b" disabled="true">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.volume</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="math_number" id="|,.2zG8A2}c;nn9~X%3Z">
                                        <field name="NUM">20</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="!l0yy;jVq!YL4RH3xD/8" disabled="true">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Music-Provider.TuneIn</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">4</field>
                                        <field name="UNIT">sec</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="V4T*~XZ),3.JVa}:sLV,">
                                            <field name="TEXT">HR 3</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="-K*]=!?T(x=t3aH]yXB">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="R4Lwk@QMSU7wLUUR_{)">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    
                    L 1 Antwort Letzte Antwort
                    0
                    • J Jan1

                      @lustig29
                      sollte so laufen:

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="-713" y="-962">
                          <field name="OID">deconz.0.Sensors.14.presence</field>
                          <field name="CONDITION">gt</field>
                          <field name="ACK_CONDITION"></field>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                              <mutation elseif="1"></mutation>
                              <value name="IF0">
                                <block type="logic_operation" id="4?*WfIKqZiI!c(5PfJ@j" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_operation" id="x`2E4DnQ.BgSd,iRP*c8" inline="false">
                                      <field name="OP">AND</field>
                                      <value name="A">
                                        <block type="logic_compare" id="Ohd:_Bw/iju]Awl-^=z-">
                                          <field name="OP">NEQ</field>
                                          <value name="A">
                                            <block type="time_get" id="O^x[v[!?catkP4RCpOz]">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">wd</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="Ja2f??qvp!GX*YKtcJ]6">
                                              <field name="NUM">5</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_compare" id=")oLQU@bu6a5/?n_Dhv1h">
                                          <field name="OP">NEQ</field>
                                          <value name="A">
                                            <block type="time_get" id="NN4DT)!uI~)C([1SECM*">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">wd</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="My8hqgd2/OACXUvdMGC{">
                                              <field name="NUM">6</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                      <field name="OPTION">not between</field>
                                      <value name="START_TIME">
                                        <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                          <field name="TEXT">21:00</field>
                                        </shadow>
                                      </value>
                                      <value name="END_TIME">
                                        <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                          <field name="TEXT">04:30</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="procedures_callnoreturn" id="HYDQ4AV{{wC}d6ksPT*]">
                                  <mutation name="mach Musik"></mutation>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_operation" id="H:r0a@jlkAc9sL$O(O#V" inline="false">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_operation" id="P$fbDr7:773XkVU2=BJp" inline="false">
                                      <field name="OP">OR</field>
                                      <value name="A">
                                        <block type="logic_compare" id="i3/O:|ti/LY/uHR/fEU+">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="time_get" id="^G;Psf~+o2]}Uob(]b2a">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">wd</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="_.Mul65$$G*j*sZ^bQ.r">
                                              <field name="NUM">5</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_compare" id="iK:{R?msG0E(6C}XAUog">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="time_get" id="H{FxEk#$^~Rwn5uv]37Y">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">wd</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="_P;Wn7P;KOm7#aLJNC)}">
                                              <field name="NUM">6</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="time_compare_ex" id="^lfh?S(toOnFPFKDFi+g">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                      <field name="USE_ACTUAL_TIME">TRUE</field>
                                      <field name="OPTION">not between</field>
                                      <value name="START_TIME">
                                        <shadow type="text" id="8dK5/$+^{fKNNFd^zvf/">
                                          <field name="TEXT">23:00</field>
                                        </shadow>
                                      </value>
                                      <value name="END_TIME">
                                        <shadow type="text" id="z=Vk@M/,CRI+E`n8`bUU">
                                          <field name="TEXT">04:30</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="procedures_callnoreturn" id="dz?2/:3,Q*Br%A9/HRYS">
                                  <mutation name="mach Musik"></mutation>
                                </block>
                              </statement>
                            </block>
                          </statement>
                          <next>
                            <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                              <field name="OID">deconz.0.Sensors.9.open</field>
                              <field name="CONDITION">gt</field>
                              <field name="ACK_CONDITION"></field>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                                  <value name="IF0">
                                    <block type="get_value" id="I,5DN_vB(m]L_X%%l0C">
                                      <field name="ATTR">val</field>
                                      <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="-YhxQx;-Ohq38S3jpH,F">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPause</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id=".=Zr.OXX+3jD[5g4N84O">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="z.h$,n|N2GUp46ne8_SS">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="#Lz~5_ooORwjdqU#Xd|]">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="oQu-RS?b?*%VTU/wm#PF" disabled="true">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">deconz.0.Sensors.6.presence</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="J5VYYL98Ib}qaE`GTXmi">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                        <block type="procedures_defnoreturn" id="zDn%EJ=R{.L40rH7~+|Q" x="62" y="-962">
                          <field name="NAME">mach Musik</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                          <statement name="STACK">
                            <block type="control" id="0caXwgeFdZ2+*-%4$]n7" disabled="true">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.speak-volume</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">1</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="qgnMFdS`CHLm~05gl|0$">
                                  <field name="NUM">30</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="beIy{b}b`o+JDO}s--G*" disabled="true">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Commands.ssml</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="text" id="@8xQbOq8H?PQJA?Obn$x">
                                      <field name="TEXT">&lt;speak&gt;&lt;voice name="Hans"&gt;Hallo, ich wünsche dir viel Erfolg bei deinem Geschäft. Hände waschen bitte nicht vergessen!&lt;/voice&gt;.&lt;/speak&gt;</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="k!y+]`TjgB*YNCulFP(b" disabled="true">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.volume</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="|,.2zG8A2}c;nn9~X%3Z">
                                          <field name="NUM">20</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="!l0yy;jVq!YL4RH3xD/8" disabled="true">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                          <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Music-Provider.TuneIn</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">4</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="V4T*~XZ),3.JVa}:sLV,">
                                              <field name="TEXT">HR 3</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="-K*]=!?T(x=t3aH]yXB">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.scriptEnabled.Alexa.Musik_an</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="R4Lwk@QMSU7wLUUR_{)">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      
                      L Offline
                      L Offline
                      lustig29
                      schrieb am zuletzt editiert von
                      #43

                      @Jan1 Hallo, das Skript läuft soweit ganz gut. Ich muss es nur beim ersten betreten selbst starten...?
                      Beim ersten Betreten passiert nichts. Wenn ich Alexa sage: "Spiele... auf Tunein", geht es los.
                      Beim nächsten Betreten des Bades funktioniert dann das Skript wie gewollt. Bewegung wird erkannt, Wiedergabe startet.
                      Ich vermute das es mit dem Control Play / Control Pause zusammen hängt. Sind ja Buttons.
                      Ich habe leider noch keine Lösung gefunden.
                      Den BMW, schließe ich als Fehler aus. Ich habe noch einen LED Streifen im Bad, der über diesen und den Türkontakt gestört wird. Das geht ohne Probleme

                      J 1 Antwort Letzte Antwort
                      0
                      • L lustig29

                        @Jan1 Hallo, das Skript läuft soweit ganz gut. Ich muss es nur beim ersten betreten selbst starten...?
                        Beim ersten Betreten passiert nichts. Wenn ich Alexa sage: "Spiele... auf Tunein", geht es los.
                        Beim nächsten Betreten des Bades funktioniert dann das Skript wie gewollt. Bewegung wird erkannt, Wiedergabe startet.
                        Ich vermute das es mit dem Control Play / Control Pause zusammen hängt. Sind ja Buttons.
                        Ich habe leider noch keine Lösung gefunden.
                        Den BMW, schließe ich als Fehler aus. Ich habe noch einen LED Streifen im Bad, der über diesen und den Türkontakt gestört wird. Das geht ohne Probleme

                        J Offline
                        J Offline
                        Jan1
                        schrieb am zuletzt editiert von
                        #44

                        @lustig29
                        Schau doch einfach mal die Trigger DPs an, wie die zuerst stehen und ob die sich wie angegeben ändern.

                        L 1 Antwort Letzte Antwort
                        0
                        • J Jan1

                          @lustig29
                          Schau doch einfach mal die Trigger DPs an, wie die zuerst stehen und ob die sich wie angegeben ändern.

                          L Offline
                          L Offline
                          lustig29
                          schrieb am zuletzt editiert von
                          #45

                          @Jan1 Control Play steht schon auf true. Das dürfte doch nicht sein, oder?

                          J dslraserD 2 Antworten Letzte Antwort
                          0
                          • L lustig29

                            @Jan1 Control Play steht schon auf true. Das dürfte doch nicht sein, oder?

                            J Offline
                            J Offline
                            Jan1
                            schrieb am zuletzt editiert von
                            #46

                            @lustig29
                            Du startest ja ein weiteres Script und kein Plan was das macht. Wenn irgendwas auf true steht, hast einfach vergessen das per Script auch wieder auf false zu schalten. Schau einfach wo was nicht passt und ergänzt es. Das Grundgerüst läuft ja und der Rest ist Kindergeburtstag.

                            L 1 Antwort Letzte Antwort
                            0
                            • L lustig29

                              @Jan1 Control Play steht schon auf true. Das dürfte doch nicht sein, oder?

                              dslraserD Offline
                              dslraserD Offline
                              dslraser
                              Forum Testing Most Active
                              schrieb am zuletzt editiert von dslraser
                              #47

                              @lustig29
                              das geht schon so wie Du das machen möchtest, aber warum so kompliziert ?
                              Ich habe mir mal eine Routine in der Alexa App gemacht (spiele ndr zwei). Diese Routine ist im Alexa Adapter (nach dem Routine erstellen den Adapter neu starten) verfügbar. Bei mir ist der Trigger eine HUE Lampe (weil die sowieso über einen Bewegungsmelder eingeschaltet wird) Diese Routine läuft immer zuverlässig und das Blockly wird sehr einfach (bis auf Deine Zusatzeinschränkungen)
                              Geht das Licht an, startet der Radiosender, geht das Licht aus, dann auch der Radiosender...

                              Routine
                              Screenshot_20200709-170423_Amazon Alexa.jpg

                              Screenshot_20200709-170445_Amazon Alexa.jpg

                              Mein kurzes Blockly

                              Bildschirmfoto 2020-07-09 um 17.00.56.png

                              Edit: und hier schaltest Du ganze Scripte an und aus, das ist ohnehin nicht empfohlen...

                              Bildschirmfoto 2020-07-09 um 17.10.01.png

                              und hier...

                              Bildschirmfoto 2020-07-09 um 17.10.09.png

                              L 1 Antwort Letzte Antwort
                              0
                              • dslraserD dslraser

                                @lustig29
                                das geht schon so wie Du das machen möchtest, aber warum so kompliziert ?
                                Ich habe mir mal eine Routine in der Alexa App gemacht (spiele ndr zwei). Diese Routine ist im Alexa Adapter (nach dem Routine erstellen den Adapter neu starten) verfügbar. Bei mir ist der Trigger eine HUE Lampe (weil die sowieso über einen Bewegungsmelder eingeschaltet wird) Diese Routine läuft immer zuverlässig und das Blockly wird sehr einfach (bis auf Deine Zusatzeinschränkungen)
                                Geht das Licht an, startet der Radiosender, geht das Licht aus, dann auch der Radiosender...

                                Routine
                                Screenshot_20200709-170423_Amazon Alexa.jpg

                                Screenshot_20200709-170445_Amazon Alexa.jpg

                                Mein kurzes Blockly

                                Bildschirmfoto 2020-07-09 um 17.00.56.png

                                Edit: und hier schaltest Du ganze Scripte an und aus, das ist ohnehin nicht empfohlen...

                                Bildschirmfoto 2020-07-09 um 17.10.01.png

                                und hier...

                                Bildschirmfoto 2020-07-09 um 17.10.09.png

                                L Offline
                                L Offline
                                lustig29
                                schrieb am zuletzt editiert von
                                #48

                                @dslraser Ja, aber warum funktioniert das mit ControlPlay nicht? Ich möchte ja nicht irgendeinen Radiosender abspielen. Ich will nur, dass die Musikwiedergabe fortgesetzt wird. Egal ob Tunein, Spotify, usw.

                                1 Antwort Letzte Antwort
                                0
                                • L Offline
                                  L Offline
                                  lustig29
                                  schrieb am zuletzt editiert von
                                  #49

                                  So sieht mein Skript im Moment aus
                                  Bad.png

                                  1 Antwort Letzte Antwort
                                  0
                                  • J Jan1

                                    @lustig29
                                    Du startest ja ein weiteres Script und kein Plan was das macht. Wenn irgendwas auf true steht, hast einfach vergessen das per Script auch wieder auf false zu schalten. Schau einfach wo was nicht passt und ergänzt es. Das Grundgerüst läuft ja und der Rest ist Kindergeburtstag.

                                    L Offline
                                    L Offline
                                    lustig29
                                    schrieb am zuletzt editiert von
                                    #50

                                    @Jan1 Kannst du mir bitte nochmal helfen mit dem Control Play Problem?

                                    dslraserD 1 Antwort Letzte Antwort
                                    0
                                    • L lustig29

                                      @Jan1 Kannst du mir bitte nochmal helfen mit dem Control Play Problem?

                                      dslraserD Offline
                                      dslraserD Offline
                                      dslraser
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von dslraser
                                      #51

                                      @lustig29
                                      ich bin zwar nicht Jan1 und kenne Deinen Bewegungsmelder nicht (meine BWM bleiben auf true, solange Bewegung erkannt wird und lassen sich konfigurieren wann sie wieder auf false gehen wenn keine Bewegung mehr erkannt wird)
                                      Ich weiß auch nicht wie lange der letzte Sender (oder Provider) in den Datenpunkten vom Alexa2 Adapter nach dem letzten abspielen drinn stehen bleibt. Wenn die immer drinn bleiben, dann sollte doch ein erneutes drücken auf play reichen.

                                      Vorschlag, so in etwa (nicht getestet)

                                      Bildschirmfoto 2020-07-22 um 19.05.22.png

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                       <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="13" y="13">
                                         <field name="OID">deconz.0.Sensors.14.presence</field>
                                         <field name="CONDITION">ne</field>
                                         <field name="ACK_CONDITION"></field>
                                         <statement name="STATEMENT">
                                           <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                                             <value name="IF0">
                                               <block type="logic_operation" id="6s#Qd!cP$$-Co+A*2M#}" inline="false">
                                                 <field name="OP">AND</field>
                                                 <value name="A">
                                                   <block type="on_source" id="|fS~q#BQ?Z:3qR6Zc(t{">
                                                     <field name="ATTR">state.val</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="logic_operation" id="4?*WfIKqZiI!c(5PfJ@j" inline="false">
                                                     <field name="OP">AND</field>
                                                     <value name="A">
                                                       <block type="logic_operation" id="x`2E4DnQ.BgSd,iRP*c8" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="logic_compare" id="Ohd:_Bw/iju]Awl-^=z-">
                                                             <field name="OP">NEQ</field>
                                                             <value name="A">
                                                               <block type="time_get" id="O^x[v[!?catkP4RCpOz]">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                 <field name="OPTION">wd</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="Ja2f??qvp!GX*YKtcJ]6">
                                                                 <field name="NUM">5</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_compare" id=")oLQU@bu6a5/?n_Dhv1h">
                                                             <field name="OP">NEQ</field>
                                                             <value name="A">
                                                               <block type="time_get" id="NN4DT)!uI~)C([1SECM*">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                 <field name="OPTION">wd</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="My8hqgd2/OACXUvdMGC{">
                                                                 <field name="NUM">6</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                         <field name="USE_ACTUAL_TIME">TRUE</field>
                                                         <field name="OPTION">not between</field>
                                                         <value name="START_TIME">
                                                           <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                                             <field name="TEXT">21:00</field>
                                                           </shadow>
                                                         </value>
                                                         <value name="END_TIME">
                                                           <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                                             <field name="TEXT">04:30</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="procedures_callnoreturn" id="HYDQ4AV{{wC}d6ksPT*]">
                                                 <mutation name="mach_Musik"></mutation>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="controls_if" id="BdojF*!sp8M9vMCtjhhe">
                                                 <value name="IF0">
                                                   <block type="logic_operation" id="HH=SzmL*B5~Qo?2*i/t-" inline="false">
                                                     <field name="OP">AND</field>
                                                     <value name="A">
                                                       <block type="logic_negate" id=".Ii7VNQCQsLhy:JWjyq~">
                                                         <value name="BOOL">
                                                           <block type="on_source" id="xOrq{-st8fu1OD=sDVF~">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_operation" id="_H[;_U.9)+;(?xVw=nx-" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="logic_operation" id="Zu%jHx}rM-}?isWGj^G6" inline="false">
                                                             <field name="OP">AND</field>
                                                             <value name="A">
                                                               <block type="logic_compare" id="tP9wbzWsjr/!2(5hbuy*">
                                                                 <field name="OP">NEQ</field>
                                                                 <value name="A">
                                                                   <block type="time_get" id="pc3r8jNP}93dl@z(qJU7">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                     <field name="OPTION">wd</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="math_number" id="D+1,L!+7k,RhNF#!Zi_s">
                                                                     <field name="NUM">5</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="logic_compare" id="d[7+_W*E!hdU3~fg^nC+">
                                                                 <field name="OP">NEQ</field>
                                                                 <value name="A">
                                                                   <block type="time_get" id="ke?S?XPv4RV0w!+w0rmd">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                     <field name="OPTION">wd</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="math_number" id="kDTTvvo+6I0+{Fmd.Z_j">
                                                                     <field name="NUM">6</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="time_compare_ex" id="eEmi%*(aJ?yF2q,(FGU=">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                             <field name="USE_ACTUAL_TIME">TRUE</field>
                                                             <field name="OPTION">not between</field>
                                                             <value name="START_TIME">
                                                               <shadow type="text" id="N=vutHo//d5eOiMv{4jw">
                                                                 <field name="TEXT">21:00</field>
                                                               </shadow>
                                                             </value>
                                                             <value name="END_TIME">
                                                               <shadow type="text" id="(O5Z%*uN_hKPwR6R-rTu">
                                                                 <field name="TEXT">04:30</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="procedures_callnoreturn" id="c8*jaAYriZRr$$yogeVO">
                                                     <mutation name="mach_Musik_aus"></mutation>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="controls_if" id="u|H)(@*hqhJ@_:f36Pl,">
                                                     <value name="IF0">
                                                       <block type="logic_operation" id="hb=JsVjTrVc}ht6:@;Tz" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="on_source" id="ul{^e1q@a6+kFZ{E^KH(">
                                                             <field name="ATTR">state.val</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_operation" id="H:r0a@jlkAc9sL$O(O#V" inline="false">
                                                             <field name="OP">AND</field>
                                                             <value name="A">
                                                               <block type="logic_operation" id="P$fbDr7:773XkVU2=BJp" inline="false">
                                                                 <field name="OP">OR</field>
                                                                 <value name="A">
                                                                   <block type="logic_compare" id="i3/O:|ti/LY/uHR/fEU+">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="time_get" id="^G;Psf~+o2]}Uob(]b2a">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                         <field name="OPTION">wd</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="math_number" id="_.Mul65$$G*j*sZ^bQ.r">
                                                                         <field name="NUM">5</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="logic_compare" id="iK:{R?msG0E(6C}XAUog">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="time_get" id="H{FxEk#$^~Rwn5uv]37Y">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                         <field name="OPTION">wd</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="math_number" id="_P;Wn7P;KOm7#aLJNC)}">
                                                                         <field name="NUM">6</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="time_compare_ex" id="^lfh?S(toOnFPFKDFi+g">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                 <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                 <field name="OPTION">not between</field>
                                                                 <value name="START_TIME">
                                                                   <shadow type="text" id="8dK5/$+^{fKNNFd^zvf/">
                                                                     <field name="TEXT">23:00</field>
                                                                   </shadow>
                                                                 </value>
                                                                 <value name="END_TIME">
                                                                   <shadow type="text" id="z=Vk@M/,CRI+E`n8`bUU">
                                                                     <field name="TEXT">04:30</field>
                                                                   </shadow>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="procedures_callnoreturn" id="dz?2/:3,Q*Br%A9/HRYS">
                                                         <mutation name="mach_Musik"></mutation>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="controls_if" id="e9e,o`~.v1YnG3P|Y@~$">
                                                         <value name="IF0">
                                                           <block type="logic_operation" id="PD,K.Ln(G.#|5#c*CHrY" inline="false">
                                                             <field name="OP">AND</field>
                                                             <value name="A">
                                                               <block type="logic_negate" id="YwVAR5NSVG9}hk!?-b2!">
                                                                 <value name="BOOL">
                                                                   <block type="on_source" id="4+P3R)9yR)oa,Vg;0%a-">
                                                                     <field name="ATTR">state.val</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="logic_operation" id="n66o?1ZAhp_}|=%g3vkK" inline="false">
                                                                 <field name="OP">AND</field>
                                                                 <value name="A">
                                                                   <block type="logic_operation" id="lp6kVF~vx~lsRByxwjWB" inline="false">
                                                                     <field name="OP">OR</field>
                                                                     <value name="A">
                                                                       <block type="logic_compare" id="/-l~FA*kjnc*1FO2Ug=5">
                                                                         <field name="OP">EQ</field>
                                                                         <value name="A">
                                                                           <block type="time_get" id="4#mCT:Y6blSu7CU^ga)*">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                             <field name="OPTION">wd</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="math_number" id="$cQcmW$vr^30oEb_1sDj">
                                                                             <field name="NUM">5</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="logic_compare" id="z;5t]?7`S4NLXJFY`iye">
                                                                         <field name="OP">EQ</field>
                                                                         <value name="A">
                                                                           <block type="time_get" id="C.wBKjznQ19|x0NC5l3O">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                             <field name="OPTION">wd</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <block type="math_number" id="t09J}5nX!LxCp!v]IrER">
                                                                             <field name="NUM">6</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="time_compare_ex" id="E]FvF}F8HMMHT.]Xdr@^">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                     <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                     <field name="OPTION">not between</field>
                                                                     <value name="START_TIME">
                                                                       <shadow type="text" id="r-/xauF2lG}n}Yki--`Q">
                                                                         <field name="TEXT">23:00</field>
                                                                       </shadow>
                                                                     </value>
                                                                     <value name="END_TIME">
                                                                       <shadow type="text" id="dP;EQE3#GpXVo9RdmxX/">
                                                                         <field name="TEXT">04:30</field>
                                                                       </shadow>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="procedures_callnoreturn" id="+p?%Yk^+)^3N_o2[yX6R">
                                                             <mutation name="mach_Musik_aus"></mutation>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                                             <field name="OID">deconz.0.Sensors.9.open</field>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <statement name="STATEMENT">
                                               <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                                                 <value name="IF0">
                                                   <block type="on_source" id="h_B9RvL-9Tlsy*IDEMmH">
                                                     <field name="ATTR">state.val</field>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="procedures_callnoreturn" id="NT+:Zdud):f7dtw~|Y@]">
                                                     <mutation name="mach_Musik"></mutation>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                       <block type="procedures_defnoreturn" id="O(3*+|mgt]9chiP7/98V" x="337" y="13">
                                         <field name="NAME">mach_Musik_aus</field>
                                         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                         <statement name="STACK">
                                           <block type="comment" id="5W/()7s]5%k.hDzAvw]c">
                                             <field name="COMMENT">hier den stopp Befehl Button</field>
                                             <next>
                                               <block type="control" id="aw-U.VFFII+FtU]U/o`r">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">Object ID</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="I1WfR-nF,!Zs+:68P!?:">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                       <block type="procedures_defnoreturn" id="zDn%EJ=R{.L40rH7~+|Q" x="288" y="837">
                                         <field name="NAME">mach_Musik</field>
                                         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                         <statement name="STACK">
                                           <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                      </xml>
                                      

                                      EDIT: Export eben noch mal etwas verändert (22.07.2020 19:06 Uhr)

                                      L 1 Antwort Letzte Antwort
                                      0
                                      • dslraserD dslraser

                                        @lustig29
                                        ich bin zwar nicht Jan1 und kenne Deinen Bewegungsmelder nicht (meine BWM bleiben auf true, solange Bewegung erkannt wird und lassen sich konfigurieren wann sie wieder auf false gehen wenn keine Bewegung mehr erkannt wird)
                                        Ich weiß auch nicht wie lange der letzte Sender (oder Provider) in den Datenpunkten vom Alexa2 Adapter nach dem letzten abspielen drinn stehen bleibt. Wenn die immer drinn bleiben, dann sollte doch ein erneutes drücken auf play reichen.

                                        Vorschlag, so in etwa (nicht getestet)

                                        Bildschirmfoto 2020-07-22 um 19.05.22.png

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                         <block type="on" id="{!Ow5W{xI=1u8E[NnSUK" x="13" y="13">
                                           <field name="OID">deconz.0.Sensors.14.presence</field>
                                           <field name="CONDITION">ne</field>
                                           <field name="ACK_CONDITION"></field>
                                           <statement name="STATEMENT">
                                             <block type="controls_if" id="Kx3vNe=R:}qK8)0gWt@">
                                               <value name="IF0">
                                                 <block type="logic_operation" id="6s#Qd!cP$$-Co+A*2M#}" inline="false">
                                                   <field name="OP">AND</field>
                                                   <value name="A">
                                                     <block type="on_source" id="|fS~q#BQ?Z:3qR6Zc(t{">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_operation" id="4?*WfIKqZiI!c(5PfJ@j" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="logic_operation" id="x`2E4DnQ.BgSd,iRP*c8" inline="false">
                                                           <field name="OP">AND</field>
                                                           <value name="A">
                                                             <block type="logic_compare" id="Ohd:_Bw/iju]Awl-^=z-">
                                                               <field name="OP">NEQ</field>
                                                               <value name="A">
                                                                 <block type="time_get" id="O^x[v[!?catkP4RCpOz]">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                   <field name="OPTION">wd</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="Ja2f??qvp!GX*YKtcJ]6">
                                                                   <field name="NUM">5</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_compare" id=")oLQU@bu6a5/?n_Dhv1h">
                                                               <field name="OP">NEQ</field>
                                                               <value name="A">
                                                                 <block type="time_get" id="NN4DT)!uI~)C([1SECM*">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                   <field name="OPTION">wd</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="My8hqgd2/OACXUvdMGC{">
                                                                   <field name="NUM">6</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="time_compare_ex" id="Tt0_xmUcA.@q=R^6c?K">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                           <field name="USE_ACTUAL_TIME">TRUE</field>
                                                           <field name="OPTION">not between</field>
                                                           <value name="START_TIME">
                                                             <shadow type="text" id="Ds2^t-6oqCLq{#P9fh(/">
                                                               <field name="TEXT">21:00</field>
                                                             </shadow>
                                                           </value>
                                                           <value name="END_TIME">
                                                             <shadow type="text" id="gu#LKi_N|YJrLy[.i6XR">
                                                               <field name="TEXT">04:30</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="procedures_callnoreturn" id="HYDQ4AV{{wC}d6ksPT*]">
                                                   <mutation name="mach_Musik"></mutation>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="controls_if" id="BdojF*!sp8M9vMCtjhhe">
                                                   <value name="IF0">
                                                     <block type="logic_operation" id="HH=SzmL*B5~Qo?2*i/t-" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="logic_negate" id=".Ii7VNQCQsLhy:JWjyq~">
                                                           <value name="BOOL">
                                                             <block type="on_source" id="xOrq{-st8fu1OD=sDVF~">
                                                               <field name="ATTR">state.val</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_operation" id="_H[;_U.9)+;(?xVw=nx-" inline="false">
                                                           <field name="OP">AND</field>
                                                           <value name="A">
                                                             <block type="logic_operation" id="Zu%jHx}rM-}?isWGj^G6" inline="false">
                                                               <field name="OP">AND</field>
                                                               <value name="A">
                                                                 <block type="logic_compare" id="tP9wbzWsjr/!2(5hbuy*">
                                                                   <field name="OP">NEQ</field>
                                                                   <value name="A">
                                                                     <block type="time_get" id="pc3r8jNP}93dl@z(qJU7">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                       <field name="OPTION">wd</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="math_number" id="D+1,L!+7k,RhNF#!Zi_s">
                                                                       <field name="NUM">5</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="logic_compare" id="d[7+_W*E!hdU3~fg^nC+">
                                                                   <field name="OP">NEQ</field>
                                                                   <value name="A">
                                                                     <block type="time_get" id="ke?S?XPv4RV0w!+w0rmd">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                       <field name="OPTION">wd</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="math_number" id="kDTTvvo+6I0+{Fmd.Z_j">
                                                                       <field name="NUM">6</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="time_compare_ex" id="eEmi%*(aJ?yF2q,(FGU=">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                               <field name="USE_ACTUAL_TIME">TRUE</field>
                                                               <field name="OPTION">not between</field>
                                                               <value name="START_TIME">
                                                                 <shadow type="text" id="N=vutHo//d5eOiMv{4jw">
                                                                   <field name="TEXT">21:00</field>
                                                                 </shadow>
                                                               </value>
                                                               <value name="END_TIME">
                                                                 <shadow type="text" id="(O5Z%*uN_hKPwR6R-rTu">
                                                                   <field name="TEXT">04:30</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="procedures_callnoreturn" id="c8*jaAYriZRr$$yogeVO">
                                                       <mutation name="mach_Musik_aus"></mutation>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="controls_if" id="u|H)(@*hqhJ@_:f36Pl,">
                                                       <value name="IF0">
                                                         <block type="logic_operation" id="hb=JsVjTrVc}ht6:@;Tz" inline="false">
                                                           <field name="OP">AND</field>
                                                           <value name="A">
                                                             <block type="on_source" id="ul{^e1q@a6+kFZ{E^KH(">
                                                               <field name="ATTR">state.val</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_operation" id="H:r0a@jlkAc9sL$O(O#V" inline="false">
                                                               <field name="OP">AND</field>
                                                               <value name="A">
                                                                 <block type="logic_operation" id="P$fbDr7:773XkVU2=BJp" inline="false">
                                                                   <field name="OP">OR</field>
                                                                   <value name="A">
                                                                     <block type="logic_compare" id="i3/O:|ti/LY/uHR/fEU+">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="time_get" id="^G;Psf~+o2]}Uob(]b2a">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                           <field name="OPTION">wd</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="_.Mul65$$G*j*sZ^bQ.r">
                                                                           <field name="NUM">5</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="logic_compare" id="iK:{R?msG0E(6C}XAUog">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="time_get" id="H{FxEk#$^~Rwn5uv]37Y">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                           <field name="OPTION">wd</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="_P;Wn7P;KOm7#aLJNC)}">
                                                                           <field name="NUM">6</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="time_compare_ex" id="^lfh?S(toOnFPFKDFi+g">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                   <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                   <field name="OPTION">not between</field>
                                                                   <value name="START_TIME">
                                                                     <shadow type="text" id="8dK5/$+^{fKNNFd^zvf/">
                                                                       <field name="TEXT">23:00</field>
                                                                     </shadow>
                                                                   </value>
                                                                   <value name="END_TIME">
                                                                     <shadow type="text" id="z=Vk@M/,CRI+E`n8`bUU">
                                                                       <field name="TEXT">04:30</field>
                                                                     </shadow>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="procedures_callnoreturn" id="dz?2/:3,Q*Br%A9/HRYS">
                                                           <mutation name="mach_Musik"></mutation>
                                                         </block>
                                                       </statement>
                                                       <next>
                                                         <block type="controls_if" id="e9e,o`~.v1YnG3P|Y@~$">
                                                           <value name="IF0">
                                                             <block type="logic_operation" id="PD,K.Ln(G.#|5#c*CHrY" inline="false">
                                                               <field name="OP">AND</field>
                                                               <value name="A">
                                                                 <block type="logic_negate" id="YwVAR5NSVG9}hk!?-b2!">
                                                                   <value name="BOOL">
                                                                     <block type="on_source" id="4+P3R)9yR)oa,Vg;0%a-">
                                                                       <field name="ATTR">state.val</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="logic_operation" id="n66o?1ZAhp_}|=%g3vkK" inline="false">
                                                                   <field name="OP">AND</field>
                                                                   <value name="A">
                                                                     <block type="logic_operation" id="lp6kVF~vx~lsRByxwjWB" inline="false">
                                                                       <field name="OP">OR</field>
                                                                       <value name="A">
                                                                         <block type="logic_compare" id="/-l~FA*kjnc*1FO2Ug=5">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="time_get" id="4#mCT:Y6blSu7CU^ga)*">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                               <field name="OPTION">wd</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="$cQcmW$vr^30oEb_1sDj">
                                                                               <field name="NUM">5</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="logic_compare" id="z;5t]?7`S4NLXJFY`iye">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="time_get" id="C.wBKjznQ19|x0NC5l3O">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                               <field name="OPTION">wd</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="t09J}5nX!LxCp!v]IrER">
                                                                               <field name="NUM">6</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="time_compare_ex" id="E]FvF}F8HMMHT.]Xdr@^">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true" actual_time="true"></mutation>
                                                                       <field name="USE_ACTUAL_TIME">TRUE</field>
                                                                       <field name="OPTION">not between</field>
                                                                       <value name="START_TIME">
                                                                         <shadow type="text" id="r-/xauF2lG}n}Yki--`Q">
                                                                           <field name="TEXT">23:00</field>
                                                                         </shadow>
                                                                       </value>
                                                                       <value name="END_TIME">
                                                                         <shadow type="text" id="dP;EQE3#GpXVo9RdmxX/">
                                                                           <field name="TEXT">04:30</field>
                                                                         </shadow>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="procedures_callnoreturn" id="+p?%Yk^+)^3N_o2[yX6R">
                                                               <mutation name="mach_Musik_aus"></mutation>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="on" id="sM:.Y~^%@f(]1=[;xCd]">
                                               <field name="OID">deconz.0.Sensors.9.open</field>
                                               <field name="CONDITION">ne</field>
                                               <field name="ACK_CONDITION"></field>
                                               <statement name="STATEMENT">
                                                 <block type="controls_if" id="5cj)P381Yi%K(%Q6B4l">
                                                   <value name="IF0">
                                                     <block type="on_source" id="h_B9RvL-9Tlsy*IDEMmH">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="procedures_callnoreturn" id="NT+:Zdud):f7dtw~|Y@]">
                                                       <mutation name="mach_Musik"></mutation>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                         <block type="procedures_defnoreturn" id="O(3*+|mgt]9chiP7/98V" x="337" y="13">
                                           <field name="NAME">mach_Musik_aus</field>
                                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                           <statement name="STACK">
                                             <block type="comment" id="5W/()7s]5%k.hDzAvw]c">
                                               <field name="COMMENT">hier den stopp Befehl Button</field>
                                               <next>
                                                 <block type="control" id="aw-U.VFFII+FtU]U/o`r">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">Object ID</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="I1WfR-nF,!Zs+:68P!?:">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                         <block type="procedures_defnoreturn" id="zDn%EJ=R{.L40rH7~+|Q" x="288" y="837">
                                           <field name="NAME">mach_Musik</field>
                                           <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                           <statement name="STACK">
                                             <block type="control" id="DENupJe1)#Ft`L$5)c^,">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">alexa2.0.Echo-Devices.G2A0QU0574740N2B.Player.controlPlay</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="I%X3.ec/A@FYni-5!MvP">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </statement>
                                         </block>
                                        </xml>
                                        

                                        EDIT: Export eben noch mal etwas verändert (22.07.2020 19:06 Uhr)

                                        L Offline
                                        L Offline
                                        lustig29
                                        schrieb am zuletzt editiert von
                                        #52

                                        @dslraser Dankeschön, werde ich mal testen.

                                        dslraserD 1 Antwort Letzte Antwort
                                        0
                                        • L lustig29

                                          @dslraser Dankeschön, werde ich mal testen.

                                          dslraserD Offline
                                          dslraserD Offline
                                          dslraser
                                          Forum Testing Most Active
                                          schrieb am zuletzt editiert von dslraser
                                          #53

                                          @lustig29 sagte in Badradio:

                                          @dslraser Dankeschön, werde ich mal testen.

                                          Ich habe das mal bei mir getestet.

                                          Ich weiß auch nicht wie lange der letzte Sender (oder Provider) in den Datenpunkten vom Alexa2 Adapter nach dem letzten abspielen drinn stehen bleibt. Wenn die immer drinn bleiben, dann sollte doch ein erneutes drücken auf play reichen.

                                          Der Sender steht zwar noch in den Datenpunkten vom Alexa2 Adapter drinn, aber nach einer Weile (wie lange weiß ich nicht) reicht ein einfaches play drücken dann nicht mehr. Da muss dann erst einmal wieder bei den Povider Daten im Adapter (der Sender, oder auch eine Play Liste usw.) neu angestoßen werden.

                                          Ich höre bei mir immer den gleichen Sender und lade quasi den dann neu.

                                          Immer das was zu letzt gehört wurde irgendwann wieder einfach per play zu starten, geht also so nicht.
                                          Man müsste wahrscheinlich dafür das zu letzt gehörte in eine Variable im Blockly weg schreiben (oder auch in einen eigenen Datenpunkt) und das dann wieder starten.

                                          L 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          607

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe