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.2k

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

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

Fritzbox mit Grafana visualisieren [Version 2022]

Geplant Angeheftet Gesperrt Verschoben Grafana
144 Beiträge 12 Kommentatoren 21.6k 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.
  • crunchipC crunchip

    @damrak2022 ??
    Das ist der Link zum 12. Beitrag in diesem Thread, dann scroll doch einfach hoch

    Damrak2022D Offline
    Damrak2022D Offline
    Damrak2022
    schrieb am zuletzt editiert von
    #85

    @crunchip Ich habe es heute morgen irgendwie hinbekommen das Grafana wieder erreichbar ist. Dazu musste ich eine andere Installationsanleitung verwenden. Jetzt habe ich Grafana 7.4
    Also dachte ich mir ich wage mich nochmal an die Installation
    Nur bei dem Punkt wo ich den Befehl

    ./fritzinfluxdb.py
    

    eingebe komme ich nicht weiter. Da bekomme ich nämlich eine fehlende Directory angezeigt:

    pi@homebridge:~ $ ./fritzinfluxdb.py
    -bash: ./fritzinfluxdb.py: No such file or directory
    

    Ich vermute das meine Einstellungen in der .ini nicht korrekt sind:

    [influxdb]
    host = 127.0.0.1
    port = 8086
    username = bla
    password = blub
    database = db
    ssl = false
    verify_ssl = true
    measurement_name = fritzbox
    
    [fritzbox]
    host = 192.168.178.1
    username = Damrak2XXXX
    password = huu84m-XXXXXXXX
    # change to 49443 if you use ssl
    port = 49000
    timeout = 5
    ssl = false
    # interval to request data in seconds
    #interval = 10
    
    

    Und bevor ich mir nun wieder alles komplett zerschieße, habe ich mir gedacht es ist besser zu warten, bis jemand mit Ahnung mir sagt was ich machen müsste damit es klappt

    Mit besten Grüßen
    Andy

    J crunchipC 2 Antworten Letzte Antwort
    0
    • Damrak2022D Damrak2022

      @crunchip Ich habe es heute morgen irgendwie hinbekommen das Grafana wieder erreichbar ist. Dazu musste ich eine andere Installationsanleitung verwenden. Jetzt habe ich Grafana 7.4
      Also dachte ich mir ich wage mich nochmal an die Installation
      Nur bei dem Punkt wo ich den Befehl

      ./fritzinfluxdb.py
      

      eingebe komme ich nicht weiter. Da bekomme ich nämlich eine fehlende Directory angezeigt:

      pi@homebridge:~ $ ./fritzinfluxdb.py
      -bash: ./fritzinfluxdb.py: No such file or directory
      

      Ich vermute das meine Einstellungen in der .ini nicht korrekt sind:

      [influxdb]
      host = 127.0.0.1
      port = 8086
      username = bla
      password = blub
      database = db
      ssl = false
      verify_ssl = true
      measurement_name = fritzbox
      
      [fritzbox]
      host = 192.168.178.1
      username = Damrak2XXXX
      password = huu84m-XXXXXXXX
      # change to 49443 if you use ssl
      port = 49000
      timeout = 5
      ssl = false
      # interval to request data in seconds
      #interval = 10
      
      

      Und bevor ich mir nun wieder alles komplett zerschieße, habe ich mir gedacht es ist besser zu warten, bis jemand mit Ahnung mir sagt was ich machen müsste damit es klappt

      J Offline
      J Offline
      jr
      schrieb am zuletzt editiert von jr
      #86

      @damrak2022 Nein, die py-Datei darf nicht ausgeführt werden oder sie existiert nicht.

      mach mal ls und schau, ob die Datei da ist, wenn ja, dann ausführbar machen, z.B.

      chmod 777 ./fritzinfluxdb.py
      

      oder Du startest sie mit bash:

      bash ./fritzinfluxdb.py
      

      Sofern in der ersten Zeile der richtige interpreter steht, sollte das dann laufen.

      Wenn sie nicht da ist, bist Du ggf. im falschen Verzeichnis?!?

      Damrak2022D 1 Antwort Letzte Antwort
      0
      • Damrak2022D Damrak2022

        @crunchip Ich habe es heute morgen irgendwie hinbekommen das Grafana wieder erreichbar ist. Dazu musste ich eine andere Installationsanleitung verwenden. Jetzt habe ich Grafana 7.4
        Also dachte ich mir ich wage mich nochmal an die Installation
        Nur bei dem Punkt wo ich den Befehl

        ./fritzinfluxdb.py
        

        eingebe komme ich nicht weiter. Da bekomme ich nämlich eine fehlende Directory angezeigt:

        pi@homebridge:~ $ ./fritzinfluxdb.py
        -bash: ./fritzinfluxdb.py: No such file or directory
        

        Ich vermute das meine Einstellungen in der .ini nicht korrekt sind:

        [influxdb]
        host = 127.0.0.1
        port = 8086
        username = bla
        password = blub
        database = db
        ssl = false
        verify_ssl = true
        measurement_name = fritzbox
        
        [fritzbox]
        host = 192.168.178.1
        username = Damrak2XXXX
        password = huu84m-XXXXXXXX
        # change to 49443 if you use ssl
        port = 49000
        timeout = 5
        ssl = false
        # interval to request data in seconds
        #interval = 10
        
        

        Und bevor ich mir nun wieder alles komplett zerschieße, habe ich mir gedacht es ist besser zu warten, bis jemand mit Ahnung mir sagt was ich machen müsste damit es klappt

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

        @damrak2022 denke du bist im falschen Verzeichnis
        wenn ich es richtig gesehen habe, müsste es in /opt/fritzinfluxdb/ sein

        umgestiegen von Proxmox auf Unraid

        1 Antwort Letzte Antwort
        0
        • J jr

          @damrak2022 Nein, die py-Datei darf nicht ausgeführt werden oder sie existiert nicht.

          mach mal ls und schau, ob die Datei da ist, wenn ja, dann ausführbar machen, z.B.

          chmod 777 ./fritzinfluxdb.py
          

          oder Du startest sie mit bash:

          bash ./fritzinfluxdb.py
          

          Sofern in der ersten Zeile der richtige interpreter steht, sollte das dann laufen.

          Wenn sie nicht da ist, bist Du ggf. im falschen Verzeichnis?!?

          Damrak2022D Offline
          Damrak2022D Offline
          Damrak2022
          schrieb am zuletzt editiert von
          #88

          @jr Bei ls bekomme ich das:

          pi@homebridge:/opt/fritzinfluxdb $ ls
          docker-compose.yml        fritzinfluxdb.ini.save.7
          Dockerfile                fritzinfluxdb.ini.save.8
          fritzinfluxdb.ini         fritzinfluxdb.ini.save.9
          fritzinfluxdb.ini-sample  fritzinfluxdb.py
          fritzinfluxdb.ini.save    fritzinfluxdb.service
          fritzinfluxdb.ini.save.1  grafana_dashboard_fritzbox.json
          fritzinfluxdb.ini.save.2  grafana_dashboard.jpg
          fritzinfluxdb.ini.save.3  LICENSE.txt
          fritzinfluxdb.ini.save.4  README.md
          fritzinfluxdb.ini.save.5  requirements.txt
          fritzinfluxdb.ini.save.6
          

          Und das kommt hier:

          pi@homebridge:/opt/fritzinfluxdb $ bash ./fritzinfluxdb.py
          ./fritzinfluxdb.py: line 3: self_description: command not found
          ./fritzinfluxdb.py: line 9: from: command not found
          ./fritzinfluxdb.py: line 10: import: command not found
          ./fritzinfluxdb.py: line 11: import: command not found
          ./fritzinfluxdb.py: line 12: import: command not found
          ./fritzinfluxdb.py: line 13: import: command not found
          ./fritzinfluxdb.py: line 14: import: command not found
          ./fritzinfluxdb.py: line 15: from: command not found
          ./fritzinfluxdb.py: line 18: import: command not found
          ./fritzinfluxdb.py: line 19: import: command not found
          ./fritzinfluxdb.py: line 22: __version__: command not found
          ./fritzinfluxdb.py: line 23: __version_date__: command not found
          ./fritzinfluxdb.py: line 24: __description__: command not found
          ./fritzinfluxdb.py: line 25: __license__: command not found
          ./fritzinfluxdb.py: line 29: running: command not found
          ./fritzinfluxdb.py: line 30: syntax error near unexpected token `('
          ./fritzinfluxdb.py: line 30: `default_config = os.path.join(os.path.dirname(__file__), 'fritzinfluxdb.ini')'
          

          Kannst Du mir hier bitte weiterhelfen, damit ich das zum laufen bekomme.

          Mit besten Grüßen
          Andy

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • Damrak2022D Damrak2022

            @jr Bei ls bekomme ich das:

            pi@homebridge:/opt/fritzinfluxdb $ ls
            docker-compose.yml        fritzinfluxdb.ini.save.7
            Dockerfile                fritzinfluxdb.ini.save.8
            fritzinfluxdb.ini         fritzinfluxdb.ini.save.9
            fritzinfluxdb.ini-sample  fritzinfluxdb.py
            fritzinfluxdb.ini.save    fritzinfluxdb.service
            fritzinfluxdb.ini.save.1  grafana_dashboard_fritzbox.json
            fritzinfluxdb.ini.save.2  grafana_dashboard.jpg
            fritzinfluxdb.ini.save.3  LICENSE.txt
            fritzinfluxdb.ini.save.4  README.md
            fritzinfluxdb.ini.save.5  requirements.txt
            fritzinfluxdb.ini.save.6
            

            Und das kommt hier:

            pi@homebridge:/opt/fritzinfluxdb $ bash ./fritzinfluxdb.py
            ./fritzinfluxdb.py: line 3: self_description: command not found
            ./fritzinfluxdb.py: line 9: from: command not found
            ./fritzinfluxdb.py: line 10: import: command not found
            ./fritzinfluxdb.py: line 11: import: command not found
            ./fritzinfluxdb.py: line 12: import: command not found
            ./fritzinfluxdb.py: line 13: import: command not found
            ./fritzinfluxdb.py: line 14: import: command not found
            ./fritzinfluxdb.py: line 15: from: command not found
            ./fritzinfluxdb.py: line 18: import: command not found
            ./fritzinfluxdb.py: line 19: import: command not found
            ./fritzinfluxdb.py: line 22: __version__: command not found
            ./fritzinfluxdb.py: line 23: __version_date__: command not found
            ./fritzinfluxdb.py: line 24: __description__: command not found
            ./fritzinfluxdb.py: line 25: __license__: command not found
            ./fritzinfluxdb.py: line 29: running: command not found
            ./fritzinfluxdb.py: line 30: syntax error near unexpected token `('
            ./fritzinfluxdb.py: line 30: `default_config = os.path.join(os.path.dirname(__file__), 'fritzinfluxdb.ini')'
            

            Kannst Du mir hier bitte weiterhelfen, damit ich das zum laufen bekomme.

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #89

            @damrak2022

            Poste das Skript mal. Dann könnte man mal schauen was da für commands nicht gefunden werden.
            Vermutlich fehlen da python-Pakete.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            Damrak2022D 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @damrak2022

              Poste das Skript mal. Dann könnte man mal schauen was da für commands nicht gefunden werden.
              Vermutlich fehlen da python-Pakete.

              Damrak2022D Offline
              Damrak2022D Offline
              Damrak2022
              schrieb am zuletzt editiert von Damrak2022
              #90

              @thomas-braun Sorry, wie mache ich das?

              Ich bin nach der Anleitung vorgegangen:
              https://blog.gwarg.de/2022/01/22/fritzbox-mit-grafana-visualisieren-version-2022/

              Mit besten Grüßen
              Andy

              Thomas BraunT 2 Antworten Letzte Antwort
              0
              • Damrak2022D Damrak2022

                @thomas-braun Sorry, wie mache ich das?

                Ich bin nach der Anleitung vorgegangen:
                https://blog.gwarg.de/2022/01/22/fritzbox-mit-grafana-visualisieren-version-2022/

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #91

                @damrak2022

                cat fritzinfluxdb.py
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                1 Antwort Letzte Antwort
                0
                • Damrak2022D Damrak2022

                  @thomas-braun Sorry, wie mache ich das?

                  Ich bin nach der Anleitung vorgegangen:
                  https://blog.gwarg.de/2022/01/22/fritzbox-mit-grafana-visualisieren-version-2022/

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #92

                  @damrak2022

                  python --version
                  

                  liefert was?

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  Damrak2022D 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @damrak2022

                    python --version
                    

                    liefert was?

                    Damrak2022D Offline
                    Damrak2022D Offline
                    Damrak2022
                    schrieb am zuletzt editiert von
                    #93

                    @thomas-braun sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

                    python --version

                    pi@homebridge:/opt/fritzinfluxdb $ python --version
                    Python 2.7.18
                    

                    Mit besten Grüßen
                    Andy

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • Damrak2022D Damrak2022

                      @thomas-braun sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

                      python --version

                      pi@homebridge:/opt/fritzinfluxdb $ python --version
                      Python 2.7.18
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #94

                      @damrak2022

                      Hatte ich mir fast gedacht.

                      sudo apt update
                      sudo apt install python-is-python3
                      python --version
                      

                      Vermutlich funktioniert es danach.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      Damrak2022D 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @damrak2022

                        Hatte ich mir fast gedacht.

                        sudo apt update
                        sudo apt install python-is-python3
                        python --version
                        

                        Vermutlich funktioniert es danach.

                        Damrak2022D Offline
                        Damrak2022D Offline
                        Damrak2022
                        schrieb am zuletzt editiert von Damrak2022
                        #95

                        @thomas-braun sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

                        python --version

                        pi@homebridge:~ $ sudo apt update
                        Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                        Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                        Hit:3 https://repos.influxdata.com/debian bullseye InRelease
                        Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease
                        Hit:5 https://packages.grafana.com/oss/deb stable InRelease
                        Hit:6 https://deb.nodesource.com/node_14.x bullseye InRelease
                        Hit:7 https://archive.raspbian.org/raspbian buster InRelease
                        Get:8 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [279 kB]
                        Hit:9 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                        Fetched 302 kB in 7s (42.6 kB/s)
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        5 packages can be upgraded. Run 'apt list --upgradable' to see them.
                        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                        pi@homebridge:~ $ sudo apt install python-is-python3
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        The following packages were automatically installed and are no longer required:
                          libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
                          libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal
                          python2.7 python2.7-dev python2.7-minimal
                        Use 'sudo apt autoremove' to remove them.
                        The following packages will be REMOVED:
                          python-dev-is-python2 python-is-python2
                        The following NEW packages will be installed:
                          python-is-python3
                        0 upgraded, 1 newly installed, 2 to remove and 5 not upgraded.
                        Need to get 2,800 B of archives.
                        After this operation, 15.4 kB disk space will be freed.
                        Do you want to continue? [Y/n] y
                        Get:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python-is-python3 all 3.9.2-1 [2,800 B]
                        Fetched 2,800 B in 1s (5,450 B/s)
                        (Reading database ... 68564 files and directories currently installed.)
                        Removing python-dev-is-python2 (2.7.18-9) ...
                        Removing python-is-python2 (2.7.18-9) ...
                        Selecting previously unselected package python-is-python3.
                        (Reading database ... 68552 files and directories currently installed.)
                        Preparing to unpack .../python-is-python3_3.9.2-1_all.deb ...
                        Unpacking python-is-python3 (3.9.2-1) ...
                        Setting up python-is-python3 (3.9.2-1) ...
                        Processing triggers for man-db (2.9.4-2) ...
                        pi@homebridge:~ $ python --version
                        Python 3.9.2
                        pi@homebridge:~ $ ./fritzinfluxdb.py
                        -bash: ./fritzinfluxdb.py: No such file or directory
                        pi@homebridge:~ $ cd /opt/influxdb
                        -bash: cd: /opt/influxdb: No such file or directory
                        pi@homebridge:~ $ cd /opt/fritzinfluxdb
                        pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                        Traceback (most recent call last):
                          File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module>
                            import fritzconnection
                        ModuleNotFoundError: No module named 'fritzconnection'
                        pi@homebridge:/opt/fritzinfluxdb $
                        

                        Das Update hat funktionier, aber der Befehl laut Anleitung nicht (Zeile 79)

                        Mit besten Grüßen
                        Andy

                        Thomas BraunT crunchipC 2 Antworten Letzte Antwort
                        0
                        • Damrak2022D Damrak2022

                          @thomas-braun sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

                          python --version

                          pi@homebridge:~ $ sudo apt update
                          Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                          Hit:3 https://repos.influxdata.com/debian bullseye InRelease
                          Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease
                          Hit:5 https://packages.grafana.com/oss/deb stable InRelease
                          Hit:6 https://deb.nodesource.com/node_14.x bullseye InRelease
                          Hit:7 https://archive.raspbian.org/raspbian buster InRelease
                          Get:8 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [279 kB]
                          Hit:9 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                          Fetched 302 kB in 7s (42.6 kB/s)
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          5 packages can be upgraded. Run 'apt list --upgradable' to see them.
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                          W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                          pi@homebridge:~ $ sudo apt install python-is-python3
                          Reading package lists... Done
                          Building dependency tree... Done
                          Reading state information... Done
                          The following packages were automatically installed and are no longer required:
                            libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
                            libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal
                            python2.7 python2.7-dev python2.7-minimal
                          Use 'sudo apt autoremove' to remove them.
                          The following packages will be REMOVED:
                            python-dev-is-python2 python-is-python2
                          The following NEW packages will be installed:
                            python-is-python3
                          0 upgraded, 1 newly installed, 2 to remove and 5 not upgraded.
                          Need to get 2,800 B of archives.
                          After this operation, 15.4 kB disk space will be freed.
                          Do you want to continue? [Y/n] y
                          Get:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python-is-python3 all 3.9.2-1 [2,800 B]
                          Fetched 2,800 B in 1s (5,450 B/s)
                          (Reading database ... 68564 files and directories currently installed.)
                          Removing python-dev-is-python2 (2.7.18-9) ...
                          Removing python-is-python2 (2.7.18-9) ...
                          Selecting previously unselected package python-is-python3.
                          (Reading database ... 68552 files and directories currently installed.)
                          Preparing to unpack .../python-is-python3_3.9.2-1_all.deb ...
                          Unpacking python-is-python3 (3.9.2-1) ...
                          Setting up python-is-python3 (3.9.2-1) ...
                          Processing triggers for man-db (2.9.4-2) ...
                          pi@homebridge:~ $ python --version
                          Python 3.9.2
                          pi@homebridge:~ $ ./fritzinfluxdb.py
                          -bash: ./fritzinfluxdb.py: No such file or directory
                          pi@homebridge:~ $ cd /opt/influxdb
                          -bash: cd: /opt/influxdb: No such file or directory
                          pi@homebridge:~ $ cd /opt/fritzinfluxdb
                          pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                          Traceback (most recent call last):
                            File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module>
                              import fritzconnection
                          ModuleNotFoundError: No module named 'fritzconnection'
                          pi@homebridge:/opt/fritzinfluxdb $
                          

                          Das Update hat funktionier, aber der Befehl laut Anleitung nicht (Zeile 79)

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #96

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

                          /etc/apt/sources.list.d/grafana.list

                          Räum die mal auf.
                          Da sind Doubletten drin.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          Damrak2022D 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

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

                            /etc/apt/sources.list.d/grafana.list

                            Räum die mal auf.
                            Da sind Doubletten drin.

                            Damrak2022D Offline
                            Damrak2022D Offline
                            Damrak2022
                            schrieb am zuletzt editiert von
                            #97

                            @thomas-braun Sorry Thomas, da sind meine Kenntnisse noch zu gering. We räume ich das auf?

                            Mit besten Grüßen
                            Andy

                            Thomas BraunT 2 Antworten Letzte Antwort
                            0
                            • Damrak2022D Damrak2022

                              @thomas-braun Sorry Thomas, da sind meine Kenntnisse noch zu gering. We räume ich das auf?

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #98

                              @damrak2022

                              sudo nano /etc/apt/sources.list.d/grafana.list
                              

                              Jede Quelle darf da nur einfach drin stehen.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Antwort Letzte Antwort
                              0
                              • Damrak2022D Damrak2022

                                @thomas-braun Sorry Thomas, da sind meine Kenntnisse noch zu gering. We räume ich das auf?

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #99

                                @damrak2022

                                Wenn die Datei richtig ist:

                                sudo apt update
                                sudo apt autoremove
                                sudo apt full-upgrade
                                

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                Damrak2022D 1 Antwort Letzte Antwort
                                0
                                • Damrak2022D Damrak2022

                                  @thomas-braun sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

                                  python --version

                                  pi@homebridge:~ $ sudo apt update
                                  Get:1 http://archive.raspberrypi.org/debian bullseye InRelease [23.7 kB]
                                  Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                  Hit:3 https://repos.influxdata.com/debian bullseye InRelease
                                  Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease
                                  Hit:5 https://packages.grafana.com/oss/deb stable InRelease
                                  Hit:6 https://deb.nodesource.com/node_14.x bullseye InRelease
                                  Hit:7 https://archive.raspbian.org/raspbian buster InRelease
                                  Get:8 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [279 kB]
                                  Hit:9 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                                  Fetched 302 kB in 7s (42.6 kB/s)
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  5 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:3
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:4
                                  W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:2 and /etc/apt/sources.list.d/grafana.list:5
                                  pi@homebridge:~ $ sudo apt install python-is-python3
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  The following packages were automatically installed and are no longer required:
                                    libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
                                    libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal
                                    python2.7 python2.7-dev python2.7-minimal
                                  Use 'sudo apt autoremove' to remove them.
                                  The following packages will be REMOVED:
                                    python-dev-is-python2 python-is-python2
                                  The following NEW packages will be installed:
                                    python-is-python3
                                  0 upgraded, 1 newly installed, 2 to remove and 5 not upgraded.
                                  Need to get 2,800 B of archives.
                                  After this operation, 15.4 kB disk space will be freed.
                                  Do you want to continue? [Y/n] y
                                  Get:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian bullseye/main armhf python-is-python3 all 3.9.2-1 [2,800 B]
                                  Fetched 2,800 B in 1s (5,450 B/s)
                                  (Reading database ... 68564 files and directories currently installed.)
                                  Removing python-dev-is-python2 (2.7.18-9) ...
                                  Removing python-is-python2 (2.7.18-9) ...
                                  Selecting previously unselected package python-is-python3.
                                  (Reading database ... 68552 files and directories currently installed.)
                                  Preparing to unpack .../python-is-python3_3.9.2-1_all.deb ...
                                  Unpacking python-is-python3 (3.9.2-1) ...
                                  Setting up python-is-python3 (3.9.2-1) ...
                                  Processing triggers for man-db (2.9.4-2) ...
                                  pi@homebridge:~ $ python --version
                                  Python 3.9.2
                                  pi@homebridge:~ $ ./fritzinfluxdb.py
                                  -bash: ./fritzinfluxdb.py: No such file or directory
                                  pi@homebridge:~ $ cd /opt/influxdb
                                  -bash: cd: /opt/influxdb: No such file or directory
                                  pi@homebridge:~ $ cd /opt/fritzinfluxdb
                                  pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                                  Traceback (most recent call last):
                                    File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module>
                                      import fritzconnection
                                  ModuleNotFoundError: No module named 'fritzconnection'
                                  pi@homebridge:/opt/fritzinfluxdb $
                                  

                                  Das Update hat funktionier, aber der Befehl laut Anleitung nicht (Zeile 79)

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

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

                                  pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py Traceback (most recent call last): File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module> import fritzconnection ModuleNotFoundError: No module named 'fritzconnection' pi@homebridge:/opt/fritzinfluxdb $

                                  also bist du doch da im richtigen Verzeichnis, pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                                  so wie ich das lese, fehlt dir fritzconnection

                                  pip install fritzconnection
                                  

                                  umgestiegen von Proxmox auf Unraid

                                  Damrak2022D 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @damrak2022

                                    Wenn die Datei richtig ist:

                                    sudo apt update
                                    sudo apt autoremove
                                    sudo apt full-upgrade
                                    
                                    Damrak2022D Offline
                                    Damrak2022D Offline
                                    Damrak2022
                                    schrieb am zuletzt editiert von Damrak2022
                                    #101

                                    @thomas-braun sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

                                    sudo apt full-upgrade

                                    pi@homebridge:~ $ sudo nano /etc/apt/sources.list.d/grafana.list
                                    pi@homebridge:~ $ sudo apt update
                                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                    Hit:3 https://packages.grafana.com/oss/deb stable InRelease
                                    Hit:4 https://repos.influxdata.com/debian bullseye InRelease
                                    Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                                    Hit:6 https://archive.raspbian.org/raspbian buster InRelease
                                    Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    5 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                    pi@homebridge:~ $ sudo apt autoremove
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    The following packages will be REMOVED:
                                      libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
                                      libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal
                                      python2.7 python2.7-dev python2.7-minimal
                                    0 upgraded, 0 newly installed, 12 to remove and 5 not upgraded.
                                    After this operation, 27.2 MB disk space will be freed.
                                    Do you want to continue? [Y/n] y
                                    (Reading database ... 68557 files and directories currently installed.)
                                    Removing python2-dev (2.7.18-3) ...
                                    Removing libpython2-dev:armhf (2.7.18-3) ...
                                    Removing python2 (2.7.18-3) ...
                                    Removing libpython2-stdlib:armhf (2.7.18-3) ...
                                    Removing python2.7-dev (2.7.18-8) ...
                                    Removing libpython2.7-dev:armhf (2.7.18-8) ...
                                    Removing libpython2.7:armhf (2.7.18-8) ...
                                    Removing python2.7 (2.7.18-8) ...
                                    Removing libpython2.7-stdlib:armhf (2.7.18-8) ...
                                    Removing python2-minimal (2.7.18-3) ...
                                    Removing python2.7-minimal (2.7.18-8) ...
                                    Unlinking and removing bytecode for runtime python2.7
                                    Removing libpython2.7-minimal:armhf (2.7.18-8) ...
                                    Processing triggers for man-db (2.9.4-2) ...
                                    Processing triggers for mailcap (3.69) ...
                                    Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
                                    pi@homebridge:~ $ sudo apt full-upgrade
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    Calculating upgrade... Done
                                    The following packages will be upgraded:
                                      libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0
                                      pi-bluetooth
                                    5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                    Need to get 501 kB of archives.
                                    After this operation, 5,120 B of additional disk space will be used.
                                    Do you want to continue? [Y/n] y
                                    Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-dev armhf 1:2+git20220324~090146+c4fd1b8-1 [177 kB]
                                    Get:2 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-bin armhf 1:2+git20220324~090146+c4fd1b8-1 [149 kB]
                                    Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi0 armhf 1:2+git20220324~090146+c4fd1b8-1 [167 kB]
                                    Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-doc all 1:2+git20220324~090146+c4fd1b8-1 [1,908 B]
                                    Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf pi-bluetooth all 0.1.19 [5,764 B]
                                    Fetched 501 kB in 0s (1,731 kB/s)
                                    Reading changelogs... Done
                                    (Reading database ... 67657 files and directories currently installed.)
                                    Preparing to unpack .../libraspberrypi-dev_1%3a2+git20220324~090146+c4fd1b8-1_armhf.deb ...
                                    Unpacking libraspberrypi-dev (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                    Preparing to unpack .../libraspberrypi-bin_1%3a2+git20220324~090146+c4fd1b8-1_armhf.deb ...
                                    Unpacking libraspberrypi-bin (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                    Preparing to unpack .../libraspberrypi0_1%3a2+git20220324~090146+c4fd1b8-1_armhf.deb ...
                                    Unpacking libraspberrypi0:armhf (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                    Preparing to unpack .../libraspberrypi-doc_1%3a2+git20220324~090146+c4fd1b8-1_all.deb ...
                                    Unpacking libraspberrypi-doc (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                    Preparing to unpack .../pi-bluetooth_0.1.19_all.deb ...
                                    Unpacking pi-bluetooth (0.1.19) over (0.1.18) ...
                                    Setting up pi-bluetooth (0.1.19) ...
                                    Setting up libraspberrypi0:armhf (1:2+git20220324~090146+c4fd1b8-1) ...
                                    Setting up libraspberrypi-bin (1:2+git20220324~090146+c4fd1b8-1) ...
                                    Setting up libraspberrypi-dev (1:2+git20220324~090146+c4fd1b8-1) ...
                                    Setting up libraspberrypi-doc (1:2+git20220324~090146+c4fd1b8-1) ...
                                    Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
                                    Processing triggers for man-db (2.9.4-2) ...
                                    pi@homebridge:~ $
                                    
                                    
                                    
                                    pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                                    Traceback (most recent call last):
                                      File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module>
                                        import fritzconnection
                                    ModuleNotFoundError: No module named 'fritzconnection'
                                    pi@homebridge:/opt/fritzinfluxdb $
                                    

                                    Mit besten Grüßen
                                    Andy

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • Damrak2022D Damrak2022

                                      @thomas-braun sagte in Fritzbox mit Grafana visualisieren [Version 2022]:

                                      sudo apt full-upgrade

                                      pi@homebridge:~ $ sudo nano /etc/apt/sources.list.d/grafana.list
                                      pi@homebridge:~ $ sudo apt update
                                      Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                      Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                                      Hit:3 https://packages.grafana.com/oss/deb stable InRelease
                                      Hit:4 https://repos.influxdata.com/debian bullseye InRelease
                                      Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                                      Hit:6 https://archive.raspbian.org/raspbian buster InRelease
                                      Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      5 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                      pi@homebridge:~ $ sudo apt autoremove
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      The following packages will be REMOVED:
                                        libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev
                                        libpython2.7-minimal libpython2.7-stdlib python2 python2-dev python2-minimal
                                        python2.7 python2.7-dev python2.7-minimal
                                      0 upgraded, 0 newly installed, 12 to remove and 5 not upgraded.
                                      After this operation, 27.2 MB disk space will be freed.
                                      Do you want to continue? [Y/n] y
                                      (Reading database ... 68557 files and directories currently installed.)
                                      Removing python2-dev (2.7.18-3) ...
                                      Removing libpython2-dev:armhf (2.7.18-3) ...
                                      Removing python2 (2.7.18-3) ...
                                      Removing libpython2-stdlib:armhf (2.7.18-3) ...
                                      Removing python2.7-dev (2.7.18-8) ...
                                      Removing libpython2.7-dev:armhf (2.7.18-8) ...
                                      Removing libpython2.7:armhf (2.7.18-8) ...
                                      Removing python2.7 (2.7.18-8) ...
                                      Removing libpython2.7-stdlib:armhf (2.7.18-8) ...
                                      Removing python2-minimal (2.7.18-3) ...
                                      Removing python2.7-minimal (2.7.18-8) ...
                                      Unlinking and removing bytecode for runtime python2.7
                                      Removing libpython2.7-minimal:armhf (2.7.18-8) ...
                                      Processing triggers for man-db (2.9.4-2) ...
                                      Processing triggers for mailcap (3.69) ...
                                      Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
                                      pi@homebridge:~ $ sudo apt full-upgrade
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      Calculating upgrade... Done
                                      The following packages will be upgraded:
                                        libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0
                                        pi-bluetooth
                                      5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                      Need to get 501 kB of archives.
                                      After this operation, 5,120 B of additional disk space will be used.
                                      Do you want to continue? [Y/n] y
                                      Get:1 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-dev armhf 1:2+git20220324~090146+c4fd1b8-1 [177 kB]
                                      Get:2 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-bin armhf 1:2+git20220324~090146+c4fd1b8-1 [149 kB]
                                      Get:3 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi0 armhf 1:2+git20220324~090146+c4fd1b8-1 [167 kB]
                                      Get:4 http://archive.raspberrypi.org/debian bullseye/main armhf libraspberrypi-doc all 1:2+git20220324~090146+c4fd1b8-1 [1,908 B]
                                      Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf pi-bluetooth all 0.1.19 [5,764 B]
                                      Fetched 501 kB in 0s (1,731 kB/s)
                                      Reading changelogs... Done
                                      (Reading database ... 67657 files and directories currently installed.)
                                      Preparing to unpack .../libraspberrypi-dev_1%3a2+git20220324~090146+c4fd1b8-1_armhf.deb ...
                                      Unpacking libraspberrypi-dev (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                      Preparing to unpack .../libraspberrypi-bin_1%3a2+git20220324~090146+c4fd1b8-1_armhf.deb ...
                                      Unpacking libraspberrypi-bin (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                      Preparing to unpack .../libraspberrypi0_1%3a2+git20220324~090146+c4fd1b8-1_armhf.deb ...
                                      Unpacking libraspberrypi0:armhf (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                      Preparing to unpack .../libraspberrypi-doc_1%3a2+git20220324~090146+c4fd1b8-1_all.deb ...
                                      Unpacking libraspberrypi-doc (1:2+git20220324~090146+c4fd1b8-1) over (1:2+git20211125~155417+14b90ff-3) ...
                                      Preparing to unpack .../pi-bluetooth_0.1.19_all.deb ...
                                      Unpacking pi-bluetooth (0.1.19) over (0.1.18) ...
                                      Setting up pi-bluetooth (0.1.19) ...
                                      Setting up libraspberrypi0:armhf (1:2+git20220324~090146+c4fd1b8-1) ...
                                      Setting up libraspberrypi-bin (1:2+git20220324~090146+c4fd1b8-1) ...
                                      Setting up libraspberrypi-dev (1:2+git20220324~090146+c4fd1b8-1) ...
                                      Setting up libraspberrypi-doc (1:2+git20220324~090146+c4fd1b8-1) ...
                                      Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u2) ...
                                      Processing triggers for man-db (2.9.4-2) ...
                                      pi@homebridge:~ $
                                      
                                      
                                      
                                      pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                                      Traceback (most recent call last):
                                        File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module>
                                          import fritzconnection
                                      ModuleNotFoundError: No module named 'fritzconnection'
                                      pi@homebridge:/opt/fritzinfluxdb $
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #102

                                      @damrak2022

                                      Da fehlt wie @crunchip (und die verlinkte Anleitung) schreibt

                                      pip install fritzconnection
                                      

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      1 Antwort Letzte Antwort
                                      0
                                      • crunchipC crunchip

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

                                        pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py Traceback (most recent call last): File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module> import fritzconnection ModuleNotFoundError: No module named 'fritzconnection' pi@homebridge:/opt/fritzinfluxdb $

                                        also bist du doch da im richtigen Verzeichnis, pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                                        so wie ich das lese, fehlt dir fritzconnection

                                        pip install fritzconnection
                                        
                                        Damrak2022D Offline
                                        Damrak2022D Offline
                                        Damrak2022
                                        schrieb am zuletzt editiert von
                                        #103

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

                                        pip

                                        pi@homebridge:/opt/fritzinfluxdb $ pip install fritzconnection
                                        Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
                                        Requirement already satisfied: fritzconnection in /home/pi/.local/lib/python3.9/site-packages (1.3.3)
                                        Requirement already satisfied: requests>=2.22.0 in /usr/local/lib/python3.9/dist-packages (from fritzconnection) (2.22.0)
                                        Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests>=2.22.0->fritzconnection) (1.25.11)
                                        Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests>=2.22.0->fritzconnection) (2.8)
                                        Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.22.0->fritzconnection) (2020.6.20)
                                        Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.9/dist-packages (from requests>=2.22.0->fritzconnection) (3.0.4)
                                        pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                                        Traceback (most recent call last):
                                          File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module>
                                            import fritzconnection
                                        ModuleNotFoundError: No module named 'fritzconnection'
                                        pi@homebridge:/opt/fritzinfluxdb $
                                        

                                        Mit besten Grüßen
                                        Andy

                                        Thomas BraunT crunchipC 2 Antworten Letzte Antwort
                                        0
                                        • Damrak2022D Damrak2022

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

                                          pip

                                          pi@homebridge:/opt/fritzinfluxdb $ pip install fritzconnection
                                          Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
                                          Requirement already satisfied: fritzconnection in /home/pi/.local/lib/python3.9/site-packages (1.3.3)
                                          Requirement already satisfied: requests>=2.22.0 in /usr/local/lib/python3.9/dist-packages (from fritzconnection) (2.22.0)
                                          Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests>=2.22.0->fritzconnection) (1.25.11)
                                          Requirement already satisfied: idna<2.9,>=2.5 in /usr/local/lib/python3.9/dist-packages (from requests>=2.22.0->fritzconnection) (2.8)
                                          Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.22.0->fritzconnection) (2020.6.20)
                                          Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.9/dist-packages (from requests>=2.22.0->fritzconnection) (3.0.4)
                                          pi@homebridge:/opt/fritzinfluxdb $ ./fritzinfluxdb.py
                                          Traceback (most recent call last):
                                            File "/opt/fritzinfluxdb/./fritzinfluxdb.py", line 18, in <module>
                                              import fritzconnection
                                          ModuleNotFoundError: No module named 'fritzconnection'
                                          pi@homebridge:/opt/fritzinfluxdb $
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #104

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

                                          Requirement already satisfied: fritzconnection in /home/pi/.local/lib/python3.9/site-package

                                          Ich vermute, das liegt in /home/pi/.local falsch.
                                          Von python hab ich aber offen gesagt nicht viel Ahnung.
                                          Weiß nicht ob das da einfach weggelöscht werden kann oder ob das per

                                          pip uninstall fritzconnection
                                          

                                          Im Home von pi zu deinstallieren ist.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          Damrak2022D 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

                                          488

                                          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