Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Proxmox
  5. Proxmox LXC mit Frigate

NEWS

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

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

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

Proxmox LXC mit Frigate

Scheduled Pinned Locked Moved Proxmox
176 Posts 16 Posters 49.0k Views 21 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • WalW Wal

    @martinschm ,
    wenn du jetzt noch den Frigate Adapter installieren und mittesten würdest wäre das nicht schlecht.

    M Offline
    M Offline
    martinschm
    wrote on last edited by
    #104

    @wal said in Proxmox LXC mit Frigate:

    @martinschm ,
    wenn du jetzt noch den Frigate Adapter installieren und mittesten würdest wäre das nicht schlecht.

    Hi, der läuft doch schon längst 😁

    Hab jetzt bei Dunkelheit einige Fehlalarme bekommen. Bekomme lauter leere Bilder geschickt.

    M 1 Reply Last reply
    0
    • WalW Offline
      WalW Offline
      Wal
      Developer
      wrote on last edited by
      #105

      Achtung, nach Kernel Update auf 6.5.11-4-pve läuft der Coral Beschleuniger nicht mehr.

      Gruß
      Walter

      DoorIO-Adapter
      wioBrowser-Adapter und wioBrowser

      1 Reply Last reply
      0
      • M martinschm

        @wal said in Proxmox LXC mit Frigate:

        @martinschm ,
        wenn du jetzt noch den Frigate Adapter installieren und mittesten würdest wäre das nicht schlecht.

        Hi, der läuft doch schon längst 😁

        Hab jetzt bei Dunkelheit einige Fehlalarme bekommen. Bekomme lauter leere Bilder geschickt.

        M Offline
        M Offline
        martinschm
        wrote on last edited by
        #106

        @martinschm said in Proxmox LXC mit Frigate:

        @wal said in Proxmox LXC mit Frigate:

        @martinschm ,
        wenn du jetzt noch den Frigate Adapter installieren und mittesten würdest wäre das nicht schlecht.

        Hi, der läuft doch schon längst 😁

        Hab jetzt bei Dunkelheit einige Fehlalarme bekommen. Bekomme lauter leere Bilder geschickt.

        Lag übrigens dran, das ein Spinnenfaden Bewegung ausgelöst hat und Frigate eine Halloweendeko als Person erkannt hat :-)
        Danke für die Warnung mit dem Kernel Update.

        Die Kombi Frigate mit deinem Adapter und iob laufen seit über eine Woche perfekt.

        1 Reply Last reply
        1
        • M Offline
          M Offline
          MrHenker27
          wrote on last edited by
          #107

          erst mal danke für die gute Anleitung.
          Gibt es auch eine Möglichkeit jede Bewegung aufzuzeichnen ?

          Also nicht nur Hund und Katze sondern immer wenn sich was in einer Zone bewegt?

          greets

          WalW 1 Reply Last reply
          0
          • M MrHenker27

            erst mal danke für die gute Anleitung.
            Gibt es auch eine Möglichkeit jede Bewegung aufzuzeichnen ?

            Also nicht nur Hund und Katze sondern immer wenn sich was in einer Zone bewegt?

            greets

            WalW Offline
            WalW Offline
            Wal
            Developer
            wrote on last edited by
            #108

            @mrhenker27 ,
            das musst du testen, es gibt ja noch mehr Objekte siehe auf der Frigate Seite.

            Gruß
            Walter

            DoorIO-Adapter
            wioBrowser-Adapter und wioBrowser

            M 1 Reply Last reply
            0
            • WalW Wal

              @mrhenker27 ,
              das musst du testen, es gibt ja noch mehr Objekte siehe auf der Frigate Seite.

              M Offline
              M Offline
              MrHenker27
              wrote on last edited by
              #109

              ich meinte ohne Objekt detection also rein motion.

              WalW 1 Reply Last reply
              0
              • M MrHenker27

                ich meinte ohne Objekt detection also rein motion.

                WalW Offline
                WalW Offline
                Wal
                Developer
                wrote on last edited by
                #110

                @mrhenker27 ,
                Musst du in der Frigate Anleitung nachlesen, mir ist da nichts bekannt.

                Gruß
                Walter

                DoorIO-Adapter
                wioBrowser-Adapter und wioBrowser

                D 1 Reply Last reply
                0
                • WalW Wal

                  @mrhenker27 ,
                  Musst du in der Frigate Anleitung nachlesen, mir ist da nichts bekannt.

                  D Offline
                  D Offline
                  drapo
                  wrote on last edited by
                  #111

                  @wal hab mal ganz generell eine frage zur hardware bevor ich mich hier in unkosten stürze.
                  Würde frigate gerne nutzen.
                  Bei mir läuft mein iobroker auf einer synology im docker.
                  Kann ich auf dem selben nas auch den frigate container installieren ohne an das limit des nas zu kommen? Die coral usb accelerator könnte hier sicherlich helfen. Geht das oder würdet ihr mir zu einer neuen separaten hardware raten? Wenn ja welche was sollte das teil haben?
                  Ich hab momentan 5 kameras die ich mittels personen erkennung mit frigate betreiben möchte.

                  da_WoodyD WalW 2 Replies Last reply
                  0
                  • D drapo

                    @wal hab mal ganz generell eine frage zur hardware bevor ich mich hier in unkosten stürze.
                    Würde frigate gerne nutzen.
                    Bei mir läuft mein iobroker auf einer synology im docker.
                    Kann ich auf dem selben nas auch den frigate container installieren ohne an das limit des nas zu kommen? Die coral usb accelerator könnte hier sicherlich helfen. Geht das oder würdet ihr mir zu einer neuen separaten hardware raten? Wenn ja welche was sollte das teil haben?
                    Ich hab momentan 5 kameras die ich mittels personen erkennung mit frigate betreiben möchte.

                    da_WoodyD Offline
                    da_WoodyD Offline
                    da_Woody
                    wrote on last edited by
                    #112

                    @drapo kommt auf deine sysology an.

                    gruß vom Woody
                    HAPPINESS is not a DESTINATION, it's a WAY of LIFE!

                    D 1 Reply Last reply
                    0
                    • da_WoodyD da_Woody

                      @drapo kommt auf deine sysology an.

                      D Offline
                      D Offline
                      drapo
                      wrote on last edited by
                      #113

                      @da_woody da fällt mir gerade ein dass unter dsm 7 der synology wohl keine usb mehr unterstützt werden. Das geisst wohl ich muss mir was zusätzliches zulegen. Was habt ihr denn für hardware am laufen oder was würdet ihr nach euren erfahrungen empfehlen?

                      crunchipC 1 Reply Last reply
                      0
                      • D drapo

                        @da_woody da fällt mir gerade ein dass unter dsm 7 der synology wohl keine usb mehr unterstützt werden. Das geisst wohl ich muss mir was zusätzliches zulegen. Was habt ihr denn für hardware am laufen oder was würdet ihr nach euren erfahrungen empfehlen?

                        crunchipC Offline
                        crunchipC Offline
                        crunchip
                        Forum Testing Most Active
                        wrote on last edited by
                        #114

                        @drapo https://docs.frigate.video/frigate/hardware/

                        umgestiegen von Proxmox auf Unraid

                        D 1 Reply Last reply
                        0
                        • crunchipC crunchip

                          @drapo https://docs.frigate.video/frigate/hardware/

                          D Offline
                          D Offline
                          drapo
                          wrote on last edited by
                          #115

                          @crunchip dank dir das kenn ich.
                          Wollte eure erfahrungen wissen und was ihr nutzt und mit was ihr zufrieden seit und wo ihr allenfalls mehr ram mehr cpu oder dergkeichen einsetzen würdet. Was verwendest du denn

                          crunchipC 1 Reply Last reply
                          0
                          • D drapo

                            @crunchip dank dir das kenn ich.
                            Wollte eure erfahrungen wissen und was ihr nutzt und mit was ihr zufrieden seit und wo ihr allenfalls mehr ram mehr cpu oder dergkeichen einsetzen würdet. Was verwendest du denn

                            crunchipC Offline
                            crunchipC Offline
                            crunchip
                            Forum Testing Most Active
                            wrote on last edited by crunchip
                            #116

                            @drapo nen Geekom AS6 mit unraid, allerdings läuft da ja noch vieeeel mehr

                            frigate selbst, bei 4 cams
                            ed404524-3aee-4905-83cd-02cd70815e3a-image.png

                            ne Empfehlung rein nur für frigate, so wie es auf der Seite beschrieben ist, ein kleiner miniPC

                            umgestiegen von Proxmox auf Unraid

                            1 Reply Last reply
                            0
                            • D drapo

                              @wal hab mal ganz generell eine frage zur hardware bevor ich mich hier in unkosten stürze.
                              Würde frigate gerne nutzen.
                              Bei mir läuft mein iobroker auf einer synology im docker.
                              Kann ich auf dem selben nas auch den frigate container installieren ohne an das limit des nas zu kommen? Die coral usb accelerator könnte hier sicherlich helfen. Geht das oder würdet ihr mir zu einer neuen separaten hardware raten? Wenn ja welche was sollte das teil haben?
                              Ich hab momentan 5 kameras die ich mittels personen erkennung mit frigate betreiben möchte.

                              WalW Offline
                              WalW Offline
                              Wal
                              Developer
                              wrote on last edited by Wal
                              #117

                              @drapo ,
                              ich nutze einen alten HP Elitedesk I5-7500 32GB Ram den ich für 1 Euro gekauft habe.
                              Die wurden entsorgt, da sie nicht mehr dem Sicherheitsstandard meiner Firma entsprachen. ;-)
                              Die Teile gibt es aber auch für 80-150 Euro im Netz als Gebrauchtware.
                              Da läuft jetzt Proxmox mit mittlerweile 8 LXC Containern drauf incl. Frigate und ioBroker, das Teil langweilt sich.
                              Für die Objekterkennung läuft bei mir eine Coral Dual TPU die incl. Adapter nochmals ca. 150 Euro verschlangen.
                              Ein Coral-USB für ca. 60-80 Euro genügt.

                              Edit: Wichtig, trotz 65W TDP und 1TB NVME/1TB SSD/1TB USB-SSD Datentank läuft das Teil mit 22-25W im Schnitt.

                              Gruß
                              Walter

                              DoorIO-Adapter
                              wioBrowser-Adapter und wioBrowser

                              D 1 Reply Last reply
                              0
                              • WalW Wal

                                @drapo ,
                                ich nutze einen alten HP Elitedesk I5-7500 32GB Ram den ich für 1 Euro gekauft habe.
                                Die wurden entsorgt, da sie nicht mehr dem Sicherheitsstandard meiner Firma entsprachen. ;-)
                                Die Teile gibt es aber auch für 80-150 Euro im Netz als Gebrauchtware.
                                Da läuft jetzt Proxmox mit mittlerweile 8 LXC Containern drauf incl. Frigate und ioBroker, das Teil langweilt sich.
                                Für die Objekterkennung läuft bei mir eine Coral Dual TPU die incl. Adapter nochmals ca. 150 Euro verschlangen.
                                Ein Coral-USB für ca. 60-80 Euro genügt.

                                Edit: Wichtig, trotz 65W TDP und 1TB NVME/1TB SSD/1TB USB-SSD Datentank läuft das Teil mit 22-25W im Schnitt.

                                D Offline
                                D Offline
                                drapo
                                wrote on last edited by
                                #118

                                @wal dank dir für das feedback. Dann werd ich schauen dass ich was ähnliches finde. Noch was. In der Feigate Beschreibung wird die benutzung von proxmox nicht empfohlen. Bei dir scheint das aber ohne probleme zu funktionieren. Oder hattest du irgendwo schlechte erfahrungen?

                                WalW 1 Reply Last reply
                                0
                                • D drapo

                                  @wal dank dir für das feedback. Dann werd ich schauen dass ich was ähnliches finde. Noch was. In der Feigate Beschreibung wird die benutzung von proxmox nicht empfohlen. Bei dir scheint das aber ohne probleme zu funktionieren. Oder hattest du irgendwo schlechte erfahrungen?

                                  WalW Offline
                                  WalW Offline
                                  Wal
                                  Developer
                                  wrote on last edited by
                                  #119

                                  @drapo ,
                                  habe Frigate schon über 1Jahr am laufen und konnte bis jetzt noch keine Nachteile entdecken.

                                  Gruß
                                  Walter

                                  DoorIO-Adapter
                                  wioBrowser-Adapter und wioBrowser

                                  D R 2 Replies Last reply
                                  0
                                  • WalW Wal

                                    @drapo ,
                                    habe Frigate schon über 1Jahr am laufen und konnte bis jetzt noch keine Nachteile entdecken.

                                    D Offline
                                    D Offline
                                    drapo
                                    wrote on last edited by
                                    #120

                                    @wal alles klar. Zumal du hier alles sauber beschrieben hast wäre es sicherlich eine option ebenfalls auf proxmox zu gehen. Dank dir für deine rückmeldung

                                    1 Reply Last reply
                                    0
                                    • WalW Wal

                                      @drapo ,
                                      habe Frigate schon über 1Jahr am laufen und konnte bis jetzt noch keine Nachteile entdecken.

                                      R Offline
                                      R Offline
                                      Radi
                                      wrote on last edited by Radi
                                      #121

                                      @wal Hallo Walter,

                                      nach längerer Abstinenz von Frigate habe ich jetzt erneut mal probiert, das Ganze nach deiner Anleitung zu installieren.
                                      So recht will das aber immer noch nicht rund laufen. FRIGATE meint, so glaube ich, keine Coral-TPU zu erkennen. Verbaut ist jetzt ein M.2 Accelerator with Dual Edge TPU. Vorher hatte ich die einfache TPU verbaut, aber das ganze gar nicht zum Laufen bekommen.
                                      Hier das Log vom Start von Frigate:

                                      2024-01-28 13:30:31.218569409  [INFO] Starting Frigate...
                                      2024-01-28 13:30:32.125243630  [2024-01-28 13:30:32] frigate.app                    INFO    : Starting Frigate (0.12.1-367d724)
                                      2024-01-28 13:30:32.150690234  [2024-01-28 13:30:32] peewee_migrate                 INFO    : Starting migrations
                                      2024-01-28 13:30:32.153556313  [2024-01-28 13:30:32] peewee_migrate                 INFO    : There is nothing to migrate
                                      2024-01-28 13:30:32.162656517  [2024-01-28 13:30:32] detector.coral1                INFO    : Starting detection process: 575
                                      2024-01-28 13:30:32.164672673  Process detector:coral1:
                                      2024-01-28 13:30:32.164760541  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci:0
                                      2024-01-28 13:30:32.164885429  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
                                      2024-01-28 13:30:32.165172631  [2024-01-28 13:30:32] detector.coral2                INFO    : Starting detection process: 577
                                      2024-01-28 13:30:32.165544757  Traceback (most recent call last):
                                      2024-01-28 13:30:32.165554583    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
                                      2024-01-28 13:30:32.165556312      delegate = Delegate(library, options)
                                      2024-01-28 13:30:32.165558040    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
                                      2024-01-28 13:30:32.165560833      raise ValueError(capture.message)
                                      2024-01-28 13:30:32.165565880  ValueError
                                      2024-01-28 13:30:32.165570393  
                                      2024-01-28 13:30:32.165572014  During handling of the above exception, another exception occurred:
                                      2024-01-28 13:30:32.165573076  
                                      2024-01-28 13:30:32.165574405  Traceback (most recent call last):
                                      2024-01-28 13:30:32.165596052    File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
                                      2024-01-28 13:30:32.165597573      self.run()
                                      2024-01-28 13:30:32.165599180    File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
                                      2024-01-28 13:30:32.165600753      self._target(*self._args, **self._kwargs)
                                      2024-01-28 13:30:32.165602288    File "/opt/frigate/frigate/object_detection.py", line 98, in run_detector
                                      2024-01-28 13:30:32.165603923      object_detector = LocalObjectDetector(detector_config=detector_config)
                                      2024-01-28 13:30:32.165610398    File "/opt/frigate/frigate/object_detection.py", line 52, in __init__
                                      2024-01-28 13:30:32.165611916      self.detect_api = create_detector(detector_config)
                                      2024-01-28 13:30:32.165613440    File "/opt/frigate/frigate/detectors/__init__.py", line 24, in create_detector
                                      2024-01-28 13:30:32.165614768      return api(detector_config)
                                      2024-01-28 13:30:32.165616335    File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 37, in __init__
                                      2024-01-28 13:30:32.165617976      edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
                                      2024-01-28 13:30:32.165639294    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
                                      2024-01-28 13:30:32.165651721      raise ValueError('Failed to load delegate from {}\n{}'.format(
                                      2024-01-28 13:30:32.165653525  ValueError: Failed to load delegate from libedgetpu.so.1.0
                                      2024-01-28 13:30:32.165654747  
                                      2024-01-28 13:30:32.166393925  [2024-01-28 13:30:32] frigate.app                    INFO    : Output process started: 580
                                      2024-01-28 13:30:32.167531932  Process detector:coral2:
                                      2024-01-28 13:30:32.167535028  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci:1
                                      2024-01-28 13:30:32.167726773  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
                                      2024-01-28 13:30:32.168493464  Traceback (most recent call last):
                                      2024-01-28 13:30:32.168501725    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
                                      2024-01-28 13:30:32.168502975      delegate = Delegate(library, options)
                                      2024-01-28 13:30:32.168504312    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
                                      2024-01-28 13:30:32.168505459      raise ValueError(capture.message)
                                      2024-01-28 13:30:32.168515052  ValueError
                                      2024-01-28 13:30:32.168537189  
                                      2024-01-28 13:30:32.168538362  During handling of the above exception, another exception occurred:
                                      2024-01-28 13:30:32.168539185  
                                      2024-01-28 13:30:32.168540152  Traceback (most recent call last):
                                      2024-01-28 13:30:32.168576991    File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
                                      2024-01-28 13:30:32.168578091      self.run()
                                      2024-01-28 13:30:32.168579237    File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
                                      2024-01-28 13:30:32.168580303      self._target(*self._args, **self._kwargs)
                                      2024-01-28 13:30:32.168581466    File "/opt/frigate/frigate/object_detection.py", line 98, in run_detector
                                      2024-01-28 13:30:32.168582588      object_detector = LocalObjectDetector(detector_config=detector_config)
                                      2024-01-28 13:30:32.168592956    File "/opt/frigate/frigate/object_detection.py", line 52, in __init__
                                      2024-01-28 13:30:32.168594726      self.detect_api = create_detector(detector_config)
                                      2024-01-28 13:30:32.168596518    File "/opt/frigate/frigate/detectors/__init__.py", line 24, in create_detector
                                      2024-01-28 13:30:32.168597864      return api(detector_config)
                                      2024-01-28 13:30:32.168599747    File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 37, in __init__
                                      2024-01-28 13:30:32.168601251      edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
                                      2024-01-28 13:30:32.168602439    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
                                      2024-01-28 13:30:32.168603549      raise ValueError('Failed to load delegate from {}\n{}'.format(
                                      2024-01-28 13:30:32.168604616  ValueError: Failed to load delegate from libedgetpu.so.1.0
                                      2024-01-28 13:30:32.168605486  
                                      2024-01-28 13:30:32.170047019  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for garage_vorn: 583
                                      2024-01-28 13:30:32.172816130  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for hof_haus: 585
                                      2024-01-28 13:30:32.175955252  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for hof_laube: 586
                                      2024-01-28 13:30:32.178686414  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for garage_hinten: 588
                                      2024-01-28 13:30:32.181556494  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for laube_maeher: 590
                                      2024-01-28 13:30:32.184597814  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for laube_Garten: 591
                                      2024-01-28 13:30:32.187944215  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for garage_hinten_innen: 593
                                      2024-01-28 13:30:32.190958400  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for garage_vorn: 594
                                      2024-01-28 13:30:32.194004536  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for hof_haus: 598
                                      2024-01-28 13:30:32.196950398  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for hof_laube: 602
                                      2024-01-28 13:30:32.200098151  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for garage_hinten: 608
                                      2024-01-28 13:30:32.203626557  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for laube_maeher: 614
                                      2024-01-28 13:30:32.207971269  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for laube_Garten: 631
                                      2024-01-28 13:30:32.212493902  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for garage_hinten_innen: 677
                                      2024-01-28 13:30:32.305915429  [2024-01-28 13:30:32] frigate.app                    WARNING : The current SHM size of 67.1MB is too small, recommend increasing it to at least 114.69999999999997MB.
                                      

                                      Die Ausgabe beim Test der Coral-TPU im Container scheinen zu passen:

                                      frigate@frigate:~$ lspci -nn | grep 089a
                                      01:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
                                      frigate@frigate:~$ ls /dev/apex_0
                                      /dev/apex_0
                                      frigate@frigate:~$ ls /dev/apex_1
                                      /dev/apex_1
                                      frigate@frigate:~$ 
                                      

                                      Wo könnte ich da noch etwas verbogen haben? Für einen Ratschlag wäre ich dankbar.

                                      Edit: so sieht die Systeminfo aus:
                                      27fde46a-269c-4e21-9149-5f6bb8caa9a6-grafik.png

                                      Ralf

                                      WalW 1 Reply Last reply
                                      0
                                      • R Radi

                                        @wal Hallo Walter,

                                        nach längerer Abstinenz von Frigate habe ich jetzt erneut mal probiert, das Ganze nach deiner Anleitung zu installieren.
                                        So recht will das aber immer noch nicht rund laufen. FRIGATE meint, so glaube ich, keine Coral-TPU zu erkennen. Verbaut ist jetzt ein M.2 Accelerator with Dual Edge TPU. Vorher hatte ich die einfache TPU verbaut, aber das ganze gar nicht zum Laufen bekommen.
                                        Hier das Log vom Start von Frigate:

                                        2024-01-28 13:30:31.218569409  [INFO] Starting Frigate...
                                        2024-01-28 13:30:32.125243630  [2024-01-28 13:30:32] frigate.app                    INFO    : Starting Frigate (0.12.1-367d724)
                                        2024-01-28 13:30:32.150690234  [2024-01-28 13:30:32] peewee_migrate                 INFO    : Starting migrations
                                        2024-01-28 13:30:32.153556313  [2024-01-28 13:30:32] peewee_migrate                 INFO    : There is nothing to migrate
                                        2024-01-28 13:30:32.162656517  [2024-01-28 13:30:32] detector.coral1                INFO    : Starting detection process: 575
                                        2024-01-28 13:30:32.164672673  Process detector:coral1:
                                        2024-01-28 13:30:32.164760541  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci:0
                                        2024-01-28 13:30:32.164885429  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
                                        2024-01-28 13:30:32.165172631  [2024-01-28 13:30:32] detector.coral2                INFO    : Starting detection process: 577
                                        2024-01-28 13:30:32.165544757  Traceback (most recent call last):
                                        2024-01-28 13:30:32.165554583    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
                                        2024-01-28 13:30:32.165556312      delegate = Delegate(library, options)
                                        2024-01-28 13:30:32.165558040    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
                                        2024-01-28 13:30:32.165560833      raise ValueError(capture.message)
                                        2024-01-28 13:30:32.165565880  ValueError
                                        2024-01-28 13:30:32.165570393  
                                        2024-01-28 13:30:32.165572014  During handling of the above exception, another exception occurred:
                                        2024-01-28 13:30:32.165573076  
                                        2024-01-28 13:30:32.165574405  Traceback (most recent call last):
                                        2024-01-28 13:30:32.165596052    File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
                                        2024-01-28 13:30:32.165597573      self.run()
                                        2024-01-28 13:30:32.165599180    File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
                                        2024-01-28 13:30:32.165600753      self._target(*self._args, **self._kwargs)
                                        2024-01-28 13:30:32.165602288    File "/opt/frigate/frigate/object_detection.py", line 98, in run_detector
                                        2024-01-28 13:30:32.165603923      object_detector = LocalObjectDetector(detector_config=detector_config)
                                        2024-01-28 13:30:32.165610398    File "/opt/frigate/frigate/object_detection.py", line 52, in __init__
                                        2024-01-28 13:30:32.165611916      self.detect_api = create_detector(detector_config)
                                        2024-01-28 13:30:32.165613440    File "/opt/frigate/frigate/detectors/__init__.py", line 24, in create_detector
                                        2024-01-28 13:30:32.165614768      return api(detector_config)
                                        2024-01-28 13:30:32.165616335    File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 37, in __init__
                                        2024-01-28 13:30:32.165617976      edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
                                        2024-01-28 13:30:32.165639294    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
                                        2024-01-28 13:30:32.165651721      raise ValueError('Failed to load delegate from {}\n{}'.format(
                                        2024-01-28 13:30:32.165653525  ValueError: Failed to load delegate from libedgetpu.so.1.0
                                        2024-01-28 13:30:32.165654747  
                                        2024-01-28 13:30:32.166393925  [2024-01-28 13:30:32] frigate.app                    INFO    : Output process started: 580
                                        2024-01-28 13:30:32.167531932  Process detector:coral2:
                                        2024-01-28 13:30:32.167535028  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci:1
                                        2024-01-28 13:30:32.167726773  [2024-01-28 13:30:32] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
                                        2024-01-28 13:30:32.168493464  Traceback (most recent call last):
                                        2024-01-28 13:30:32.168501725    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
                                        2024-01-28 13:30:32.168502975      delegate = Delegate(library, options)
                                        2024-01-28 13:30:32.168504312    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
                                        2024-01-28 13:30:32.168505459      raise ValueError(capture.message)
                                        2024-01-28 13:30:32.168515052  ValueError
                                        2024-01-28 13:30:32.168537189  
                                        2024-01-28 13:30:32.168538362  During handling of the above exception, another exception occurred:
                                        2024-01-28 13:30:32.168539185  
                                        2024-01-28 13:30:32.168540152  Traceback (most recent call last):
                                        2024-01-28 13:30:32.168576991    File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
                                        2024-01-28 13:30:32.168578091      self.run()
                                        2024-01-28 13:30:32.168579237    File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
                                        2024-01-28 13:30:32.168580303      self._target(*self._args, **self._kwargs)
                                        2024-01-28 13:30:32.168581466    File "/opt/frigate/frigate/object_detection.py", line 98, in run_detector
                                        2024-01-28 13:30:32.168582588      object_detector = LocalObjectDetector(detector_config=detector_config)
                                        2024-01-28 13:30:32.168592956    File "/opt/frigate/frigate/object_detection.py", line 52, in __init__
                                        2024-01-28 13:30:32.168594726      self.detect_api = create_detector(detector_config)
                                        2024-01-28 13:30:32.168596518    File "/opt/frigate/frigate/detectors/__init__.py", line 24, in create_detector
                                        2024-01-28 13:30:32.168597864      return api(detector_config)
                                        2024-01-28 13:30:32.168599747    File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 37, in __init__
                                        2024-01-28 13:30:32.168601251      edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
                                        2024-01-28 13:30:32.168602439    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
                                        2024-01-28 13:30:32.168603549      raise ValueError('Failed to load delegate from {}\n{}'.format(
                                        2024-01-28 13:30:32.168604616  ValueError: Failed to load delegate from libedgetpu.so.1.0
                                        2024-01-28 13:30:32.168605486  
                                        2024-01-28 13:30:32.170047019  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for garage_vorn: 583
                                        2024-01-28 13:30:32.172816130  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for hof_haus: 585
                                        2024-01-28 13:30:32.175955252  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for hof_laube: 586
                                        2024-01-28 13:30:32.178686414  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for garage_hinten: 588
                                        2024-01-28 13:30:32.181556494  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for laube_maeher: 590
                                        2024-01-28 13:30:32.184597814  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for laube_Garten: 591
                                        2024-01-28 13:30:32.187944215  [2024-01-28 13:30:32] frigate.app                    INFO    : Camera processor started for garage_hinten_innen: 593
                                        2024-01-28 13:30:32.190958400  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for garage_vorn: 594
                                        2024-01-28 13:30:32.194004536  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for hof_haus: 598
                                        2024-01-28 13:30:32.196950398  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for hof_laube: 602
                                        2024-01-28 13:30:32.200098151  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for garage_hinten: 608
                                        2024-01-28 13:30:32.203626557  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for laube_maeher: 614
                                        2024-01-28 13:30:32.207971269  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for laube_Garten: 631
                                        2024-01-28 13:30:32.212493902  [2024-01-28 13:30:32] frigate.app                    INFO    : Capture process started for garage_hinten_innen: 677
                                        2024-01-28 13:30:32.305915429  [2024-01-28 13:30:32] frigate.app                    WARNING : The current SHM size of 67.1MB is too small, recommend increasing it to at least 114.69999999999997MB.
                                        

                                        Die Ausgabe beim Test der Coral-TPU im Container scheinen zu passen:

                                        frigate@frigate:~$ lspci -nn | grep 089a
                                        01:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
                                        frigate@frigate:~$ ls /dev/apex_0
                                        /dev/apex_0
                                        frigate@frigate:~$ ls /dev/apex_1
                                        /dev/apex_1
                                        frigate@frigate:~$ 
                                        

                                        Wo könnte ich da noch etwas verbogen haben? Für einen Ratschlag wäre ich dankbar.

                                        Edit: so sieht die Systeminfo aus:
                                        27fde46a-269c-4e21-9149-5f6bb8caa9a6-grafik.png

                                        Ralf

                                        WalW Offline
                                        WalW Offline
                                        Wal
                                        Developer
                                        wrote on last edited by Wal
                                        #122

                                        @radi ,
                                        bei dir wird schon mal nur eine TPU angezeigt, deswegen kannst du auch nur eine durchreichen.

                                        frigate@frigate:~$ lspci -nn | grep 089a
                                        05:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
                                        06:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
                                        

                                        Gruß
                                        Walter

                                        DoorIO-Adapter
                                        wioBrowser-Adapter und wioBrowser

                                        R 1 Reply Last reply
                                        0
                                        • WalW Wal

                                          @radi ,
                                          bei dir wird schon mal nur eine TPU angezeigt, deswegen kannst du auch nur eine durchreichen.

                                          frigate@frigate:~$ lspci -nn | grep 089a
                                          05:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
                                          06:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
                                          
                                          R Offline
                                          R Offline
                                          Radi
                                          wrote on last edited by Radi
                                          #123

                                          @wal Ich habe wohl eine Kleinigkeit nicht beachtet. Du hast einen Adapter zwischengeschaltet. Das war mir gar nicht aufgefallen. Ich habe die Karte in einem M2 A/E Slot, der eigentlich für BT/WLan-Adapter gedacht ist, stecken. Der Rechner ist ein Gigabyte BRIX Barebone GB-BRi7H-10710. Ich vermute, dass der von dir verlinkte Adapter dafür nicht geeignet ist. Gibt es eine Möglichkeit, die TPU in diesem Rechner zu betreiben oder ist dies doch der richtige Adapter?

                                          WalW 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          854

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe