Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Grafana
    5. Grafana iFrame in VIS

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Grafana iFrame in VIS

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

      @ein-michael hier werden keine Bilder angezeigt? Irgendwas ist da schief gelaufen

      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by arteck

        @ein-michael bitte keine Verlinkung zu externen Bilderquellen ..

        S 1 Reply Last reply Reply Quote 0
        • S
          SigiMOE @arteck last edited by

          also ich bekommen es einfach nicht hin.
          weder als html noch iframe....

          also wenn ich im browser diesen Link eingebe, dann bekomme ich die gewünschte Anzeige zu sehen :

          http://192.168.178.28:3000/d/99Kostal1/kostal-plenticore?orgId=1&refresh=1m&from=1584313200000&to=1584399599999&panelId=2&fullscreen

          503bbf4b-804b-430a-9449-351365e84e0a-image.png

          allerdings in VIS ist alles leer ?

          Was mache ich falsch ?
          3a9f4241-8358-46c4-9382-347ba2896bfe-image.png

          oder wie geht es richtig ?

          Kann mir jemand ein widget exportieren ? Welches funktioniert und ich nur noch die URL anpassen muss ?

          S 1 Reply Last reply Reply Quote 0
          • S
            saeft_2003 Most Active @SigiMOE last edited by

            @SigiMOE

            les dir das mal durch ich musste am anfang auch lang rumkämpfen...

            https://forum.iobroker.net/topic/23270/gelöst-grafana-diagramm-in-vis-einfügen

            hast du das gemacht?

            [auth.anonymous]
            enabled = true
            
            # Organization name that should be used for unauthenticated users
            org_name = Main Org.
            
            # Role for unauthenticated users, other valid values are `Editor` and `Admin`
            org_role = Viewer
            
            S 1 Reply Last reply Reply Quote 0
            • S
              SigiMOE @saeft_2003 last edited by

              @saeft_2003 wie lautet der Pfad zu der ini Datei ?

              sudo nano -w /var/www/html/grafana.ini

              geht nicht..., sorry für die dumme Frage, bin pi und linux Anfänger ( schlechte Kombi ich weis 😉 )

              Knallochse F 2 Replies Last reply Reply Quote 0
              • Knallochse
                Knallochse @SigiMOE last edited by

                @SigiMOE https://grafana.com/docs/grafana/latest/installation/configuration/

                1 Reply Last reply Reply Quote 0
                • F
                  ftd @SigiMOE last edited by

                  @SigiMOE

                  sudo nano /etc/grafana/grafana.ini

                  ## Zeile 186
                  ## set to true if you want to allow browsers to render Grafana in a <frame>, <iframe>, <embed> or <object>. default is false.
                  allow_embedding = true
                  
                  # Zeile 232
                  #################################### Users ###############################
                  [users]
                  # disable user signup / registration
                  allow_sign_up = false
                  
                  # Zeile 299
                  #################################### Anonymous Auth ######################
                  [auth.anonymous]
                  # enable anonymous access
                  enabled = true
                  
                  # specify organization name that should be used for unauthenticated users
                  org_name = ioBroker
                  
                  # specify role for unauthenticated users
                  org_role = Viewer
                  

                  Grafana:
                  e41357ae-5bdc-465e-b119-c0bce4fc1e9b-image.png

                  1 Reply Last reply Reply Quote 1
                  • crepp1967
                    crepp1967 last edited by

                    Hallo Gemeinde,

                    Ich muss hier mal einhaken, ich habe in den letzten beiden Tagen influxdb und grafana auf einem zweiten Pi installiert und in Iobroker integriert (influxdb-Adapter), soweit läuft alles. Nur ins VIS bekomme ich mein Dashboard nicht. Ich habe alle Tips hier im Thread abgearbeitet (mehrmals) Bringe jedoch keine anzeige im VIS zustande.

                    Jedoch eine Spur habe ich:
                    Das Iframe Dialog Widget bringt mir den Anmeldedialog des Grafana-Servers ins Vis. Anmeldung funktioniert jedoch trotz korrekten Passwortes nicht (oder nur kurz - es wird kein Dashboard aufgerufen)
                    Ich bin nun mit meinem Latein am Ende.
                    Könnt ihr mir helfen ?

                    Grüße,
                    Torsten

                    Mein iobroker Server ist aktuell (Default Repository)

                    1e438fa5-f73c-4f92-828f-57b03fc4a5c0-image.png

                    arteck 1 Reply Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active @crepp1967 last edited by

                      @crepp1967 du brauchst kein psw..

                      hast du im grafana den anonymous freigeschaltet ?

                      crepp1967 1 Reply Last reply Reply Quote 0
                      • crepp1967
                        crepp1967 @arteck last edited by

                        @arteck 299a5a21-ee03-4edb-9e23-80bd978d1546-image.png

                        Ja, habe ich.

                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @crepp1967 last edited by

                          @crepp1967 mal so nebenbei....verwendest du das auch so? Main Org.??

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

                            ja, das ist meine grafana.ini - muss da was anderes rein?

                            S crunchip 2 Replies Last reply Reply Quote 0
                            • S
                              saeft_2003 Most Active @crepp1967 last edited by

                              @crepp1967

                              hauptsache hier steht das gleiche. ich musste es aber auch einmal ändern das es funktioniert hat...

                              2020-05-28_12h37_28.png

                              1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @crepp1967 last edited by

                                @crepp1967 naja Main Org. ist ja nur ein Beispiel, man kann da reinschreiben was man möchte. Sollte nur dann in Grafana übereinstimmen.
                                Zu finden bei Einstellungen -->Preferences-->Organization name

                                1 Reply Last reply Reply Quote 1
                                • crepp1967
                                  crepp1967 last edited by

                                  Jetzt funktioniert es, es ist halt wie immer, kaum macht man es richtig, geht's ...😊
                                  Es war ein Denkfehler meinerseits, ich dachte die Grafana GUI übernimmt die Einstellungen in der ini-Datei...

                                  Eine Frage habe ich aber noch:
                                  mit dem normalen iFrame-Widget sehe ich nichts, ich muss das iFrame Dialog-Widget nehmen, ganz unten in der Auswahl.

                                  Gruß Torsten

                                  S arteck 2 Replies Last reply Reply Quote 0
                                  • S
                                    saeft_2003 Most Active @crepp1967 last edited by

                                    @crepp1967

                                    Das normale iframe geht bei mir ohne Probleme

                                    crepp1967 1 Reply Last reply Reply Quote 0
                                    • arteck
                                      arteck Developer Most Active @crepp1967 last edited by

                                      @crepp1967 die ini ist für den Server der die Daten liefert.. die GUI ist halt nur die GUI

                                      1 Reply Last reply Reply Quote 0
                                      • crepp1967
                                        crepp1967 @saeft_2003 last edited by

                                        @saeft_2003

                                        oben der Dialog iFrame unten der normale iFrame
                                        e5d0c78a-c12d-47cb-ba6d-e4716a1fbbb4-image.png

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          saeft_2003 Most Active @crepp1967 last edited by

                                          @crepp1967

                                          Zeig mal die Quelle vom iframe da kommt nur der link rein...

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

                                            Hier die bei beiden widgets verwendete Quelle:

                                            <iframe src="http://192.168.1.160:3000/d-solo/LOyg12zRz/test-iob-temp-helligkeit?orgId=1&panelId=2" width="450" height="200" frameborder="0"></iframe>

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            484
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            android app vis mobile ui vis
                                            21
                                            76
                                            18453
                                            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