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.
    • T
      Tschaeens @Wal last edited by

      @wal
      Ich probier heut abend mal mein Glück!
      Falls ich es zum Laufen bekomme stell ich gerne eine Anleitung zur Verfügung.
      Achja kann ich den proxmox kernel jetzt updaten, weil du mal geschrieben hast, dass dann der coral nicht mehr durchgereicht wird?

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

        @tschaeens sagte in Proxmox LXC mit Frigate:

        Achja kann ich den proxmox kernel jetzt updaten, weil du mal geschrieben hast, dass dann der coral nicht mehr durchgereicht wird?

        Ich musste auf einen unprivilegierten Container umstellen, danach ging es wieder.
        Vor einem Update des Kernels, update ich erst immer dessen Kernelheader (z.Z. "apt install proxmox-headers-6.5.11-8-pve ") damit die initrd ohne Fehler erstellt werden.

        T 1 Reply Last reply Reply Quote 0
        • T
          Tschaeens @Wal last edited by Tschaeens

          @wal
          kay vielen Dank. Also mit etwas basteln habe ich es hinbekommen.
          Ich habe zu Testzwecken einen neuen lxc mit docker und portainer aufgesetzt. Anschließend folgende zwei Befehle durchgeschickt:

          Zuerst Deepstack installieren:

          docker run -d \
            --name deepstack \
            -e VISION-DETECTION=True \
            -e VISION-FACE=True \
            -e VISION-SCENE=True \
            -p 5000:5000 \
            -v /opt/deepstack:/datastore \
            -v /opt/deepstack/custom_models:/modelstore/detection \
            deepquestai/deepstack
          

          Danach wird Double Take installiert:

          docker run -d \
            --name=double-take \
            --restart=unless-stopped \
            -p 3000:3000 \
            -v /opt/doubletake/storage:/.storage \
            skrashevich/double-take:v1.13.11.8
          

          Als Letztes die config yml in Double Take an eigene Bedürfnisse anpasssen:

          # Double Take
          # Learn more at https://github.com/skrashevich/double-take/#configuration
          
          mqtt:
            host: IP
            username: XXX
            password: XXX
          
          
          frigate:
            url: http://IP:5000
            stop_on_match: true
            labels:
              - person
            attempts:
              # number of times double take will request a frigate latest.jpg for facial recognition
              latest: 10
              # number of times double take will request a frigate snapshot.jpg for facial recognition
              snapshot: 10
              # process frigate images from frigate/+/person/snapshot topics
              mqtt: true
              # add a delay expressed in seconds between each detection loop
              delay: 0
            
          detectors:
            deepstack:
              url: http://IP:5000
          

          Ich werde als nächstes versuchen das Projekt direkt in Frigate mit rein zu packen, da Frigate ja sowieso bereits im Docker läuft.

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

            @tschaeens ,
            in der config.yml von Frigate muss nichts geändert werden ?

            T 1 Reply Last reply Reply Quote 0
            • T
              Tschaeens @Wal last edited by

              @wal
              an der Frigate.yaml muss nichts geändert werden. Also bei mir läufts komplett stabil. Double-Take kommt auch im Adapter an.

              Wal 2 Replies Last reply Reply Quote 1
              • Wal
                Wal Developer @Tschaeens last edited by

                @tschaeens ,
                habs getestet Double Take läuft und kommt im Adapter an, Deepstack funktioniert bei mir noch nicht und wird in Double Take rot angezeigt. Habe den Port nur auf 4000 geändert, da der 5000 ja von frigate genutzt wird.

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

                  @tschaeens ,
                  es läuft nachdem ich einen eigenen LXC in Proxmox für deepstack erstellt habe.
                  Wie werden die Gesichter der Personen angelernt ?

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Hansi1234 @Wal last edited by Hansi1234

                    @wal leg beim Reiter "train" einen Ordner mit zB deinem Namen an. Lade dort Bilder von dir hoch. Wenn er Bilder mit dir erkennt, wird der Ordnernamen dann angezeigt (also dein Name)

                    EDIT: trainieren musst du die Gesichter noch. Bin nur noch unterwegs, sonst wäre ich ausführlicher

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

                      @hansi1234 ,
                      funktioniert danke.

                      edit: Ist ja der Wahnsinn, das Teil erkennt mich sogar in der Haustür als Spiegelung.

                      T 1 Reply Last reply Reply Quote 1
                      • T
                        Tschaeens @Wal last edited by

                        @wal
                        Was bei mir komisch ist, dass bei mir immer ganz viele Bilder in Double Take ankommen. Und die Box auch sehr klein ist. Ist das bei dir auch so?

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

                          @tschaeens ,
                          ja ist bei mir auch so.
                          Habe auch eine zweite Person hinzugefügt, da wird die Person jetzt als verwechselt.
                          Da muss ich mich in naher Zukunft mal mit den Einstellungen auseinander setzen.

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Tschaeens @Wal last edited by

                            @wal
                            Ich glaube da fehlen noch einige Einstellungen. Sowohl in frigate als auch in Double-Take.

                            1 Reply Last reply Reply Quote 0
                            • wendy2702
                              wendy2702 last edited by

                              Hi,

                              ich habe mir zum testen gerade mal Frigate installiert. Eine Kamera ist eingebunden und Motion Erkennung soll mit Coral USB auch mal umgesetzt werden.

                              Aktuell muss ich aber, um MotionEye abzulösen, erstmal die Bilder der Kamera in VIS bekommen.

                              Wie macht ihr das? Konnte dazu zumindest hier nichts lesen. Sollte es dafür einen extra Thread geben kann mir den vielleicht jemand nennen.

                              Noch eine Frage: Hat jemand einen Unterschied feststellen können ob der LXC mit Debian oder Ubuntu läuft bezüglich der CPU last?

                              Danke und Gruß

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

                                @wendy2702 ,
                                das kommt darauf an was du sehen möchtest.
                                Livevideo über die Frigate http api.
                                Video von der Motion Erkennung über den Frigate Adapter , die URL findest du unter frigate.0.kameraname.history.

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

                                  @wal sagte in Proxmox LXC mit Frigate:

                                  Livevideo über die Frigate http api.

                                  Sehen in VIS würde ich gerne das Live Video, muss allerdings nicht in der FullHD Auflösung sein die von den Kameras kommt. So hat sich hier die Regierung dran gewöhnt 😉

                                  Und wie ich das in Motioneye hatte gerne eine 24/7 Aufnahme. Aber eines nach dem anderen.

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

                                    @wendy2702 ,
                                    schau hier gleich das Erste.

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      Tschaeens @Wal last edited by

                                      @wal
                                      also ich scheitere dabei die snapshots vom mainstream zu bekommen. Ich glaube es liegt daran, dass die snaphsots immer vom substream bei detect gezogen werden. Da ist natürlich die Auflösung echt schlecht.

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

                                        @tschaeens sagte in Proxmox LXC mit Frigate:

                                        @wal
                                        also ich scheitere dabei die snapshots vom mainstream zu bekommen. Ich glaube es liegt daran, dass die snaphsots immer vom substream bei detect gezogen werden. Da ist natürlich die Auflösung echt schlecht.

                                        Ich hole mir den Snapshot beim Event z.B. beim Klingeln mit

                                        http://IP:5000/api/kameraname/latest.jpg?h=600
                                        
                                        T 1 Reply Last reply Reply Quote 0
                                        • wendy2702
                                          wendy2702 last edited by wendy2702

                                          Hat jemand hierzu eine Idee?

                                          024-02-22 21:34:22.996215468  21:34:22.995 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:34:28.128591964  21:34:28.128 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:34:33.266825495  21:34:33.263 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:34:38.403415260  21:34:38.403 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:34:43.549782530  21:34:43.549 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:34:48.710437770  21:34:48.710 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:34:53.880812520  21:34:53.880 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:34:59.012898314  21:34:59.012 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:04.181088060  21:35:04.180 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:09.305230202  21:35:09.304 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:14.443942673  21:35:14.443 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:19.579590261  21:35:19.579 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:24.701570760  21:35:24.701 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:29.849554962  21:35:29.849 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:34.974206936  21:35:34.974 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:40.095893235  21:35:40.095 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:45.233696176  21:35:45.233 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:50.359493301  21:35:50.359 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:35:55.480949590  21:35:55.480 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:00.600848354  21:36:00.600 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:05.741107660  21:36:05.740 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:10.869590962  21:36:10.869 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:16.010774576  21:36:16.010 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:21.155121249  21:36:21.154 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:26.276949743  21:36:26.276 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:31.399149202  21:36:31.398 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:36.524041115  21:36:36.523 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:41.645407808  21:36:41.645 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:46.771644090  21:36:46.771 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:51.893731948  21:36:51.893 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:36:57.019464153  21:36:57.019 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:02.142798411  21:37:02.142 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:07.265074885  21:37:07.264 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:12.386435733  21:37:12.386 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:17.506948816  21:37:17.506 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:22.631797565  21:37:22.631 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:27.759345628  21:37:27.758 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:32.883238795  21:37:32.883 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:38.029280835  21:37:38.028 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:43.156885179  21:37:43.156 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:48.278444831  21:37:48.278 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:53.408149094  21:37:53.406 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:37:58.540172701  21:37:58.540 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:38:03.668727154  21:38:03.668 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:38:08.817409515  21:38:08.817 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:38:13.952958455  21:38:13.952 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          2024-02-22 21:38:19.104310749  21:38:19.103 WRN [rtsp] error="streams: codecs not matched: H264 => ANY" stream=GarageGross
                                          

                                          Habe erstmal nur eine Kamera eingebunden und die liefert H264 laut Einstellungen.

                                          Meine Konfig ist noch recht überschaubar:

                                          mqtt:
                                            enabled: False
                                           
                                          cameras:
                                            GarageGross:
                                              ffmpeg:
                                                inputs:
                                                  - path: rtsp://motionEye:12345678@192.168.178.210:554/Streaming/Channels/1 
                                                    roles:
                                                      - detect
                                           
                                              detect:
                                                enabled: False
                                                width: 640
                                                height: 480
                                          
                                          
                                          go2rtc:
                                            streams:
                                              GarageGross:
                                                - rtsp://motionEye:12345678@192.168.178.210:554/Streaming/Channels/2
                                                - "ffmpeg:GarageGross#audio=opus"
                                          
                                          
                                            webrtc:
                                              candidates:
                                                - 192.168.178.195:8555
                                                - stun:8555
                                          

                                          Die Kamera liefert kein Audio, kann das der Grund sein?

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

                                            @wendy2702 sagte in Proxmox LXC mit Frigate:

                                            • "ffmpeg:GarageGross#audio=opus"

                                            lass doch einfach mal die Zeile weg

                                            und bei inputs unter - path: rtsp.... die Zeile einfügen

                                            input_args: preset-rtsp-restream
                                            
                                            wendy2702 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            790
                                            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