Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. View in 8 Widget Auto Wechsel möglich ?

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    View in 8 Widget Auto Wechsel möglich ?

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Phinix @D3ltoroxp last edited by

      @d3ltoroxp du hast nicht zufälligerweise die gleiche View auf deinem Tablet aktiv und gleichzeitig noch im Browser auf deinem PC offen?

      1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @D3ltoroxp last edited by

        @d3ltoroxp also bei mir funktioniert das - ob ich direkt in den dp schreibe, oder im browser im menu auswähle - geht beides

        D3ltoroxp 1 Reply Last reply Reply Quote 0
        • D3ltoroxp
          D3ltoroxp @liv-in-sky last edited by D3ltoroxp

          @liv-in-sky Muss ich vllt in der Top App Bar den selben DP auswählen in den ich per Blockly schreibe ? Also das ich dann quasi per Menu dort die view Nummer reinschreiben lasse ?

          @phinix said in View in 8 Widget Auto Wechsel möglich ?:

          @d3ltoroxp du hast nicht zufälligerweise die gleiche View auf deinem Tablet aktiv und gleichzeitig noch im Browser auf deinem PC offen?

          Nein, auch im Browser gings nicht. Auch wenn der Browser zu war, rein am Tablet nicht.

          EDIT::

          Jab das wars auch, ich musste dort auch noch den gleichen DP eintragen...

          Aber hättet ihr noch eine Idee, wenn ich im Menü bin und dort etwas anklicke, das ich einen zweiten DP schalte, damit das Auto View Wechsel Script stoppt ? Sonst haut der mich ja dann automatisch auch immer wieder aus der Ansicht raus. Hier müsste man den Touch erkennen, oder eben wenn ich im Menu etwas drücke und er in den DP schreibt.

          Kann ich denn irgendwie auf von triggern ? Das wäre ja einmal beschrieben von javascript.0. und einmal dann von web.0. Wenn der Wert von web.0. geschrieben wurde, könnte ich ja einen weiteren DP triggern der dann true setzt, heißt Bedienung am Tablet, wenn dort nach einer gewissen Zeit nichts mehr passiert, wird wieder auf false gesetzt und auto view wechsel läuft weiter ? Wäre das "Quelle von ObjektID" ?

          8124e783-207e-4e3f-ab1d-257e7e1e2e56-grafik.png

          liv-in-sky 2 Replies Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @D3ltoroxp last edited by

            @d3ltoroxp

            also definitiv kann man einen extra button machen, der das macht.

            das mit dem web.0 muss ich mal nachsehen - geht sicher auch irgendwie - gute idee

            @d3ltoroxp sagte in View in 8 Widget Auto Wechsel möglich ?:

            Jab das wars auch, ich musste dort auch noch den gleichen DP eintragen...

            das ist der standard - ohne geht das ganze nicht - das hatte ich vorausgesetzt 🙂

            1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @D3ltoroxp last edited by

              @d3ltoroxp

              in javasccript geht es so:

              log(getState("0_userdata.0.CONTROL-OWN.HANDY.edgeBatt").from)
              

              das gibt das from aus ! anstatt wie üblich val (den wert)

              D3ltoroxp 1 Reply Last reply Reply Quote 0
              • D3ltoroxp
                D3ltoroxp @liv-in-sky last edited by

                @liv-in-sky Uff ich kenne mich leider nur ein wenig mit Blockly aus, wie ich so etwas mit javascript hin bekommen soll, ka.

                Habe gehofft per Blockly könnte ich das auch irgendwie auslesen und dann darauf was triggern.

                liv-in-sky 3 Replies Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @D3ltoroxp last edited by

                  @d3ltoroxp moment noch

                  1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @D3ltoroxp last edited by

                    @d3ltoroxp

                    Image 4.png

                    <block xmlns="https://developers.google.com/blockly/xml" type="get_value" id="C9VW=~+%Qq*K_oWB4?8~" x="194.14480590820312" y="337.0189208984375">
                     <field name="ATTR">from</field>
                     <field name="OID">0_userdata.0.CONTROL-OWN.MOTIONEYE.movement3</field>
                    </block>
                    

                    1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @D3ltoroxp last edited by

                      @d3ltoroxp

                      Image 6.png

                      <block xmlns="https://developers.google.com/blockly/xml" type="on" id="~;aB4lBmhYlHxmtiYy,^" x="62.92474365234341" y="162.73583984375">
                       <field name="OID">0_userdata.0.CONTROL-OWN._MenuVisView8</field>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="=(}+APdIVTn.D~$*=WD]">
                           <mutation else="1"></mutation>
                           <value name="IF0">
                             <block type="logic_compare" id="Z`Tt[l5k@l;$#88}6Kis">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="C9VW=~+%Qq*K_oWB4?8~">
                                   <field name="ATTR">from</field>
                                   <field name="OID">0_userdata.0.CONTROL-OWN._MenuVisView8</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="(=(Tjxysc1}i(auaJIHf">
                                   <field name="TEXT">system.adapter.web.0</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="debug" id="iv4)3a=pr_|0ojD8|VS{">
                               <field name="Severity">warn</field>
                               <value name="TEXT">
                                 <shadow type="text" id="P0^o|QA2wKAkp4]ruMFm">
                                   <field name="TEXT">von browser</field>
                                 </shadow>
                               </value>
                             </block>
                           </statement>
                           <statement name="ELSE">
                             <block type="debug" id="VU}D@aK7SQoX6KB=^2DH">
                               <field name="Severity">warn</field>
                               <value name="TEXT">
                                 <shadow type="text" id="noIir1kixT+6TM2Pn[lC">
                                   <field name="TEXT">von script</field>
                                 </shadow>
                               </value>
                             </block>
                           </statement>
                         </block>
                       </statement>
                      </block>
                      

                      Image 7.png

                      D3ltoroxp 1 Reply Last reply Reply Quote 0
                      • D3ltoroxp
                        D3ltoroxp @liv-in-sky last edited by

                        @liv-in-sky Hm so hatte ich es bei meinem Post auch schon probiert. Aber vllt fehlt bei mir das system.adapter.web.0

                        c8cdc194-dfef-4c61-82df-42f8b2743144-grafik.png

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @D3ltoroxp last edited by liv-in-sky

                          @d3ltoroxp ja - wenn du das debug einsetzt, siehst du, dass du system.adapter auch brauchst

                          D3ltoroxp 1 Reply Last reply Reply Quote 1
                          • D3ltoroxp
                            D3ltoroxp @liv-in-sky last edited by

                            @liv-in-sky Ja so funktionierts, jetzt muss ich nur noch schauen, wie ich das verwende irgendwas mit Timer. Das das nicht ständig hin und her geht... Weil wenn z.b. alle 30 Sek. die View wechselt durch das Script, ist der web.0 ja sofort wieder raus, so oft drückt man ja auch nicht das Menu.

                            liv-in-sky Negalein 2 Replies Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @D3ltoroxp last edited by

                              @d3ltoroxp länger wie 2-3 minuten schaut man doch nicht hin ? dann kann wieder umgeschalten werden

                              D3ltoroxp 1 Reply Last reply Reply Quote 0
                              • D3ltoroxp
                                D3ltoroxp @liv-in-sky last edited by

                                @liv-in-sky mir viel noch was besseres ein. Ich hatte da schon mal von jemandem nen Tipp bekommen.

                                function setzeWert(variablenName, Wert){
                                
                                 
                                
                                   this.servConn._socket.emit('setState', variablenName, Wert);
                                
                                 
                                
                                }
                                
                                 
                                
                                function myClick(){
                                
                                    setzeWert('0_userdata.0.FireHD10.touch_bedienung',true);
                                
                                }
                                
                                 
                                
                                window.onclick=myClick;
                                

                                Das einfach unter Script im VIS Editor eintragen, dann erkennt er jeden Click auf dem Touch.

                                a38d946e-6aa0-4601-8e7a-b787de25ffae-grafik.png

                                liv-in-sky 1 Reply Last reply Reply Quote 1
                                • liv-in-sky
                                  liv-in-sky @D3ltoroxp last edited by

                                  @d3ltoroxp

                                  gibt auch noch einen anderen befehl dafür

                                  function myClick(){
                                  vis.setValue('0_userdata.0.FireHD10.touch_bedienung',true)
                                  }
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Negalein
                                    Negalein Global Moderator @D3ltoroxp last edited by

                                    @d3ltoroxp sagte in View in 8 Widget Auto Wechsel möglich ?:

                                    jetzt muss ich nur noch schauen, wie ich das verwende irgendwas mit Timer

                                    gutn Morgn

                                    könntest du dein fertiges Blockly zeigen?

                                    Ich verwende auch die TopAppBar und möchte, dass bei View-Wechsel automatisch wieder nach x-Sek. auf die Home geschaltet wird.

                                    Danke

                                    D3ltoroxp 1 Reply Last reply Reply Quote 0
                                    • D3ltoroxp
                                      D3ltoroxp @Negalein last edited by

                                      @negalein Also das ist momentan mein Script. Wechselt einfach durch verschiedene Views durch.

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable type="timeout" id="Home Wetter">Home Wetter</variable>
                                          <variable type="timeout" id="prüfen">prüfen</variable>
                                          <variable type="timeout" id="Home Kalender">Home Kalender</variable>
                                          <variable type="timeout" id="Home Fenster Turen">Home Fenster Turen</variable>
                                          <variable type="timeout" id="Home Roborock">Home Roborock</variable>
                                        </variables>
                                        <block type="on" id="Tqa}RY0*OJavw2z:w:Ze" x="-2862" y="-912">
                                          <field name="OID">zigbee.0.842e14fffeff40b6.occupancy</field>
                                          <field name="CONDITION">ge</field>
                                          <field name="ACK_CONDITION"></field>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="+7ayQYr`4E.hi`TKt+UU">
                                              <value name="IF0">
                                                <block type="on_source" id=".k;(r/z:U.rgB$Xq}1j=">
                                                  <field name="ATTR">state.val</field>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="Xpvt%KdSWRX%Pg`eex[i">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.vis.bewegung_esszimmer</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="Acd}zzol|WRzyVx?/n]~">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="debug" id=".Okh@1w0,z67rvjdRBFl" disabled="true">
                                                      <field name="Severity">warn</field>
                                                      <value name="TEXT">
                                                        <shadow type="text" id="@@:j1Ys-`w*@LiL)a-`o">
                                                          <field name="TEXT">Bewegung Esszimmer</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="on" id="(gR?V)6WioX`a/xSq;Oh">
                                              <field name="OID">0_userdata.0.vis.bewegung_esszimmer</field>
                                              <field name="CONDITION">ge</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="Pp)mMikz(ACW1jll=w9H">
                                                  <value name="IF0">
                                                    <block type="logic_operation" id="MB,`YIuiL*/)UabKMMK*">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="on_source" id="ZHQY?{r=KRq~qog=jF|g">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="time_compare" id=")nqX-.4dg,,+Fo;6d!Oj">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                                          <field name="OPTION">between</field>
                                                          <field name="START_TIME">06:30</field>
                                                          <field name="END_TIME">22:00</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="comment" id="k9-t`$^-a7y!w9`J.i$[">
                                                      <field name="COMMENT">Screen hell schalten, wie On !</field>
                                                      <next>
                                                        <block type="control" id="X%(O]5jnh61*WW:S1DWp">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">fullybrowser.0.Tablet_Wand.Commands.screenBrightness</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id="I-S[jvL,{*@|[7Ui$3/e">
                                                              <field name="NUM">100</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="JnxpMpTyXAx7g$(qW?Yl" disabled="true">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">fullybrowser.0.192_168_178_48.Commands.screenOn</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="9~H)vi|%n#RZ4:Pm*2Hz">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="timeouts_cleartimeout" id="]7|l:4m[0Cd3_XD3:X#G">
                                                                  <field name="NAME">Home Kalender</field>
                                                                  <next>
                                                                    <block type="timeouts_cleartimeout" id="e|A.2NV_uB{Pj/u}bM.A">
                                                                      <field name="NAME">Home Kalender</field>
                                                                      <next>
                                                                        <block type="timeouts_cleartimeout" id="9y^~x~SaG_o5-=CLUd@N">
                                                                          <field name="NAME">Home Fenster Turen</field>
                                                                          <next>
                                                                            <block type="timeouts_cleartimeout" id="!=3];KZ|G=J_32W3-k@W">
                                                                              <field name="NAME">Home Roborock</field>
                                                                              <next>
                                                                                <block type="procedures_callnoreturn" id="duAb]=o.6~EP{gk2RA/4">
                                                                                  <mutation name="View wechseln"></mutation>
                                                                                  <next>
                                                                                    <block type="debug" id="zDw^XcD$u)GEjOO(GL:U" disabled="true">
                                                                                      <field name="Severity">warn</field>
                                                                                      <value name="TEXT">
                                                                                        <shadow type="text" id="GYjXhF`[SU7qCe:nc%Qv">
                                                                                          <field name="TEXT">auto view wechsel aktiv</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="on" id="9MUo92BI2nE5s,3!Zj||">
                                                  <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                  <field name="CONDITION">any</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <statement name="STATEMENT">
                                                    <block type="debug" id="3i@xN=nIX[n=Bkl832}M">
                                                      <field name="Severity">info</field>
                                                      <value name="TEXT">
                                                        <shadow type="text" id="))}S:/-f,6^]KXS9V*Qj">
                                                          <field name="TEXT">Touch Bedienung, erkannt</field>
                                                        </shadow>
                                                      </value>
                                                      <next>
                                                        <block type="timeouts_cleartimeout" id=";u^`S%aKQ)~Vqid+3a)]">
                                                          <field name="NAME">prüfen</field>
                                                          <next>
                                                            <block type="timeouts_settimeout" id="ioOK7|pf3?pKsk-7-#Cp">
                                                              <field name="NAME">prüfen</field>
                                                              <field name="DELAY">40</field>
                                                              <field name="UNIT">sec</field>
                                                              <statement name="STATEMENT">
                                                                <block type="controls_if" id="+b.@eY`HrD6ZzU:l2uCu">
                                                                  <value name="IF0">
                                                                    <block type="on_source" id="FMLWaf/n4IWYNzpJBhR9">
                                                                      <field name="ATTR">state.val</field>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="}3#w#[lKqGDfQ%4DY81g">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="8l6pI|hAm(mKb%#)0iR%">
                                                                          <field name="BOOL">FALSE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="timeouts_wait" id="Sy#D1YaWn)ATS;Nly8qU">
                                                                          <field name="DELAY">3</field>
                                                                          <field name="UNIT">sec</field>
                                                                          <next>
                                                                            <block type="procedures_callnoreturn" id="-Z(An#nWJ|.h%#wVRJ}V">
                                                                              <mutation name="View wechseln"></mutation>
                                                                              <next>
                                                                                <block type="debug" id="$pmh.g*Z{Jq3bj!BgZa|">
                                                                                  <field name="Severity">info</field>
                                                                                  <value name="TEXT">
                                                                                    <shadow type="text" id="3t;bkfxxPxBcgL_,q*Wz">
                                                                                      <field name="TEXT">Touch Bedienung, Auto Wechsel aus</field>
                                                                                    </shadow>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="procedures_defnoreturn" id="/jSA6*LwYAUctJB`zDlX" x="-2162" y="-912">
                                          <field name="NAME">View wechseln</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          <statement name="STACK">
                                            <block type="debug" id="7_#HMpMwbp,RGq#kMlU=" disabled="true">
                                              <field name="Severity">warn</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="^6wFqWc8$Jb}hUe![RQ5">
                                                  <field name="TEXT">View Wechsel wird gestartet am Tablet</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="controls_if" id="!u=(E2dA;/HU]f}wOAtW">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="z1m`A5xltb}9,4/GZU:O">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="RY,FR8*nFj6$XIX}76K-">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_boolean" id="3AYH:$!e@85@L./?2Y?b">
                                                          <field name="BOOL">FALSE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="H;%9A!Ks,c5pN.Z!JOsL">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                      <field name="OID">0_userdata.0.FireHD10.View_Wechsel</field>
                                                      <field name="WITH_DELAY">TRUE</field>
                                                      <field name="DELAY_MS">500</field>
                                                      <field name="UNIT">ms</field>
                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="math_number" id="WK=zP_(iSpz0TcLh}u(M">
                                                          <field name="NUM">0</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="timeouts_settimeout" id="=bK2tdUl_z)hQ}$E0C#4">
                                                          <field name="NAME">Home Wetter</field>
                                                          <field name="DELAY">60</field>
                                                          <field name="UNIT">sec</field>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="J=^S*X9qJD141WuFGl7|">
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="~(+i;r/lUKzNQ@eE^P7u">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="%`[^C~UjE2cf~^jDi@Hh">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_boolean" id="}#Wv2RcpPZf;qoX:XvF(">
                                                                      <field name="BOOL">FALSE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="85EV9M?|(%Oj$6r$6z|L">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                  <field name="OID">0_userdata.0.FireHD10.View_Wechsel</field>
                                                                  <field name="WITH_DELAY">TRUE</field>
                                                                  <field name="DELAY_MS">500</field>
                                                                  <field name="UNIT">ms</field>
                                                                  <field name="CLEAR_RUNNING">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="math_number" id="M}qYlW@c-Ja=^Kos6Y6~">
                                                                      <field name="NUM">1</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="timeouts_settimeout" id="`xJK3AM6C7:[YP[$5l-^">
                                                                      <field name="NAME">Home Kalender</field>
                                                                      <field name="DELAY">60</field>
                                                                      <field name="UNIT">sec</field>
                                                                      <statement name="STATEMENT">
                                                                        <block type="controls_if" id=")+:HVBc-MNP]L#$nXV2w">
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="p8dAAj(E1]6:1]|Kj%dJ">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="uz^s#e.^,?e,:z:WxnBX">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="]0[iOb|{HpG}s.N(Z{r:">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="control" id="U(Va}}59`mF$z;cE)?4S">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                              <field name="OID">0_userdata.0.FireHD10.View_Wechsel</field>
                                                                              <field name="WITH_DELAY">TRUE</field>
                                                                              <field name="DELAY_MS">500</field>
                                                                              <field name="UNIT">ms</field>
                                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_number" id="YAdv;LZI2YA:{5dTgA5]">
                                                                                  <field name="NUM">2</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="timeouts_settimeout" id="YY#d?gyg:0=kRwGGsti]">
                                                                                  <field name="NAME">Home Fenster Turen</field>
                                                                                  <field name="DELAY">60</field>
                                                                                  <field name="UNIT">sec</field>
                                                                                  <statement name="STATEMENT">
                                                                                    <block type="controls_if" id="?]-42BnP,pQk,U/8^-HL">
                                                                                      <value name="IF0">
                                                                                        <block type="logic_compare" id="MQ5:(?X$M:vic/WN=c.^">
                                                                                          <field name="OP">EQ</field>
                                                                                          <value name="A">
                                                                                            <block type="get_value" id="+NB:Gr*MuXl;Y|77B(UD">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="logic_boolean" id="Tc9Dp6-+UP$rQ+:U=dJK">
                                                                                              <field name="BOOL">FALSE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="control" id="GckCV2Xf:.nMT`r@lQ{6">
                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                          <field name="OID">0_userdata.0.FireHD10.View_Wechsel</field>
                                                                                          <field name="WITH_DELAY">TRUE</field>
                                                                                          <field name="DELAY_MS">500</field>
                                                                                          <field name="UNIT">ms</field>
                                                                                          <field name="CLEAR_RUNNING">FALSE</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_number" id="j1j`b+.wq{b}1WlX?Of=">
                                                                                              <field name="NUM">3</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="timeouts_settimeout" id=":,#nmQASS3Vc!6)EpGmg">
                                                                                              <field name="NAME">Home Roborock</field>
                                                                                              <field name="DELAY">60</field>
                                                                                              <field name="UNIT">sec</field>
                                                                                              <statement name="STATEMENT">
                                                                                                <block type="controls_if" id="7e@LX+#{+8]m2C(;e,jy">
                                                                                                  <value name="IF0">
                                                                                                    <block type="logic_compare" id=".cZ@plc4-/oQgtNK=q$8">
                                                                                                      <field name="OP">EQ</field>
                                                                                                      <value name="A">
                                                                                                        <block type="get_value" id="#U`eK+r%Tqq2|`kxKf=F">
                                                                                                          <field name="ATTR">val</field>
                                                                                                          <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <block type="logic_boolean" id="[rPbMVom$7A|CZgi|+xl">
                                                                                                          <field name="BOOL">FALSE</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <statement name="DO0">
                                                                                                    <block type="control" id="pE9aytFkH0Z*f-MunDZw">
                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                                                                      <field name="OID">0_userdata.0.FireHD10.View_Wechsel</field>
                                                                                                      <field name="WITH_DELAY">TRUE</field>
                                                                                                      <field name="DELAY_MS">500</field>
                                                                                                      <field name="UNIT">ms</field>
                                                                                                      <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="math_number" id="1CbojOTAB130mWdMW5gy">
                                                                                                          <field name="NUM">9</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="timeouts_wait" id="kBn(uLG71O(=V=.}DW9J">
                                                                                                          <field name="DELAY">30</field>
                                                                                                          <field name="UNIT">sec</field>
                                                                                                          <next>
                                                                                                            <block type="controls_if" id="r-KeBA#L7R8`6S=dSsY!">
                                                                                                              <value name="IF0">
                                                                                                                <block type="logic_compare" id="AtJ]|zy7V~3r9ad,sDOm">
                                                                                                                  <field name="OP">EQ</field>
                                                                                                                  <value name="A">
                                                                                                                    <block type="get_value" id=":m+z=r:tf3t5mg2-mLA2">
                                                                                                                      <field name="ATTR">val</field>
                                                                                                                      <field name="OID">0_userdata.0.FireHD10.touch_bedienung</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="B">
                                                                                                                    <block type="logic_boolean" id="E8ulMH4}60tgJFRW=`%v">
                                                                                                                      <field name="BOOL">FALSE</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <statement name="DO0">
                                                                                                                <block type="controls_if" id="=o{*ds!WjU:?FdA^Alc`">
                                                                                                                  <mutation else="1"></mutation>
                                                                                                                  <value name="IF0">
                                                                                                                    <block type="logic_compare" id="{lPW14iH]W=#A?AGP;^O">
                                                                                                                      <field name="OP">GTE</field>
                                                                                                                      <value name="A">
                                                                                                                        <block type="get_value" id=")c+{}vwR]B$NQ#eU58Dc">
                                                                                                                          <field name="ATTR">val</field>
                                                                                                                          <field name="OID">zigbee.0.842e14fffeff40b6.no_motion</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                      <value name="B">
                                                                                                                        <block type="math_number" id="j#g(cE@4QqtTu|z6WY]S">
                                                                                                                          <field name="NUM">180</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <statement name="DO0">
                                                                                                                    <block type="control" id="p8gq_:R5,P8~-^52uoVG">
                                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                      <field name="OID">0_userdata.0.vis.bewegung_esszimmer</field>
                                                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                                                      <value name="VALUE">
                                                                                                                        <block type="logic_boolean" id="a$DEdp5HLevjxqVJ9jP`">
                                                                                                                          <field name="BOOL">FALSE</field>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                      <next>
                                                                                                                        <block type="debug" id="JKa?qg+X6hqRpT1h,+K`">
                                                                                                                          <field name="Severity">info</field>
                                                                                                                          <value name="TEXT">
                                                                                                                            <shadow type="text" id="it8%,ekMMB?hxa4LW2)v">
                                                                                                                              <field name="TEXT">keine Bewegung mehr, wird auf false gesetzt</field>
                                                                                                                            </shadow>
                                                                                                                          </value>
                                                                                                                          <next>
                                                                                                                            <block type="control" id="=oa}3}h}briW#C`I*W0f" disabled="true">
                                                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                              <field name="OID">fullybrowser.0.192_168_178_48.Commands.screenOff</field>
                                                                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                                                                              <value name="VALUE">
                                                                                                                                <block type="logic_boolean" id="`!_spXF?{G6WL6~)-#tr">
                                                                                                                                  <field name="BOOL">TRUE</field>
                                                                                                                                </block>
                                                                                                                              </value>
                                                                                                                              <next>
                                                                                                                                <block type="comment" id="I0%rv49{Gxds{L4q$eEj">
                                                                                                                                  <field name="COMMENT">Screen dunkel schalten, wie Off !</field>
                                                                                                                                  <next>
                                                                                                                                    <block type="control" id="eY-$3_cin:/k%r.Fmh6=">
                                                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                                                      <field name="OID">fullybrowser.0.Tablet_Wand.Commands.screenBrightness</field>
                                                                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                                                                      <value name="VALUE">
                                                                                                                                        <block type="math_number" id="NK!lZ#*Z7][7E/THroll">
                                                                                                                                          <field name="NUM">0</field>
                                                                                                                                        </block>
                                                                                                                                      </value>
                                                                                                                                      <next>
                                                                                                                                        <block type="debug" id="e9M|DIO_%8G[^*$77DTe">
                                                                                                                                          <field name="Severity">info</field>
                                                                                                                                          <value name="TEXT">
                                                                                                                                            <shadow type="text" id="{bfjv2Y)BZ6r^p#nc=__">
                                                                                                                                              <field name="TEXT">Tablet Screen aus</field>
                                                                                                                                            </shadow>
                                                                                                                                          </value>
                                                                                                                                        </block>
                                                                                                                                      </next>
                                                                                                                                    </block>
                                                                                                                                  </next>
                                                                                                                                </block>
                                                                                                                              </next>
                                                                                                                            </block>
                                                                                                                          </next>
                                                                                                                        </block>
                                                                                                                      </next>
                                                                                                                    </block>
                                                                                                                  </statement>
                                                                                                                  <statement name="ELSE">
                                                                                                                    <block type="procedures_callnoreturn" id="GQH#+j0NA60~xt?pP7hv">
                                                                                                                      <mutation name="View wechseln"></mutation>
                                                                                                                      <next>
                                                                                                                        <block type="debug" id="F=]7oL|A#aaDQ.uXy2#f" disabled="true">
                                                                                                                          <field name="Severity">info</field>
                                                                                                                          <value name="TEXT">
                                                                                                                            <shadow type="text" id="/%4~|:Y7uF/4TTLH33xU">
                                                                                                                              <field name="TEXT">auto view wechsel screen immer noch an</field>
                                                                                                                            </shadow>
                                                                                                                          </value>
                                                                                                                        </block>
                                                                                                                      </next>
                                                                                                                    </block>
                                                                                                                  </statement>
                                                                                                                </block>
                                                                                                              </statement>
                                                                                                            </block>
                                                                                                          </next>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </block>
                                                                                                  </statement>
                                                                                                </block>
                                                                                              </statement>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </statement>
                                                                                    </block>
                                                                                  </statement>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </statement>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                        <block type="schedule" id="F|}PdQqFOT%r}7IsfY8o" x="-1037" y="-912">
                                          <field name="SCHEDULE">30 22 * * *</field>
                                          <statement name="STATEMENT">
                                            <block type="control" id="%}yw+m8(CF9ZK{uzn)To">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">fullybrowser.0.Tablet_Wand.Commands.screenOff</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="~c2x%%u(q6@XsAVE)BX2">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="schedule" id="V02dybO]dpmWy?((kIQ:">
                                              <field name="SCHEDULE">0 7 * * *</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="SoQbv8-5RmOP|[ylLUQJ">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">fullybrowser.0.Tablet_Wand.Commands.screenOn</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="r]y)cXOT$*9;u-RT#nFD">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="Tr75??iQ2fz+f/_)$GWp">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">fullybrowser.0.Tablet_Wand.Commands.loadStartURL</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="+wpo`45S~t%ERkZ(oMb6">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="on" id="|E=Ioi`j!HT!T7O[RWXa">
                                                  <field name="OID">fullybrowser.0.Tablet_Wand.Info.screenOn</field>
                                                  <field name="CONDITION">true</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <statement name="STATEMENT">
                                                    <block type="controls_if" id="kJA-ne=i*-V][Nl-b%St">
                                                      <value name="IF0">
                                                        <block type="logic_operation" id="+K~:CcX|gvs@]x1(mC.K">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="on_source" id=":v,M6xBD*vECg$YiKkqr">
                                                              <field name="ATTR">state.val</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="time_compare" id="M.q%UK?*6s7C7B*m?%m;">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                                              <field name="OPTION">not between</field>
                                                              <field name="START_TIME">07:00</field>
                                                              <field name="END_TIME">23:00</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="control" id="H/Hx*z-l#eot)9$,!Q57">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                          <field name="OID">fullybrowser.0.Tablet_Wand.Commands.screenOff</field>
                                                          <field name="WITH_DELAY">TRUE</field>
                                                          <field name="DELAY_MS">60</field>
                                                          <field name="UNIT">sec</field>
                                                          <field name="CLEAR_RUNNING">TRUE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="W1K~!6GJVvT%_TO,$Iu}">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </xml>
                                      

                                      Ist vllt etwas Wild aufgebaut. Aber funktionert.

                                      Negalein 2 Replies Last reply Reply Quote 1
                                      • Negalein
                                        Negalein Global Moderator @D3ltoroxp last edited by

                                        @d3ltoroxp sagte in View in 8 Widget Auto Wechsel möglich ?:

                                        Also das ist momentan mein Script. Wechselt einfach durch verschiedene Views durch.

                                        Danke, werd ich gleich versuchen.

                                        1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator @D3ltoroxp last edited by

                                          @d3ltoroxp sagte in View in 8 Widget Auto Wechsel möglich ?:

                                          momentan mein Script

                                          Hallo

                                          was bewirken diese DP?

                                          0_userdata.0.FireHD10.View_Wechsel und 0_userdata.0.FireHD10.touch_bedienung

                                          Der 0_userdata.0.FireHD10.View_Wechsel hat sicher was mit dem Vien8 Widget zu tun.
                                          Das wäre bei mir dann 0_userdata.0.MaterialDesign.TopAppBar.topappbar.

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          960
                                          Online

                                          32.1k
                                          Users

                                          80.7k
                                          Topics

                                          1.3m
                                          Posts

                                          4
                                          22
                                          1040
                                          Loading More Posts
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          The ioBroker Community 2014-2023
                                          logo