Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. jarvis v3.2.x - just another remarkable vis

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    jarvis v3.2.x - just another remarkable vis

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @MCU last edited by

      @mcu sagte in jarvis v3.2.x - just another remarkable vis (alpha-testing):

      @sigi234 Die Fehlermeldung gab es nur bei v3.2.0-beta.12? Komisch.
      evtl Browser-Cache löschen und web-Adapter neu starten?

      Erledigt:

      Animation.gif

      M 1 Reply Last reply Reply Quote 0
      • M
        MCU @sigi234 last edited by

        @sigi234 Einmal die Instanz stoppen.
        Es fehlen signature Einträge
        https://mcuiobroker.gitbook.io/jarvis-infos/system-jarvis-neuigkeiten/update-von-v3.1.8-auf-v3.2.0-beta.x#fehlende-signature-objekt-eintraege

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

          @mcu sagte in jarvis v3.2.x - just another remarkable vis (alpha-testing):

          @sigi234 Einmal die Instanz stoppen.
          Es fehlen signature Einträge
          https://mcuiobroker.gitbook.io/jarvis-infos/system-jarvis-neuigkeiten/update-von-v3.1.8-auf-v3.2.0-beta.x#fehlende-signature-objekt-eintraege

          Erledigt, jetzt kommt es nur einmal, dann startet Javis aber.

          Keine jarvis-Warnung wegen smartName

          M 1 Reply Last reply Reply Quote 0
          • M
            MCU @sigi234 last edited by MCU

            @sigi234 Das weiß / rote /violette Bild ist das neue jarvis-Initial-Bild
            b115b45f-84fe-4500-a6be-83bc9d5a4d76-image.png
            Dachte an sowas, aber zefau möchte nicht.
            ae6b52ec-6b45-4d9f-ae66-d17d890b416f-image.png

            sigi234 2 Replies Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @MCU last edited by

              @mcu sagte in jarvis v3.2.x - just another remarkable vis (alpha-testing):

              Dachte an sowas, aber zefau möchte nicht.

              viel besser

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

                @mcu

                Hallo,

                das ist Neu:

                jarvis.0
                2024-06-08 12:45:43.641	warn	Failed mapping a recurring event of calendar Sigi: Invalid time value
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  MCU @sigi234 last edited by

                  @sigi234 Ja ist ein offenes Problem.
                  https://github.com/Zefau/ioBroker.jarvis/issues/2519

                  1 Reply Last reply Reply Quote 0
                  • H
                    hvb @MCU last edited by

                    @mcu es gibt auch in 3.1.x keine direkte Möglichkeit weitere Buttons zur ButtonGroupAction hinzuzufügen. Mehrere Buttons gehen nur über die Display Eigenschaften des Geräts. Die Funktionen zum hinzufügen der Klassen etc. Hab ich selbst geschrieben - sind in meinem Post mit drin, da man damit nur Textbuttons hinzufügen kann aber keine icons.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MCU @hvb last edited by MCU

                      @hvb Die Funktion für das Hinzufügen fehlt.

                      if(button.classList.contains('jarvis-ButtonGroupAction-' + mapping[val])) {
                      

                      Du fragst hier eine Klasse ab, die es gar nicht gibt, weil sie nicht angelegt wurde.
                      Bzw. ich habe keine function dafür gesehen.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        hvb @MCU last edited by

                        @mcu sorry, hab mich grad falsch erinnert.

                        Schau mal im post den Screenshot vom device an.
                        In der DisplayVariant ist ein JSON das 3 Buttons definiert. Du musst allerdings bei der Definition der ButtonGroupAction noch einstellen, dass Du die DisplayVariant für die Buttons verwenden willst. Key wird jeweils von Jarvis and die Klasse angehängt. Um von mir später mit mapping[val] im Script abgefragt. Value wird jeweils als Text angezeigt, auf dem Button der in der Standard Implementierung von Jarvis. Bis dahin brauchst du meine scripte und Sykes nicht. Die sind nur dazu da statt Text auf dem Button ein Icon anzuzeigen.

                        Cool wäre natürlich wenn man die vorhandene Jarvis implementierung so erweitern könnte, dass sie auch Icons erlaubt. Dann müsste ich nicht solche Verrenkungen machen (war aber ein schönes Experiment, hab viel dabei úber Jarvis gelernt)

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MCU @hvb last edited by MCU

                          @hvb sagte in jarvis v3.2.x - just another remarkable vis (alpha-testing):

                          Du musst allerdings bei der Definition der ButtonGroupAction noch einstellen, dass Du die DisplayVariant für die Buttons verwenden willst.

                          d6227379-655a-43da-8d7e-44a2d1a5dadc-image.png
                          Hab ich noch nicht gesehen und nicht benutzt.
                          Danke.
                          4d12c71c-fc51-4ecd-8054-97ff04f2a775-image.png

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            hvb @MCU last edited by

                            @mcu sieht gut aus! Ist aber 3.1.8 oder?

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              MCU @hvb last edited by

                              @hvb Nee ist v3.2.0-beta.10, man muss nur einmal einen Wert klicken, dann wird es angezeigt.

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                hvb @MCU last edited by

                                @mcu ok. Gleiches Verhalten wie bei mir.

                                Danke für’s ausprobieren.

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  MCU @hvb last edited by MCU

                                  @hvb Muss mal schauen, evtl wird der button-pressed initial nicht gesetzt?
                                  jarvis setzt es auch falsch
                                  373b9431-56e3-440c-a797-bb17db86eeaa-image.png
                                  isOff ist hier falsch, da value = AUTO

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    hvb @MCU last edited by hvb

                                    @mcu In der 3.1.8 wird button-pressed initial gesetzt.
                                    In der 3.2.x wird initial zwar die Funktion styleButton… aufgerufen, schlägt aber fehl, da das Script noch nicht geladen ist. Wenn du einen Button klickst ändert sich val und die Funktion wird wieder aufgerufen. Da das Script nun geladen ist funktioniert es.

                                    IsOff steht immer da bei ButtonGroupAction und hat keine Funktion. Vielleicht tatsächlich ein bug in Jarvis.

                                    M 1 Reply Last reply Reply Quote 1
                                    • M
                                      MCU @hvb last edited by MCU

                                      @hvb Funktioniert aber auch ohne die Funktion. Man kann es über CSS direkt einstellen.
                                      Solange man für die Werte (value) immer das gleiche Icon nutzt.

                                      .icon.jarvis-ButtonGroupAction-AUTO {
                                      	--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12.68 6h-1.36L7 16h2l.73-2h4.54l.73 2h2zm-2.38 6.5L12 8l1.7 4.5zm7.1 7.9L19 22h-5v-5l2 2c2.39-1.39 4-4.05 4-7c0-4.41-3.59-8-8-8s-8 3.59-8 8c0 2.95 1.61 5.53 4 6.92v2.24C4.47 19.61 2 16.1 2 12C2 6.5 6.5 2 12 2s10 4.5 10 10c0 3.53-1.83 6.62-4.6 8.4'/%3E%3C/svg%3E");
                                      	-webkit-mask-image: var(--svg);
                                      	mask-image: var(--svg);
                                      }
                                       
                                      .icon.jarvis-ButtonGroupAction-ON {
                                      	--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='m16.56 5.44l-1.45 1.45A5.969 5.969 0 0 1 18 12a6 6 0 0 1-6 6a6 6 0 0 1-6-6c0-2.17 1.16-4.06 2.88-5.12L7.44 5.44A7.961 7.961 0 0 0 4 12a8 8 0 0 0 8 8a8 8 0 0 0 8-8c0-2.72-1.36-5.12-3.44-6.56M13 3h-2v10h2'/%3E%3C/svg%3E");
                                      	-webkit-mask-image: var(--svg);
                                      	mask-image: var(--svg);
                                      }
                                       
                                      .icon.jarvis-ButtonGroupAction-OFF {
                                      	--svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3a9 9 0 0 0-9 9a9 9 0 0 0 9 9a9 9 0 0 0 9-9a9 9 0 0 0-9-9m0 16a7 7 0 0 1-7-7a7 7 0 0 1 7-7a7 7 0 0 1 7 7a7 7 0 0 1-7 7'/%3E%3C/svg%3E");
                                      	-webkit-mask-image: var(--svg);
                                      	mask-image: var(--svg);
                                      }
                                      
                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        hvb @MCU last edited by

                                        @mcu funktioniert dann auch das highlighten des zuletzt gedrückten Buttons?

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          MCU @hvb last edited by MCU

                                          @hvb Sagen wir mal so, es würde, wenn der isOn für den ausgewählten Wert gesetzt werden würde. Ist aber noch ein Bug, also nein.

                                          Die svg kann man einfacher gestalten in dem man sie direkt herunterlädt?

                                          --svg: url("https://api.iconify.design/mdi/refresh-auto.svg?width=24&height=24&color=white");
                                          
                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            hvb @MCU last edited by hvb

                                            @mcu dann würden auch die BlindButtons funktionieren - da hab ich was ähnliches gebaut um den gedrückten Button zu highlighten.

                                            Danke für den Tipp mit der SVG.

                                            M 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            887
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            43
                                            879
                                            174992
                                            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