Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. PrinzEisenherz1

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 74
    • Posts 675
    • Best 11
    • Groups 2

    PrinzEisenherz1

    @PrinzEisenherz1

    Starter

    16
    Reputation
    192
    Profile views
    675
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    PrinzEisenherz1 Follow
    Pro Starter

    Best posts made by PrinzEisenherz1

    • RE: js-controller 2.0 ab sofort im Latest Repo

      Jetzt bitte nicht falsch verstehen, aber nen kleinen Punkt muss ich jetzt mal los werden.
      Ich bin jetzt auch nicht unbedingt der absolute Profi in dem ganzem hier, aber was ich schon ziemlich verwunderlich finde ( jetzt ist es sehr harmlos geschrieben als wie ich es eigentlich schreiben würde) das hier viele sind die sich das latest-Repo reindrücken aber eigentlich keinen blassen schimmer haben.
      Dann aber das große "Hilfe, Hilfe" oder "So n Blödsinn, hab mir das System zerschossen" !
      Versteh ich echt nicht. Standardeinstellung ist das default und nicht das latest.
      Lasst es auf default. Ihr müsst nicht das aktuellste haben wenn mit den ggf Konsequenzen nicht umgehen könnt.
      Das hier bei js-controller ist jetzt nur n Beispiel. Das zieht sich durch das ganze Forum.

      So, jetzt könnt ihr mich verbannen 😕

      Gruß
      Johnny

      P. S. Jetzt noch ne lobeshymne an die die Ihre Zeit in die Entwicklung von IoBroker stecken. Danke, ihr macht echt ne geile Arbeit. Ohne euch gäbe es das nicht.

      posted in ioBroker Allgemein
      P
      PrinzEisenherz1
    • RE: Astro-Tageszeit abfragen und in Datenpunkt eintragen

      @piet Versuchs mal mit folgender Änderung

      setState(idSonnenaufgang, sonnenaufgang.toLocaleTimeString('de-DE', { hour12: false }));
      setState(idSonnenuntergang, sonnenuntergang.toLocaleTimeString('de-DE', { hour12: false }));
      

      Gruß Johnny

      posted in Skripten / Logik
      P
      PrinzEisenherz1
    • RE: [Script] DWD/UWZ/NINA Warnungen als Push/Sprachnachrichten

      @crunchip @maddingamer Genau, vorallem bei Umwetter laufen da ne menge Meldungen auf die aber inhaltlich Identisch (ausser Uhrzeiten) sind.
      Nervig ist es hald wenn bei einem Unwetter Alexa mehr redet als meine Frau oder die Kiddis. Und die quasseln scxhon nicht wenig. 😀
      Und dafür immer das Script stoppen wäre auch nicht die Lösung.
      Ein Filter mit delay wäre da vielleicht geschickter.

      Gruß
      Johnny

      posted in JavaScript
      P
      PrinzEisenherz1
    • RE: [Diskussion] js-controller 1.5.8 im Latest Repository

      Hab auchh auf 1.5.8 geupated (Master und Slave) und hatte auch das Problem mit dem tr-064 Adapter.

      cd /opt/iobroker/
      iobroker stop tr-064
      cd /opt/iobroker/node_modules/iobroker.tr-064
      npm install soef
      

      hat geholfen.

      Bis jetzt sonst keine weiteren Auffälligkeiten am update

      Gruß
      Johnny

      P.S. War als root angemeldet deswegen ohne sudo

      posted in ioBroker Allgemein
      P
      PrinzEisenherz1
    • RE: Shelly flood

      Perfekt Stuebi!
      Du bist mein Held!
      Sogar mit Überwachung der Batteriespannung!
      Und wenn ich den Flood auslöse dann geht auch schön der Datenpunkt auf true.
      Perfekt.

      Tausend Dank

      posted in Hardware
      P
      PrinzEisenherz1
    • RE: [Major Update] SourceAnalytix v0.4.7-beta.0 released !

      Das mit dem Platzhalter würde mich auch interessieren.
      Kannst Du das vielleicht an nem Beispiel näher erläutern?
      Wäre super.
      Gruß
      Johnny

      posted in Tester
      P
      PrinzEisenherz1
    • RE: Beta Test js-controller 3.2.x auf GitHub

      @apollon77 und somit dauert es dann nicht mal ne Minute

      posted in Tester
      P
      PrinzEisenherz1
    • RE: [SourceAnalytix 0.4.8-Final] Released !

      @dutchman moment, bin gerade dabei

      posted in Tester
      P
      PrinzEisenherz1
    • RE: [SourceAnalytix 0.4.8-Final] Released !

      @dutchman ich mache später mal eine Auflistung der States die nicht aktualisiert werden.
      Muss bloß warten bis meine Frau weg ist und die Kinder versorgt sind 😁

      posted in Tester
      P
      PrinzEisenherz1
    • RE: Test Adapter Shelly v4.0.6 (latest)

      @da_woody Ich finde das sich bei der firmware-Version echt was getan hat!

      posted in Tester
      P
      PrinzEisenherz1

    Latest posts made by PrinzEisenherz1

    • RE: Test Adapter sun2000 v0.1.x - Huawei Wechselrichter

      Hi bolliy danke für Deine Antwort.
      Welche Anpassung ist denn in dem Fork?
      Ich habe gestern mal ein issue auf github angelegt, mit der Hoffnung das diese Option vielleicht doch noch einzug in Deinem Adapter hält! 🙂

      Wäre super!!
      Gruß Johnny

      posted in Tester
      P
      PrinzEisenherz1
    • RE: Test Adapter sun2000 v0.1.x - Huawei Wechselrichter

      Hi bolliy, zuerst einmal ein großes Lob für diesen mega Adapter.
      Jetzt hätte ich aber eine Frage bzw. ein Anliegen.
      Ich habe folgende Hardware-Konfiguration:

      10,53 kWp mit SUN2000 10ktl-m1
      10kW LUNA2000
      SDongleA-05
      DTSU666-H -> Modbus-ID 11

      zusätzlich läuft bei mir aber auch noch ein Balkonkraftwerk mit 840 Wp und Hoyemiles-800.
      Bisher habe ich mit einem shelly-1em die Werte des BK abgefragt. Ich wollte aber die Daten auch gerne auf Fusionsolar.
      Dazu habe ich mir noch einen DDSU666-H zugelegt. Dieser ist einphasig!
      Habe ihn gemäß Anleitung Vernetzung Fremdwechselrichter von Huawei ins System eingebunden.
      Vernetzung Wechselrichter.png
      Da habe ich dem DDSU die ModBusadresse 19 gegeben.
      Der DDSU ist über den Dongle eingebunden.
      Funktioniert auch alles super. Werte passen auf Fusionsolar. es wird nur nicht der DDSU angezeigt, sondern die Werte sind saldierend. Stört mich aber nicht.
      Jetzt würde ich aber gerne mit Deinem Adapter die Daten des DDSU seperat abfragen wollen. er ließt ja den Modbus aus.
      Bei Integration-Settings im Adapter ist aber die ModBus-Adresse für den SmartLogger fest verankert. Lässt sich nicht ändern bzw erweitern.
      Besteht vielleicht die Möglichkeit das man noch eine zweite SmartLogger Abfrage integriert?
      Also z.B. so?
      sun2000-Mod.png
      Da wo auch die Möglichkeit besteht die Modbus-ID manuell einzugeben?

      Wäre mega wenn sowas gehen würde!

      Gruß
      Johnny

      posted in Tester
      P
      PrinzEisenherz1
    • RE: [gelöst] Anzeige welche Objekte mit z.B. sql verknüpft sind

      @codierknecht Ups, verdammt! Total übersehen! Danke für Deine Hilfe!

      Gruß
      Johnny

      posted in ioBroker Allgemein
      P
      PrinzEisenherz1
    • [gelöst] Anzeige welche Objekte mit z.B. sql verknüpft sind

      Hi zusammen, mal eine Frage.
      Früher gab es die Möglichkeit unter Objekte einen Filter einzustellen das mir alle Objekte angezeigt werden die z.B. mit dem sql-Adapter verknüpft sind.
      Gibt es diese Funktion nicht mehr?
      Gibt es da vielleicht eine andere Möglichkeit?

      Gruß
      Johnny

      posted in ioBroker Allgemein
      P
      PrinzEisenherz1
    • RE: source Analystics -> wildcard für aktuelles Jahr?

      @crunchip
      Ich habe das noch gefunden
      https://forum.iobroker.net/topic/40692/jahreszahl-in-der-objekt-id-automatisch-ersetzen
      Will aber irgendwie bei mir nicht funktionieren. Ich verwende das Widget "basic-number".
      Ich habe das Script so, wie in dem Beitrag beschrieben, im VIS-Editor bei script eingefügt und den CSS Eintrag durchgeführt. In der Objekt-ID dann das Jahr mit <year> ersetzt aber das Jahr wird nicht eingefügt.

      Noch jemand ne Idee?

      Gruß
      Johnny

      posted in Visualisierung
      P
      PrinzEisenherz1
    • RE: source Analystics -> wildcard für aktuelles Jahr?

      @crunchip ich habe mich da vielleicht etwas ungeschickt ausgedrückt.
      Ich habe eine Monatsübersicht in VIS wo ich mir die Monatsverbräuche des aktuellen Jahres anzeigen lasse. Bei SA wird bei current nur der aktuelle und der Vormonat angezeigt.
      Unter den Jahren habe ich die jeweilige Monatsauflistung. Deswegen war ja meine Frage ob es vielleicht ein Binding gibt wo ich beim Objektpfad immer das aktuelle Jahr einsetzen kann.
      Ich hoffe es ist jetzt verständlicher?!

      Gruß Johnny

      posted in Visualisierung
      P
      PrinzEisenherz1
    • source Analystics -> wildcard für aktuelles Jahr?

      Hi zusammen,
      Ich möchte gerne meine Jahresübersicht für Energieverbrauch auf source analystics umstellen.
      Jetzt habe ich bei VIS aber folgendes Problem, da SA für jedes Jahr eine neue Objektdatenreihe anlegt.
      Besteht vielleicht die Möglichkeit für das Jahr im Datenpunkt ein binding oder wildcard einzusetzen?
      Ich würde folgenden Datenpunkt abfragen:

      sourceanalytix.0.0_userdata_0_Energiezaehler_Gaszaehler_Zaehlerstand.2024.consumed.months.01_January
      

      und für das Jahr "2024" gerne das aktuelle Jahr verwenden. So das ich nicht VIS Jährlich ändern muss.

      Gibt es da vielleicht ne Möglichkeit?

      Gruß
      Johnny

      posted in Visualisierung
      P
      PrinzEisenherz1
    • RE: Frigate Adapter für ioBroker

      @tombox wenn ich die Kommentare entferne kommt die gleiche Fehlermeldung.
      Also wenn ich folgendes in den Datenpunkt schreibe:

      {
        "sub_label": "test",
        "duration": 30,
        "include_recording": true
      }
      

      Ich bin erstmal wieder bei frigate 0.12 und Adapter auf 0.2.8.
      Muss ich mich mal beschäftigen wenn Frau und Kidds bei Schwiegereltern sind 🙂

      posted in Tester
      P
      PrinzEisenherz1
    • RE: Frigate Adapter für ioBroker

      Hi @tombox erstmal danke das Du das in den Adapter integriert hast und für den tollen Adapter.
      Aber irgendwas funktioniert da bei mir nicht so richtig.
      Das triggern einer Aufnahme erfolgt wenn ich z.B. das Label ändere, richtig?
      Wie ist denn mit den neu erzeugten Datenpunkten für das manuelle Recording verfahren?
      Wie befülle ich dann den Body? z.B. duration, usw
      Wenn ich den Body wie beim Beispiel von frigate befülle

      {
        "sub_label": "some_string", // add sub label to event
        "duration": 30, // predetermined length of event (default: 30 seconds) or can be to null for indeterminate length event
        "include_recording": true, // whether the event should save recordings along with the snapshot that is taken
        "draw": {
          // optional annotations that will be drawn on the snapshot
          "boxes": [
            {
              "box": [0.5, 0.5, 0.25, 0.25], // box consists of x, y, width, height which are on a scale between 0 - 1
              "color": [255, 0, 0], // color of the box, default is red
              "score": 100 // optional score associated with the box
            }
          ]
        }
      }
      

      dann bekomme ich in ioBroker folgende Fehlermeldung

      frigate.0 2024-02-23 16:33:59.932	error	SyntaxError: Unexpected number in JSON at position 128
      frigate.0 2024-02-23 16:33:59.931	error	Cannot parse createEventBody. Please use valid JSON https://docs.frigate.video/integrations/api/#post-apieventscamera_namelabelcreate
      

      Es wird zwar eine Aufnahme gestartet, diese ist aber fehlerhaft.
      Die lässt sich nicht abspielen. Da kommt n weißes X.
      Wenn ich sie herunterladen möchte dann wird ein clips.json downgeloadet.
      Der erzeugte Snapshot wird aber richtig erstellt.
      Muss ich da eventuell noch an meiner Config was einstellen?
      Hier mal meine config.yml

      database:
          path: /db/frigate.db
      mqtt:
        host: 192.168.122.25
        port: 2083
      detectors:
          coral:
              type: edgetpu
              device: usb
      go2rtc:
        streams:
          haustuer_cam: 
            - rtsp://XXXXXXXXX@192.168.122.15:88/videoMain
            - "ffmpeg:haustuer_cam#audio=opus" # <- copy of the stream which transcodes audio to opus
          haustuer_cam_sub:
            - rtsp://XXXXXXXXX@192.168.122.15:88/videoSub # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
            - "ffmpeg:haustuer_cam_sub#audio=opus" # <- copy of the stream which transcodes audio to opus
          garage_cam: 
            - rtsp://XXXXXXXXX@192.168.122.19:554/h264Preview_01_main
            - "ffmpeg:garage_cam#audio=opus" # <- copy of the stream which transcodes audio to opus
          garage_cam_sub:
            - rtsp://XXXXXXXXX@192.168.122.19:554/h264Preview_01_sub # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
            - "ffmpeg:garage_cam_sub#audio=opus" # <- copy of the stream which transcodes audio to opus
          garten_cam: 
            - rtsp://XXXXXXXXX@192.168.122.17:88/videoMain
            - "ffmpeg:garten_cam#audio=opus" # <- copy of the stream which transcodes audio to opus
          garten_cam_sub:
            - rtsp://XXXXXXXXX@192.168.122.17:88/videoSub # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
            - "ffmpeg:garten_cam_sub#audio=opus" # <- copy of the stream which transcodes audio to opus
          garten_links_cam: 
            - rtsp://XXXXXXXXX@192.168.122.16/11
            - "ffmpeg:garten_links_cam#audio=opus" # <- copy of the stream which transcodes audio to opus
          garten_links_cam_sub:
            - rtsp://XXXXXXXXX@192.168.122.16/12 # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
            - "ffmpeg:garten_links_cam_sub#audio=opus" # <- copy of the stream which transcodes audio to opus
          wohnzimmer_cam: 
            - rtsp://XXXXXXXXX@192.168.122.18:88/videoMain
            - "ffmpeg:wohnzimmer_cam#audio=opus" # <- copy of the stream which transcodes audio to opus
          wohnzimmer_cam_sub:
            - rtsp://XXXXXXXXX@192.168.122.18:88/videoSub # <- stream which supports video & aac audio. This is only supported for rtsp streams, http must use ffmpeg
            - "ffmpeg:wohnzimmer_cam_sub#audio=opus" # <- copy of the stream which transcodes audio to opus
      ffmpeg:
          output_args:
              record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
          hwaccel_args: # This is the section for the H/W Accelaration, you will need to figure out what settings you need to enable - https://docs.frigate.video/configuration/hardware_acceleration
              #- -hwaccel
              #- qsv
              #- -qsv_device
              #- /dev/dri/renderD128
              - -hwaccel
              - vaapi 
              - -hwaccel_device
              - /dev/dri/renderD128 
              #- -hwaccel_output_format
              #- yuv420p
              #- -hwaccel
              #- vaapi
              #- -hwaccel_device
              #- /dev/dri/renderD128
              #- -hwaccel_output_format
              #- yuv420p
      record: # how long to record before and after motion
          events:
              pre_capture: 7
              post_capture: 10
      cameras:
        haustuer: # <------ Name the camera
          ffmpeg:
            hwaccel_args: preset-vaapi
            output_args:
              record: preset-record-generic-audio-copy
            inputs:
              - path: rtsp://127.0.0.1:8554/haustuer_cam_sub # <----- The stream you want to use for detection
                roles:
                  - detect
              - path: rtsp://127.0.0.1:8554/haustuer_cam
                roles:
                  - record
                  - rtmp
          rtmp:
            enabled: false # <-- RTMP should be disabled if your stream is not H264
          detect:
            enabled: True # <---- disable detection until you have a working camera feed
            width: 1280 # <---- update for your camera's resolution
            height: 720 # <---- update for your camera's resolution
            fps: 5
          objects:
            track:
              - person
              - car
              - dog
              - cat
            filters:
              person:
                # Optional: minimum width*height of the bounding box for the detected object (default: 0)
                #min_area: 5000
                # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
                #max_area: 100000
                # Optional: minimum score for the object to initiate tracking (default: shown below)
                #min_score: 0.5
                # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
                threshold: 0.7
                # Optional: mask to prevent this object type from being detected in certain areas (default: no mask)
                # Checks based on the bottom center of the bounding box of the object
                #mask: 0,0,1000,0,1000,200,0,200
          record: # what you want Frigate to record
              enabled: True
              #retain: # uncomment this section if you want Frigate to record this camera 24/7. This can use a lot of space, you have been warned!
                #days: 1
                #mode: all
              events: # this is the default recording mode where events are recorded, the number of days it saves events for is 10.
                  retain:
                      mode: active_objects
                      default: 10
          snapshots:
            # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
            # This value can be set via MQTT and will be updated in startup based on retained value
            enabled: true
            # Optional: print a timestamp on the snapshots (default: shown below)
            timestamp: false
            # Optional: draw bounding box on the snapshots (default: shown below)
            bounding_box: true
            # Optional: crop the snapshot (default: shown below)
            crop: false
            # Optional: height to resize the snapshot to (default: original size)
            # height: 175
            # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
            required_zones: []
            # Optional: Camera override for retention settings (default: global values)
            retain:
              # Required: Default retention days (default: shown below)
              default: 10
              # Optional: Per object retention days
              #objects:
                #person: 15
          motion:
            mask:
              - 858,215,847,176,746,145,754,115,557,74,528,34,396,37,297,38,349,720,0,720,0,0,1280,0,1280,370
      
        garage: # <------ Name the camera
          ffmpeg:
            hwaccel_args: preset-vaapi
            output_args:
              record: preset-record-generic-audio-copy
            inputs:
              - path: rtsp://127.0.0.1:8554/garage_cam_sub # <----- The stream you want to use for detection
                roles:
                  - detect
              - path: rtsp://127.0.0.1:8554/garage_cam
                roles:
                  - record
                  - rtmp
          rtmp:
            enabled: false # <-- RTMP should be disabled if your stream is not H264
          detect:
            enabled: True # <---- disable detection until you have a working camera feed
            width: 640 # <---- update for your camera's resolution
            height: 480 # <---- update for your camera's resolution
            fps: 5
          objects:
            track:
              - person
              - car
              - truck
              - bicycle
              - motorcycle
              - dog
              - cat
            filters:
              person:
                # Optional: minimum width*height of the bounding box for the detected object (default: 0)
                #min_area: 5000
                # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
                #max_area: 100000
                # Optional: minimum score for the object to initiate tracking (default: shown below)
                #min_score: 0.5
                # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
                threshold: 0.7
                # Optional: mask to prevent this object type from being detected in certain areas (default: no mask)
                # Checks based on the bottom center of the bounding box of the object
                #mask: 0,0,1000,0,1000,200,0,200
          record: # what you want Frigate to record
              enabled: True
              #retain: # uncomment this section if you want Frigate to record this camera 24/7. This can use a lot of space, you have been warned!
                #days: 1
                #mode: all
              events: # this is the default recording mode where events are recorded, the number of days it saves events for is 10.
                  retain:
                      mode: active_objects
                      default: 10
          snapshots:
            # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
            # This value can be set via MQTT and will be updated in startup based on retained value
            enabled: true
            # Optional: print a timestamp on the snapshots (default: shown below)
            timestamp: false
            # Optional: draw bounding box on the snapshots (default: shown below)
            bounding_box: true
            # Optional: crop the snapshot (default: shown below)
            crop: false
            # Optional: height to resize the snapshot to (default: original size)
            # height: 175
            # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
            # required_zones: []
            required_zones:
              - hof
              - einfahrt
            # Optional: Camera override for retention settings (default: global values)
            retain:
              # Required: Default retention days (default: shown below)
              default: 10
              # Optional: Per object retention days
              #objects:
                #person: 15
          motion:
            mask:
              #- 0,195,40,158,104,104,158,72,180,21,259,21,393,27,408,62,426,91,448,107,476,100,532,105,582,95,591,0,0,0
              - 0,480,199,480,199,450,0,450
          zones:
            hof:
              coordinates: 640,480,640,204,640,74,556,68,503,92,400,79,388,144,189,136,181,70,73,144,0,207,0,480
              objects:
                - car
                - person
            einfahrt:
              coordinates: 204,128,389,140,383,34,231,26
              objects:
                - car
                - person
      
        garten: # <------ Name the camera
          ffmpeg:
            hwaccel_args: preset-vaapi
            output_args:
              record: preset-record-generic-audio-copy
            inputs:
              - path: rtsp://127.0.0.1:8554/garten_cam_sub # <----- The stream you want to use for detection
                roles:
                  - detect
              - path: rtsp://127.0.0.1:8554/garten_cam
                roles:
                  - record
                  - rtmp
          rtmp:
            enabled: false # <-- RTMP should be disabled if your stream is not H264
          detect:
            enabled: True # <---- disable detection until you have a working camera feed
            width: 1280 # <---- update for your camera's resolution
            height: 720 # <---- update for your camera's resolution
            fps: 5
          objects:
            track:
              - person
              #- car
              - dog
              - cat
            filters:
              person:
                # Optional: minimum width*height of the bounding box for the detected object (default: 0)
                #min_area: 5000
                # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
                #max_area: 100000
                # Optional: minimum score for the object to initiate tracking (default: shown below)
                #min_score: 0.5
                # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
                threshold: 0.7
                # Optional: mask to prevent this object type from being detected in certain areas (default: no mask)
                # Checks based on the bottom center of the bounding box of the object
                #mask: 0,0,1000,0,1000,200,0,200
          record: # what you want Frigate to record
              enabled: True
              #retain: # uncomment this section if you want Frigate to record this camera 24/7. This can use a lot of space, you have been warned!
                #days: 1
                #mode: all
              events: # this is the default recording mode where events are recorded, the number of days it saves events for is 10.
                  retain:
                      mode: active_objects
                      default: 10
          snapshots:
            # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
            # This value can be set via MQTT and will be updated in startup based on retained value
            enabled: true
            # Optional: print a timestamp on the snapshots (default: shown below)
            timestamp: false
            # Optional: draw bounding box on the snapshots (default: shown below)
            bounding_box: true
            # Optional: crop the snapshot (default: shown below)
            crop: false
            # Optional: height to resize the snapshot to (default: original size)
            # height: 175
            # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
            required_zones: []
            # Optional: Camera override for retention settings (default: global values)
            retain:
              # Required: Default retention days (default: shown below)
              default: 10
              # Optional: Per object retention days
              #objects:
                #person: 15
          motion:
            mask:
              - 487,699,485,720,1280,720,1280,373
              - 0,80,0,0,1280,0,1280,256,958,203,953,219,786,235,738,162,687,139,654,118,602,100,552,107,515,59,449,41,350,39,257,42,121,41,129,79
      
        garten_links: # <------ Name the camera
          ffmpeg:
            hwaccel_args: preset-vaapi
            output_args:
              record: preset-record-generic-audio-copy
            inputs:
              - path: rtsp://127.0.0.1:8554/garten_links_cam_sub # <----- The stream you want to use for detection
                roles:
                  - detect
              - path: rtsp://127.0.0.1:8554/garten_links_cam
                roles:
                  - record
                  - rtmp
          rtmp:
            enabled: false # <-- RTMP should be disabled if your stream is not H264
          detect:
            enabled: True # <---- disable detection until you have a working camera feed
            width: 640 # <---- update for your camera's resolution
            height: 352 # <---- update for your camera's resolution
            fps: 5
          objects:
            track:
              - person
              #- car
              - dog
              - cat
            filters:
              person:
                # Optional: minimum width*height of the bounding box for the detected object (default: 0)
                #min_area: 5000
                # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
                #max_area: 100000
                # Optional: minimum score for the object to initiate tracking (default: shown below)
                #min_score: 0.5
                # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
                threshold: 0.7
                # Optional: mask to prevent this object type from being detected in certain areas (default: no mask)
                # Checks based on the bottom center of the bounding box of the object
                #mask: 0,0,1000,0,1000,200,0,200
          record: # what you want Frigate to record
              enabled: True
              #retain: # uncomment this section if you want Frigate to record this camera 24/7. This can use a lot of space, you have been warned!
                #days: 1
                #mode: all
              events: # this is the default recording mode where events are recorded, the number of days it saves events for is 10.
                  retain:
                      mode: active_objects
                      default: 10
          snapshots:
            # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
            # This value can be set via MQTT and will be updated in startup based on retained value
            enabled: true
            # Optional: print a timestamp on the snapshots (default: shown below)
            timestamp: false
            # Optional: draw bounding box on the snapshots (default: shown below)
            bounding_box: true
            # Optional: crop the snapshot (default: shown below)
            crop: false
            # Optional: height to resize the snapshot to (default: original size)
            # height: 175
            # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
            required_zones: []
            # Optional: Camera override for retention settings (default: global values)
            retain:
              # Required: Default retention days (default: shown below)
              default: 10
              # Optional: Per object retention days
              #objects:
                #person: 15
          motion:
            mask:
              - 237,0,182,21,139,25,99,38,0,79,0,303,0,0
              - 469,0,468,21,640,21,640,0
      
        wohnzimmer: # <------ Name the camera
          ffmpeg:
            hwaccel_args: preset-vaapi
            output_args:
              record: preset-record-generic-audio-copy
            inputs:
              - path: rtsp://127.0.0.1:8554/wohnzimmer_cam_sub # <----- The stream you want to use for detection
                roles:
                  - detect
              - path: rtsp://127.0.0.1:8554/wohnzimmer_cam
                roles:
                  - record
                  - rtmp
          rtmp:
            enabled: false # <-- RTMP should be disabled if your stream is not H264
          detect:
            enabled: True # <---- disable detection until you have a working camera feed
            width: 1280 # <---- update for your camera's resolution
            height: 720 # <---- update for your camera's resolution
            fps: 5
          objects:
            track:
              - person
              - car
              - truck
              - bicycle
              - motorcycle
              - dog
              - cat
            filters:
              person:
                # Optional: minimum width*height of the bounding box for the detected object (default: 0)
                #min_area: 5000
                # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
                #max_area: 100000
                # Optional: minimum score for the object to initiate tracking (default: shown below)
                #min_score: 0.5
                # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
                threshold: 0.7
                # Optional: mask to prevent this object type from being detected in certain areas (default: no mask)
                # Checks based on the bottom center of the bounding box of the object
                #mask: 0,0,1000,0,1000,200,0,200
          record: # what you want Frigate to record
              enabled: True
              #retain: # uncomment this section if you want Frigate to record this camera 24/7. This can use a lot of space, you have been warned!
                #days: 1
                #mode: all
              events: # this is the default recording mode where events are recorded, the number of days it saves events for is 10.
                  retain:
                      mode: active_objects
                      default: 10
          snapshots:
            # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
            # This value can be set via MQTT and will be updated in startup based on retained value
            enabled: true
            # Optional: print a timestamp on the snapshots (default: shown below)
            timestamp: false
            # Optional: draw bounding box on the snapshots (default: shown below)
            bounding_box: true
            # Optional: crop the snapshot (default: shown below)
            crop: false
            # Optional: height to resize the snapshot to (default: original size)
            # height: 175
            # Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)
            required_zones: []
            # Optional: Camera override for retention settings (default: global values)
            retain:
              # Required: Default retention days (default: shown below)
              default: 10
              # Optional: Per object retention days
              #objects:
                #person: 15
          motion:
            mask:
              - 0,720,369,720,364,120,433,121,503,129,542,147,586,184,630,241,1280,632,1280,0,0,0
      
      

      Dann hätte ich da noch eine Frage, wo ich aber jetzt nicht weiß ob es vom Adapter kommt oder von der 0.13er Version.
      Starte ich nämlich den frigate-Container neu, sind alle Kameras automatisch auf Motion-Erkennung.
      Bei der Adapter-Version 0.2.8 und Frigate 0.12.x war das nicht so. Da war nach einem Neustart die Einstellung so wie vor dem Neustart.

      Noch eine Frage hätte ich da. Besteht vielleicht die Möglichkeit das man bei der neuen Version den integrierten MQTT-Broker deaktivieren kann? Bei mir läuft schon ein anderer.

      So, ich hoffe ich das alles einigermaßen verständlich geschrieben 🙂

      posted in Tester
      P
      PrinzEisenherz1
    • RE: Frigate Adapter für ioBroker

      Hi zusammen.
      Ich habe da mal ne frage. Ihr nutzt bestimmt die frigate Version 0.13?
      Für mich gäbe es da eine interessante interessante Neuerung.
      Das manuelle Triggern von Aufnahmen.

      https://docs.frigate.video/integrations/api
      

      Bildschirmfoto vom 2024-02-12 11-58-45.png

      Hat das von euch schon mal jemand ausprobiert?
      Wird die Möglichkeit zum manuellen Auslösen einer Aufnahme im frigate-Adapter integriert?

      Gruß
      Johnny

      posted in Tester
      P
      PrinzEisenherz1
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo