Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. Proxmox LXC mit Frigate

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Proxmox LXC mit Frigate

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

      Bei motion gibt es zwei Werte, einmal hat der Ordner auch einen Wert und darunter gibt es noch einen State. Ist das so korrekt angelegt ?
      416190ec-d743-45da-aa5a-c508dd739022-image.png

      Hab aktuell ein Stream laufen, so sieht mein LXC Container aus
      3de1035e-2a0f-47b1-a724-87472595bfee-image.png

      Und das sind die Werte aus frigate
      18b17aa6-275f-498c-ba71-93217a532ad1-image.png

      Bin mal gespannt wie es ausschaut mit mehreren Kameras.

      Die ersten Tests mit Objekterkennung vor der Haustür waren auf jeden Fall sehr gut.

      Wal 1 Reply Last reply Reply Quote 0
      • Wal
        Wal Developer @martinschm last edited by

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

        M 1 Reply Last reply Reply Quote 0
        • M
          martinschm @Wal last edited by

          @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 Reply Quote 0
          • Wal
            Wal Developer last edited by

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

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

              @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 Reply Quote 1
              • M
                MrHenker27 last edited by

                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

                Wal 1 Reply Last reply Reply Quote 0
                • Wal
                  Wal Developer @MrHenker27 last edited by

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

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MrHenker27 @Wal last edited by

                    ich meinte ohne Objekt detection also rein motion.

                    Wal 1 Reply Last reply Reply Quote 0
                    • Wal
                      Wal Developer @MrHenker27 last edited by

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

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        drapo @Wal last edited by

                        @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_Woody Wal 2 Replies Last reply Reply Quote 0
                        • da_Woody
                          da_Woody @drapo last edited by

                          @drapo kommt auf deine sysology an.

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            drapo @da_Woody last edited by

                            @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?

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

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

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                drapo @crunchip last edited by

                                @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

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

                                  @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

                                  1 Reply Last reply Reply Quote 0
                                  • Wal
                                    Wal Developer @drapo last edited by 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 1 Reply Last reply Reply Quote 0
                                    • D
                                      drapo @Wal last edited by

                                      @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?

                                      Wal 1 Reply Last reply Reply Quote 0
                                      • Wal
                                        Wal Developer @drapo last edited by

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

                                        D R 2 Replies Last reply Reply Quote 0
                                        • D
                                          drapo @Wal last edited by

                                          @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 Reply Quote 0
                                          • R
                                            Radi @Wal last edited by 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

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            871
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            176
                                            28819
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo