Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Frigate Adapter für ioBroker

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Frigate Adapter für ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • Wal
      Wal Developer @SidM last edited by

      @sidm ,
      da brauche ich mal die stats JSON aus dem Objekt mqtt.0.frigate.stats von dir.
      Am Besten hier als Code Tag einstellen, ich habe kein Coral USB und weis nicht wie die in stats abgelegt ist.

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

        @wal

        hier der auszug:

        {"Hof": {"camera_fps": 5.3, "process_fps": 5.3, "skipped_fps": 0.0, "detection_fps": 0.0, "detection_enabled": 1, "pid": 587, "capture_pid": 591, "ffmpeg_pid": 19034}, "Werkstatt": {"camera_fps": 5.3, "process_fps": 5.3, "skipped_fps": 0.0, "detection_fps": 0.0, "detection_enabled": 1, "pid": 588, "capture_pid": 594, "ffmpeg_pid": 19001}, "Flur": {"camera_fps": 5.0, "process_fps": 5.0, "skipped_fps": 0.0, "detection_fps": 0.0, "detection_enabled": 1, "pid": 590, "capture_pid": 597, "ffmpeg_pid": 15700}, "detectors": {"coral": {"inference_speed": 8.3, "detection_start": 0.0, "pid": 578}}, "detection_fps": 0.0, "gpu_usages": {"intel-vaapi": {"gpu": "3.55 %", "mem": "- %"}}, "cpu_usages": {"top": {"cpu": "users,", "mem": "load"}, "Tasks:": {"cpu": "stopped,", "mem": "0"}, "%Cpu(s):": {"cpu": "id,", "mem": "1.4"}, "MiB": {"cpu": "41291.2", "mem": "avail"}, "PID": {"cpu": "%CPU", "mem": "%MEM"}, "89": {"cpu": "10.0", "mem": "0.1"}, "580": {"cpu": "2.3", "mem": "0.3"}, "597": {"cpu": "5.3", "mem": "0.3"}, "15700": {"cpu": "5.0", "mem": "0.2"}, "19001": {"cpu": "5.6", "mem": "0.2"}, "1": {"cpu": "0.0", "mem": "0.0"}, "15": {"cpu": "0.0", "mem": "0.0"}, "16": {"cpu": "0.0", "mem": "0.0"}, "24": {"cpu": "0.0", "mem": "0.0"}, "25": {"cpu": "0.0", "mem": "0.0"}, "26": {"cpu": "0.0", "mem": "0.0"}, "27": {"cpu": "0.0", "mem": "0.0"}, "28": {"cpu": "0.0", "mem": "0.0"}, "29": {"cpu": "0.0", "mem": "0.0"}, "30": {"cpu": "0.0", "mem": "0.0"}, "31": {"cpu": "0.0", "mem": "0.0"}, "32": {"cpu": "0.0", "mem": "0.0"}, "41": {"cpu": "0.0", "mem": "0.0"}, "42": {"cpu": "0.0", "mem": "0.0"}, "80": {"cpu": "0.0", "mem": "0.0"}, "81": {"cpu": "0.0", "mem": "0.0"}, "82": {"cpu": "0.0", "mem": "0.0"}, "97": {"cpu": "0.0", "mem": "0.0"}, "98": {"cpu": "1.0", "mem": "0.7"}, "113": {"cpu": "0.0", "mem": "0.0"}, "134": {"cpu": "0.0", "mem": "0.0"}, "135": {"cpu": "0.0", "mem": "0.0"}, "136": {"cpu": "0.0", "mem": "0.0"}, "140": {"cpu": "0.0", "mem": "0.0"}, "157": {"cpu": "0.0", "mem": "0.0"}, "182": {"cpu": "0.0", "mem": "0.0"}, "211": {"cpu": "0.0", "mem": "0.0"}, "241": {"cpu": "0.0", "mem": "0.0"}, "272": {"cpu": "0.0", "mem": "0.0"}, "302": {"cpu": "0.0", "mem": "0.0"}, "323": {"cpu": "0.0", "mem": "0.0"}, "337": {"cpu": "0.0", "mem": "0.0"}, "571": {"cpu": "0.0", "mem": "0.1"}, "577": {"cpu": "0.0", "mem": "0.0"}, "578": {"cpu": "0.0", "mem": "0.3"}, "586": {"cpu": "0.0", "mem": "0.0"}, "587": {"cpu": "1.0", "mem": "0.3"}, "588": {"cpu": "0.7", "mem": "0.3"}, "589": {"cpu": "0.0", "mem": "0.0"}, "590": {"cpu": "0.7", "mem": "0.3"}, "591": {"cpu": "6.0", "mem": "0.3"}, "594": {"cpu": "7.6", "mem": "0.3"}, "602": {"cpu": "0.0", "mem": "0.0"}, "611": {"cpu": "0.0", "mem": "0.2"}, "15653": {"cpu": "0.7", "mem": "0.0"}, "16079": {"cpu": "1.0", "mem": "0.0"}, "16080": {"cpu": "1.0", "mem": "0.0"}, "16243": {"cpu": "0.7", "mem": "0.1"}, "17685": {"cpu": "0.7", "mem": "0.0"}, "19034": {"cpu": "5.3", "mem": "0.2"}, "19295": {"cpu": "0.3", "mem": "0.0"}, "19840": {"cpu": "0.0", "mem": "0.0"}, "19856": {"cpu": "0.0", "mem": "0.0"}}, "service": {"uptime": 21060, "version": "0.12.0-da3e197", "latest_version": "0.12.0", "storage": {"/media/frigate/recordings": {"total": 2000397.9, "used": 1099675.5, "free": 899521.9, "mount_type": "btrfs"}, "/media/frigate/clips": {"total": 2000397.9, "used": 1099675.5, "free": 899521.9, "mount_type": "btrfs"}, "/tmp/cache": {"total": 100.0, "used": 31.4, "free": 68.6, "mount_type": "tmpfs"}, "/dev/shm": {"total": 268.4, "used": 24.2, "free": 244.2, "mount_type": "tmpfs"}}, "temperatures": {}, "last_updated": 1683226289}}
        

        Wenn ich den Code richtig interpretiere, gibt es das nicht bei der USB Coralle.
        Und ist es normal das der Datenpunkt frigate.0.available nichts anzeigt? Ich hätte hier ein true/false erwartet.

        Erneut vielen Dank!

        Wal 3 Replies Last reply Reply Quote 0
        • Wal
          Wal Developer @SidM last edited by

          @sidm ,
          ja die Coral USB zeigt keine Temperatur an. Der Speicherinfo wird mit deiner Stats korrekt bei mir erzeugt.

          @sidm sagte in Test Frigate Adapter 0.1.8:

          Und ist es normal das der Datenpunkt frigate.0.available nichts anzeigt? Ich hätte hier ein true/false erwartet.

          Das habe ich im Adapter noch nicht implementiert, der wird nur automatisch erzeugt. Werde mich drum kümmern. 😉

          Für die Speicherinfo kannst du den Adapter mal auf debug stellen da muss das dann kommen:

          
          frigate.0
          2023-05-05 02:33:44.002	debug	{"total":67.1,"used":1.7,"free":65.4,"mount_type":"tmpfs"}
          
          frigate.0
          2023-05-05 02:33:43.803	debug	{"total":1000,"used":1.7,"free":998.3,"mount_type":"tmpfs"}
          
          frigate.0
          2023-05-05 02:33:43.602	debug	{"total":491105.5,"used":46096.8,"free":419986.6,"mount_type":"ext4"}
          
          frigate.0
          2023-05-05 02:33:43.403	debug	{"total":491105.5,"used":46096.8,"free":419986.6,"mount_type":"ext4"}
          
          Wal 1 Reply Last reply Reply Quote 0
          • Wal
            Wal Developer @Wal last edited by Wal

            @wal sagte in Test Frigate Adapter 0.1.8:

            @sidm ,
            ja die Coral USB zeigt keine Temperatur an. Der Speicherinfo wird mit deiner Stats korrekt bei mir erzeugt.

            @sidm sagte in Test Frigate Adapter 0.1.8:

            Und ist es normal das der Datenpunkt frigate.0.available nichts anzeigt? Ich hätte hier ein true/false erwartet.

            Das habe ich im Adapter noch nicht implementiert, der wird nur automatisch erzeugt. Werde mich drum kümmern. 😉

            Für die Speicherinfo kannst du den Adapter mal auf debug stellen da muss das dann kommen:

            
            frigate.0
            2023-05-05 02:33:44.002	debug	{"total":67.1,"used":1.7,"free":65.4,"mount_type":"tmpfs"}
            
            frigate.0
            2023-05-05 02:33:43.803	debug	{"total":1000,"used":1.7,"free":998.3,"mount_type":"tmpfs"}
            
            frigate.0
            2023-05-05 02:33:43.602	debug	{"total":491105.5,"used":46096.8,"free":419986.6,"mount_type":"ext4"}
            
            frigate.0
            2023-05-05 02:33:43.403	debug	{"total":491105.5,"used":46096.8,"free":419986.6,"mount_type":"ext4"}
            

            Edit: Eben nochmal getestet und die Werte wurden nicht erzeugt. Ich melde mich. 😉
            EditEdit: Fehler gefunden! Es liegt auch an dem Coral USB, ohne Temperatur wird ein Fehler erzeugt. Das werde ich abfangen.

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

              @sidm ,
              so sollte jetzt auf dem development Zweig funktionieren.

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

                @sidm sagte in Test Frigate Adapter 0.1.8:

                Und ist es normal das der Datenpunkt frigate.0.available nichts anzeigt? Ich hätte hier ein true/false erwartet.

                So das Problem ist, das der Datenpunkt nur gesetzt wird beim Start und Beenden von Frigate. Wird der Adapter neu gestartet, bekommt er dementsprechend noch keine Nachricht.
                Da Frigate auch Online ist wenn Statsmeldungen eintrudeln, setze ich hiermit "available" auch auf "online".
                Development Pfad.

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

                  v0.1.9
                  neue Objekte uptime, Version ...

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

                    v0.2.1
                    Optimierungen im Code

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      SidM @Wal last edited by

                      @wal

                      Super Walter! jetzt werden die stats angezeigt, available und auch die neuen Werte werden einwandfrei befüllt.

                      Klasse Arbeit und besten Dank! Einen schönen Sonntag noch.🙋‍♂️

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

                        v0.2.2
                        Übersetzungen in den Settings in mehreren Sprachen

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

                          v0.2.5
                          https Url für frigateaufruf im Adapter gefixt

                          1 Reply Last reply Reply Quote 0
                          • U
                            umichel last edited by umichel

                            Hmm ... der Adapter dürfte viele interessieren.
                            Nur irgendwie bin ich zu dumm die Installation zu verstehen.
                            Frigate als Docker installieren?
                            Und der Adpater komuniziert dann über MQTT mit Frigate?
                            Was muss ich denn jetzt genau dafür wo einstellen bzw. installieren?

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

                              @umichel ,
                              frigate ist ein Docker-Container, wie das installiert wird steht in der Frigate Doku.

                              Nach der Installation wird MQTT in der Frigate Config aktiviert und mit dem ioBroker MQTT-Adapter der als Server läuft verbunden.

                              @umichel sagte in Test Frigate Adapter 0.2.5:

                              Und der Adpater komuniziert dann über MQTT mit Frigate?

                              Ja.

                              Für Proxmox habe ich eine Anleitung erstellt.

                              U crunchip 2 Replies Last reply Reply Quote 0
                              • U
                                umichel @Wal last edited by

                                OK, danke.
                                Ich teste das mal mit einem Container unter einer OMV VM.
                                Der Nachteil dürfte die fehlende Hardwarebeschleunigung sein, wobei ich auch nicht weiss ob man die wirklich benötigt für Frigate.

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

                                  @umichel ,
                                  ja die wird benötigt, da sonst die CPU-Last enorm hoch ist.
                                  Bei 1 bis 2 Kameras geht es aber noch.

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

                                    @wal sagte in Test Frigate Adapter 0.2.5:

                                    Für Proxmox habe ich eine Anleitung erstellt.

                                    werd ich mir die Tage auch mal ansehen, mit motioneye hab ich zu viele Fehlauslösungen, grad wenn sich die Lichtverhältnisse(Sonne) sich ändern

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

                                      @crunchip ,
                                      mit Frigate hatte ich bis jetzt lass mich kurz überlegen 0 Fehlauslösungen. 😉

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

                                        @wal klingt gut, allerdings hab ich bisserl Bammel ob ich das mit allen Kameras zum laufen bekomm, bezogen auf Installation und Einstellungen

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

                                          @crunchip ,
                                          ja die Konfiguration und Installation ist nicht ohne.
                                          Ohne Coral TPU kannst du den OpenVINO Detector nutzen, der ist mittlerweile auch sehr gut.

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

                                            @wal sagte in Test Frigate Adapter 0.2.5:

                                            Ohne Coral TPU kannst du den OpenVINO Detector nutzen

                                            ok, guck ich mal, da ich keine Coral TPU habe

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            663
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            42
                                            358
                                            52423
                                            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