Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. View-Wechsel mit Blockly und Instanzen ?

    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

    View-Wechsel mit Blockly und Instanzen ?

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ChrisXY last edited by ChrisXY

      Hallo,
      ich nutze ein Blockly um bei Aktiver Alarmanlage das View auf eine art "Sperrbildschirm" zu seitzen. Ein eigenes View welches nur zu sehen ist wenn Alarmanlage True ist.
      Das wechseln klappt ABER

      Ich habe ein 2. VIS Projekt für ein anderes Tablet. Dies wird nun auch gesteuert ...
      Wie kann ich meinem Tablet im Flur was wechseln soll eine art Instanz ID zuteilen ? Unter tools gibt es da ja etwas.

      Ist das so überhaupt möglich ???

      Mein Blockly

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <block type="on" id=";d}GjsMLLcf)L=yBYW3e" x="63" y="38">
          <field name="OID">EIGENE_OBJEKTE.0.test</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="p.~AU4s)93jrxD9a-mcr">
              <mutation elseif="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="crt]td5k5j2zay;iD2-:">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="on_source" id="wvCk,QLe.)lajem:`Fj=">
                      <field name="ATTR">state.val</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="H?[v2S;3HAo@qhU.MDT[">
                      <field name="BOOL">TRUE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="b_)elZ|yd^!Gfh*q|iEY">
                  <mutation delay_input="false"></mutation>
                  <field name="OID">vis.0.control.instance</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="text" id="y){pIHWF9kw%/C[j6aNj">
                      <field name="TEXT">FFFFFFFF</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id=")a|qBfFnQ[*k(8w|i}Mw">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">vis.0.control.data</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id="Vqeb]nLLHjKUDODXu]oW">
                          <field name="TEXT">PINCODE_LAYER</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="q0#c1``U86phOx!Bno:m">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">vis.0.control.command</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text" id="gG|UgZ,q,sMG6{sg!RpU">
                              <field name="TEXT">changeView</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <value name="IF1">
                <block type="logic_compare" id="N-4H8{Zn#JAFD4El+b3;">
                  <field name="OP">EQ</field>
                  <value name="A">
                    <block type="on_source" id="xCPX|pvJiNx)?h_c3eAc">
                      <field name="ATTR">state.val</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_boolean" id="i@9PzeHRBt49+`x~p~%N">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO1">
                <block type="control" id="D4n8bYZe~**W3]STB`Ha">
                  <mutation delay_input="false"></mutation>
                  <field name="OID">vis.0.control.instance</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="text" id="EgR`E):yTQXR7;J%Pyzl">
                      <field name="TEXT">FFFFFFFF</field>
                    </block>
                  </value>
                  <next>
                    <block type="control" id="}SxmKy]2u-ufL_,~^eJf">
                      <mutation delay_input="false"></mutation>
                      <field name="OID">vis.0.control.data</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="text" id="g6[S^97-YJ6%O$0XUC7q">
                          <field name="TEXT">START</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="et?Py/Z||t_nmeO[da|Q">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">vis.0.control.command</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="text" id="i!2Dvr}A#*Zwk)Vlf{{@">
                              <field name="TEXT">changeView</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      

      EDIT: Diese Browser ID scheint wohl doch nicht das zu sein was ich gedacht habe ... Muss ich hier nun wirklich mit ner neuen Instanz arbeiten vis.1 ??

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

      Support us

      ioBroker
      Community Adapters
      Donate

      457
      Online

      31.9k
      Users

      80.3k
      Topics

      1.3m
      Posts

      1
      1
      139
      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