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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Frigate Adapter für ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hagst @tombox last edited by hagst

      @tombox sagte in Frigate Adapter für ioBroker:

      @hagst ja genau korrekt

      Alte Version deinstalliert

      $ iobroker del frigate --debug
      Delete adapter "frigate"
      host.iobroker Counted 1 instances of frigate
      host.iobroker Counted 1 meta of frigate
      host.iobroker Counted 1 adapter for frigate
      host.iobroker Counted 29 channels of frigate
      host.iobroker Counted 325 states of frigate
      host.iobroker Counted 15 states of system.adapter.frigate
      host.iobroker Counted 327 states (io.frigate.*) from states
      host.iobroker Counted 16 states (system.adapter.frigate.*) from states
      host.iobroker Counted 1 objects of frigate
      host.iobroker file frigate.admin deleted
      host.iobroker Deleting 373 object(s).
      host.iobroker: Only 200 objects left to be deleted.
      host.iobroker Deleting 343 state(s).
      host.iobroker: Only 200 states left to be deleted.
      removed 145 packages in 2s
      89 packages are looking for funding run `npm fund` for details
      Process exited with code 0
      

      Alle alten Einträge sind gelöscht:Alt1.png
      Neue Version von Github installiert

      $ iobroker url iobroker-community-adapters/ioBroker.frigate --host iobroker --debug
      install iobroker-community-adapters/ioBroker.frigate
      NPM version: 10.2.4
      Installing iobroker-community-adapters/ioBroker.frigate... (System call)
      added 31 packages, and changed 1 package in 6s89 packages are looking for funding run `npm fund` for details
      upload [1] frigate.admin /opt/iobroker/node_modules/iobroker.frigate/admin/frigate.png frigate.png image/png
      upload [0] frigate.admin /opt/iobroker/node_modules/iobroker.frigate/admin/jsonConfig.json jsonConfig.json application/json
      Process exited with code 0
      

      Instanz hinzugefügt:

      $ iobroker add frigate auto --host iobroker --debug
      host.iobroker create instance frigate
      host.iobroker object system.adapter.frigate.0.connected created
      host.iobroker object system.adapter.frigate.0.compactMode created
      host.iobroker object system.adapter.frigate.0.cpu created
      host.iobroker object system.adapter.frigate.0.memHeapUsed created
      host.iobroker object system.adapter.frigate.0.memRss created
      host.iobroker object system.adapter.frigate.0.uptime created
      host.iobroker object system.adapter.frigate.0.sigKill created
      host.iobroker object system.adapter.frigate.0.logLevel created
      host.iobroker object frigate.0.info.connection created
      host.iobroker Set default value of frigate.0.info.connection: false
      host.iobroker object system.adapter.frigate.0 created
      Process exited with code 0
      

      Adapter-Einstellungen vorgenommen:
      Config.png

      Logdatei:

      
      frigate.0
      2024-01-28 13:30:41.958	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      frigate.0
      2024-01-28 13:30:41.881	info	frigate.0 (2510) MQTT client frigate subscribed to topics: frigate/# from broker cb4f78fc-a529-4ab9-985e-c192fa46b979
      frigate.0
      2024-01-28 13:30:41.828	info	Filter for message from client: frigate
      frigate.0
      2024-01-28 13:30:41.828	info	New client: frigate
      frigate.0
      2024-01-28 13:29:58.798	info	If you don't see a new client connected, please restart frigate and adapter.
      frigate.0
      2024-01-28 13:29:58.798	info	Please enter host: 'iobroker' and port: '1885' in frigate config
      frigate.0
      2024-01-28 13:29:58.798	info	MQTT server started and listening on port 1885
      frigate.0
      2024-01-28 13:29:58.727	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.frigate) in /opt/iobroker/node_modules/iobroker.frigate, node: v20.11.0, js-controller: 5.0.17
      frigate.0
      2024-01-28 13:29:55.429	info	terminating
      frigate.0
      2024-01-28 13:29:54.927	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      frigate.0
      2024-01-28 13:29:54.927	info	terminating
      frigate.0
      2024-01-28 13:29:54.926	info	Got terminate signal TERMINATE_YOURSELF
      frigate.0
      2024-01-28 13:27:53.031	error	Please check if port 1883 is already in use. Use a different port in instance and frigate settings or restart ioBroker.
      frigate.0
      2024-01-28 13:27:53.030	error	MQTT server error: Error: listen EADDRINUSE: address already in use :::1883
      frigate.0
      2024-01-28 13:27:52.893	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.frigate) in /opt/iobroker/node_modules/iobroker.frigate, node: v20.11.0, js-controller: 5.0.17
      

      Ergebnis: 😕

      Ergebis.png

      
      frigate.0
      2024-01-28 13:32:34.876	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:32:31.375	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:32:26.173	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:32:21.392	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:31:03.254	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:31:03.239	info	Device information created
      
      frigate.0
      2024-01-28 13:31:03.236	info	Fetch event history for 0 cameras
      
      frigate.0
      2024-01-28 13:31:03.236	info	{"Einfahrt":{"camera_fps":5,"process_fps":5,"skipped_fps":0,"detection_fps":0,"detection_enabled":1,"pid":295,"capture_pid":299,"ffmpeg_pid":311},"Terrasse":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0,"detection_fps":0,"detection_enabled":1,"pid":297,"capture_pid":300,"ffmpeg_pid":306},"Wald":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0,"detection_fps":0,"detection_enabled":1,"pid":298,"capture_pid":302,"ffmpeg_pid":1285},"detectors":{"cpu":{"inference_speed":119.08,"detection_start":0,"pid":290}},"detection_fps":0,"service":{"uptime":10186,"version":"0.12.1-367d724","latest_version":"0.12.1","storage":{"/media/frigate/recordings":{"total":10464,"used":4280.4,"free":5630,"mount_type":"ext4"},"/media/frigate/clips":{"total":10464,"used":4280.4,"free":5630,"mount_type":"ext4"},"/tmp/cache":{"total":1000,"used":12.4,"free":987.6,"mount_type":"tmpfs"},"/dev/shm":{"total":67.1,"used":5.7,"free":61.4,"mount_type":"tmpfs"}},"temperatures":{},"last_updated":1706445063}}
      
      frigate.0
      2024-01-28 13:31:03.236	warn	No cameras found
      
      frigate.0
      2024-01-28 13:31:03.235	info	Create Device information and fetch Event History
      
      frigate.0
      2024-01-28 13:30:41.958	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:30:41.881	info	frigate.0 (2510) MQTT client frigate subscribed to topics: frigate/# from broker cb4f78fc-a529-4ab9-985e-c192fa46b979
      
      frigate.0
      2024-01-28 13:30:41.828	info	Filter for message from client: frigate
      
      frigate.0
      2024-01-28 13:30:41.828	info	New client: frigate
      
      frigate.0
      2024-01-28 13:29:58.798	info	If you don't see a new client connected, please restart frigate and adapter.
      
      frigate.0
      2024-01-28 13:29:58.798	info	Please enter host: 'iobroker' and port: '1885' in frigate config
      
      frigate.0
      2024-01-28 13:29:58.798	info	MQTT server started and listening on port 1885
      
      frigate.0
      2024-01-28 13:29:58.727	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.frigate) in /opt/iobroker/node_modules/iobroker.frigate, node: v20.11.0, js-controller: 5.0.17
      

      Nachtrag:
      Neustart ioBroker:

      
      frigate.0
      2024-01-28 13:43:41.697	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:43:41.680	info	Device information created
      
      frigate.0
      2024-01-28 13:43:41.677	info	Fetch event history for 0 cameras
      
      frigate.0
      2024-01-28 13:43:41.677	info	{"Einfahrt":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0,"detection_fps":0,"detection_enabled":1,"pid":295,"capture_pid":299,"ffmpeg_pid":311},"Terrasse":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0,"detection_fps":0,"detection_enabled":1,"pid":297,"capture_pid":300,"ffmpeg_pid":306},"Wald":{"camera_fps":5,"process_fps":5,"skipped_fps":0,"detection_fps":0,"detection_enabled":1,"pid":298,"capture_pid":302,"ffmpeg_pid":4836},"detectors":{"cpu":{"inference_speed":92.58,"detection_start":0,"pid":290}},"detection_fps":0,"service":{"uptime":10944,"version":"0.12.1-367d724","latest_version":"0.12.1","storage":{"/media/frigate/recordings":{"total":10464,"used":4287.6,"free":5622.8,"mount_type":"ext4"},"/media/frigate/clips":{"total":10464,"used":4287.6,"free":5622.8,"mount_type":"ext4"},"/tmp/cache":{"total":1000,"used":11.3,"free":988.7,"mount_type":"tmpfs"},"/dev/shm":{"total":67.1,"used":5.7,"free":61.4,"mount_type":"tmpfs"}},"temperatures":{},"last_updated":1706445821}}
      
      frigate.0
      2024-01-28 13:43:41.677	warn	No cameras found
      
      frigate.0
      2024-01-28 13:43:41.676	info	Create Device information and fetch Event History
      
      frigate.0
      2024-01-28 13:42:44.876	warn	State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions
      
      frigate.0
      2024-01-28 13:42:44.847	info	frigate.0 (734) MQTT client frigate subscribed to topics: frigate/# from broker cbd3cc19-f5b8-4d68-8252-e2cbe0736d9b
      
      frigate.0
      2024-01-28 13:42:44.784	info	Filter for message from client: frigate
      
      frigate.0
      2024-01-28 13:42:44.784	info	New client: frigate
      
      frigate.0
      2024-01-28 13:42:11.387	info	If you don't see a new client connected, please restart frigate and adapter.
      
      frigate.0
      2024-01-28 13:42:11.387	info	Please enter host: 'iobroker' and port: '1885' in frigate config
      
      frigate.0
      2024-01-28 13:42:11.387	info	MQTT server started and listening on port 1885
      
      frigate.0
      2024-01-28 13:42:11.316	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.frigate) in /opt/iobroker/node_modules/iobroker.frigate, node: v20.11.0, js-controller: 5.0.17
      
      T 1 Reply Last reply Reply Quote 0
      • T
        tombox @hagst last edited by

        @hagst Kannst die logs wieder löschen und die GitHub version drüber installieren

        H 1 Reply Last reply Reply Quote 0
        • Q
          QuesT last edited by

          Hallo,

          habe auch auf die 1.0 umgestellt und gleich versucht die Nachrichten via pushover zu senden. Leider stürtz der IoBroker komplett ab wenn ein Ereigniss getriggert wird. Per Telegram läuft es. Ist hier noch was zubeachten?

          Danke

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

            @quest brauch ich den Fehler log

            Q 1 Reply Last reply Reply Quote 0
            • H
              hagst @tombox last edited by

              @tombox sagte in Frigate Adapter für ioBroker:

              Kannst die logs wieder löschen und die GitHub version drüber installieren

              frigate.0
              2024-01-28 14:36:00.603	info	Device information created
              frigate.0
              2024-01-28 14:36:00.600	info	Fetch event history for 3 cameras
              frigate.0
              2024-01-28 14:36:00.586	info	Create device information for: Wald
              frigate.0
              2024-01-28 14:36:00.573	info	Create device information for: Terrasse
              frigate.0
              2024-01-28 14:36:00.558	info	Create device information for: Einfahrt
              frigate.0
              2024-01-28 14:36:00.527	info	Create Device information and fetch Event History
              frigate.0
              2024-01-28 14:35:55.551	info	frigate.0 (1789) MQTT client frigate subscribed to topics: frigate/# from broker 00d2ab76-66f6-4aa7-8018-159a69db4997
              frigate.0
              2024-01-28 14:35:55.526	info	Filter for message from client: frigate
              frigate.0
              2024-01-28 14:35:55.526	info	New client: frigate
              frigate.0
              2024-01-28 14:35:51.876	info	If you don't see a new client connected, please restart frigate and adapter.
              frigate.0
              2024-01-28 14:35:51.876	info	Please enter host: 'iobroker' and port: '1885' in frigate config
              frigate.0
              2024-01-28 14:35:51.876	info	MQTT server started and listening on port 1885
              frigate.0
              2024-01-28 14:35:51.793	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.frigate) in /opt/iobroker/node_modules/iobroker.frigate, node: v20.11.0, js-controller: 5.0.17
              frigate.0
              2024-01-28 14:35:48.503	info	terminating
              frigate.0
              2024-01-28 14:35:48.002	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              frigate.0
              2024-01-28 14:35:48.002	info	terminating
              frigate.0
              2024-01-28 14:35:48.001	info	Got terminate signal TERMINATE_YOURSELF
              

              remote.png

              Jetzt sind die Einträge erstellt worden!

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

                @tombox

                2024-01-28 15:10:07.144 - error: pushover.0 (1040) Error from Pushover: message cannot be blank
                2024-01-28 15:10:08.172 - error: pushover.0 (1040) Error from Pushover: message cannot be blank
                2024-01-28 15:10:27.144 - error: pushover.0 (1040) Error from Pushover: SyntaxError: Unexpected token < in JSON at position 0
                2024-01-28 15:10:27.639 - error: pushover.0 (1040) Error from Pushover: SyntaxError: Unexpected token < in JSON at position 0

                Screenshot 2024-01-28 153733.jpg

                Danach startet der ioBroker neu.

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

                  @quest bitte mal die GitHub version testen

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

                    @tombox

                    2024-01-28 17:16:45.523 - error: pushover.0 (4298) Error from Pushover: message cannot be blank

                    Stürzt aber nicht mehr ab.

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

                      @quest dann nochmal installieren

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

                        @tombox

                        Bild kommt nun an. Video noch nicht: pushover.0 (1051) Error from Pushover: SyntaxError: Unexpected token < in JSON at position 0

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

                          @quest für den clip wäre noch ein debug log gut auch gerne per PN

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

                            @tombox
                            Vergiss es Pushover kann nur jpg.

                            Danke für die schnelle Hilfe.

                            1 Reply Last reply Reply Quote 0
                            • M
                              MrHenker27 last edited by

                              Also zum ersten mal danke für den neuen Adapter.

                              Leider bekomm ich Warn Meldungen im Log -.-

                              State "frigate.0.events.history.json" has no existing object, this might lead to an error in future versions

                              8aacfd36-2a25-47ab-9ef0-23704ff48ea5-image.png

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

                                @mrhenker27 kommt das mit der 1.0.2?

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

                                  @tombox

                                  okay, war die 1.0.0 hab jetzt über GIT mal die 1.0.2 installiert. Scheint behoben zu sein.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MarkA @MrHenker27 last edited by

                                    Leider geht mit dem neuen Adapter die Kombination von Frigate in Verbindung mit Touble-Take und Compreface zur Personenerkennung nicht mehr, da alle mit dem gleichen MQTT Server sprechen müssen.

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

                                      @marka Eigentlich sollte das gehen. Bitte mal die GitHub version installieren und einfach als mqtt host den iobroker eingeben

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

                                        @tombox sagte in Frigate Adapter für ioBroker:

                                        @marka Eigentlich sollte das gehen. Bitte mal die GitHub version installieren und einfach als mqtt host den iobroker eingeben

                                        Hallo,

                                        das geht bei mir so leider nicht. So wie ich die neue Version verstanden habe, bringt sie einen eigenen MQTT Broker mit. Dies möchte ich nicht, da ich bereits den MQTT Adapter, sowie den SONOFF Adapter für MQTT laufen habe, mit jeweils vielen Integrationen, je nachdem wie die Daten ankommen.

                                        Dazu kommt noch, dass der Frigate Adapter MQTT keine Authentifizierung benutzt.

                                        T 1 Reply Last reply Reply Quote 0
                                        • R
                                          ralf2201 last edited by

                                          Hallo,

                                          wie kann ich denn wieder auf die alte Version zurück? Kann mir da jemand helfen?

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            martinschm @ralf2201 last edited by martinschm

                                            Hi,

                                            Installation hat gleich geklappt, hab lediglich den MQTT Port angepasst. Telegram Benachrichtiung kam auch gleich an, sehr cool gemacht. Vielen Dank für die neue Adapter Version.

                                            Kurze Frage noch zu den State

                                            8723f821-3c60-4edf-86ec-8b1d17b966e0-image.png

                                            Warum hat der Channel "Motion" auch nochmal einen Wert ?
                                            Und welchen State muß ich nehmen wenn ich in meiner Visualisierung "kurz" anzeigen will ob es eine Bewegung gab. Irgendwann sollte der State ja auch mal wieder falsch sein, oder ?
                                            Bei mir schein der State "state" unter Motion immer auf true zu stehen.

                                            Und wisst ihr zufällig wie ich den Livestream einer Kamera aus frigate in meiner Visualisierung einbinde ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            907
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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