Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Grafana
    5. Fritzbox mit Grafana visualisieren [Version 2022]

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Fritzbox mit Grafana visualisieren [Version 2022]

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Maxtor62 @Guest last edited by

      @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

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @Maxtor62 last edited by

        @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 Reply Last reply Reply Quote 0
        • M
          Maxtor62 @Guest last edited by

          @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

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Maxtor62 last edited by

            @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 Reply Last reply Reply Quote 0
            • M
              Maxtor62 @Guest last edited by

              @dp20eic

              es ist unglaublich.

              FritzBox boot tut gut.

              Jetzt funktioniert alles.
              fritte.PNG

              Danke Dir noch mal.

              Grüße
              Stefan

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Maxtor62 last edited by

                @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 Reply Last reply Reply Quote 0
                • M
                  michihorn @crunchip last edited by

                  @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

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

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

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      michihorn @crunchip last edited by 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.

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

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

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        982
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        11
                        143
                        13385
                        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