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.
    • 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
                    • T
                      tombox @wendy2702 last edited by

                      @wendy2702 Ist das Telegram? Was ist wenn du sie auf das Handy runterlädst

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

                        @tombox hi,

                        Ja ist Telegram.

                        Habe mal eins gespeichert, da sieht es normal aus. Was ich merkwürdig finde: hatte vorher ein einfaches Script laufen das mit den Clip nach Bewegungsmelder Aktivität erstellt und sendet. Das wird in Telegram immer richtig dargestellt. Nur das aus Frigate nicht.

                        Ne Idee ob man das irgendwie beeinflussen kann?

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

                          @wendy2702 wie hast du es in dem Skript gesendet

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

                            @tombox Ist ein Blockly:

                            4852e5a0-3c4a-439d-9812-8dbf9f5c0410-grafik.png

                            Mit dem Befehl zum Umwandeln in ein File:

                            ffmpeg -rtsp_transport tcp -y -i rtsp://mxe:ixr18@192.168.178.209:554/h264Preview_01_sub -t 10 -f mp4 -vcodec libx264 -pix_fmt yuvj420p -an -vf scale=w=672:h=384:force_original_aspect_ratio=decrease -r 20 /opt/iobroker/out2.mp4
                            
                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tombox @wendy2702 last edited by

                              @wendy2702 Die Datei erzeugt ja frigate in den Optionen kannst du dort ffmpeg Optionen mitgeben aber bei mir sieht es soweit gut aus

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

                                @tombox Werde mal schauen was ich in Frigate anpassen kann. Wie geschrieben hat es mich nur gewundert das die Aufzeichnung nöch das richtige format hat.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  BenjaminCz last edited by

                                  Hallo Zusammen,
                                  ich habe auch den Adapter Ausporbiert verbindung ist anscheinend da Datenpunkte sind geholt allerdings bekomme ich immer diese fehler Meldungen. Was mache ich falsch ?

                                  frigate.0
                                  	2025-03-17 20:58:46.518	error	Error: connect ECONNREFUSED 192.168.178.12:50000
                                  frigate.0
                                  	2025-03-17 20:58:46.518	warn	createCameraDevices error from http://192.168.178.12:50000/api/config
                                  frigate.0
                                  	2025-03-17 20:58:46.516	info	Create Device information and fetch Event History
                                  frigate.0
                                  	2025-03-17 20:57:44.216	error	Error: connect ECONNREFUSED 192.168.178.12:50000
                                  frigate.0
                                  	2025-03-17 20:57:44.215	warn	createCameraDevices error from http://192.168.178.12:50000/api/config
                                  frigate.0
                                  	2025-03-17 20:57:44.214	info	Create Device information and fetch Event History
                                  frigate.0
                                  	2025-03-17 20:56:41.920	error	Error: connect ECONNREFUSED 192.168.178.12:50000
                                  frigate.0
                                  	2025-03-17 20:56:41.920	warn	createCameraDevices error from http://192.168.178.12:50000/api/config
                                  frigate.0
                                  	2025-03-17 20:56:41.917	info	Create Device information and fetch Event History
                                  
                                  E 1 Reply Last reply Reply Quote 0
                                  • E
                                    ewc @BenjaminCz last edited by

                                    @benjamincz
                                    Ändere mal den Port auf 5000 ☝

                                    B 2 Replies Last reply Reply Quote 0
                                    • B
                                      BenjaminCz @ewc last edited by

                                      @ewc Danke. Habe ich Probiert dann kommt gleiche fehlermeldung mit 5000

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        BenjaminCz @ewc last edited by BenjaminCz

                                        @ewc Mein IOBroker läuft in HTTPS liegt es evtl. daran ?

                                        Das ist meine Config

                                        9afab4b2-0a73-475c-87e7-0cdd5f7f4ea0-grafik.png

                                        Nachtrag:

                                        und meine Frigate Config sieht so aus:

                                        c83785e5-f1b9-4928-af0c-f1dc2cfb3716-grafik.png

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

                                          @benjamincz sagte in Frigate Adapter für ioBroker:

                                          läuft in HTTPS liegt es evtl. daran ?

                                          Sollte nicht
                                          https://forum.iobroker.net/post/1018878

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

                                            @crunchip ok danke. Ich bin dann Ratlos. Habe alles Probiert localhost ip adresse von iobroker.... immer der gleiche fehler

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            952
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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