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.
    • crunchip
      crunchip Forum Testing Most Active @Wal last edited by crunchip

      @wal ganz normal aus dem Repo
      84eec877-cd02-4e64-96c2-26e6f6624f9e-image.png

      @wal sagte in Test Frigate Adapter 0.2.5:

      Installiere mal über Github.

      hab ich, allerdings bekomm ich dieses, der Adapter stürzt kontinuierlich ab

      host.IoBroker
      2023-11-26 22:13:16.866	info	Restart adapter system.adapter.frigate.0 because enabled
      host.IoBroker
      2023-11-26 22:13:16.865	error	instance system.adapter.frigate.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
      
      frigate.0
      2023-11-26 22:13:16.371	info	terminating
      
      frigate.0
      2023-11-26 22:13:15.867	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
      
      frigate.0
      2023-11-26 22:13:15.864	info	terminating
      
      frigate.0
      2023-11-26 22:13:15.822	error	Cannot read properties of null (reading 'val')
      
      frigate.0
      2023-11-26 22:13:15.820	error	TypeError: Cannot read properties of null (reading 'val') at Frigate.onEventChange (/opt/iobroker/node_modules/iobroker.frigate/main.js:322:39)
      
      frigate.0
      2023-11-26 22:13:15.818	error	unhandled promise rejection: Cannot read properties of null (reading 'val')
      
      frigate.0
      2023-11-26 22:13:15.816	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
      
      frigate.0
      2023-11-26 22:13:01.160	info	MQTT Frigate URL: http://10.1.1.219:5000
      
      frigate.0
      2023-11-26 22:13:01.158	info	MQTT Frigate Object: mqtt.0.frigate
      
      frigate.0
      2023-11-26 22:13:01.117	info	starting. Version 0.2.6 (non-npm: Bettman66/ioBroker.frigate) in /opt/iobroker/node_modules/iobroker.frigate, node: v18.18.2, js-controller: 5.0.16
      host.IoBroker
      2023-11-26 22:12:56.755	info	instance system.adapter.frigate.0 started with pid 3318229
      host.IoBroker
      2023-11-26 22:12:55.635	info	"system.adapter.frigate.0" enabled
      host.IoBroker
      2023-11-26 22:12:51.255	info	"system.adapter.frigate.0" disabled
      

      diese Datenpunkte/Fehlermeldungen sind zwar jetzt weg, dafür fehlt mir jetzt eine Cam
      4 waren eingebunden, es tauchen aber nur noch 3 in den Objekte auf und Adapter stürzt immer wieder ab
      hab auch nochmal gelöscht und per Github Link installiert, brachte den selben Fehler aber die 4 cam ist nach wie vor nicht da, in den mqtt Objekten ist sie aber vorhanden

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

        @crunchip ,
        schalte den frigate Adapter mal in den Debugmodus und poste bitte den Log.

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

          @wal

          2023-11-27 10:48:00.049 - info: host.IoBroker "system.adapter.frigate.0" enabled
          2023-11-27 10:48:01.164 - info: host.IoBroker instance system.adapter.frigate.0 started with pid 3603597
          2023-11-27 10:48:02.353 - debug: frigate.0 (3603597) Redis Objects: Use Redis connection: 127.0.0.1:9001
          2023-11-27 10:48:02.444 - debug: frigate.0 (3603597) Objects client ready ... initialize now
          2023-11-27 10:48:02.484 - debug: frigate.0 (3603597) Objects create System PubSub Client
          2023-11-27 10:48:02.486 - debug: frigate.0 (3603597) Objects create User PubSub Client
          2023-11-27 10:48:02.865 - debug: frigate.0 (3603597) Objects client initialize lua scripts
          2023-11-27 10:48:02.872 - debug: frigate.0 (3603597) Objects connected to redis: 127.0.0.1:9001
          2023-11-27 10:48:02.978 - debug: frigate.0 (3603597) Redis States: Use Redis connection: 127.0.0.1:9000
          2023-11-27 10:48:03.075 - debug: frigate.0 (3603597) States create System PubSub Client
          2023-11-27 10:48:03.078 - debug: frigate.0 (3603597) States create User PubSub Client
          2023-11-27 10:48:03.463 - debug: frigate.0 (3603597) States connected to redis: 127.0.0.1:9000
          2023-11-27 10:48:05.530 - info: frigate.0 (3603597) starting. Version 0.2.6 (non-npm: Bettman66/ioBroker.frigate#7062e2ceb9142495619cb210daf0190bd87dbfe4) in /opt/iobroker/node_modules/iobroker.frigate, node: v18.18.2, js-controller: 5.0.16
          2023-11-27 10:48:05.569 - info: frigate.0 (3603597) MQTT Frigate Object: mqtt.0.frigate
          2023-11-27 10:48:05.572 - info: frigate.0 (3603597) MQTT Frigate URL: http://10.1.1.219:5000/
          2023-11-27 10:48:18.156 - debug: frigate.0 (3603597) id: mqtt.0.frigate.stats changed: {"Haustuer": {"camera_fps": 5.1, "process_fps": 5.0, "skipped_fps": 0.0, "detection_fps": 4.5, "detection_enabled": 1, "pid": 731, "capture_pid": 737, "ffmpeg_pid": 742}, "Terrasse": {"camera_fps": 5.0, "process_fps": 5.1, "skipped_fps": 0.0, "detection_fps": 0.0, "detection_enabled": 1, "pid": 733, "capture_pid": 740, "ffmpeg_pid": 750}, "Schlafzimmer": {"camera_fps": 5.1, "process_fps": 5.1, "skipped_fps": 0.0, "detection_fps": 0.1, "detection_enabled": 1, "pid": 734, "capture_pid": 745, "ffmpeg_pid": 754}, "Buero": {"camera_fps": 5.1, "process_fps": 5.1, "skipped_fps": 0.0, "detection_fps": 1.1, "detection_enabled": 1, "pid": 735, "capture_pid": 753, "ffmpeg_pid": 761}, "detectors": {"cpu1": {"inference_speed": 35.03, "detection_start": 0.0, "pid": 720}, "cpu2": {"inference_speed": 32.76, "detection_start": 0.0, "pid": 722}, "cpu3": {"inference_speed": 36.27, "detection_start": 1701078493.863862, "pid": 724}, "cpu4": {"inference_speed": 34.9, "detection_start": 0.0, "pid": 726}}, "detection_fps": 5.7, "gpu_usages": {"amd-vaapi": {"gpu": "1.67 %", "mem": "53.87 %"}}, "cpu_usages": {"top": {"cpu": "users,", "mem": "load"}, "Tasks:": {"cpu": "stopped,", "mem": "0"}, "%Cpu(s):": {"cpu": "id,", "mem": "0.2"}, "MiB": {"cpu": "24378.4", "mem": "avail"}, "PID": {"cpu": "%CPU", "mem": "%MEM"}, "722": {"cpu": "8.0", "mem": "0.4"}, "731": {"cpu": "6.3", "mem": "0.5"}, "745": {"cpu": "2.7", "mem": "0.3"}, "754": {"cpu": "3.3", "mem": "0.4"}, "1": {"cpu": "0.0", "mem": "0.0"}, "15": {"cpu": "0.0", "mem": "0.0"}, "17": {"cpu": "0.0", "mem": "0.0"}, "24": {"cpu": "0.0", "mem": "0.0"}, "25": {"cpu": "0.0", "mem": "0.0"}, "26": {"cpu": "0.0", "mem": "0.0"}, "27": {"cpu": "0.0", "mem": "0.0"}, "28": {"cpu": "0.0", "mem": "0.0"}, "29": {"cpu": "0.0", "mem": "0.0"}, "30": {"cpu": "0.0", "mem": "0.0"}, "31": {"cpu": "0.0", "mem": "0.0"}, "32": {"cpu": "0.0", "mem": "0.0"}, "41": {"cpu": "0.0", "mem": "0.0"}, "42": {"cpu": "0.0", "mem": "0.0"}, "80": {"cpu": "0.0", "mem": "0.0"}, "81": {"cpu": "0.0", "mem": "0.0"}, "82": {"cpu": "0.0", "mem": "0.0"}, "88": {"cpu": "0.0", "mem": "0.1"}, "97": {"cpu": "0.0", "mem": "0.0"}, "98": {"cpu": "2.0", "mem": "0.8"}, "113": {"cpu": "0.0", "mem": "0.0"}, "134": {"cpu": "0.0", "mem": "0.0"}, "135": {"cpu": "0.0", "mem": "0.0"}, "136": {"cpu": "0.0", "mem": "0.0"}, "137": {"cpu": "0.0", "mem": "0.0"}, "138": {"cpu": "0.0", "mem": "0.0"}, "143": {"cpu": "0.0", "mem": "0.0"}, "160": {"cpu": "0.0", "mem": "0.0"}, "191": {"cpu": "0.0", "mem": "0.0"}, "232": {"cpu": "0.0", "mem": "0.1"}, "267": {"cpu": "0.0", "mem": "0.0"}, "314": {"cpu": "0.0", "mem": "0.0"}, "358": {"cpu": "0.0", "mem": "0.0"}, "392": {"cpu": "0.0", "mem": "0.0"}, "419": {"cpu": "0.0", "mem": "0.0"}, "441": {"cpu": "0.0", "mem": "0.0"}, "483": {"cpu": "0.0", "mem": "0.0"}, "713": {"cpu": "0.0", "mem": "0.3"}, "719": {"cpu": "0.0", "mem": "0.0"}, "720": {"cpu": "8.0", "mem": "0.4"}, "724": {"cpu": "8.0", "mem": "0.4"}, "726": {"cpu": "12.0", "mem": "0.4"}, "728": {"cpu": "1.3", "mem": "0.3"}, "732": {"cpu": "0.0", "mem": "0.1"}, "733": {"cpu": "0.7", "mem": "0.5"}, "734": {"cpu": "0.3", "mem": "0.4"}, "735": {"cpu": "0.7", "mem": "0.5"}, "736": {"cpu": "0.0", "mem": "0.1"}, "737": {"cpu": "2.7", "mem": "0.3"}, "740": {"cpu": "3.0", "mem": "0.3"}, "741": {"cpu": "0.0", "mem": "0.1"}, "742": {"cpu": "4.3", "mem": "0.4"}, "750": {"cpu": "3.3", "mem": "0.4"}, "751": {"cpu": "0.0", "mem": "0.1"}, "752": {"cpu": "0.3", "mem": "0.1"}, "753": {"cpu": "3.0", "mem": "0.3"}, "761": {"cpu": "4.3", "mem": "0.4"}, "762": {"cpu": "0.7", "mem": "0.1"}, "763": {"cpu": "0.0", "mem": "0.1"}, "772": {"cpu": "0.3", "mem": "0.1"}, "11808": {"cpu": "0.0", "mem": "0.0"}, "11836": {"cpu": "0.0", "mem": "0.0"}, "11838": {"cpu": "0.0", "mem": "0.0"}}, "service": {"uptime": 22069, "version": "0.12.1-367d724", "latest_version": "0.12.1", "storage": {"/media/frigate/recordings": {"total": 5024751.3, "used": 182616.8, "free": 4837359.0, "mount_type": "fuse.shfs"}, "/media/frigate/clips": {"total": 5024751.3, "used": 182616.8, "free": 4837359.0, "mount_type": "fuse.shfs"}, "/tmp/cache": {"total": 1000.0, "used": 2.6, "free": 997.4, "mount_type": "tmpfs"}, "/dev/shm": {"total": 268.4, "used": 14.5, "free": 253.9, "mount_type": "tmpfs"}}, "temperatures": {}, "last_updated": 1701078498}} (ack = false)
          2023-11-27 10:48:18.159 - debug: frigate.0 (3603597) changed: {"Haustuer": {"camera_fps": 5.1, "process_fps": 5.0, "skipped_fps": 0.0, "detection_fps": 4.5, "detection_enabled": 1, "pid": 731, "capture_pid": 737, "ffmpeg_pid": 742}, "Terrasse": {"camera_fps": 5.0, "process_fps": 5.1, "skipped_fps": 0.0, "detection_fps": 0.0, "detection_enabled": 1, "pid": 733, "capture_pid": 740, "ffmpeg_pid": 750}, "Schlafzimmer": {"camera_fps": 5.1, "process_fps": 5.1, "skipped_fps": 0.0, "detection_fps": 0.1, "detection_enabled": 1, "pid": 734, "capture_pid": 745, "ffmpeg_pid": 754}, "Buero": {"camera_fps": 5.1, "process_fps": 5.1, "skipped_fps": 0.0, "detection_fps": 1.1, "detection_enabled": 1, "pid": 735, "capture_pid": 753, "ffmpeg_pid": 761}, "detectors": {"cpu1": {"inference_speed": 35.03, "detection_start": 0.0, "pid": 720}, "cpu2": {"inference_speed": 32.76, "detection_start": 0.0, "pid": 722}, "cpu3": {"inference_speed": 36.27, "detection_start": 1701078493.863862, "pid": 724}, "cpu4": {"inference_speed": 34.9, "detection_start": 0.0, "pid": 726}}, "detection_fps": 5.7, "gpu_usages": {"amd-vaapi": {"gpu": "1.67 %", "mem": "53.87 %"}}, "cpu_usages": {"top": {"cpu": "users,", "mem": "load"}, "Tasks:": {"cpu": "stopped,", "mem": "0"}, "%Cpu(s):": {"cpu": "id,", "mem": "0.2"}, "MiB": {"cpu": "24378.4", "mem": "avail"}, "PID": {"cpu": "%CPU", "mem": "%MEM"}, "722": {"cpu": "8.0", "mem": "0.4"}, "731": {"cpu": "6.3", "mem": "0.5"}, "745": {"cpu": "2.7", "mem": "0.3"}, "754": {"cpu": "3.3", "mem": "0.4"}, "1": {"cpu": "0.0", "mem": "0.0"}, "15": {"cpu": "0.0", "mem": "0.0"}, "17": {"cpu": "0.0", "mem": "0.0"}, "24": {"cpu": "0.0", "mem": "0.0"}, "25": {"cpu": "0.0", "mem": "0.0"}, "26": {"cpu": "0.0", "mem": "0.0"}, "27": {"cpu": "0.0", "mem": "0.0"}, "28": {"cpu": "0.0", "mem": "0.0"}, "29": {"cpu": "0.0", "mem": "0.0"}, "30": {"cpu": "0.0", "mem": "0.0"}, "31": {"cpu": "0.0", "mem": "0.0"}, "32": {"cpu": "0.0", "mem": "0.0"}, "41": {"cpu": "0.0", "mem": "0.0"}, "42": {"cpu": "0.0", "mem": "0.0"}, "80": {"cpu": "0.0", "mem": "0.0"}, "81": {"cpu": "0.0", "mem": "0.0"}, "82": {"cpu": "0.0", "mem": "0.0"}, "88": {"cpu": "0.0", "mem": "0.1"}, "97": {"cpu": "0.0", "mem": "0.0"}, "98": {"cpu": "2.0", "mem": "0.8"}, "113": {"cpu": "0.0", "mem": "0.0"}, "134": {"cpu": "0.0", "mem": "0.0"}, "135": {"cpu": "0.0", "mem": "0.0"}, "136": {"cpu": "0.0", "mem": "0.0"}, "137": {"cpu": "0.0", "mem": "0.0"}, "138": {"cpu": "0.0", "mem": "0.0"}, "143": {"cpu": "0.0", "mem": "0.0"}, "160": {"cpu": "0.0", "mem": "0.0"}, "191": {"cpu": "0.0", "mem": "0.0"}, "232": {"cpu": "0.0", "mem": "0.1"}, "267": {"cpu": "0.0", "mem": "0.0"}, "314": {"cpu": "0.0", "mem": "0.0"}, "358": {"cpu": "0.0", "mem": "0.0"}, "392": {"cpu": "0.0", "mem": "0.0"}, "419": {"cpu": "0.0", "mem": "0.0"}, "441": {"cpu": "0.0", "mem": "0.0"}, "483": {"cpu": "0.0", "mem": "0.0"}, "713": {"cpu": "0.0", "mem": "0.3"}, "719": {"cpu": "0.0", "mem": "0.0"}, "720": {"cpu": "8.0", "mem": "0.4"}, "724": {"cpu": "8.0", "mem": "0.4"}, "726": {"cpu": "12.0", "mem": "0.4"}, "728": {"cpu": "1.3", "mem": "0.3"}, "732": {"cpu": "0.0", "mem": "0.1"}, "733": {"cpu": "0.7", "mem": "0.5"}, "734": {"cpu": "0.3", "mem": "0.4"}, "735": {"cpu": "0.7", "mem": "0.5"}, "736": {"cpu": "0.0", "mem": "0.1"}, "737": {"cpu": "2.7", "mem": "0.3"}, "740": {"cpu": "3.0", "mem": "0.3"}, "741": {"cpu": "0.0", "mem": "0.1"}, "742": {"cpu": "4.3", "mem": "0.4"}, "750": {"cpu": "3.3", "mem": "0.4"}, "751": {"cpu": "0.0", "mem": "0.1"}, "752": {"cpu": "0.3", "mem": "0.1"}, "753": {"cpu": "3.0", "mem": "0.3"}, "761": {"cpu": "4.3", "mem": "0.4"}, "762": {"cpu": "0.7", "mem": "0.1"}, "763": {"cpu": "0.0", "mem": "0.1"}, "772": {"cpu": "0.3", "mem": "0.1"}, "11808": {"cpu": "0.0", "mem": "0.0"}, "11836": {"cpu": "0.0", "mem": "0.0"}, "11838": {"cpu": "0.0", "mem": "0.0"}}, "service": {"uptime": 22069, "version": "0.12.1-367d724", "latest_version": "0.12.1", "storage": {"/media/frigate/recordings": {"total": 5024751.3, "used": 182616.8, "free": 4837359.0, "mount_type": "fuse.shfs"}, "/media/frigate/clips": {"total": 5024751.3, "used": 182616.8, "free": 4837359.0, "mount_type": "fuse.shfs"}, "/tmp/cache": {"total": 1000.0, "used": 2.6, "free": 997.4, "mount_type": "tmpfs"}, "/dev/shm": {"total": 268.4, "used": 14.5, "free": 253.9, "mount_type": "tmpfs"}}, "temperatures": {}, "last_updated": 1701078498}}
          2023-11-27 10:48:18.161 - debug: frigate.0 (3603597) {"total":5024751.3,"used":182616.8,"free":4837359,"mount_type":"fuse.shfs"}
          2023-11-27 10:48:18.425 - debug: frigate.0 (3603597) {"total":5024751.3,"used":182616.8,"free":4837359,"mount_type":"fuse.shfs"}
          2023-11-27 10:48:18.609 - debug: frigate.0 (3603597) {"total":1000,"used":2.6,"free":997.4,"mount_type":"tmpfs"}
          2023-11-27 10:48:18.709 - debug: frigate.0 (3603597) {"total":268.4,"used":14.5,"free":253.9,"mount_type":"tmpfs"}
          2023-11-27 10:48:24.116 - debug: frigate.0 (3603597) id: mqtt.0.frigate.Terrasse.motion changed: ON (ack = false)
          2023-11-27 10:48:24.121 - debug: frigate.0 (3603597) onObjectChange -> id: mqtt.0.frigate.Terrasse.motion changed: ON (ack = false)
          2023-11-27 10:48:24.123 - debug: frigate.0 (3603597) Object available: [object Object] type: string
          2023-11-27 10:48:33.858 - debug: frigate.0 (3603597) id: mqtt.0.frigate.Schlafzimmer.motion changed: OFF (ack = false)
          2023-11-27 10:48:33.863 - debug: frigate.0 (3603597) onObjectChange -> id: mqtt.0.frigate.Schlafzimmer.motion changed: OFF (ack = false)
          2023-11-27 10:48:33.865 - debug: frigate.0 (3603597) Object available: [object Object] type: string
          2023-11-27 10:48:56.056 - debug: frigate.0 (3603597) id: mqtt.0.frigate.events changed: {"before": {"id": "1701078201.815111-ch00l6", "camera": "Buero", "frame_time": 1701078483.19947, "snapshot_time": 1701078422.014361, "label": "person", "sub_label": null, "top_score": 0.84375, "false_positive": false, "start_time": 1701078201.815111, "end_time": null, "score": 0.75390625, "box": [407, 281, 943, 850], "area": 304984, "ratio": 0.9420035149384886, "region": [301, 211, 1001, 911], "stationary": true, "motionless_count": 1398, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": false}, "after": {"id": "1701078201.815111-ch00l6", "camera": "Buero", "frame_time": 1701078535.798322, "snapshot_time": 1701078535.798322, "label": "person", "sub_label": null, "top_score": 0.84375, "false_positive": false, "start_time": 1701078201.815111, "end_time": null, "score": 0.84375, "box": [417, 245, 897, 810], "area": 271200, "ratio": 0.8495575221238938, "region": [168, 32, 1216, 1080], "stationary": true, "motionless_count": 1661, "position_changes": 1, "current_zones": [], "entered_zones": [], "has_clip": true, "has_snapshot": false}, "type": "update"} (ack = false)
          2023-11-27 10:48:56.063 - error: frigate.0 (3603597) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          2023-11-27 10:48:56.065 - error: frigate.0 (3603597) unhandled promise rejection: Cannot read properties of null (reading 'val')
          2023-11-27 10:48:56.066 - error: frigate.0 (3603597) TypeError: Cannot read properties of null (reading 'val')
          at Frigate.onEventChange (/opt/iobroker/node_modules/iobroker.frigate/main.js:322:39)
          2023-11-27 10:48:56.067 - error: frigate.0 (3603597) Cannot read properties of null (reading 'val')
          2023-11-27 10:48:56.071 - info: frigate.0 (3603597) terminating
          2023-11-27 10:48:56.073 - warn: frigate.0 (3603597) Terminated (UNCAUGHT_EXCEPTION): Without reason
          2023-11-27 10:48:56.576 - info: frigate.0 (3603597) terminating
          2023-11-27 10:48:56.896 - error: host.IoBroker instance system.adapter.frigate.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
          2023-11-27 10:48:56.897 - info: host.IoBroker Restart adapter system.adapter.frigate.0 because enabled
          2023-11-27 10:49:27.317 - info: host.IoBroker instance system.adapter.frigate.0 started with pid 3604227
          2023-11-27 10:49:28.609 - debug: frigate.0 (3604227) Redis Objects: Use Redis connection: 127.0.0.1:9001
          2023-11-27 10:49:28.711 - debug: frigate.0 (3604227) Objects client ready ... initialize now
          2023-11-27 10:49:28.714 - debug: frigate.0 (3604227) Objects create System PubSub Client
          2023-11-27 10:49:28.716 - debug: frigate.0 (3604227) Objects create User PubSub Client
          2023-11-27 10:49:28.885 - debug: frigate.0 (3604227) Objects client initialize lua scripts
          2023-11-27 10:49:28.892 - debug: frigate.0 (3604227) Objects connected to redis: 127.0.0.1:9001
          2023-11-27 10:49:28.999 - debug: frigate.0 (3604227) Redis States: Use Redis connection: 127.0.0.1:9000
          2023-11-27 10:49:29.133 - debug: frigate.0 (3604227) States create System PubSub Client
          2023-11-27 10:49:29.135 - debug: frigate.0 (3604227) States create User PubSub Client
          2023-11-27 10:49:29.481 - debug: frigate.0 (3604227) States connected to redis: 127.0.0.1:9000
          2023-11-27 10:49:31.782 - info: frigate.0 (3604227) starting. Version 0.2.6 (non-npm: Bettman66/ioBroker.frigate#7062e2ceb9142495619cb210daf0190bd87dbfe4) in
          

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

            @crunchip ,
            danke ich kann den Fehler nachvollziehen, ich kümmere mich drum.

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

              @crunchip ,
              schau mal ob es bei dir die Objekte "frigate.0.Buero.snapshots.state" und "frigate.0.Buero.recordings.state" gibt und der Wert muss Boolean sein.
              Hintergrund:
              Wenn ich dein Json eingebe ohne das es die Objekte gibt, bekomme ich den Error.
              Ändere ich den Kameranamen in deinem Json in einem von meinen Kameras, bekomme ich kein Error.

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

                @wal irgendwie fehl da einiges
                89ba7c3d-e4cd-47d3-8232-cfd98cbb897f-image.png

                komisch ist aber, als ich zuerst direkt aus dem Repo installiert hatte, gab es diesbezüglich kein Fehler und alle Datenpunkte waren vorhanden

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

                  Hi @Wal

                  Mir ist aufgefallen, das hier in der URL zweimal ein "/" vorkommt und die URL daher nicht funktioniert

                  bb84aec7-4674-4a50-9aaa-9431d937dc08-image.png

                  Liegt das an Frigate oder kommt das aus dem Adapter ?

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

                    @martinschm sagte in Test Frigate Adapter 0.2.5:

                    Liegt das an Frigate oder kommt das aus dem Adapter ?

                    Schau mal in der Adapter Config, da hast du bestimmt bei Frigate Url ein "/" am Ende stehen.

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

                      @wal said in Test Frigate Adapter 0.2.5:

                      @martinschm sagte in Test Frigate Adapter 0.2.5:

                      Liegt das an Frigate oder kommt das aus dem Adapter ?

                      Schau mal in der Adapter Config, da hast du bestimmt bei Frigate Url ein "/" am Ende stehen.

                      Eigentlich nicht. Sieht bei mir so aus

                      38c72595-7b6e-43c5-b9a2-af975d1abde1-image.png

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

                        @martinschm ,
                        das wäre so richtig, ich schaue nochmal drüber an was es liegen könnte.

                        Edit: sehe gerade das ich das auch habe, aber die Links funktionieren bei mir.
                        Du hast quasi ein Bug gefunden.👍

                        Edit: Installiere nochmal über Github, müsste jetzt funktionieren.

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

                          @wal sagte in Test Frigate Adapter 0.2.5:

                          Installiere nochmal über Github

                          • hab ich jetzt auch mal
                          • Links haben noch den //, funktionieren aber

                          zum besagten Fehler, der blieb bzw war einmalig beim Neustart des Adapters.

                          • ich hatte zwischenzeitlich in der Gui sämtliche toogle mal de/aktiviert und bin auch mal vor jede cam gelaufen, dadurch tauchten auch sämtliche Datenpunkte nun auf.

                          • Ein anschließender Neustart des Adapters verursachte dann keinen Fehler mehr.

                          • hab den Adapter gestoppt
                          • im Objektbaum mal alle Datenpunkte gelöscht und Adapter neu gestartet
                          • nur frigate.0.stats wurde angelegt, der Rest blieb aus
                          • Bewegung vor der cam, erschien frigate.0.Buero.motion aber sonst wird nichts angelegt auch nach längerem warten
                          • Neustart des mqtt Adapters und zack, sind alle Datenpunkte unter frigate.0 vorhanden
                          • Neustart des frigate Adapters kein Fehler mehr

                          Schlussfolgerung
                          Timing / mqtt Adapter Problem(falsche Einstellung)?

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

                            @crunchip sagte in Test Frigate Adapter 0.2.5:

                            Timing / mqtt Adapter Problem(falsche Einstellung)?

                            Ja habe ich auch so jetzt festgestellt. Werden die Datenpunkte im MQTT Adapter schon erstellt ohne das der Frigate Adapter läuft, gibt es danach ein Problem.

                            Ich muss beim erstellen oder starten der Frigate Instanz erst alle Datenpunkte aus dem MQTT Adapter auslesen, damit die Objekte synchron sind oder ich muss einen eigenen MQTT Server einbauen was aber wieder einen neuen Port bedeutet. Mal sehen wie ich das mache.

                            crunchip MartinP 2 Replies Last reply Reply Quote 0
                            • Wal
                              Wal Developer @crunchip last edited by

                              @crunchip ,
                              habe eine Lösung gefunden.
                              Ich fange den Fehler ab und bringe im Log eine Meldung den MQTT Broker neu zu starten.
                              Kannst du das mal testen ?
                              Einmal Github bitte.

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

                                @wal sagte in Test Frigate Adapter 0.2.5:

                                Werden die Datenpunkte im MQTT Adapter schon erstellt ohne das der Frigate Adapter läuft

                                ja und die waren ja bei meinem Test nach wie vor vorhanden im mqtt Adapter

                                @wal sagte in Test Frigate Adapter 0.2.5:

                                Ich fange den Fehler ab und bringe im Log eine Meldung den MQTT Broker neu zu starten.

                                kann ich machen, also

                                • frigate Adapter stoppen, Objekte löschen, von git installieren und danach starten?
                                • oder soll ich mqtt auch noch mal löschen?
                                Wal 1 Reply Last reply Reply Quote 1
                                • Wal
                                  Wal Developer @crunchip last edited by

                                  @crunchip ,
                                  nein MQTT nicht löschen.

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

                                    @wal ok, sieht so aus

                                    figate.0
                                    2023-11-28 15:17:58.660	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:53.487	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:48.275	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:40.447	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:35.479	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:30.442	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:25.468	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:20.139	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:13.054	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:17:10.229	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:16:09.913	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:15:39.643	info	MQTT Frigate URL: http://10.1.1.219:5000/
                                    
                                    frigate.0
                                    2023-11-28 15:15:39.641	info	MQTT Frigate Object: mqtt.0.frigate
                                    
                                    frigate.0
                                    2023-11-28 15:15:39.602	info	starting. Version 0.2.6 (non-npm: Bettman66/ioBroker.frigate#72d8fc0bd18a7463eab0c312d5778b477c3e7436) in /opt/iobroker/node_modules/iobroker.frigate, node: v18.18.2, js-controller: 5.0.16
                                    host.IoBroker
                                    2023-11-28 15:15:34.277	info	instance system.adapter.frigate.0 started with pid 606808
                                    host.IoBroker
                                    2023-11-28 15:15:33.513	info	"system.adapter.frigate.0" enabled
                                    

                                    mqtt neu gestartet

                                    host.IoBroker
                                    2023-11-28 15:20:30.179	info	instance system.adapter.mqtt.0 started with pid 608938
                                    host.IoBroker
                                    2023-11-28 15:20:27.345	info	instance system.adapter.mqtt.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                    host.IoBroker
                                    2023-11-28 15:20:26.883	info	stopInstance system.adapter.mqtt.0 send kill signal
                                    host.IoBroker
                                    2023-11-28 15:20:26.506	info	stopInstance system.adapter.mqtt.0 (force=false, process=true)
                                    
                                    frigate.0
                                    2023-11-28 15:20:13.051	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:19:12.601	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:19:02.459	info	restart MQTT Broker please !!!
                                    
                                    frigate.0
                                    2023-11-28 15:18:42.688	info	restart MQTT Broker please !!!
                                    
                                    M 1 Reply Last reply Reply Quote 1
                                    • M
                                      MrHenker27 @crunchip last edited by

                                      moin.

                                      wie kann ich mit Blockly den letzten Snapshot in in Telegramm senden? Hat da jemand mal ein Beispiel.

                                      Bei den Objekten ist ja im mqtt was zu finden. ( mqtt.0.frigate.Kamera_hinten.person.snapshot )
                                      Die Kamera variiert ja wie auch das Objekt ( Person, Bird, Cat ) .....

                                      Marco

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

                                        @mrhenker27 weiter oben ist ein Beispiel
                                        https://forum.iobroker.net/post/1065896
                                        oder direkt von der cam bei Ereignis
                                        e1c9a95d-1d2e-4723-89a1-31b0e3c5ef14-image.png

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

                                          @mrhenker27 ,
                                          hier hatte ich ein Javascript gepostet.
                                          Und hier der Link für die Frigate Snapshot Api.

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

                                            @wal

                                            über die API bin ich schon "gestolpert"

                                            Über den Objektbaum habe ich schon mal die ID bekommen und kann dann das Bild laden.

                                            http:// <IP> :5000//api/events/ <iventID> /snapshot.jpg

                                            http:// <IP> :5000/api/Kamera_hinten/bird/snapshot.jpg

                                            Mal sehen was ich daraus morgen basteln kann. Dachte ich könnte das Objekt selber gleich senden, was in der DB abgelegt wird, aber schein echt nur über den Weg des Zwischenspeicherns zu gehen. Mit Javascript bin ich nicht so gut befreundet g

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            870
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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