Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Bitte um Hilfe, Blockly

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Bitte um Hilfe, Blockly

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

      Kann jemand sagen wie ich mit einem Trieger views umschalten kann?

      MfG

      Alex

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        @Alex1808:

        Kann jemand sagen wie ich mit einem Trieger views umschalten kann?

        MfG

        Alex `
        Du solltest ins vis.0.command so was

        schreiben "{instance: '*', command: 'changeView', data: 'viewName'}"

        https://github.com/ioBroker/ioBroker.vi … -interface

         <block xmlns="http://www.w3.org/1999/xhtml" type="control" id="/Uzav^k/OL{Y)cnhHzCq" x="-12" y="12.99999999999983"><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=")0lXUh=01Oc^jx)wC:pU"><field name="TEXT">{instance: '*', command: 'changeView', data: 'viewName'}</field></block></value></block> 
        

        48_2017-03-16_11_42_33-iobroker.admin.png

        1 Reply Last reply Reply Quote 0
        • Alex1808
          Alex1808 last edited by

          Bekomme aber nicht umgeschaltet.. 😞

          Habe so angepasst {instance: 'FFFFFFFF', command: 'changeView', data: 'Obergeschoss'}

          513_screenshot_at_m_rz_16_16-29-02.png

          Bei Objekten wird auch angezeigt das view auf Obergeschoss geändert, aber im Webbrowser bleibt bei zuletzt geschaltete view.

          1 Reply Last reply Reply Quote 0
          • rantanplan
            rantanplan last edited by

            Kann ich so bestätigen.

            Im Log steht noch:

            "warn Wrong type of vis.0.command: "string". Please fix, while deprecated and will not work in next versions."

            Grüße

            1 Reply Last reply Reply Quote 0
            • Bluefox
              Bluefox last edited by

              ! ````
              <xml xmlns="http://www.w3.org/1999/xhtml"><block type="control" id="/Uzav^k/OL{Y)cnhHzCq" x="38" y="38"><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=")0lXUh=01Oc^jx)wC:pU"><field name="TEXT">27-28</field></block></value>
              <next><block type="control" id="q;~z(;FmLmwwc,ua]hR"><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="l!olOX@gJ^Ev{K6lm%9x"><field name="TEXT">
              </field></block></value>
              <next><block type="control" id="Dr[{yjU]UM1LCs`7,)a="><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="_V~Gqeo~}D#f-U~i4^Ih"><field name="TEXT">changeView</field></block></value></block></next></block></next></block></xml>

              [48_2017-03-16_17_35_05-iobroker.admin.png](/assets/uploads/files/48_2017-03-16_17_35_05-iobroker.admin.png)
              1 Reply Last reply Reply Quote 0
              • Alex1808
                Alex1808 last edited by

                Jetzt funktioniert! 🙂

                1 Reply Last reply Reply Quote 0
                • rantanplan
                  rantanplan last edited by

                  Ja, so klappt es.

                  Es wird immer auf eine bestimmte View gewechselt.

                  "27-28" sagt mir aber nichts.

                  Gibt es ein paar erklärende Worte?

                  Grüße

                  1 Reply Last reply Reply Quote 0
                  • Alex1808
                    Alex1808 last edited by

                    @rantanplan:

                    Ja, so klappt es.

                    Es wird immer auf eine bestimmte View gewechselt.

                    "27-28" sagt mir aber nichts.

                    Gibt es ein paar erklärende Worte?

                    Grüße `

                    Ich habe bei "27-28" auf mein View geändert z.b. Obergeschoss, bei Control vis kann man ein bestimmte browser (am tablet oder PC) wählen oder für alle "FFFFFFFF"

                    1 Reply Last reply Reply Quote 0
                    • rantanplan
                      rantanplan last edited by

                      Aha, Groschen ist gefallen.

                      Danke!

                      Grüße

                      1 Reply Last reply Reply Quote 0
                      • rantanplan
                        rantanplan last edited by

                        Für die Nachwelt 😉
                        147_blockly_view-wechsel.png

                        Grüße

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        994
                        Online

                        31.7k
                        Users

                        79.8k
                        Topics

                        1.3m
                        Posts

                        4
                        17
                        2311
                        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