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.
    • E
      ExMatador @MartinP last edited by

      @martinp

      go2rtc:
        streams:
          #----- Output ist JPEG, Video.Transkodierung in H.264, kein Audio vorhanden
          CAM-3DPrinter:
            - ffmpeg:http://192.168.178.69:81/stream#video=h264 
      
      cameras:
        CAM-3DPrinter:
          ffmpeg:
            inputs:
              - path: rtsp://192.168.178.43:8554/CAM-3DPrinter
                input_args: preset-rtsp-generic
                roles:
                  - detect
          detect:
            enabled: false
      

      Zur Anzeige in meiner vis verwende ich ein basic-html. Das funktioniert unter Windows 11, Android und iOS.

      <div style>
      <iframe style="width: 640px; height: 480px;" src="http://192.168.178.43:5000/live/webrtc/webrtc.html?src=CAM-3DPrinter" name="Video" scrolling="no" ></iframe>
      </div>
      

      Gruß ExMatador

      MartinP 1 Reply Last reply Reply Quote 0
      • MartinP
        MartinP @ExMatador last edited by

        @exmatador Da muss ich dann schauen.... Habe Tasmota auf die Kamera gebrannt

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

          Mal ne Frage weil ich es irgendwie nicht gesehen habe.

          Welche DP ändern sich bei Personen oder Auto Erkennung also bei Bewegung.

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

            Hi,

            was habe ich denn vermutlich falsch konfiguriert wenn ich das im Log bekomme:

            2024-11-05 12:23:00.705  - info: frigate.0 (89599) Notification sending active but no image available for type person state Event After
            2024-11-05 12:23:00.709  - info: frigate.0 (89599) Clip sending active but no clip available 
            2024-11-05 12:23:42.424  - info: frigate.0 (89599) Notification sending active but no image available for type person state Event After
            2024-11-05 12:23:42.424  - info: frigate.0 (89599) Clip sending active but no clip available 
            

            Laut iob um z.B. 12:34 ein Bild gespeichert wird

            e2ec4443-d1e1-400e-a110-29315bcfbdd2-grafik.png

            Und ebenfalls das im Log kommt:

            2024-11-05 12:34:18.724  - info: frigate.0 (236155) Notification sending active but no image available for type person state Event After
            
            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @wendy2702 last edited by

              @wendy2702 kommt drauf an was du konfiguriert hast

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

                @wendy2702 wurde halt etwas erkannt, aber nicht als Person deklariert
                (ne Person im Pelzmantel z. B wird manchmal als 😸 erkannt) 😉

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

                  @crunchip hm,

                  Aber laut dem Bild was er in Iob gespeichert hat wurde doch eine Person erkannt.

                  Ich bin jetzt auf Dienstreise und kann meine Adapter und frigate Einstellungen frühestens heute Abend posten.

                  Was muss ich denn in beidem einstellen damit ich benachrichtigt werde?

                  crunchip 2 Replies Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @wendy2702 last edited by

                    @wendy2702 sagte in Frigate Adapter für ioBroker:

                    wurde doch eine Person erkannt.

                    Ja, aber nicht im Bereich

                    @wendy2702 sagte in Frigate Adapter für ioBroker:

                    state Event After

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

                      @wendy2702 sagte in Frigate Adapter für ioBroker:

                      Was muss ich denn in beidem einstellen damit ich benachrichtigt werde

                      Da ist Feintuning angesagt, Beschreibung Frigate Objekte mal ansehen

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kuumaur @crunchip last edited by

                        Moin,
                        ich bin von meinem eigenen Script für Frigate auf diesen Adapter umgestiegen.
                        Der Adapter funktioniert gut für meine Zwecke, vielen Dank für die Arbeit.
                        In der Vergangenheit hatte ich die Benachrichtigung via E-Mail "schaltbar" gestaltet.
                        Wenn ich also zu Hause bin, benötige ich keine E-Mail-Benachrichtigungen, wenn ich das Haus verlasse aber schon.
                        Wie könnte ich das mit diesem Adapter bewerkstelligen?
                        Danke für einen Hinweis.
                        -Kuumaur

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          denjo @kuumaur last edited by

                          Screenshot_20241220_022521_YouTube.jpg

                          Ich bin gerade dabei mir das auch alles einzurichten. Meine Frage ist welche mqtt Daten kommen dort jetzt rein? Die von mein mqtt adapter oder die mqtt Daten vom frigate adapter, weil der frigate adapter hat ja kein User und passwort?

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

                            @denjo siehe ersten Beitrag

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

                              @crunchip das hat eigentlich nix mit dem ersten post zu tun, da wird ja die Einrichtung vom adapter erklärt.

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

                                @denjo sagte in Frigate Adapter für ioBroker:

                                @crunchip das hat eigentlich nix mit dem ersten post zu tun, da wird ja die Einrichtung vom adapter erklärt.

                                Hat es doch

                                IMG_7233.jpeg

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

                                  Hallo nochmal so spät im Jahr,

                                  ich weiß, der Adapter kann per pushover od. telegram snapshots versenden.

                                  Frage, kann ich per Pushover das Bild aus dem DP: frigate.0.cam3-Test.person_snapshot
                                  direkt/manuell per Blockly versenden?

                                  Grüße & Guten Rutsch ins Neue Jahr!

                                  E 1 Reply Last reply Reply Quote 0
                                  • J
                                    juergi last edited by

                                    Hallo zusammen und erstmal ein frohes Neues,

                                    ich hoffe mir kann jemand mit meinem Problem helfen:

                                    Ich habe Frigate installiert (Debian mit Docker), läuft auch soweit zufriedenstellend.
                                    Natürlich will ich das auch mit ioBroker verbinden, daher habe ich den Frigate-Adapter installiert.

                                    Der Adapter läuft auch und verbindet sich mit Frigate, Datenpunkte wurden auch angelegt - ABER:

                                    Beim Start kommen ein paar Warnungen

                                    frigate.0
                                    	2025-01-02 19:49:12.696	warn	AxiosError: Request failed with status code 400
                                    frigate.0
                                    	2025-01-02 19:49:12.695	warn	fetchEventHistory error from http://192.168.10.20:8971/api/events
                                    

                                    Die sind ja vielleicht noch nicht tragisch, allerdings kommen dann in schöner Regelmäßigkeit (minütlich) diese Fehler

                                    frigate.0
                                    	2025-01-02 19:49:37.734	error	"<html>\r\n<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>\r\n<body>\r\n<center><h1>400 Bad Request</h1></center>\r\n<center>The plain HTTP request was sent to HTTPS port</center>\r\n<hr><center>nginx/1.25.3</center>\r\n</body>\r\n</html>\r\n"
                                    frigate.0
                                    	2025-01-02 19:49:37.734	error	AxiosError: Request failed with status code 400
                                    frigate.0
                                    	2025-01-02 19:49:37.734	warn	createCameraDevices error from http://192.168.10.20:8971/api/config
                                    frigate.0
                                    	2025-01-02 19:49:37.728	info	Create Device information and fetch Event History
                                    

                                    Da scheint doch was mit dem Request nicht richtig zu laufen, ich sehe aber nicht was ggf. falsch läuft bzw. was ich dagegen tun könnte.
                                    Kann jemand helfen?

                                    T 1 Reply Last reply Reply Quote 0
                                    • D
                                      denjo last edited by

                                      @juergi habe auch ein ähnliches Problem

                                      
                                      
                                      frigate.0
                                      2025-01-02 15:43:07.978	error	Error: ENOENT: no such file or directory, unlink '/tmp/7340aa6d-7072-445f-a302-0918ff174a5d.mp4'
                                      
                                      frigate.0
                                      2025-01-02 15:43:07.961	warn	AxiosError: Request failed with status code 500
                                      
                                      frigate.0
                                      2025-01-02 15:43:07.960	warn	Cannot reach server. You can ignore this after restarting the frigate server.
                                      
                                      frigate.0
                                      2025-01-02 15:43:07.960	warn	prepareEventNotification error from http://192.168.178.125:5000/api/events/1735828977.316611-bdkh4u/clip.mp4
                                      
                                      frigate.0
                                      2025-01-02 15:43:01.984	error	Error: ENOENT: no such file or directory, unlink '/tmp/97d5dbc4-aaa0-421a-b851-4b0562f093af.mp4'
                                      
                                      frigate.0
                                      2025-01-02 15:43:01.923	warn	AxiosError: Request failed with status code 500
                                      
                                      frigate.0
                                      2025-01-02 15:43:01.923	warn	Cannot reach server. You can ignore this after restarting the frigate server.
                                      
                                      frigate.0
                                      2025-01-02 15:43:01.907	warn	prepareEventNotification error from http://192.168.178.125:5000/api/events/1735828975.047765-w2kc93/clip.mp4
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tombox @juergi last edited by

                                        @juergi bitte api port 5000 anstatt ui port 8971 verwenden

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          ExMatador @tritor last edited by

                                          @tritor
                                          Das sieht bei mir in JavaScript so aus

                                          var fs = require('fs');
                                          // strip off the data: url prefix to get just the base64-encoded bytes
                                          var data = img.replace(/^data:image\/\w+;base64,/, "");
                                          var buf = Buffer.from(data, 'base64');
                                          var file = 'c:/tmp/' + cam + '.jpg';
                                          fs.writeFile(file, buf, function(err) {
                                              if (err) { console.error(err); } 
                                              else {
                                                   sendTo("pushover", {
                                                   message: cam + ': Person erkannt', // mandatory - your text message
                                                   title: 'ioBroker', // optional - your message's title, otherwise your app's name is used
                                                   sound: 'Magic', // optional - the name of one of the sounds supported by device clients to override the user's default sound choice
                                                   // pushover, bike, bugle, cashregister, classical, cosmic, falling,
                                                   // gamelan, incoming, intermission, magic, mechanical, pianobar, siren,
                                                   // spacealarm, tugboat, alien, climb, persistent, echo, updown, none
                                                   priority: 0, // optional (-2, -1, 0, 1, 2)
                                                   // -2 to always send as a quiet notification,
                                                   // 1 to display as high-priority and bypass the user's quiet hours, or
                                                   // 2 to also require confirmation from the user
                                                   file: file, // optional - attachment
                                                   // token: 'API/KEY token', // optional - add other than configurated token to the call
                                                   // url: , // optional - a supplementary URL to show with your message
                                                   // url_title: , // optional - a title for your supplementary URL, otherwise just the URL is shown
                                                   // device: , // optional - your user's device name to send the message directly to that device, rather than all of the user's devices
                                                   // timestamp // optional - a Unix timestamp of your message's date and time to display to the user, rather than the time your message is received by our API
                                                   }     
                                               }
                                             });
                                          
                                          

                                          img ist der Inhalt vom snapshot.
                                          Gruß ExMatador

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

                                            Ich lasse mir per Frigate schon länger die Snapshots bei Personen/PKW Erkennung senden.

                                            Seit 2 Tagen auch die Clips.

                                            Jetzt kommen die Snapshots an wie erwartet mit dem richtigen "format, will heissen rechteckig. Die Clips allerdings werden in die höhe gezogen und in der breite gestaucht so dass es quadratisch ist.

                                            Oben der Clip, unten der Snapshot

                                            a9bde1bf-b098-45ba-b16d-173c2f7801e4-grafik.png

                                            Kommt das aus dem Adapter oder von Frigate selber?

                                            Wenn ich mir die passende Aufzeichnung am PC anschaue ist die nicht quadratisch.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            818
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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