Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Grafana
  5. Fritzbox mit Grafana visualisieren [Version 2022]

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.4k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

Fritzbox mit Grafana visualisieren [Version 2022]

Geplant Angeheftet Gesperrt Verschoben Grafana
144 Beiträge 12 Kommentatoren 21.7k Aufrufe 16 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Maxtor62

    @dp20eic
    hi sorry für meine Ungeduld. Hab halt schon so viel probiert.
    Auf der Fritte hab ich extra ein User eingerichtet den ich dafür nehme. Hat alle Rechte.
    Die Einrichtung habe ich jedes Mal genau so wie Du oder auf Github beschrieben, gemacht.
    Fritzconnection und alle Python Module installiert.

    Hier die fritzinfluxdb.ini

    
    [influxdb]
    
    # requires a hostname or IP which points to your InfluxDB instance
    hostname = 192.168.178.139
    
    # define the port your InfluxDB instance is listening on
    port = 8086
    
    # weather TLS encryption is enabled or disabled
    #tls_enabled = false
    
    # set this to 'true' to enforces TLS certificate validation
    #verify_tls = false
    
    # set a measurement name which is used to write the data to InfluxDB
    # If this is changed from the default then it also has to be changed
    # from the default value during the Grafana dashboard installation
    measurement_name = fritzbox
    
    # The amount of days the data should be stored in InfluxDB.
    # Older data will be deleted.
    # Attention: THIS IS ONLY CONFIGURED ON NEW DB/BUCKET CREATION!
    data_retention_days = 365
    
    # define which InfluxDB version you are using
    version = 2
    
    ##### InfluxDB version 1.x options
    
    # username and password to use to write data to InfluxDB
    username =
    password =
    
    # defines the InfluxDB database to write the data to
    # if the credentials permit to create databases then this
    # will be created automatically
    database =
    
    
    ##### InfluxDB version 2.x options
    
    # requires an InfluxDB API token with permissions to write to the desired bucket
    token = RRoG5NJBBUqnql1OKaHuxo3d2xqz0YpA-2AOO-fviu1Ft5mpafJizebVkpiQdGxwdtQvDv3AUJvXWLMreSQ1NA==
    
    # a valid InfluxDB organisation needs to be defined which is used during login
    organisation = home
    
    # defines the InfluxDB bucket to write the data to
    # if the credentials permit to create buckets then this
    # will be created automatically
    bucket = fritzbox
    
    
    ###
    ### [fritzbox]
    ###
    ### Controls the parameters for connecting to your InfluxDB instance.
    ###
    
    [fritzbox]
    # changes the default FritzBox IP
    hostname = 192.168.178.1
    
    # username and password to connect to the FritzBox
    username = XXXX
    password = XXXX
    
    # Define the port the FritzBox is listening on
    # change to 49443 if you use ssl
    port = 49000
    
    # weather TLS encryption is enabled or disabled (will set port to 49443 if port is undefined)
    #tls_enabled = false
    
    # set this to 'true' to enforces TLS certificate validation (only affects Lua sessions)
    #verify_tls = false
    
    # defines the InfluxDB measurement tag which is used
    # to tag data from this FritzBox
    #box_tag = fritz.box
    
    # Define the FritzBox time zone. Used to convert dates/times from FritzBox to correct UTC Timestamp
    timezone = Europe/Berlin
    
    # the maximum of time in seconds which a connection to the FritzBox is allowed to take
    connect_timeout = 30
    
    # interval to request data from FritzBox in seconds
    # the value CAN'T be lower then 10 seconds
    request_interval = 30
    
    
    # EOF
    
    

    Danke und Grüße

    ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von
    #135

    @maxtor62 sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

    Hier die fritzinfluxdb.ini

    Moin,

    also da sehe ich erst einmal keine Klinke.
    Ich habe mal nach dem im Log aufgeführten Fehler ha_alert im Source auf Github gesucht, das kommt wohl aus dem Bereich homeauto.py, jetzt kann ich damit aber auch nicht mehr anfangen, ob das jetzt an der FritzBox liegt, oder ob die Version 7.57 da für die AX eine Macke hat oder ob Du da vielleicht Geräte in Samrt Home eingerichtet hast und deswegen der Fehler kommt.

    Warte einfach mal ab, was bb-Ricardo zu dem Fehler sagt.

    VG
    Bernd

    M 1 Antwort Letzte Antwort
    0
    • ? Ein ehemaliger Benutzer

      @maxtor62 sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

      Hier die fritzinfluxdb.ini

      Moin,

      also da sehe ich erst einmal keine Klinke.
      Ich habe mal nach dem im Log aufgeführten Fehler ha_alert im Source auf Github gesucht, das kommt wohl aus dem Bereich homeauto.py, jetzt kann ich damit aber auch nicht mehr anfangen, ob das jetzt an der FritzBox liegt, oder ob die Version 7.57 da für die AX eine Macke hat oder ob Du da vielleicht Geräte in Samrt Home eingerichtet hast und deswegen der Fehler kommt.

      Warte einfach mal ab, was bb-Ricardo zu dem Fehler sagt.

      VG
      Bernd

      M Offline
      M Offline
      Maxtor62
      schrieb am zuletzt editiert von
      #136

      @dp20eic
      ok, danke für Deine Mühe. Im SmatHome hab ich nur Fritz Geräte über DECT eingerichtet, außer die drei Rollladen Motoren. Die sind von BoxControl, was auch über DECT läuft. Da sollte die Fritte ja kein Problem haben.
      Ich werde mich in Geduld üben.

      Grüße
      Stefan

      Wer meint er ist was, hat aufgehört was zu werden

      ? 1 Antwort Letzte Antwort
      0
      • M Maxtor62

        @dp20eic
        ok, danke für Deine Mühe. Im SmatHome hab ich nur Fritz Geräte über DECT eingerichtet, außer die drei Rollladen Motoren. Die sind von BoxControl, was auch über DECT läuft. Da sollte die Fritte ja kein Problem haben.
        Ich werde mich in Geduld üben.

        Grüße
        Stefan

        ? Offline
        ? Offline
        Ein ehemaliger Benutzer
        schrieb am zuletzt editiert von
        #137

        @maxtor62 sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

        ok, danke für Deine Mühe. Im SmatHome hab ich nur Fritz Geräte über DECT eingerichtet, außer die drei Rollladen Motoren. Die sind von BoxControl, was auch über DECT läuft. Da sollte die Fritte ja kein Problem haben.

        Moin,

        na dann kann es ja doch sein, dass da etwas nicht korrekt eingerichtet oder installiert ist. Du solltest mal gleich dein issuse auf Github mit allen Informationen erweitern, damit bb-Ricardo nicht erst noch nachfragen muss, verzögert dann ja nur zusätzlich.

        VG
        Bernd

        M 1 Antwort Letzte Antwort
        0
        • ? Ein ehemaliger Benutzer

          @maxtor62 sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

          ok, danke für Deine Mühe. Im SmatHome hab ich nur Fritz Geräte über DECT eingerichtet, außer die drei Rollladen Motoren. Die sind von BoxControl, was auch über DECT läuft. Da sollte die Fritte ja kein Problem haben.

          Moin,

          na dann kann es ja doch sein, dass da etwas nicht korrekt eingerichtet oder installiert ist. Du solltest mal gleich dein issuse auf Github mit allen Informationen erweitern, damit bb-Ricardo nicht erst noch nachfragen muss, verzögert dann ja nur zusätzlich.

          VG
          Bernd

          M Offline
          M Offline
          Maxtor62
          schrieb am zuletzt editiert von
          #138

          @dp20eic

          es ist unglaublich.

          FritzBox boot tut gut.

          Jetzt funktioniert alles.
          fritte.PNG

          Danke Dir noch mal.

          Grüße
          Stefan

          Wer meint er ist was, hat aufgehört was zu werden

          ? 1 Antwort Letzte Antwort
          0
          • M Maxtor62

            @dp20eic

            es ist unglaublich.

            FritzBox boot tut gut.

            Jetzt funktioniert alles.
            fritte.PNG

            Danke Dir noch mal.

            Grüße
            Stefan

            ? Offline
            ? Offline
            Ein ehemaliger Benutzer
            schrieb am zuletzt editiert von
            #139

            @maxtor62 sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

            Danke Dir noch mal.

            Moin,

            bidde schön, ist aber nicht meine Verdienst, Du kannst Dich bei bb-Ricardo bedanken.

            Und ja, mach mal, tut ein Boot gut :)

            VG
            Bernd

            1 Antwort Letzte Antwort
            0
            • crunchipC crunchip

              @damrak2022 vllt kommst du hiermit besser zurecht

              M Online
              M Online
              michihorn
              schrieb am zuletzt editiert von
              #140

              @crunchip Hallo hab mal mitgelesen, bei der Anleitung die Du empfohlen hast, scheitere ich schon bei sudo pip install fritzcollectd mit folgender Meldung:

              
              error: externally-managed-environment
              
              × This environment is externally managed
              ╰─> To install Python packages system-wide, try apt install
                  python3-xyz, where xyz is the package you are trying to
                  install.
              
                  If you wish to install a non-Debian-packaged Python package,
                  create a virtual environment using python3 -m venv path/to/venv.
                  Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                  sure you have python3-full installed.
              
                  For more information visit http://rptl.io/venv
              
              note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
              hint: See PEP 668 for the detailed specification.
              
              

              Hast du ne Ahnung was ich tun muss?
              Michael

              crunchipC 1 Antwort Letzte Antwort
              0
              • M michihorn

                @crunchip Hallo hab mal mitgelesen, bei der Anleitung die Du empfohlen hast, scheitere ich schon bei sudo pip install fritzcollectd mit folgender Meldung:

                
                error: externally-managed-environment
                
                × This environment is externally managed
                ╰─> To install Python packages system-wide, try apt install
                    python3-xyz, where xyz is the package you are trying to
                    install.
                
                    If you wish to install a non-Debian-packaged Python package,
                    create a virtual environment using python3 -m venv path/to/venv.
                    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
                    sure you have python3-full installed.
                
                    For more information visit http://rptl.io/venv
                
                note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
                hint: See PEP 668 for the detailed specification.
                
                

                Hast du ne Ahnung was ich tun muss?
                Michael

                crunchipC Abwesend
                crunchipC Abwesend
                crunchip
                Forum Testing Most Active
                schrieb am zuletzt editiert von
                #141

                @michihorn hast du das befolgt?
                https://forum.iobroker.net/post/793557

                umgestiegen von Proxmox auf Unraid

                M 1 Antwort Letzte Antwort
                0
                • crunchipC crunchip

                  @michihorn hast du das befolgt?
                  https://forum.iobroker.net/post/793557

                  M Online
                  M Online
                  michihorn
                  schrieb am zuletzt editiert von michihorn
                  #142

                  @crunchip Ja habe ich, selbst mit "neu" aufgesetzter Maschine klappt es nicht
                  habe es jetzt mal so versucht:

                  pip install fritzcollectd --break-system-packages
                  

                  Ist durch gelaufen, brachte am Ende aber folgende Meldung:

                  
                    note: This error originates from a subprocess, and is likely not a problem with pip.
                  error: legacy-install-failure
                  
                  × Encountered error while trying to install package.
                  ╰─> lxml
                  
                  note: This is an issue with the package mentioned above, not pip.
                  hint: See above for output from the failure.
                  
                  

                  EDIT: So hat es geklappt:
                  Quelle
                  pip3.png

                  Eine TOP Anleitung zur Installation der Fritzbox Visualisierung findet man unter:
                  Anleitung

                  Keine Panik die Anleitung trägt den Titel "Fritz!Box Monitoring mit Raspberry Pi Zero W" funktioniert aber auch top bei neueren Versionen. Kleiner Tip, sollte mal die Installation von collectd schiefgehen, kann die Installation komplett mit "sudo apt-get purge --auto-remove collectd" gelöscht werden.

                  crunchipC 1 Antwort Letzte Antwort
                  0
                  • M michihorn

                    @crunchip Ja habe ich, selbst mit "neu" aufgesetzter Maschine klappt es nicht
                    habe es jetzt mal so versucht:

                    pip install fritzcollectd --break-system-packages
                    

                    Ist durch gelaufen, brachte am Ende aber folgende Meldung:

                    
                      note: This error originates from a subprocess, and is likely not a problem with pip.
                    error: legacy-install-failure
                    
                    × Encountered error while trying to install package.
                    ╰─> lxml
                    
                    note: This is an issue with the package mentioned above, not pip.
                    hint: See above for output from the failure.
                    
                    

                    EDIT: So hat es geklappt:
                    Quelle
                    pip3.png

                    Eine TOP Anleitung zur Installation der Fritzbox Visualisierung findet man unter:
                    Anleitung

                    Keine Panik die Anleitung trägt den Titel "Fritz!Box Monitoring mit Raspberry Pi Zero W" funktioniert aber auch top bei neueren Versionen. Kleiner Tip, sollte mal die Installation von collectd schiefgehen, kann die Installation komplett mit "sudo apt-get purge --auto-remove collectd" gelöscht werden.

                    crunchipC Abwesend
                    crunchipC Abwesend
                    crunchip
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #143

                    @michihorn kann dir da aktuell nicht weiterhelfen, hab das schon lange nicht mehr laufen.

                    umgestiegen von Proxmox auf Unraid

                    1 Antwort Letzte Antwort
                    0
                    • Sleepless135S Offline
                      Sleepless135S Offline
                      Sleepless135
                      schrieb am zuletzt editiert von
                      #144

                      Moin in die Runde,

                      versuche mich gerade auch mal die Influx DB mit neuen Daten zu füttern.

                      Mein kleines Problem ist das ich das Script nicht mal zum laufen bekomme.

                      Traceback (most recent call last):
                      File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 27, in <module>
                      from fritzinfluxdb.classes.fritzbox.handler import FritzBoxHandler, FritzBoxLuaHandler
                      File "/opt/fritzinfluxdb/fritzinfluxdb/classes/fritzbox/handler.py", line 13, in <module>
                      import requests
                      ModuleNotFoundError: No module named 'requests'

                      Hat jemand eine Idee was ihm fehlt ?

                      Gruß Tim

                      1 Antwort Letzte Antwort
                      0
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      867

                      Online

                      32.4k

                      Benutzer

                      81.4k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe