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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Video abspielen

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    784

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Video abspielen

Scheduled Pinned Locked Moved Blockly
12 Posts 4 Posters 767 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J jwerlsdf

    Folgendes Szenario möchte ich gerne umsetzen:
    Ich möchte gerne per Tastendruck ein Video abspielen. Dazu soll per Zufall eines ausgewählt werden und auf dem Raspberry (VLC) oder in der VIS (Fully Browser) automatisch abgespielt werden.
    Die Videos sollen per Zufall ausgewählt werden. Dies habe ich bereits per Blockly gelöst.

    <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="OwvWF8?g^siR00fBEqB5" x="-12" y="13">
     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
     <field name="CONDITION">any</field>
     <field name="ACK_CONDITION"></field>
     <value name="OID0">
       <shadow type="field_oid" id="aUCCHw*LNHbUo*zh9QC)">
         <field name="oid">hm-rpc.1.000B5A49A8591A.1.PRESS_LONG</field>
       </shadow>
     </value>
     <statement name="STATEMENT">
       <block type="variables_set" id="OKR;@U0)K%AOY1#O|2/c">
         <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
         <value name="VALUE">
           <block type="lists_create_with" id="2KUr1A*iG_C0`K:Cn1!,">
             <mutation items="3"></mutation>
             <value name="ADD0">
               <block type="text" id="W}Lt68Mj/K8Esm:xe7(.">
                 <field name="TEXT">DTS-Orchestra</field>
               </block>
             </value>
             <value name="ADD1">
               <block type="text" id="cX,KLZ@UAn=6)2MAzw8r">
                 <field name="TEXT">thx-Mo</field>
               </block>
             </value>
             <value name="ADD2">
               <block type="text" id="q[?`P?XlJg%?2hm5%qj.">
                 <field name="TEXT">thx_amazing_life</field>
               </block>
             </value>
           </block>
         </value>
         <next>
           <block type="control" id="90ZjJd#I~b,nffRnuZ[l">
             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
             <field name="OID">0_userdata.0.EG-Beamer-Sound</field>
             <field name="WITH_DELAY">FALSE</field>
             <value name="VALUE">
               <block type="lists_getIndex" id="[}PT[:AY{DFh+:HDi%O=">
                 <mutation statement="false" at="false"></mutation>
                 <field name="MODE">GET</field>
                 <field name="WHERE">RANDOM</field>
                 <value name="VALUE">
                   <block type="variables_get" id="M`E@JgRGj*:bAz~w/D[:">
                     <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                   </block>
                 </value>
               </block>
             </value>
           </block>
         </next>
       </block>
     </statement>
    </block>
    


    Die Videos sind lokal auf dem Raspberry gespeichert. Ich habe gedacht ich könnte es wie folgt machen:
    Die Videos unter /opt/iobroker/iobroker-data/files/web
    speichern und dann über http://IP:8082/web/video.mp4
    abspielen. Aber leider geht es nicht. Das Video wird nicht aber nicht gefunden.

    hat jemand eine Idee, wie ich am besten das lokal gespeicherte Video abspielen kann? Vielen Dank schon einmal für die Hilfe.

    crunchipC Away
    crunchipC Away
    crunchip
    Forum Testing Most Active Developer
    wrote on last edited by
    #2

    @jwerlsdf sagte in Video abspielen:

    in der VIS (Fully Browser) automatisch abgespielt werden

    @jwerlsdf sagte in Video abspielen:

    Die Videos unter /opt/iobroker/iobroker-data/files/web

    wie hast du die da rein geladen? auf Dateien kann nur zugegriffen werden, wenn diese über den Dateimanager rein geladen werden

    umgestiegen von Proxmox auf Unraid

    J 1 Reply Last reply
    0
    • crunchipC crunchip

      @jwerlsdf sagte in Video abspielen:

      in der VIS (Fully Browser) automatisch abgespielt werden

      @jwerlsdf sagte in Video abspielen:

      Die Videos unter /opt/iobroker/iobroker-data/files/web

      wie hast du die da rein geladen? auf Dateien kann nur zugegriffen werden, wenn diese über den Dateimanager rein geladen werden

      J Offline
      J Offline
      jwerlsdf
      wrote on last edited by
      #3

      @crunchip
      ich habe diese per filezilla reinkopiert...

      DJMarc75D 1 Reply Last reply
      0
      • J jwerlsdf

        @crunchip
        ich habe diese per filezilla reinkopiert...

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

        @jwerlsdf sagte in Video abspielen:

        ich habe diese per filezilla reinkopiert...

        geht so nicht... sondern nur so:

        @crunchip sagte in Video abspielen:

        auf Dateien kann nur zugegriffen werden, wenn diese über den Dateimanager rein geladen werden

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

        J 1 Reply Last reply
        0
        • DJMarc75D DJMarc75

          @jwerlsdf sagte in Video abspielen:

          ich habe diese per filezilla reinkopiert...

          geht so nicht... sondern nur so:

          @crunchip sagte in Video abspielen:

          auf Dateien kann nur zugegriffen werden, wenn diese über den Dateimanager rein geladen werden

          J Offline
          J Offline
          jwerlsdf
          wrote on last edited by jwerlsdf
          #5

          ah, ok. Jetzt funktioniert auch die Anzeige über

          http://IP:8082/web/video.mp4
          

          jetzt stellt sich nur noch die Frage, wie ich den Link im Fully Browser angezeigt bekomme...

          <block xmlns="https://developers.google.com/blockly/xml" type="request" id="u!fIdNx?AdZ^L19G}Rb1" x="95.00141906738281" y="289">
           <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
           <field name="WITH_STATEMENT">FALSE</field>
           <field name="LOG"></field>
           <value name="URL">
             <shadow type="text" id="wXF9`V:V/umM]y#_y*sz">
               <field name="TEXT">http://192.168.178.28:8082/web/video.mp4</field>
             </shadow>
           </value>
          </block>
          

          DJMarc75D 1 Reply Last reply
          0
          • J jwerlsdf

            ah, ok. Jetzt funktioniert auch die Anzeige über

            http://IP:8082/web/video.mp4
            

            jetzt stellt sich nur noch die Frage, wie ich den Link im Fully Browser angezeigt bekomme...

            <block xmlns="https://developers.google.com/blockly/xml" type="request" id="u!fIdNx?AdZ^L19G}Rb1" x="95.00141906738281" y="289">
             <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
             <field name="WITH_STATEMENT">FALSE</field>
             <field name="LOG"></field>
             <value name="URL">
               <shadow type="text" id="wXF9`V:V/umM]y#_y*sz">
                 <field name="TEXT">http://192.168.178.28:8082/web/video.mp4</field>
               </shadow>
             </value>
            </block>
            

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

            @jwerlsdf

            Schau mal hier rein... könnte helfen:

            https://forum.iobroker.net/topic/58747/video-im-vis/2?_=1665912913516

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

            J 1 Reply Last reply
            0
            • DJMarc75D DJMarc75

              @jwerlsdf

              Schau mal hier rein... könnte helfen:

              https://forum.iobroker.net/topic/58747/video-im-vis/2?_=1665912913516

              J Offline
              J Offline
              jwerlsdf
              wrote on last edited by
              #7

              Ok, hat auch funktioniert. Jetzt stellt sich für mich nur noch die Frage, wie das Skript aussehen müsste, damit bei Knopfdruck eine
              a) bestimmte View-Seite (die ich im Skript definieren möchte), geöffnet wird
              b) das Video von vorne gestartet wird und nach Durchlauf des Videos ein weiterer Datenpunkt geschaltet wird.

              liv-in-skyL 1 Reply Last reply
              0
              • J jwerlsdf

                Ok, hat auch funktioniert. Jetzt stellt sich für mich nur noch die Frage, wie das Skript aussehen müsste, damit bei Knopfdruck eine
                a) bestimmte View-Seite (die ich im Skript definieren möchte), geöffnet wird
                b) das Video von vorne gestartet wird und nach Durchlauf des Videos ein weiterer Datenpunkt geschaltet wird.

                liv-in-skyL Offline
                liv-in-skyL Offline
                liv-in-sky
                wrote on last edited by
                #8

                @jwerlsdf

                ich würde den html code mit video via script in einen datenpukt schreiben - dieser datenpunkt ist als binding in einem html widget angegeben.

                dadurch:

                • kannst du einen timer mitlaufen lassen, damit du das ende des videos weißt
                • könntest du das video einblenden lassen, ohne die view zu wechseln - oder die view wechseln, wenn das besser ist
                • könntest sogar verschiedene videos einbinden

                wenn das video fertig ist, kannst du das html widget wieder mit "leer" beschreiben und das widget wieder "verschwinden" lassen - oder die view wieder umschalten

                ungefähr so:

                script-vis2.gif

                nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                J 1 Reply Last reply
                0
                • liv-in-skyL liv-in-sky

                  @jwerlsdf

                  ich würde den html code mit video via script in einen datenpukt schreiben - dieser datenpunkt ist als binding in einem html widget angegeben.

                  dadurch:

                  • kannst du einen timer mitlaufen lassen, damit du das ende des videos weißt
                  • könntest du das video einblenden lassen, ohne die view zu wechseln - oder die view wechseln, wenn das besser ist
                  • könntest sogar verschiedene videos einbinden

                  wenn das video fertig ist, kannst du das html widget wieder mit "leer" beschreiben und das widget wieder "verschwinden" lassen - oder die view wieder umschalten

                  ungefähr so:

                  script-vis2.gif

                  J Offline
                  J Offline
                  jwerlsdf
                  wrote on last edited by
                  #9

                  @liv-in-sky

                  <xml xmlns="https://developers.google.com/blockly/xml">
                   <variables>
                     <variable type="timeout" id="timeout2">timeout2</variable>
                     <variable type="timeout" id="timeout">timeout</variable>
                     <variable id="C0H5DR2AYN3+%2U{57#:">Zufall</variable>
                   </variables>
                   <block type="on_ext" id="Fx|_D%=B(QPoNHFkNhEj" x="112" y="62">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                     <field name="CONDITION">any</field>
                     <field name="ACK_CONDITION"></field>
                     <value name="OID0">
                       <shadow type="field_oid" id="m.T|Vgh#cPW`fxYx9$!D">
                         <field name="oid">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                       </shadow>
                     </value>
                     <statement name="STATEMENT">
                       <block type="controls_if" id="x)Gz-(4[{E1vI3gHQJ$!">
                         <mutation elseif="1"></mutation>
                         <value name="IF0">
                           <block type="logic_compare" id="|T:klgkOuV3gJkn_+)Y`">
                             <field name="OP">GT</field>
                             <value name="A">
                               <block type="get_value" id="aF,gZeVq!?nI[Y)Ah6oh">
                                 <field name="ATTR">val</field>
                                 <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="W3BfDdN/prR}_r7}#cL/">
                                 <field name="NUM">4</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id=".fx*pMS|^Y#|W4]R9e4@">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">denon.0.zoneMain.powerZone</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="(c_FG{QO)`zjk0*8sn*x">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="Y(lCWcKSdjMOK7I4W4)/">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">denon.0.zoneMain.selectInput</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="text" id="P.oP+Y*B!;-g*X0^3zFd">
                                     <field name="TEXT">DVD</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="~.c(8U[UY}#OMc{:z6*n">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="math_number" id="e^~ljd/aX0e49|-QfT2?">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="control" id=")xg@S5T$7ph#}sx9;Qm|">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="IXTJA+ZaAt|jS~KYWT.h">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id="kfh4-0zXFmAZp,my=OA$">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="uP?1w#^YwEJq|;B{f)})">
                                                 <field name="NUM">0</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="D1a`*?~jwblUB12/xayL">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="f}8i[%(;F~htBxc?kiOJ">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="/|X:fDTo{VAqy3,QTh0Q">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="math_number" id="T`39UDK1td1`!10Y-wc*">
                                                         <field name="NUM">0</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="timeouts_cleartimeout" id="a.#0b1oXPL:_?$9O`w(8">
                                                         <field name="NAME">timeout</field>
                                                         <next>
                                                           <block type="control" id="%jMM;%$nPq885Do)(eYS">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="math_number" id="S)x@JxN7y+?!tG}e|.@F">
                                                                 <field name="NUM">0</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="timeouts_settimeout" id="{m8SNkKEv/2(I8/|-krO">
                                                                 <field name="NAME">timeout</field>
                                                                 <field name="DELAY">26</field>
                                                                 <field name="UNIT">sec</field>
                                                                 <statement name="STATEMENT">
                                                                   <block type="control" id="WK=l$Fkg0p)mC:fR%Szs">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="logic_boolean" id="yZWg|5Tx!z7up0P#dy;u">
                                                                         <field name="BOOL">TRUE</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="variables_set" id="OKR;@U0)K%AOY1#O|2/c">
                                                                         <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                         <value name="VALUE">
                                                                           <block type="lists_create_with" id="2KUr1A*iG_C0`K:Cn1!,">
                                                                             <mutation items="4"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="text" id="W}Lt68Mj/K8Esm:xe7(.">
                                                                                 <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx-Mo.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="text" id="cX,KLZ@UAn=6)2MAzw8r">
                                                                                 <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/DTS-Orchestra.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD2">
                                                                               <block type="text" id="q[?`P?XlJg%?2hm5%qj.">
                                                                                 <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/Minions_Universal_Fanfare.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD3">
                                                                               <block type="text" id="bCt:q[USIs]g@n1*+Wp.">
                                                                                 <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx_amazing_life.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="control" id="90ZjJd#I~b,nffRnuZ[l">
                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                             <field name="OID">0_userdata.0.EG-Beamer-Sound</field>
                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                             <value name="VALUE">
                                                                               <block type="lists_getIndex" id="[}PT[:AY{DFh+:HDi%O=">
                                                                                 <mutation statement="false" at="false"></mutation>
                                                                                 <field name="MODE">GET</field>
                                                                                 <field name="WHERE">RANDOM</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="variables_get" id="M`E@JgRGj*:bAz~w/D[:">
                                                                                     <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </statement>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_operation" id="(-t@?9~r(H-Z~iZD:^FU" inline="false">
                             <field name="OP">AND</field>
                             <value name="A">
                               <block type="logic_compare" id="FY1.28aBxqD|Crw6m/e@">
                                 <field name="OP">LT</field>
                                 <value name="A">
                                   <block type="get_value" id="{n11RGVaQQ0jvJs~fuIj">
                                     <field name="ATTR">val</field>
                                     <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="i@DH2MXkG1-~jZ]~yCYD">
                                     <field name="NUM">4</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_compare" id="Z#2{]0!?T2WA,_(T/bo(">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="nGVfYfcxXzXHQI8QA{#h">
                                     <field name="ATTR">val</field>
                                     <field name="OID">denon.0.zoneMain.selectInput</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="text" id="x1X,(eWop1!H~TC_Q`Mh">
                                     <field name="TEXT">DVD</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="control" id="xmxc:zmZARMc.bZIVc6f">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">denon.0.zone2.powerZone</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_boolean" id="ndQgif3A/-M0Si8b4dHH">
                                 <field name="BOOL">FALSE</field>
                               </block>
                             </value>
                             <next>
                               <block type="control" id="TLG7VR3^EvMk8yYCkf!}">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">denon.0.zoneMain.powerZone</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="p.R/b[LzmB#Q05PrbtE8">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="timeouts_cleartimeout" id="Mw1R]Vlp{J%@8}7=ZfU@">
                                     <field name="NAME">timeout2</field>
                                     <next>
                                       <block type="control" id="Z5y|V:.bnO@Eu%zMlP4~">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="!;Cr/U*v$wqOO%c#@~kW">
                                             <field name="NUM">100</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="timeouts_settimeout" id="wVNS.rNmC_TdTEEnwjc(">
                                             <field name="NAME">timeout2</field>
                                             <field name="DELAY">25</field>
                                             <field name="UNIT">sec</field>
                                             <statement name="STATEMENT">
                                               <block type="control" id="@a5HLMk6Xkw3@?r,v^R!">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="Q1aGslR0U$Eteu927qfq">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="controls_if" id="/384x}V(VqUjSn_%/MR?">
                                                 <value name="IF0">
                                                   <block type="logic_operation" id="@V}kpFC6;9sO)jNE:R2r" inline="false">
                                                     <field name="OP">OR</field>
                                                     <value name="A">
                                                       <block type="time_compare_ex" id="a),_~rxd=n~tR]75]I?U">
                                                         <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">between</field>
                                                         <value name="START_TIME">
                                                           <shadow type="text" id="|gA.e/dB!H#5;3A6T3gp">
                                                             <field name="TEXT">22.00</field>
                                                           </shadow>
                                                         </value>
                                                         <value name="END_TIME">
                                                           <shadow type="text" id="wwyf%R1x^Xi~UnnH$?#?">
                                                             <field name="TEXT">06.00</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_compare" id="aI(L~X%D0/`dFK%^[8a0">
                                                         <field name="OP">LTE</field>
                                                         <value name="A">
                                                           <block type="get_value" id="M~j]8eRGcOVwtsLS5fOn">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">hm-rpc.1.00181BE9946BC5.1.ILLUMINATION</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="RHqs~UNjwo:z+ug4RUth">
                                                             <field name="NUM">400</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="ZnFck.$Ln2A(YmGPq#o/">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="math_number" id="5d!%Cl.u7vc{ZnKUB3k8">
                                                         <field name="NUM">100</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="+oAc5Kl@ZBnTMXh,1YLy">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="~jopVT}bc{SP-8SLOi0D">
                                                             <field name="NUM">100</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="control" id="UrfoedyPW|Q%:wXy0rvX">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="math_number" id="gVnlsEo)_V.(([0_-1Pf">
                                                                 <field name="NUM">100</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="control" id="J=n#^#^RF|u!32l#;S#^">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="U(HL!0d.YyA{5+(PJRC*">
                                                                     <field name="NUM">100</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="LY!C~sgM)x{-r%B|2CXu">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_number" id="X010)pA,R@JYe:YQ3y?a">
                                                                         <field name="NUM">100</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </statement>
                   </block>
                  </xml>
                  

                  Hier mal mein blockly. Folgende Funktionen soll es haben: Wenn der Beamer eingeschaltet wird, dann sollen

                  1. Die Rollos herunter gefahren werden,
                  2. Die Leinwand herunter gefahren nach 26 Sekunden gestoppt werden.
                  3. Ebenfalls nach 26 Sekunden per Zufall aus den vier Videos eines automatisch abgespielt werden.

                  Jetzt scheint das Blockly aber nicht ganz zu funktionieren, d.h. ich gehe mal davon aus, dass mit den Timeouts etwas nicht stimmt.

                  Benötige ich überhaupt die Zeit eines videos? Es wird doch automatisch abgespielt und hört nach auch wieder auf (keine Dauerschleife)
                  Ich habe im html dann folgendes Binding gesetzt:

                  {0_userdata.0.EG-Beamer-Sound}
                  


                  Reicht das, oder muss ich noch etwas berücksichtigen?!

                  liv-in-skyL 1 Reply Last reply
                  0
                  • J jwerlsdf

                    @liv-in-sky

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable type="timeout" id="timeout2">timeout2</variable>
                       <variable type="timeout" id="timeout">timeout</variable>
                       <variable id="C0H5DR2AYN3+%2U{57#:">Zufall</variable>
                     </variables>
                     <block type="on_ext" id="Fx|_D%=B(QPoNHFkNhEj" x="112" y="62">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                       <field name="CONDITION">any</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="m.T|Vgh#cPW`fxYx9$!D">
                           <field name="oid">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="x)Gz-(4[{E1vI3gHQJ$!">
                           <mutation elseif="1"></mutation>
                           <value name="IF0">
                             <block type="logic_compare" id="|T:klgkOuV3gJkn_+)Y`">
                               <field name="OP">GT</field>
                               <value name="A">
                                 <block type="get_value" id="aF,gZeVq!?nI[Y)Ah6oh">
                                   <field name="ATTR">val</field>
                                   <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="W3BfDdN/prR}_r7}#cL/">
                                   <field name="NUM">4</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id=".fx*pMS|^Y#|W4]R9e4@">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">denon.0.zoneMain.powerZone</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="(c_FG{QO)`zjk0*8sn*x">
                                   <field name="BOOL">TRUE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="Y(lCWcKSdjMOK7I4W4)/">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">denon.0.zoneMain.selectInput</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="text" id="P.oP+Y*B!;-g*X0^3zFd">
                                       <field name="TEXT">DVD</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="~.c(8U[UY}#OMc{:z6*n">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="e^~ljd/aX0e49|-QfT2?">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id=")xg@S5T$7ph#}sx9;Qm|">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="IXTJA+ZaAt|jS~KYWT.h">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="kfh4-0zXFmAZp,my=OA$">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="uP?1w#^YwEJq|;B{f)})">
                                                   <field name="NUM">0</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="D1a`*?~jwblUB12/xayL">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="f}8i[%(;F~htBxc?kiOJ">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="control" id="/|X:fDTo{VAqy3,QTh0Q">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="T`39UDK1td1`!10Y-wc*">
                                                           <field name="NUM">0</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="timeouts_cleartimeout" id="a.#0b1oXPL:_?$9O`w(8">
                                                           <field name="NAME">timeout</field>
                                                           <next>
                                                             <block type="control" id="%jMM;%$nPq885Do)(eYS">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="S)x@JxN7y+?!tG}e|.@F">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="timeouts_settimeout" id="{m8SNkKEv/2(I8/|-krO">
                                                                   <field name="NAME">timeout</field>
                                                                   <field name="DELAY">26</field>
                                                                   <field name="UNIT">sec</field>
                                                                   <statement name="STATEMENT">
                                                                     <block type="control" id="WK=l$Fkg0p)mC:fR%Szs">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="logic_boolean" id="yZWg|5Tx!z7up0P#dy;u">
                                                                           <field name="BOOL">TRUE</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="variables_set" id="OKR;@U0)K%AOY1#O|2/c">
                                                                           <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                           <value name="VALUE">
                                                                             <block type="lists_create_with" id="2KUr1A*iG_C0`K:Cn1!,">
                                                                               <mutation items="4"></mutation>
                                                                               <value name="ADD0">
                                                                                 <block type="text" id="W}Lt68Mj/K8Esm:xe7(.">
                                                                                   <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx-Mo.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD1">
                                                                                 <block type="text" id="cX,KLZ@UAn=6)2MAzw8r">
                                                                                   <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/DTS-Orchestra.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD2">
                                                                                 <block type="text" id="q[?`P?XlJg%?2hm5%qj.">
                                                                                   <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/Minions_Universal_Fanfare.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="ADD3">
                                                                                 <block type="text" id="bCt:q[USIs]g@n1*+Wp.">
                                                                                   <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx_amazing_life.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="control" id="90ZjJd#I~b,nffRnuZ[l">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                               <field name="OID">0_userdata.0.EG-Beamer-Sound</field>
                                                                               <field name="WITH_DELAY">FALSE</field>
                                                                               <value name="VALUE">
                                                                                 <block type="lists_getIndex" id="[}PT[:AY{DFh+:HDi%O=">
                                                                                   <mutation statement="false" at="false"></mutation>
                                                                                   <field name="MODE">GET</field>
                                                                                   <field name="WHERE">RANDOM</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="variables_get" id="M`E@JgRGj*:bAz~w/D[:">
                                                                                       <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </statement>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <value name="IF1">
                             <block type="logic_operation" id="(-t@?9~r(H-Z~iZD:^FU" inline="false">
                               <field name="OP">AND</field>
                               <value name="A">
                                 <block type="logic_compare" id="FY1.28aBxqD|Crw6m/e@">
                                   <field name="OP">LT</field>
                                   <value name="A">
                                     <block type="get_value" id="{n11RGVaQQ0jvJs~fuIj">
                                       <field name="ATTR">val</field>
                                       <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="i@DH2MXkG1-~jZ]~yCYD">
                                       <field name="NUM">4</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="logic_compare" id="Z#2{]0!?T2WA,_(T/bo(">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="nGVfYfcxXzXHQI8QA{#h">
                                       <field name="ATTR">val</field>
                                       <field name="OID">denon.0.zoneMain.selectInput</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="text" id="x1X,(eWop1!H~TC_Q`Mh">
                                       <field name="TEXT">DVD</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO1">
                             <block type="control" id="xmxc:zmZARMc.bZIVc6f">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">denon.0.zone2.powerZone</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="ndQgif3A/-M0Si8b4dHH">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="TLG7VR3^EvMk8yYCkf!}">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">denon.0.zoneMain.powerZone</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="p.R/b[LzmB#Q05PrbtE8">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="timeouts_cleartimeout" id="Mw1R]Vlp{J%@8}7=ZfU@">
                                       <field name="NAME">timeout2</field>
                                       <next>
                                         <block type="control" id="Z5y|V:.bnO@Eu%zMlP4~">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="!;Cr/U*v$wqOO%c#@~kW">
                                               <field name="NUM">100</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="timeouts_settimeout" id="wVNS.rNmC_TdTEEnwjc(">
                                               <field name="NAME">timeout2</field>
                                               <field name="DELAY">25</field>
                                               <field name="UNIT">sec</field>
                                               <statement name="STATEMENT">
                                                 <block type="control" id="@a5HLMk6Xkw3@?r,v^R!">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="Q1aGslR0U$Eteu927qfq">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="controls_if" id="/384x}V(VqUjSn_%/MR?">
                                                   <value name="IF0">
                                                     <block type="logic_operation" id="@V}kpFC6;9sO)jNE:R2r" inline="false">
                                                       <field name="OP">OR</field>
                                                       <value name="A">
                                                         <block type="time_compare_ex" id="a),_~rxd=n~tR]75]I?U">
                                                           <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">between</field>
                                                           <value name="START_TIME">
                                                             <shadow type="text" id="|gA.e/dB!H#5;3A6T3gp">
                                                               <field name="TEXT">22.00</field>
                                                             </shadow>
                                                           </value>
                                                           <value name="END_TIME">
                                                             <shadow type="text" id="wwyf%R1x^Xi~UnnH$?#?">
                                                               <field name="TEXT">06.00</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_compare" id="aI(L~X%D0/`dFK%^[8a0">
                                                           <field name="OP">LTE</field>
                                                           <value name="A">
                                                             <block type="get_value" id="M~j]8eRGcOVwtsLS5fOn">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">hm-rpc.1.00181BE9946BC5.1.ILLUMINATION</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="RHqs~UNjwo:z+ug4RUth">
                                                               <field name="NUM">400</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="control" id="ZnFck.$Ln2A(YmGPq#o/">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="5d!%Cl.u7vc{ZnKUB3k8">
                                                           <field name="NUM">100</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="+oAc5Kl@ZBnTMXh,1YLy">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="math_number" id="~jopVT}bc{SP-8SLOi0D">
                                                               <field name="NUM">100</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="control" id="UrfoedyPW|Q%:wXy0rvX">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="gVnlsEo)_V.(([0_-1Pf">
                                                                   <field name="NUM">100</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="control" id="J=n#^#^RF|u!32l#;S#^">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="math_number" id="U(HL!0d.YyA{5+(PJRC*">
                                                                       <field name="NUM">100</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="control" id="LY!C~sgM)x{-r%B|2CXu">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_number" id="X010)pA,R@JYe:YQ3y?a">
                                                                           <field name="NUM">100</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </statement>
                     </block>
                    </xml>
                    

                    Hier mal mein blockly. Folgende Funktionen soll es haben: Wenn der Beamer eingeschaltet wird, dann sollen

                    1. Die Rollos herunter gefahren werden,
                    2. Die Leinwand herunter gefahren nach 26 Sekunden gestoppt werden.
                    3. Ebenfalls nach 26 Sekunden per Zufall aus den vier Videos eines automatisch abgespielt werden.

                    Jetzt scheint das Blockly aber nicht ganz zu funktionieren, d.h. ich gehe mal davon aus, dass mit den Timeouts etwas nicht stimmt.

                    Benötige ich überhaupt die Zeit eines videos? Es wird doch automatisch abgespielt und hört nach auch wieder auf (keine Dauerschleife)
                    Ich habe im html dann folgendes Binding gesetzt:

                    {0_userdata.0.EG-Beamer-Sound}
                    


                    Reicht das, oder muss ich noch etwas berücksichtigen?!

                    liv-in-skyL Offline
                    liv-in-skyL Offline
                    liv-in-sky
                    wrote on last edited by
                    #10

                    @jwerlsdf wird den was bzw ein html code in den datenpunkt geschrieben ? wenn das blockly getriggert wird

                    hast du mal den video html code direkt im widget eingegeben (ohne das binding) und getestet, ob es läuft ?

                    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jwerlsdf
                      wrote on last edited by
                      #11

                      Der Datenpunkt wird beschrieben und das Video wird abgespielt.

                      Ich kam noch nicht wirklich zum testen, aber was mir bereits jetzt aufgefallen ist, das die Leinwand 2x (dazwischen ist eine Pause) herunter fährt.
                      Hier das aktuelle Skript:

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable type="timeout" id="timeout2">timeout2</variable>
                         <variable type="timeout" id="timeout">timeout</variable>
                         <variable id="C0H5DR2AYN3+%2U{57#:">Zufall</variable>
                       </variables>
                       <block type="on_ext" id="Fx|_D%=B(QPoNHFkNhEj" x="112" y="62">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                         <field name="CONDITION">any</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="m.T|Vgh#cPW`fxYx9$!D">
                             <field name="oid">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="x)Gz-(4[{E1vI3gHQJ$!">
                             <mutation elseif="1"></mutation>
                             <value name="IF0">
                               <block type="logic_compare" id="|T:klgkOuV3gJkn_+)Y`">
                                 <field name="OP">GT</field>
                                 <value name="A">
                                   <block type="get_value" id="aF,gZeVq!?nI[Y)Ah6oh">
                                     <field name="ATTR">val</field>
                                     <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="W3BfDdN/prR}_r7}#cL/">
                                     <field name="NUM">4</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="control" id=".fx*pMS|^Y#|W4]R9e4@">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">denon.0.zoneMain.powerZone</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="(c_FG{QO)`zjk0*8sn*x">
                                     <field name="BOOL">TRUE</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="Y(lCWcKSdjMOK7I4W4)/">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">denon.0.zoneMain.selectInput</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="text" id="P.oP+Y*B!;-g*X0^3zFd">
                                         <field name="TEXT">DVD</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="control" id="~.c(8U[UY}#OMc{:z6*n">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="math_number" id="e^~ljd/aX0e49|-QfT2?">
                                             <field name="NUM">0</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="control" id=")xg@S5T$7ph#}sx9;Qm|">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="IXTJA+ZaAt|jS~KYWT.h">
                                                 <field name="NUM">0</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="control" id="kfh4-0zXFmAZp,my=OA$">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="math_number" id="uP?1w#^YwEJq|;B{f)})">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="control" id="D1a`*?~jwblUB12/xayL">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="math_number" id="f}8i[%(;F~htBxc?kiOJ">
                                                         <field name="NUM">0</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="/|X:fDTo{VAqy3,QTh0Q">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="T`39UDK1td1`!10Y-wc*">
                                                             <field name="NUM">0</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="timeouts_cleartimeout" id="a.#0b1oXPL:_?$9O`w(8">
                                                             <field name="NAME">timeout</field>
                                                             <next>
                                                               <block type="control" id="%jMM;%$nPq885Do)(eYS">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="S)x@JxN7y+?!tG}e|.@F">
                                                                     <field name="NUM">0</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="timeouts_settimeout" id="{m8SNkKEv/2(I8/|-krO">
                                                                     <field name="NAME">timeout</field>
                                                                     <field name="DELAY">26</field>
                                                                     <field name="UNIT">sec</field>
                                                                     <statement name="STATEMENT">
                                                                       <block type="control" id="WK=l$Fkg0p)mC:fR%Szs">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="logic_boolean" id="yZWg|5Tx!z7up0P#dy;u">
                                                                             <field name="BOOL">TRUE</field>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="variables_set" id="OKR;@U0)K%AOY1#O|2/c">
                                                                             <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                             <value name="VALUE">
                                                                               <block type="lists_create_with" id="2KUr1A*iG_C0`K:Cn1!,">
                                                                                 <mutation items="4"></mutation>
                                                                                 <value name="ADD0">
                                                                                   <block type="text" id="W}Lt68Mj/K8Esm:xe7(.">
                                                                                     <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx-Mo.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD1">
                                                                                   <block type="text" id="cX,KLZ@UAn=6)2MAzw8r">
                                                                                     <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/DTS-Orchestra.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD2">
                                                                                   <block type="text" id="q[?`P?XlJg%?2hm5%qj.">
                                                                                     <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/Minions_Universal_Fanfare.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD3">
                                                                                   <block type="text" id="bCt:q[USIs]g@n1*+Wp.">
                                                                                     <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx_amazing_life.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="control" id="90ZjJd#I~b,nffRnuZ[l">
                                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                 <field name="OID">0_userdata.0.EG-Beamer-Sound</field>
                                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="lists_getIndex" id="[}PT[:AY{DFh+:HDi%O=">
                                                                                     <mutation statement="false" at="false"></mutation>
                                                                                     <field name="MODE">GET</field>
                                                                                     <field name="WHERE">RANDOM</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="variables_get" id="M`E@JgRGj*:bAz~w/D[:">
                                                                                         <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </statement>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <value name="IF1">
                               <block type="logic_operation" id="(-t@?9~r(H-Z~iZD:^FU" inline="false">
                                 <field name="OP">AND</field>
                                 <value name="A">
                                   <block type="logic_compare" id="FY1.28aBxqD|Crw6m/e@">
                                     <field name="OP">LT</field>
                                     <value name="A">
                                       <block type="get_value" id="{n11RGVaQQ0jvJs~fuIj">
                                         <field name="ATTR">val</field>
                                         <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="i@DH2MXkG1-~jZ]~yCYD">
                                         <field name="NUM">4</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="logic_compare" id="Z#2{]0!?T2WA,_(T/bo(">
                                     <field name="OP">EQ</field>
                                     <value name="A">
                                       <block type="get_value" id="nGVfYfcxXzXHQI8QA{#h">
                                         <field name="ATTR">val</field>
                                         <field name="OID">denon.0.zoneMain.selectInput</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="text" id="x1X,(eWop1!H~TC_Q`Mh">
                                         <field name="TEXT">DVD</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO1">
                               <block type="control" id="xmxc:zmZARMc.bZIVc6f">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">denon.0.zone2.powerZone</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="logic_boolean" id="ndQgif3A/-M0Si8b4dHH">
                                     <field name="BOOL">FALSE</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="control" id="TLG7VR3^EvMk8yYCkf!}">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">denon.0.zoneMain.powerZone</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="p.R/b[LzmB#Q05PrbtE8">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="timeouts_cleartimeout" id="Mw1R]Vlp{J%@8}7=ZfU@">
                                         <field name="NAME">timeout2</field>
                                         <next>
                                           <block type="control" id="Z5y|V:.bnO@Eu%zMlP4~">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                             <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                             <field name="WITH_DELAY">FALSE</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="!;Cr/U*v$wqOO%c#@~kW">
                                                 <field name="NUM">100</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="timeouts_settimeout" id="wVNS.rNmC_TdTEEnwjc(">
                                                 <field name="NAME">timeout2</field>
                                                 <field name="DELAY">25</field>
                                                 <field name="UNIT">sec</field>
                                                 <statement name="STATEMENT">
                                                   <block type="control" id="@a5HLMk6Xkw3@?r,v^R!">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="Q1aGslR0U$Eteu927qfq">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="controls_if" id="/384x}V(VqUjSn_%/MR?">
                                                     <value name="IF0">
                                                       <block type="logic_operation" id="@V}kpFC6;9sO)jNE:R2r" inline="false">
                                                         <field name="OP">OR</field>
                                                         <value name="A">
                                                           <block type="time_compare_ex" id="a),_~rxd=n~tR]75]I?U">
                                                             <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">between</field>
                                                             <value name="START_TIME">
                                                               <shadow type="text" id="|gA.e/dB!H#5;3A6T3gp">
                                                                 <field name="TEXT">06.00</field>
                                                               </shadow>
                                                             </value>
                                                             <value name="END_TIME">
                                                               <shadow type="text" id="wwyf%R1x^Xi~UnnH$?#?">
                                                                 <field name="TEXT">22.00</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_compare" id="aI(L~X%D0/`dFK%^[8a0">
                                                             <field name="OP">GTE</field>
                                                             <value name="A">
                                                               <block type="get_value" id="M~j]8eRGcOVwtsLS5fOn">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">hm-rpc.1.00181BE9946BC5.1.ILLUMINATION</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="RHqs~UNjwo:z+ug4RUth">
                                                                 <field name="NUM">400</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="ZnFck.$Ln2A(YmGPq#o/">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="math_number" id="5d!%Cl.u7vc{ZnKUB3k8">
                                                             <field name="NUM">100</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="control" id="+oAc5Kl@ZBnTMXh,1YLy">
                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                             <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                                             <field name="WITH_DELAY">FALSE</field>
                                                             <value name="VALUE">
                                                               <block type="math_number" id="~jopVT}bc{SP-8SLOi0D">
                                                                 <field name="NUM">100</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="control" id="UrfoedyPW|Q%:wXy0rvX">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_number" id="gVnlsEo)_V.(([0_-1Pf">
                                                                     <field name="NUM">100</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="J=n#^#^RF|u!32l#;S#^">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="math_number" id="U(HL!0d.YyA{5+(PJRC*">
                                                                         <field name="NUM">100</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="control" id="LY!C~sgM)x{-r%B|2CXu">
                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                         <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                         <value name="VALUE">
                                                                           <block type="math_number" id="X010)pA,R@JYe:YQ3y?a">
                                                                             <field name="NUM">100</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      

                      liv-in-skyL 1 Reply Last reply
                      0
                      • J jwerlsdf

                        Der Datenpunkt wird beschrieben und das Video wird abgespielt.

                        Ich kam noch nicht wirklich zum testen, aber was mir bereits jetzt aufgefallen ist, das die Leinwand 2x (dazwischen ist eine Pause) herunter fährt.
                        Hier das aktuelle Skript:

                        <xml xmlns="https://developers.google.com/blockly/xml">
                         <variables>
                           <variable type="timeout" id="timeout2">timeout2</variable>
                           <variable type="timeout" id="timeout">timeout</variable>
                           <variable id="C0H5DR2AYN3+%2U{57#:">Zufall</variable>
                         </variables>
                         <block type="on_ext" id="Fx|_D%=B(QPoNHFkNhEj" x="112" y="62">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                           <field name="CONDITION">any</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="m.T|Vgh#cPW`fxYx9$!D">
                               <field name="oid">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                             </shadow>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="x)Gz-(4[{E1vI3gHQJ$!">
                               <mutation elseif="1"></mutation>
                               <value name="IF0">
                                 <block type="logic_compare" id="|T:klgkOuV3gJkn_+)Y`">
                                   <field name="OP">GT</field>
                                   <value name="A">
                                     <block type="get_value" id="aF,gZeVq!?nI[Y)Ah6oh">
                                       <field name="ATTR">val</field>
                                       <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="W3BfDdN/prR}_r7}#cL/">
                                       <field name="NUM">4</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id=".fx*pMS|^Y#|W4]R9e4@">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">denon.0.zoneMain.powerZone</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="(c_FG{QO)`zjk0*8sn*x">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="Y(lCWcKSdjMOK7I4W4)/">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">denon.0.zoneMain.selectInput</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="text" id="P.oP+Y*B!;-g*X0^3zFd">
                                           <field name="TEXT">DVD</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="~.c(8U[UY}#OMc{:z6*n">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="e^~ljd/aX0e49|-QfT2?">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id=")xg@S5T$7ph#}sx9;Qm|">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="IXTJA+ZaAt|jS~KYWT.h">
                                                   <field name="NUM">0</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="control" id="kfh4-0zXFmAZp,my=OA$">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="math_number" id="uP?1w#^YwEJq|;B{f)})">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="control" id="D1a`*?~jwblUB12/xayL">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="f}8i[%(;F~htBxc?kiOJ">
                                                           <field name="NUM">0</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="control" id="/|X:fDTo{VAqy3,QTh0Q">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="math_number" id="T`39UDK1td1`!10Y-wc*">
                                                               <field name="NUM">0</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="timeouts_cleartimeout" id="a.#0b1oXPL:_?$9O`w(8">
                                                               <field name="NAME">timeout</field>
                                                               <next>
                                                                 <block type="control" id="%jMM;%$nPq885Do)(eYS">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="math_number" id="S)x@JxN7y+?!tG}e|.@F">
                                                                       <field name="NUM">0</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="timeouts_settimeout" id="{m8SNkKEv/2(I8/|-krO">
                                                                       <field name="NAME">timeout</field>
                                                                       <field name="DELAY">26</field>
                                                                       <field name="UNIT">sec</field>
                                                                       <statement name="STATEMENT">
                                                                         <block type="control" id="WK=l$Fkg0p)mC:fR%Szs">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                           <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                           <value name="VALUE">
                                                                             <block type="logic_boolean" id="yZWg|5Tx!z7up0P#dy;u">
                                                                               <field name="BOOL">TRUE</field>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="variables_set" id="OKR;@U0)K%AOY1#O|2/c">
                                                                               <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                               <value name="VALUE">
                                                                                 <block type="lists_create_with" id="2KUr1A*iG_C0`K:Cn1!,">
                                                                                   <mutation items="4"></mutation>
                                                                                   <value name="ADD0">
                                                                                     <block type="text" id="W}Lt68Mj/K8Esm:xe7(.">
                                                                                       <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx-Mo.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD1">
                                                                                     <block type="text" id="cX,KLZ@UAn=6)2MAzw8r">
                                                                                       <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/DTS-Orchestra.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD2">
                                                                                     <block type="text" id="q[?`P?XlJg%?2hm5%qj.">
                                                                                       <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/Minions_Universal_Fanfare.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="ADD3">
                                                                                     <block type="text" id="bCt:q[USIs]g@n1*+Wp.">
                                                                                       <field name="TEXT">&lt;video width="1920" height="1600" autoplay="true"&gt; &lt;source src="http://192.168.178.28:8082/web/thx_amazing_life.mp4" type="video/mp4"&gt; &lt;/video&gt;</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="control" id="90ZjJd#I~b,nffRnuZ[l">
                                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                   <field name="OID">0_userdata.0.EG-Beamer-Sound</field>
                                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                                   <value name="VALUE">
                                                                                     <block type="lists_getIndex" id="[}PT[:AY{DFh+:HDi%O=">
                                                                                       <mutation statement="false" at="false"></mutation>
                                                                                       <field name="MODE">GET</field>
                                                                                       <field name="WHERE">RANDOM</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="variables_get" id="M`E@JgRGj*:bAz~w/D[:">
                                                                                           <field name="VAR" id="C0H5DR2AYN3+%2U{57#:">Zufall</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </statement>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <value name="IF1">
                                 <block type="logic_operation" id="(-t@?9~r(H-Z~iZD:^FU" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="logic_compare" id="FY1.28aBxqD|Crw6m/e@">
                                       <field name="OP">LT</field>
                                       <value name="A">
                                         <block type="get_value" id="{n11RGVaQQ0jvJs~fuIj">
                                           <field name="ATTR">val</field>
                                           <field name="OID">hm-rpc.1.0001DA49A3482F.6.POWER</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="i@DH2MXkG1-~jZ]~yCYD">
                                           <field name="NUM">4</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_compare" id="Z#2{]0!?T2WA,_(T/bo(">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="nGVfYfcxXzXHQI8QA{#h">
                                           <field name="ATTR">val</field>
                                           <field name="OID">denon.0.zoneMain.selectInput</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="text" id="x1X,(eWop1!H~TC_Q`Mh">
                                           <field name="TEXT">DVD</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO1">
                                 <block type="control" id="xmxc:zmZARMc.bZIVc6f">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">denon.0.zone2.powerZone</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="ndQgif3A/-M0Si8b4dHH">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id="TLG7VR3^EvMk8yYCkf!}">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">denon.0.zoneMain.powerZone</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="p.R/b[LzmB#Q05PrbtE8">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="timeouts_cleartimeout" id="Mw1R]Vlp{J%@8}7=ZfU@">
                                           <field name="NAME">timeout2</field>
                                           <next>
                                             <block type="control" id="Z5y|V:.bnO@Eu%zMlP4~">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">hm-rpc.1.00165D899FB9BE.10.LEVEL</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="math_number" id="!;Cr/U*v$wqOO%c#@~kW">
                                                   <field name="NUM">100</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="timeouts_settimeout" id="wVNS.rNmC_TdTEEnwjc(">
                                                   <field name="NAME">timeout2</field>
                                                   <field name="DELAY">25</field>
                                                   <field name="UNIT">sec</field>
                                                   <statement name="STATEMENT">
                                                     <block type="control" id="@a5HLMk6Xkw3@?r,v^R!">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">hm-rpc.1.00165D899FB9BE.10.STOP</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="Q1aGslR0U$Eteu927qfq">
                                                           <field name="BOOL">TRUE</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="controls_if" id="/384x}V(VqUjSn_%/MR?">
                                                       <value name="IF0">
                                                         <block type="logic_operation" id="@V}kpFC6;9sO)jNE:R2r" inline="false">
                                                           <field name="OP">OR</field>
                                                           <value name="A">
                                                             <block type="time_compare_ex" id="a),_~rxd=n~tR]75]I?U">
                                                               <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">between</field>
                                                               <value name="START_TIME">
                                                                 <shadow type="text" id="|gA.e/dB!H#5;3A6T3gp">
                                                                   <field name="TEXT">06.00</field>
                                                                 </shadow>
                                                               </value>
                                                               <value name="END_TIME">
                                                                 <shadow type="text" id="wwyf%R1x^Xi~UnnH$?#?">
                                                                   <field name="TEXT">22.00</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_compare" id="aI(L~X%D0/`dFK%^[8a0">
                                                               <field name="OP">GTE</field>
                                                               <value name="A">
                                                                 <block type="get_value" id="M~j]8eRGcOVwtsLS5fOn">
                                                                   <field name="ATTR">val</field>
                                                                   <field name="OID">hm-rpc.1.00181BE9946BC5.1.ILLUMINATION</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="RHqs~UNjwo:z+ug4RUth">
                                                                   <field name="NUM">400</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="ZnFck.$Ln2A(YmGPq#o/">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">hm-rpc.1.00165D899FB9BE.2.LEVEL</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="math_number" id="5d!%Cl.u7vc{ZnKUB3k8">
                                                               <field name="NUM">100</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="control" id="+oAc5Kl@ZBnTMXh,1YLy">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">hm-rpc.1.00165D899FB9BE.6.LEVEL</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="math_number" id="~jopVT}bc{SP-8SLOi0D">
                                                                   <field name="NUM">100</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="control" id="UrfoedyPW|Q%:wXy0rvX">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">hm-rpc.1.00165D899FB9D7.10.LEVEL</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="math_number" id="gVnlsEo)_V.(([0_-1Pf">
                                                                       <field name="NUM">100</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="control" id="J=n#^#^RF|u!32l#;S#^">
                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                       <field name="OID">hm-rpc.1.00165D899FB9D7.2.LEVEL</field>
                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_number" id="U(HL!0d.YyA{5+(PJRC*">
                                                                           <field name="NUM">100</field>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="control" id="LY!C~sgM)x{-r%B|2CXu">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                           <field name="OID">hm-rpc.1.00165D899FB9D7.6.LEVEL</field>
                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                           <value name="VALUE">
                                                                             <block type="math_number" id="X010)pA,R@JYe:YQ3y?a">
                                                                               <field name="NUM">100</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                        </xml>
                        

                        liv-in-skyL Offline
                        liv-in-skyL Offline
                        liv-in-sky
                        wrote on last edited by
                        #12

                        @jwerlsdf

                        ich kenne deine dp nicht und weiß daher auch nicht, wann was passiert

                        das einzige was mir auffällt - die stop timeout in den if blöcken würden doch mehr sinn machen, wenn sie ausgetauscht werden - falls du innerhalb des timeouts etwas anderes schaltest, wird der timeout des anderen if blocks etwas später ausgeführt - austausch meine ich : im ersten if block wird timeout2 gestoppt und im unteren if block wird timeout1 gestoppt

                        nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        506

                        Online

                        32.8k

                        Users

                        82.7k

                        Topics

                        1.3m

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

                        • Don't have an account? Register

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