Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter iQontrol 2.0.x Vis (Entwicklungs-Thread)

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter iQontrol 2.0.x Vis (Entwicklungs-Thread)

    This topic has been deleted. Only users with topic management privileges can see it.
    • s.bormann
      s.bormann Most Active @da_Woody last edited by

      @da_Woody sagte in Test Adapter iQontrol 1.5.x:

      @s-bormann said in Test Adapter iQontrol 1.5.x:

      Wenn Du mehrere Positionen brauchst, dann kannst Du das über ADDITIONAL_CONTROLS machen, damit kannst Du beliebig viele Knöpfe anlegen.

      hmm, tutet irgendwie nicht so ganz...
      1093a8bf-74a8-486e-baf1-42dbd39f410d-grafik.png
      in den addition_controls steht drinnen
      1f462a6e-f131-49b1-a81c-1712efc57afd-grafik.png

      [{"name":"Pos_1","hideName":false,"caption":"light","commonRole":"linkedState","icon":"./../iqontrol.meta/userimages/usersymbols/blinds/blinds_20.png","role":"","value":"20"},{"name":"Pos_2","hideName":false,"caption":"small","commonRole":"linkedState","icon":"./../iqontrol.meta/userimages/usersymbols/blinds/blinds_40.png","role":"","value":"40"},{"name":"Pos_3","hideName":false,"caption":"half","commonRole":"linkedState","icon":"./../iqontrol.meta/userimages/usersymbols/blinds/blinds_60.png","role":"","value":"60"},{"name":"Pos_4","hideName":false,"caption":"window","commonRole":"linkedState","icon":"./../iqontrol.meta/userimages/usersymbols/blinds/blinds_80.png","role":"","value":"80"}]
      

      Hi,
      versuch mal als Gerätetyp "Knopf" und als Wert jeweils "true"

      da_Woody 1 Reply Last reply Reply Quote 0
      • da_Woody
        da_Woody @s.bormann last edited by

        @s-bormann said in Test Adapter iQontrol 1.5.x:

        versuch mal als Gerätetyp "Knopf" und als Wert jeweils "true"

        das mit knopf hatte ich schon probiert. nada.
        744d6387-b440-49f0-a383-7096d38b79a0-grafik.png
        true hab ich jetzt auch getestet, aber erscheint unlogisch, woher soll er den wert kennen.. aaaber ich denk mal das das noch am adapter liegen kann, die favorites sind da ja noch nicht drinnen. API Docs
        auf jeden fall, egal was ich wo eintrage, er setzt mir den position wert nicht.
        c62cd1bc-9182-4058-b03d-eaf5287e9a00-grafik.png

        da_Woody 1 Reply Last reply Reply Quote 0
        • da_Woody
          da_Woody @da_Woody last edited by da_Woody

          @da_Woody was mir da beim rumtesten eingefallen ist: kann es sein das da zum setzen des werts ein ack dazu gehört?
          und, ich stell mir grad vor, wie es sein muss mit >10 rollos. jedesmal das arry anlegen... 🤒 bei meinen 4 gehts ja noch... 😄

          edith: man sollte auch mal nachschauen... 🙄
          7545abfa-73d3-4440-9c38-76b18da89ad4-grafik.png
          aber dazu müsst ich einen DP angeben können.

          s.bormann 1 Reply Last reply Reply Quote 0
          • M
            martinschm @eMd last edited by

            @eMd said in Test Adapter iQontrol 1.5.x:

            @martinschm

            Unter den Einstellungen der Kachel kann man das einstellen, das dies immer sofort angezeigt wird.

            MfG
            eMd

            Danke, aber ich bin zu blöd das zu finden. Oder ich such nach dem falschen Begriff. Wie heißt die Option?

            da_Woody 1 Reply Last reply Reply Quote 0
            • da_Woody
              da_Woody @martinschm last edited by

              @martinschm meinst du das?
              ee4f35de-8699-42c0-ae39-7b99457609cc-grafik.png

              M 1 Reply Last reply Reply Quote 1
              • L
                LJSven last edited by

                Um ein FLOT anzuzeigen muss zwingend mit history gelogged werden oder geht auch SQL?

                s.bormann 1 Reply Last reply Reply Quote 0
                • M
                  martinschm @da_Woody last edited by

                  @da_Woody said in Test Adapter iQontrol 1.5.x:

                  @martinschm meinst du das?
                  ee4f35de-8699-42c0-ae39-7b99457609cc-grafik.png

                  Hi, nein. Ich möchte auf der Kachel eine Zahl darstellen, die kommt aus einem Datenpunkt. Das klappt. Sobald man auf die Kachel klickt soll direkt der Text angezeigt werden, den ich aus einem anderen Datenpunkt hole. Das finde ich grade noch nicht

                  s.bormann 1 Reply Last reply Reply Quote 0
                  • der Koch
                    der Koch @da_Woody last edited by

                    @da_Woody said in Test Adapter iQontrol 1.5.x:

                    @frankthegreat said in Test Adapter iQontrol 1.5.x:

                    Schriftgröße der Kacheln

                    was genau meinst du damit???
                    du kannst hauptüberschrift, unterüberschrift einstellen.
                    du kannst im toolbar layout unter beschriftung die schriftgrösse einstellen.
                    mir fällt nix mehr ein welche grösse du sonst noch meinen könntest...

                    Meine VIS hängt in ca. 2 Metern Entfernung zum Sofa auf dem mein WAF sitzt. Da muss die Kachel für den CO2 Wert im Wohnzimmer grösser sein, so das sie jederzeit vom Sofa aus gut zu lesen ist.

                    s.bormann 1 Reply Last reply Reply Quote 0
                    • L
                      LJSven last edited by

                      In einem Datenpunkt steht der Pfad zu einer png-Datei. Wie kann ich mir das Bild im iQontrol anzeigen lassen?

                      s.bormann 1 Reply Last reply Reply Quote 0
                      • C
                        calliou1234 @blackeagle998 last edited by

                        @blackeagle998 Kann es sein, dass sich an der Struktur des mihome-vacuum Adapters die Objektstruktur geändert hat?

                        Bei mir werden keine Räume erkannt, obwohl es welche gibt, daher läuft das Skript leider nicht und auch die Kachel wird nicht angezeigt.

                        In deinem Script ermittelst du mit mihome-vacuum.0.rooms.room* die Räume.

                        Bei mir stehen sieht die Struktur folgendermassen aus:

                        Unbenannt.JPG

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          blackeagle998 @calliou1234 last edited by blackeagle998

                          @calliou1234
                          Ja sieht ganz so aus als hätte sich das geändert.
                          Dann ändere doch im Skript mal:

                          mihome-vacuum.0.rooms.room*
                          
                          in
                          
                          mihome-vacuum.0.rooms.*
                          

                          EDIT:
                          Das reicht leider nicht, da muss noch mehr in der Funktion initRooms angepasst werden. Die neue Version dieser Funktion findet ihr einen Post weiter unten.

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            blackeagle998 @blackeagle998 last edited by

                            @calliou1234
                            Tausch mal bitte im Skript die komplette Funktion "initRooms" durch die im Spoiler beigefügte Funktion aus.
                            Mit dieser Version sollte es gehen und es sollte keine Fehlermeldung im LOG kommen.

                            function initRooms(){
                               let arr_rooms           = [];
                               let arr_rooms_states    = [];
                            
                               // Ermittle alle States unterhalb der Struktur mihome-vacuum.0.rooms.*
                               arr_rooms_states = Array.prototype.slice.apply($("mihome-vacuum.0.rooms.*"));
                               if (arr_rooms_states.length !== 0){
                                   for (let i = 0; i < arr_rooms_states.length; i++){
                                       let room_id     = arr_rooms_states[i].slice(0, arr_rooms_states[i].lastIndexOf("."));
                               		if (room_id !== 'mihome-vacuum.0.rooms'){
                               			let room_name   = getObject(room_id).common.name;
                               			let found = false
                               			if (arr_rooms.length !== 0){
                               				for (let j = 0; j < arr_rooms.length; j++){
                               					if (arr_rooms[j].name == room_name){
                               						found = true;
                               					}
                               				}
                               			}
                               			if (!found){
                               				let obj_room = {};
                               				obj_room.id     = room_id;
                               				obj_room.name   = room_name;
                               				obj_room.state  = 'inactive';
                               				arr_rooms.push(obj_room);
                               			}
                               		}
                                   }
                               }
                               return arr_rooms;
                            }
                            

                            C 1 Reply Last reply Reply Quote 0
                            • s.bormann
                              s.bormann Most Active last edited by

                              Hallo,
                              ein neues Tutorial für iQontrol ist online:
                              https://youtu.be/qqDNud6aCPg

                              Hier der Link zur kompletten Tutorial-Reihe:
                              https://youtube.com/playlist?list=PL8epyNz8pGEv6-R8dnfXm-m5aBlZFKOBG

                              1 Reply Last reply Reply Quote 3
                              • s.bormann
                                s.bormann Most Active @da_Woody last edited by

                                @da_Woody sagte in Test Adapter iQontrol 1.5.x:

                                @da_Woody was mir da beim rumtesten eingefallen ist: kann es sein das da zum setzen des werts ein ack dazu gehört?
                                und, ich stell mir grad vor, wie es sein muss mit >10 rollos. jedesmal das arry anlegen... 🤒 bei meinen 4 gehts ja noch... 😄

                                edith: man sollte auch mal nachschauen... 🙄
                                7545abfa-73d3-4440-9c38-76b18da89ad4-grafik.png
                                aber dazu müsst ich einen DP angeben können.

                                Hi,
                                nein, ACK sendet der Adapter, also Shelly, zurück, wenn der Befehl erfolgreich ausgeführt wurde (ACK = bestätigt).

                                Wie ist das denn mit den Shelly-Favoriten zu verstehen: Wenn Du im ioBroker auf den Knopf "Position 1" klickst, speicherst Du damit die aktuelle Position als Favorit oder fährt er ihn damit an?

                                da_Woody 1 Reply Last reply Reply Quote 0
                                • s.bormann
                                  s.bormann Most Active @LJSven last edited by

                                  @LJSven sagte in Test Adapter iQontrol 1.5.x:

                                  Um ein FLOT anzuzeigen muss zwingend mit history gelogged werden oder geht auch SQL?

                                  Geht auch

                                  1 Reply Last reply Reply Quote 0
                                  • s.bormann
                                    s.bormann Most Active @martinschm last edited by

                                    @martinschm sagte in Test Adapter iQontrol 1.5.x:

                                    @da_Woody said in Test Adapter iQontrol 1.5.x:

                                    @martinschm meinst du das?
                                    ee4f35de-8699-42c0-ae39-7b99457609cc-grafik.png

                                    Hi, nein. Ich möchte auf der Kachel eine Zahl darstellen, die kommt aus einem Datenpunkt. Das klappt. Sobald man auf die Kachel klickt soll direkt der Text angezeigt werden, den ich aus einem anderen Datenpunkt hole. Das finde ich grade noch nicht

                                    Stimmt schon, Du musst den anderen Datenpunkt bei ADDITIONAL_INFO einfügen und die von @da_Woody beschriebene Option auswählen ("Keine zuklappbare Sektion (immer sichtbar)"), dann ist das direkt zu sehen.

                                    VG

                                    M 1 Reply Last reply Reply Quote 0
                                    • s.bormann
                                      s.bormann Most Active @der Koch last edited by

                                      @der-Koch sagte in Test Adapter iQontrol 1.5.x:

                                      @da_Woody said in Test Adapter iQontrol 1.5.x:

                                      @frankthegreat said in Test Adapter iQontrol 1.5.x:

                                      Schriftgröße der Kacheln

                                      was genau meinst du damit???
                                      du kannst hauptüberschrift, unterüberschrift einstellen.
                                      du kannst im toolbar layout unter beschriftung die schriftgrösse einstellen.
                                      mir fällt nix mehr ein welche grösse du sonst noch meinen könntest...

                                      Meine VIS hängt in ca. 2 Metern Entfernung zum Sofa auf dem mein WAF sitzt. Da muss die Kachel für den CO2 Wert im Wohnzimmer grösser sein, so das sie jederzeit vom Sofa aus gut zu lesen ist.

                                      Das geht aktuell nur, wenn Du Dir ein Widget baust - also nicht die Standart-Kachel von iQontrol nimmst, sondern z.B. mit einem Blockly HTML-Code mit dem CO2-Wert in gewünschtem Layout und Große generierst und den dann als BACKGROUND_HTML auf die Gerätekachel brinst

                                      1 Reply Last reply Reply Quote 0
                                      • sigi234
                                        sigi234 Forum Testing Most Active @s.bormann last edited by

                                        @s-bormann

                                        Wie kann ich das Albumcover skalieren?

                                        Screenshot (2952).png

                                        s.bormann 1 Reply Last reply Reply Quote 0
                                        • s.bormann
                                          s.bormann Most Active @LJSven last edited by

                                          @LJSven sagte in Test Adapter iQontrol 1.5.x:

                                          In einem Datenpunkt steht der Pfad zu einer png-Datei. Wie kann ich mir das Bild im iQontrol anzeigen lassen?

                                          Du musst eine Variable nutzen:
                                          https://github.com/sbormann/ioBroker.iqontrol#icons-and-background-images

                                          L 1 Reply Last reply Reply Quote 0
                                          • s.bormann
                                            s.bormann Most Active @sigi234 last edited by

                                            @sigi234 sagte in Test Adapter iQontrol 1.5.x:

                                            @s-bormann

                                            Wie kann ich das Albumcover skalieren?

                                            Screenshot (2952).png

                                            Hi,
                                            Du meinst das, wo jetzt bei Dir Kronehit steht?
                                            Zeig mal bitte, wie Du die Ansicht aufgebaut hast.
                                            VG

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            app dark-mode iqontrol responsive vis visualisierung visualization widget
                                            295
                                            7633
                                            5846894
                                            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