Navigation

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

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    jarvis v2.2.0 - just another remarkable vis

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      neunteufels @Renegade 0 last edited by

      @renegade-0

      Keine Ahnung dazu, das Problem hatte ich bis jetzt nicht.

      Eventuell Widget löschen, speichern und dann nochmal neu anlegen?!?

      1 Reply Last reply Reply Quote 0
      • C
        Ceel last edited by Ceel

        Moin
        Ersteinmal danke an den Ersteller von Jarvis
        Sehr geile Vis!

        Jetzt zu meiner Frage.

        Ist es möglich wenn ein Datenpunkt sich ändert (es hat geklingelt) automatisch ein Kamerabild anzeigen zu lassen?
        habe es hinbekommen das sich ein Popup öffnen mit dem Script:

        var jarvisNotify = {};
        //Beispiele
        jarvisNotify.title = "Es hat geklingelt";
        // "<b>Dies ist BOLD</b>"
        jarvisNotify.message= getState('synology.0.SurveillanceStation.cameras.Eingang.linkMjpegHttpPath').val;
        jarvisNotify.state = "unread";          //Damit bleibt die Benachrichtigung auch nach POPUP ungelesen und wird oben angezeigt mit der Zahl
        jarvisNotify.criticality = "none";      // error,warning,info,success
        jarvisNotify.display ="popup";          //drawer,snackbar,popup, none für focusTab
        jarvisNotify.autoHideDuration = 180000;  //5000ms -> 5 Sekunden
        jarvisNotify.snackbarOrigin = {};       //"snackbarOrigin": { "horizontal": "...", "vertical": "" }, 
                                                // optional, applies when display is snackbar, { horizontal: 'center' | 'left' | 'right', vertical: 'bottom' | 'top' }
        jarvisNotify.icon = "bell-ring-outline"; //mdi Iconify
        jarvisNotify.iconColor = "#5D5DED";
        jarvisNotify.backgroundColor = "black";
        jarvisNotify.fontColor = "white";
        jarvisNotify.focusTab = ""; //focus a certain tab
        setState('jarvis.0.addNotification',JSON.stringify(jarvisNotify));
        

        leider wird das Bild der Kamera nicht angezeigt. Es steht im Popup nur der html Link.

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

          @ceel Ja. Du musst dafür ein iFrame nutzen. Dies kannst auf einer eigenen Seite setzen und entsprechend mit der Notification dort hinschalten.
          https://forum.iobroker.net/topic/30668/jarvis-v2-2-0-just-another-remarkable-vis/4733

          EDIT: evtl dann, wenn du eine eigene HTML-Seite erstellen kannst in dem das Bild oder Video dargestellt ist?? Bin mir aber nicht sicher, müsste man probieren.

          Versuch mal (Auflösung musst du entsprechend einstellen):

          jarvisNotify.message= '<iframe src="'+ getState('synology.0.SurveillanceStation.cameras.Eingang.linkMjpegHttpPath').val +'" width="600" height="400"></iframe>'
          

          EDIT2: Es funktioniert auch mit POPUP als iFrame in der Notification

          Feature Request für v3:
          https://github.com/Zefau/ioBroker.jarvis/issues/773

          X-Renegade-X created this issue in Zefau/ioBroker.jarvis

          open Popup Für Video(telefonie) #773

          1 Reply Last reply Reply Quote 0
          • D
            DarkDevil last edited by

            Hallo zusammen,

            gibt eine Möglichkeit das Action Element "BlindLevelAction" zu vergrössern?

            Am PC kann ich die Jalusien bedienen, aber auf dem Tab sind mir die beiden Pfeile für hoch und runter etwas zu klein.

            Habt ihr einen Tipp wie ich diese vergrössert bekomme?

            Zefau 1 Reply Last reply Reply Quote 0
            • Zefau
              Zefau @DarkDevil last edited by

              @darkdevil via CSS und transform

              D 1 Reply Last reply Reply Quote 0
              • D
                DarkDevil @Zefau last edited by

                @zefau gibt es dazu eine Anleitung oder kannst du mir sagen was ich einrichten muss?

                M 1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 last edited by

                  Hi,

                  wie bekomme ich denn diesen Logeintrag weg? Habe JARVIS gestern neu installiert und heute diese Meldung im LOG (gekürzt da ewig langer String)

                  jarvis.0
                  	2021-08-06 16:06:56.515	warn	Read-only state "jarvis.0.info.data" has been written without ack-flag with value "{"data":{"status":0,"location":"Hexxxxxxxx [Hexxxxxxxx;Deutschland]","url":"https://www.daswetter.com/wetter_Hexxxxxxxx-Europa-Deutschland-Nordrhein+Westfalen--1-26757.html","day":{"1":{"date":"20210806","name":"Freitag","month":"","s
                  
                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MCU @DarkDevil last edited by MCU

                    @darkdevil
                    Styles

                    .MuiButtonGroup-root{
                      transform: scale(1.7);
                    }
                    
                    

                    Dieser Wert (1.7) muss evtl angepasst werden, probieren wichtig 1.3 oder 1.5 aber nicht 1,5!

                    614f55e3-8dc6-4a94-8773-b8a9cb7364d3-image.png

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

                      @wendy2702
                      Hast in der Instanz diese Option an? Version v2.2.2?

                      9f231200-fd32-4b35-b75f-aae4f9b2316c-image.png

                      Dann raus nehmen, funktioniert nicht mehr.

                      wendy2702 1 Reply Last reply Reply Quote 0
                      • D
                        DarkDevil @MCU last edited by

                        @mcu wie immer besten Dank, funktioniert aus Anhieb.
                        Aber nun steht "100% geöffnet" also der Wert des primären Datenpunkts halb im nach oben Pfeil. Gibt es eine Möglichkeit die Anzeige des primären Datenpunkts nach links zu verschieben?

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

                          @darkdevil Zeig mal. Du könntest den Text anpassen auf "offen".

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

                            @mcu Nein. Ist aus.

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

                              @wendy2702
                              Solche Sachen wie WEB-Adapter neustarten,
                              Browser-Cache löschen und

                              iobroker jarvis upload
                              

                              hast du schon gemacht?

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

                                @mcu wir reden doch aktuell über den Logeintrag, oder?

                                Browser Cache habe ich nicht gelöscht, würde ich aber auch nicht mit dem Eintrag in Verbindung bringen.

                                Upload habe ich noch nicht gemacht da Adapter zum ersten Mal installiert und ich noch nichts konfiguriert habe.

                                Kann ich aber morgen mal probieren

                                1 Reply Last reply Reply Quote 0
                                • C
                                  Ceel last edited by Ceel

                                  @mcu
                                  Danke dir für deine Hilfe!

                                  var jarvisNotify = {};
                                  //Beispiele
                                  jarvisNotify.title = "Es hat geklingelt";
                                  // "<b>Dies ist BOLD</b>"
                                  jarvisNotify.message= '<iframe src="'+ getState('synology.0.SurveillanceStation.cameras.Eingang.linkMjpegHttpPath').val +'" width="640" height="480"></iframe>';
                                  jarvisNotify.state = "unread";          //Damit bleibt die Benachrichtigung auch nach POPUP ungelesen und wird oben angezeigt mit der Zahl
                                  jarvisNotify.criticality = "none";      // error,warning,info,success
                                  jarvisNotify.display ="popup";          //drawer,snackbar,popup, none für focusTab
                                  jarvisNotify.autoHideDuration = 180000;  //5000ms -> 5 Sekunden
                                  jarvisNotify.snackbarOrigin = {};       //"snackbarOrigin": { "horizontal": "...", "vertical": "" }, 
                                                                          // optional, applies when display is snackbar, { horizontal: 'center' | 'left' | 'right', vertical: 'bottom' | 'top' }
                                  jarvisNotify.icon = "bell-ring-outline"; //mdi Iconify
                                  jarvisNotify.iconColor = "#5D5DED";
                                  jarvisNotify.backgroundColor = "black";
                                  jarvisNotify.fontColor = "white";
                                  jarvisNotify.focusTab = ""; //focus a certain tab
                                  setState('jarvis.0.addNotification',JSON.stringify(jarvisNotify));
                                  

                                  Das ist das Script was ich nutze.
                                  Leider zeigt er mir kein Bild an. Nur ein leerer schwarzer Bereich.
                                  Hier die URL die im Objekt steht:
                                  http://192.168.178.3:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=2&StmKey="cz9ef6ete820ercddd8f8ca4e00c8990"
                                  habe natürlich den Key hinten verändert!
                                  Kann es sein das es durch die Anführungsstriche in der URL zu Problemen kommt?

                                  1. Frage:
                                    Kann man bei dem Script auch die Popupgröße anpassen?
                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MCU @Ceel last edited by MCU

                                    @ceel
                                    Bei mir funktioniert es so:

                                    jarvisNotify.message= '<iFrame src="http://192.168.178.89/Anruferbild.jpg" height="350" width="350"></iFrame>';
                                    
                                    und
                                    
                                    jarvisNotify.message= '<iFrame src="'+ getState('0_userdata.0.testwert').val +'" height="350" width="350" ></iFrame>';
                                    

                                    Da scheint es ein Zugriffsproblem zu geben? Hat der User "ioBroker" das Recht auf die Daten zuzugreifen?

                                    Die Anführungstriche in der URL zum Bild " das kann sein, ändere mal auf '.

                                    Popupgröße wird automatisch festgesetzt. Kenne keine Einflußmöglichkeit ausser über Bildgrösse (height, width).

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      Ceel @MCU last edited by

                                      @mcu said in jarvis v2.2.0 - just another remarkable vis:

                                      jarvisNotify.message= '<iFrame src="'+ getState('0_userdata.0.testwert').val +'" height="350" width="350" ></iFrame>';

                                      Hallo
                                      wenn ich ein Widget (DisplayImage) mache, wird mir das Bild auch angezeigt

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

                                        @ceel Wie gesagt, ändere mal " auf ' in dem State.

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          Ceel @MCU last edited by Ceel

                                          @mcu
                                          ich habe

                                          jarvisNotify.message= '<iFrame src="'+ getState('synology.0.SurveillanceStation.cameras.Eingang.linkMjpegHttpPath').val +'" height="350" width="640"></iFrame>';
                                          

                                          stehen

                                          und die Größe wird nicht ganz angepasst:
                                          popup.png

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

                                            @ceel In dem State
                                            d493fe37-6a22-4732-9a97-ede8e4d4487f-image.png

                                            Hier nur Testweise

                                            http://192.168.178.3:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=2&StmKey='cz9ef6ete820ercddd8f8ca4e00c8990'
                                            

                                            Wenn das klappt oder Du es direkt in dem Script :

                                            let httpAdr = getState('synology.0.SurveillanceStation.cameras.Eingang.linkMjpegHttpPath').val;
                                            httpAdr = httpAdr.replace('"',"'");
                                            httpAdr = httpAdr.replace('"',"'");
                                            jarvisNotify.message= '<iFrame src="'+ httpAdr  +'" height="350" width="350" scroll=true after height="400"></iFrame>';
                                            
                                            C 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            995
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            jarvis material material ui materialdesign vis visualisierung visualization
                                            316
                                            6126
                                            3284581
                                            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