Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @smarthome2020 last edited by

      @smarthome2020 sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

      Kann ich FritzInfluxDB in einem eigenen lXC installieren? Oder muss das in den Container gepackt werden, der auch InfluxDB enthält? Habe jeweils einen Proxmox-Container für InfluxDB und Grafana.

      Moin,

      einen ganz eigenen LX Container, halte ich für übertrieben, denn das ist nur eine winzige Installation, ich habe das in irgendein LX Container bei mir mit installiert. Muss nicht da laufen, wo die InfluxDB läuft, in der Konfiguration gibst Du, die gewünschten Parameter ein.

      VG
      Bernd

      1 Reply Last reply Reply Quote 0
      • M
        Maxtor62 @Guest last edited by

        @dp20eic
        ich hab auf Proxmox mit LXC-Container schon alles probiert. Debian 11 + 12, Ubuntu 22.04 + 23.04 und auf der Synology NAS im Docker. Habe immer den selben Fehler. Die Daten werden kurz in die Datenbank geschrieben und dann ist Schluss. Kann das an meiner Fritte liegen? Ist die 7590 AX.

        (.venv) stefan@helper:/opt/fritzinfluxdb$ ./fritzinfluxdb.py
        2023-10-31 18:15:40,918 - INFO: Starting fritzinfluxdb v1.2.1 (2023-01-26)
        2023-10-31 18:15:40,918 - INFO: Done reading config files
        2023-10-31 18:15:40,938 - INFO: Successfully parsed config
        2023-10-31 18:15:40,940 - INFO: Connection to InfluxDB 2 established
        2023-10-31 18:15:46,412 - INFO: Successfully established FritzBox TR-069 session
        2023-10-31 18:15:47,135 - INFO: Successfully established FritzBox Lua session
        2023-10-31 18:15:47,136 - INFO: Successfully connected to FritzBox '192.168.178.1' (fritz.box) Model: FRITZ!Box 7590 AX (DSL) - FW: 7.                                     57
        2023-10-31 18:15:47,136 - INFO: Starting main loop
        2023-10-31 18:15:59,125 - INFO: Service 'Cable Info (Fritz!OS 7.29 - latest)' not applicable for this FritzBox Model Link type 'DSL'
        2023-10-31 18:16:00,134 - ERROR: Unable to convert FritzBox Lua value '0-673710080' for 'ha_alert' to '<class 'int'>': invalid literal                                      for int() with base 10: '0-673710080'
        2023-10-31 18:16:00,134 - ERROR: Unable to convert FritzBox Lua value '0-1865154560' for 'ha_alert' to '<class 'int'>': invalid litera                                     l for int() with base 10: '0-1865154560'
        2023-10-31 18:16:24,525 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:16:30,738 - ERROR: Unable to convert FritzBox Lua value '0-673710080' for 'ha_alert' to '<class 'int'>': invalid literal                                      for int() with base 10: '0-673710080'
        2023-10-31 18:16:30,738 - ERROR: Unable to convert FritzBox Lua value '0-1865154560' for 'ha_alert' to '<class 'int'>': invalid litera                                     l for int() with base 10: '0-1865154560'
        2023-10-31 18:16:30,767 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:16:35,802 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:16:40,870 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:16:45,920 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:16:50,991 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:16:56,016 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:02,085 - ERROR: Unable to convert FritzBox Lua value '0-673710080' for 'ha_alert' to '<class 'int'>': invalid literal                                      for int() with base 10: '0-673710080'
        2023-10-31 18:17:02,085 - ERROR: Unable to convert FritzBox Lua value '0-1865154560' for 'ha_alert' to '<class 'int'>': invalid litera                                     l for int() with base 10: '0-1865154560'
        2023-10-31 18:17:03,083 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:08,623 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:14,134 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:19,203 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:24,889 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:30,976 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:33,338 - ERROR: Unable to convert FritzBox Lua value '0-673710080' for 'ha_alert' to '<class 'int'>': invalid literal                                      for int() with base 10: '0-673710080'
        2023-10-31 18:17:33,339 - ERROR: Unable to convert FritzBox Lua value '0-1865154560' for 'ha_alert' to '<class 'int'>': invalid litera                                     l for int() with base 10: '0-1865154560'
        2023-10-31 18:17:36,381 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:41,420 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:46,463 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:51,571 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:17:56,971 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:02,262 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:05,602 - ERROR: Unable to convert FritzBox Lua value '0-673710080' for 'ha_alert' to '<class 'int'>': invalid literal                                      for int() with base 10: '0-673710080'
        2023-10-31 18:18:05,602 - ERROR: Unable to convert FritzBox Lua value '0-1865154560' for 'ha_alert' to '<class 'int'>': invalid litera                                     l for int() with base 10: '0-1865154560'
        2023-10-31 18:18:07,437 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:17,150 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:22,474 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:29,000 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:35,006 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:36,383 - ERROR: Unable to convert FritzBox Lua value '0-673710080' for 'ha_alert' to '<class 'int'>': invalid literal                                      for int() with base 10: '0-673710080'
        2023-10-31 18:18:36,383 - ERROR: Unable to convert FritzBox Lua value '0-1865154560' for 'ha_alert' to '<class 'int'>': invalid litera                                     l for int() with base 10: '0-1865154560'
        2023-10-31 18:18:40,422 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:45,471 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:51,073 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        2023-10-31 18:18:56,581 - ERROR: Failed to write to InfluxDB '192.168.178.139': 422: failure writing points to database: partial write                                     : field type conflict: input field "ha_alert" on measurement "fritzbox" is type string, already exists as type integer dropped=2
        ^C2023-10-31 18:19:01,953 - INFO: Received exit signal SIGINT...
        2023-10-31 18:19:01,954 - INFO: Cancelling 4 outstanding tasks
        2023-10-31 18:19:01,955 - INFO: Closed FritzBox TR-069 connection
        2023-10-31 18:19:01,955 - INFO: Closed FritzBox Lua connection
        2023-10-31 18:19:01,955 - INFO: Closed InfluxDB session
        2023-10-31 18:19:01,955 - INFO: Successfully shutdown fritzinfluxdb
        (.venv) stefan@helper:/opt/fritzinfluxdb$ ^C
        
        

        fritte.PNG

        wäre super, wenn noch jemand nen Vorschlag hätte.

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

          @maxtor62 sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

          wäre super, wenn noch jemand nen Vorschlag hätte.

          Moin,

          ja, bitte nicht in zig Threads posten, das verwirrt, dann weiß man nicht mehr wo man Antwortet 😉

          Ich habe Dir hier ⇒ https://forum.iobroker.net/topic/54356/fritzbox-mit-grafana-visualisieren-version-2022/132 geantwortet, zudem hast Du auch ein issus bei Github erstellt, lass doch den Leuten mal etwas Zeit, sich darum zu kümmern!

          VG
          Bernd

          S 1 Reply Last reply Reply Quote 0
          • S
            sugram @Guest last edited by sugram

            Hallo

            Ich habe das hier über die Suche gefunden.
            Hab jetzt nicht alles durchgelesen.
            Aber soweit ich das verstanden habe, muß man den UPNP Adapter installieren und dort sind dann die Daten verfügbar.
            Allerdings stehen da bei mir keine Werte drinnen?
            Muß ich dazu noch was aktivieren oder so?

            Bild_2023-12-26_132748507.png

            Ah, sorry, erst jetzt in dem langen Beitrag gefunden, daß ich da das aktivieren muß
            Bild_2023-12-26_133655589.png

            Jetzt muß ich dann daß nur noch mit dem Script / Abfrage hinbekommen

            Eine Frage in der Einstellung wird ja da nur alle 30 sec das abgefragt.
            Wie bekommt man da dann die live werte?
            Wenn ich das auch 1 oder 2 sec Stelle, dann aktualisiert er mir die Daten nicht mehr

            Bild_2023-12-26_134638337.png

            L 1 Reply Last reply Reply Quote 0
            • E
              eMd last edited by

              Für welchen Zeitraum steht X_AVM_totalbytesreceived64?

              Für erster Start fritzbox oder seit letztem update?

              Momentan sind das "nur" 3.2TB bei mir. Kommt mir arg wenig vor...

              MfG
              eMd

              1 Reply Last reply Reply Quote 0
              • L
                leonundjulie @sugram last edited by leonundjulie

                Hallo zusammen. Hat einer zu dieser Thematik die FRITZ!Box 7690 am Start? Ich frage, weil ich noch nicht den Weg zu den Trafic Informationen gefunden habe. Hat Deiner entsprechende Erfahrungen zum Teilen?

                Ich ziehe mal das Bild aus dem Intro-Beitrag:
                1e67c679-ede1-4258-8b88-bcc3719619f4-image.png

                Unter UPNP finde ich keine Datenpunkte WANDEVICE - bei mir sieht es nur so aus:
                a1388d8f-c4e0-4230-9ecf-e9ddc22c2813-image.png

                AKTUALISIERUNG - warum auch immer, die gesuchten Verezeichnisse sind auf einer anderen Ebene:
                c1a9311a-0b02-4c05-b9c6-b1a87b70cd8e-image.png

                Jey Cee 1 Reply Last reply Reply Quote 0
                • Jey Cee
                  Jey Cee Developer @leonundjulie last edited by

                  @leonundjulie sagte in [Tutorial] VIS Fritzbox Status & Up/Downloadanzeige:

                  AKTUALISIERUNG - warum auch immer, die gesuchten Verezeichnisse sind auf einer anderen Ebene:

                  Upnp ist in Geräte und Dienste Organisiert. Da die FritzBox sich per Upnp als Mehrere Geräte identifiziert ist das getrennt.

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    leonundjulie @Jey Cee last edited by leonundjulie

                    @jey-cee danke für die Erklärung.

                    Ich bin beim Lesen dieses Beitrags erst bis zum Eintrag 144 gekommen - bestenfalls sind meine Fragen überflüssig.

                    bis dato funktioniert das automatische Updates der UPNP-Datenpunkte nicht, obwohl es vermeintlich richtig eingestellt ist. Andererseits funktioniert das Skript nicht ohne Fehler.

                    Warum funktioniert der für die Bereicxhe definierte CRON-Job nicht? Es ist wie folgt definiert:
                    IMG_1354.png

                    Rufe ich ihn erneut auf, siehst er so aus - es steht nur EINMALIG und nicht CRON:
                    IMG_1355.jpeg

                    Und warum sich an den Werten nichts tut, respektive ich nicht sehe, dass die Werte alle 5 Sekunden abgerufen werden, habe ich das Skript aktiviert und erhalte zunächst das und danach Fehlermeldungen. Was ist daran falsch? Muss SEND ggf. auf das REQUEST im jeweiligen Pfad zeigen (und nicht auf den zusammenfassenden Ordner in dem das REQUEST steht)?
                    IMG_1357.jpeg

                    IMG_1356.jpeg

                    Jey Cee 1 Reply Last reply Reply Quote 0
                    • Jey Cee
                      Jey Cee Developer @leonundjulie last edited by

                      @leonundjulie da steht nicht Einmalig sondern Einfach. Warum? Macht aber nix sollte dennoch funktionieren.

                      Wenn du das Ursprüngliche Skript meinst, das braucht man eben nicht mehr.

                      Weiterhin ist nicht ersichtlich welche Datenpunkte du bei der Cron Regel nimmst.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        leonundjulie @Jey Cee last edited by

                        @jey-cee einmalig oder mehrfach? RPI
                        Neu gestartet und schon arbeiten die CRONE-Jobs richtig 😞

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        1.1k
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        98
                        504
                        113430
                        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