Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Fullybrowser per Befehl Motion ein-/ausschalten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fullybrowser per Befehl Motion ein-/ausschalten

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      emil70 @G.Hawk last edited by

      @g-hawk sagte in Fullybrowser per Befehl Motion ein-/ausschalten:

      @emil70
      Was ist denn der Datenpunkt " Turn motion detection on and off" ?

      Ich nutze den fully-tablet-control adapter. Da gibt es den, vllt mal testen

      G 1 Reply Last reply Reply Quote 0
      • G
        G.Hawk @emil70 last edited by

        @emil70
        Den benutze ich ja. Das war doch die anfängliche Frage, ob man die Motion Detection steuern kann.
        Ich finde da aber nichts.

        E 1 Reply Last reply Reply Quote 0
        • E
          emil70 @G.Hawk last edited by emil70

          @g-hawk

          Der Datenpunkt heisst

          fully-tablet-control.0.device.wandtablet.commands.motionDetection
          

          Hier mal das Blockly

          <xml xmlns="https://developers.google.com/blockly/xml">
            <block type="on_ext" id="~h{y!?}zxdEo+R-%j|d{" x="-513" y="-163">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="d=eZ6q9t}L%NIMZh1-Q{">
                  <field name="oid">alias.0.Wohnzimmer.Sony-TV.SET</field>
                </shadow>
              </value>
              <value name="OID1">
                <shadow type="field_oid" id="by9}-|Z:RN8|0^q-+*oQ">
                  <field name="oid">alias.0.Terasse.Helligkeitsensor_Terasse.ACTUAL</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="timeouts_wait" id="{[eRyBjK/|sB^X-15yVE">
                  <field name="DELAY">2</field>
                  <field name="UNIT">sec</field>
                  <next>
                    <block type="controls_if" id="0iiFiliG99-Do=*N/E,8">
                      <mutation elseif="1" else="1"></mutation>
                      <value name="IF0">
                        <block type="logic_operation" id="_4+{7SdSX:r-{d2$m]u}" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="Tckoh.MRSIroyr~fgG+k">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="OT!,KZ-gLU$qvv0WN-~!">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alias.0.Wohnzimmer.Sony-TV.SET</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="?SprLPBtJHvw)L2o+sKY">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id="dnqU6FlQnI^rUa|N!j-#">
                              <field name="OP">GTE</field>
                              <value name="A">
                                <block type="get_value" id=".9l9vx5gP6IEcWmlyN#J">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alias.0.Terasse.Helligkeitsensor_Terasse.ACTUAL</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="ZJnr7oEfhM9EnPftZZ]I">
                                  <field name="NUM">1000</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="7APbE=6b3/ib.*vC|6$#">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">fully-tablet-control.0.device.wandtablet.commands.motionDetection</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="Ap:JJw;qPdAnH|#y|U;:">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="z~1K|6WHZ!:7FFC93KTQ">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">fully-tablet-control.0.device.wandtablet.manualBrightness</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="y8fLady_~D,YI+?rm!7{">
                                  <field name="NUM">60</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <value name="IF1">
                        <block type="logic_operation" id="{$d0A/4Xuzg5?4RT49xB" inline="false">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="logic_compare" id="hK](2o$Tro@EC^T[-Z4}">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="SC)asPZ(eC%Pu;{(g^G]">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alias.0.Wohnzimmer.Sony-TV.SET</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="Gmm!^T-02}Z~MAaZwEr5">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id="#Fflwz[ex9EwsXgF#jS8">
                              <field name="OP">LTE</field>
                              <value name="A">
                                <block type="get_value" id=":gaYTn]JRkq|Cy,V!xZs">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alias.0.Terasse.Helligkeitsensor_Terasse.ACTUAL</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id=":+h+6sJynWTCl6i[iQC@">
                                  <field name="NUM">100</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO1">
                        <block type="control" id="RCSmYCcupXbkQ`u=5d{U">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">fully-tablet-control.0.device.wandtablet.commands.motionDetection</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="WS/{/yuU$Xkxx@#39870">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="/ZBF+_ohU0qOXlBSWm!F">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">fully-tablet-control.0.device.wandtablet.manualBrightness</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="?~k9w/5zhRyIP2XX]4@]">
                                  <field name="NUM">40</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <statement name="ELSE">
                        <block type="control" id="b@@.JkN%z+inX+SHt}vk">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">fully-tablet-control.0.device.wandtablet.commands.motionDetection</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="[Di1nTaXMh@I7DTp$rDX">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="kAGcKbGzh_*6@be!N/F:">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">fully-tablet-control.0.device.wandtablet.manualBrightness</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="r2{_=cAz.g-n`]9q:[i1">
                                  <field name="NUM">80</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="E`f:EdNgW0iz6cb[_8ng">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                  <field name="OID">fully-tablet-control.0.device.wandtablet.commands.startScreensaver</field>
                                  <field name="WITH_DELAY">TRUE</field>
                                  <field name="DELAY_MS">1000</field>
                                  <field name="UNIT">ms</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="z9a}#[lVY+5qoT4W^oDG">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </xml>
          

          Screenshot 2023-04-23 at 22-02-25 objects - iobroker.png

          G 1 Reply Last reply Reply Quote 1
          • G
            G.Hawk @emil70 last edited by

            @emil70
            Super Danke. Ich wusste nicht, dass es noch einen anderen Adapter gibt.
            Das einzige Problem was ich jetzt noch habe, ist der Viewwechsel.
            Muss ich ein Widget 8 benutzen oder wo stelle ich ein, dass er die View wechseln soll?

            E 1 Reply Last reply Reply Quote 0
            • E
              emil70 @G.Hawk last edited by

              @g-hawk sagte in Fullybrowser per Befehl Motion ein-/ausschalten:

              Das einzige Problem was ich jetzt noch habe, ist der Viewwechsel.
              Muss ich ein Widget 8 benutzen oder wo stelle ich ein, dass er die View wechseln soll?

              Was meinst du damit??

              G 1 Reply Last reply Reply Quote 0
              • G
                G.Hawk @emil70 last edited by

                @emil70
                Ich würde gerne einen Script schreiben was bei gewissen Zuständen die View wechselt also den Bildschirmschoner ausschaltet und dann die View wechselt aber irgendwie weiß ich nicht wo ich das einstelle. In dem Adapter habe ich einen Reiter mit view gefunden aber da steht irgendwas von Widget 8 was ich nicht verstehe.
                Im Adapter kann man ja die Views eingeben und auch einstellen wie lange sie angezeigt werden sollen aber wie steuere ich die dann?

                E 1 Reply Last reply Reply Quote 0
                • E
                  emil70 @G.Hawk last edited by

                  @g-hawk

                  Achso. Das mach ich auch über Blockly. Beispiel, wenn es klingelt,bekomme ich ein Bild meiner Eingangskamera angezeigt

                  Screenshot 2023-04-24 at 19-48-47 javascript - iobroker.png

                  Meinst du so etwas??

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    G.Hawk @emil70 last edited by

                    @emil70
                    Ja genau aber wie stelle ich das an.
                    In dem Adapter gibt es doch extra einen Reiter für die View aber wo ist der Datenpunkt dafür um diese zu ändern?
                    Was hast du in deinem JavaScript stehen?

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      emil70 @G.Hawk last edited by

                      @g-hawk

                      Hier mal den Inhalt vom Blockly

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable type="timeout" id="timeout">timeout</variable>
                        </variables>
                        <block type="on" id="mB8U4~enKq{inDA}C=9Z" x="-612" y="-287">
                          <field name="OID">alias.0.Flur.Klingelstatus.ACTUAL</field>
                          <field name="CONDITION">ne</field>
                          <field name="ACK_CONDITION"></field>
                          <statement name="STATEMENT">
                            <block type="controls_if" id="R17Tu(_+g5V7Y@X[3I4q">
                              <mutation elseif="1"></mutation>
                              <value name="IF0">
                                <block type="logic_compare" id="E;V6Nj_e6UO24.kPterr">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="lb|Pb~V0jx^s-vI{Mdw,">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alias.0.Flur.Klingelstatus.ACTUAL</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="-W`w4rgGxvBp/x(jb/ke">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="timeouts_settimeout" id="{=r^fq`cVYKBP$zRjb|;">
                                  <field name="NAME">timeout</field>
                                  <field name="DELAY">15</field>
                                  <field name="UNIT">sec</field>
                                  <statement name="STATEMENT">
                                    <block type="procedures_callcustomnoreturn" id="J^7h5R~=dUOOB3$X?E#7">
                                      <mutation name="Startseite an"></mutation>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <value name="IF1">
                                <block type="logic_compare" id="Jn+CB]I-s2|btCMU[#.#">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="ad[ek;%W_jM),X(c#Q0j">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alias.0.Flur.Klingelstatus.ACTUAL</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="Ur+]`v+DZLI[|YL_{!dV">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO1">
                                <block type="procedures_callcustomnoreturn" id="9bTJ07cel.ON7gr7Uzi?">
                                  <mutation name="Bild Kamera Eingang an"></mutation>
                                  <next>
                                    <block type="control" id="L%YrHlJRwVxq!^-w;{`=">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                      <field name="OID">fully-tablet-control.0.device.wandtablet.commands.triggerMotion</field>
                                      <field name="WITH_DELAY">TRUE</field>
                                      <field name="DELAY_MS">1000</field>
                                      <field name="UNIT">ms</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="=;kFsK40T-![zW6N]*tD">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                        <block type="procedures_defcustomnoreturn" id="An;{RLE$}|QcMD]a,bL_" x="-387" y="-287">
                          <mutation statements="false"></mutation>
                          <field name="NAME">Bild Kamera Eingang an</field>
                          <field name="SCRIPT">IHNldFN0YXRlKCJ2aXMuMC5jb250cm9sLmNvbW1hbmQiLCAneyJpbnN0YW5jZSI6ICIqIiwgImNvbW1hbmQiOiAiY2hhbmdlVmlldyIsICJkYXRhIjogIm1haW4vS2FtZXJhRWluZ2FuZ1dhbmRUYWJsZXQifScpOw==</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                        </block>
                        <block type="procedures_defcustomnoreturn" id="^PMwI:/Z/Ox*et`e7BUS" x="-387" y="-238">
                          <mutation statements="false"></mutation>
                          <field name="NAME">Startseite an</field>
                          <field name="SCRIPT">IHNldFN0YXRlKCJ2aXMuMC5jb250cm9sLmNvbW1hbmQiLCAneyJpbnN0YW5jZSI6ICIqIiwgImNvbW1hbmQiOiAiY2hhbmdlVmlldyIsICJkYXRhIjogIm1haW4vU3RhcnRzZWl0ZSJ9Jyk7</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                        </block>
                      </xml>
                      

                      Das steht im Javascript bei Startseite an

                       setState("vis.0.control.command", '{"instance": "*", "command": "changeView", "data": "main/Startseite"}');
                      

                      Das beim Anderen

                       setState("vis.0.control.command", '{"instance": "*", "command": "changeView", "data": "main/KameraEingangWandTablet"}');
                      
                      G 1 Reply Last reply Reply Quote 0
                      • G
                        G.Hawk @emil70 last edited by

                        @emil70
                        Danke, schaue ich mir mal an.
                        Heißt also du steuerst die Views mit dem Vis Adapter und nicht mit dem Fully Tablet control Adapter.

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          emil70 @G.Hawk last edited by emil70

                          @g-hawk sagte in Fullybrowser per Befehl Motion ein-/ausschalten:

                          @emil70
                          Danke, schaue ich mir mal an.
                          Heißt also du steuerst die Views mit dem Vis Adapter und nicht mit dem Fully Tablet control Adapter.

                          ja genau

                          Das mit dem Views über Fully Tablet control Adapter habe ich gesehen, abe rnicht gewust wie das gehen soll

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          524
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

                          vis
                          5
                          25
                          1815
                          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