Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Proxmox
  5. Proxmox LXC mit Frigate

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Proxmox LXC mit Frigate

Proxmox LXC mit Frigate

Scheduled Pinned Locked Moved Proxmox
176 Posts 16 Posters 47.9k Views 21 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E exitus

    @wal bei mir steht OFF wo kann man es den einschalten im config ist ja true,
    warum ist der eine on und der andere off

    WalW Online
    WalW Online
    Wal
    Developer
    wrote on last edited by
    #61

    @exitus ,
    state ist nur der Status und mit Set kann man an und ausschalten.

    Gruß
    Walter

    DoorIO-Adapter
    wioBrowser-Adapter und wioBrowser

    1 Reply Last reply
    0
    • E Offline
      E Offline
      exitus
      wrote on last edited by
      #62

      mein coral cpu ist das was habe ich gemacht habe unter proxmox wie auf der seite von coral installiert
      ausgabe lsusb

      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 003 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 002 Device 002: ID 1a6e:089a Global Unichip Corp. 
      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
      Bus 001 Device 002: ID 0451:16c8 Texas Instruments, Inc. CC2538 USB CDC
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      
      ls -l /dev/bus/usb/002/002
      crw-rw-r-- 1 root plugdev 189, 129 May 24 16:13 /dev/bus/usb/002/002
      

      lxc 117.conf

      arch: amd64
      cores: 6
      hostname: frigate
      memory: 8096
      net0: name=eth0,bridge=vmbr0,firewall=1,gw=172.16.0.1,hwaddr=22:88:33:2D:28:77,ip=172.1>
      ostype: debian
      rootfs: local-lvm:vm-117-disk-1,size=30G
      swap: 512
      lxc.cgroup.devices.allow: c 226:0 rwm
      lxc.cgroup.devices.allow: c 226:128 rwm
      lxc.cgroup.devices.allow: c 29:0 rwm
      lxc.cgroup.devices.allow: c 189:* rwm
      lxc.apparmor.profile: unconfined
      lxc.cgroup.devices.allow: a
      lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file >
      lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
      lxc.cap.drop:
      lxc.mount.auto: cgroup:rw
      

      frigate conf

      database: 
        path: /media/frigate/db/frigate.db
      detectors:
        coral:
          type: edgetpu
          device: usb
      ui:
        use_experimental: false
        live_mode: mse
      mqtt:
        host: 172.16.0.10
        port: 1689
        user: so
        password: xxxxx
      record:
        enabled: True
        retain:
          days: 7
          mode: all
        events:
          retain:
            default: 30
      snapshots:
        enabled: True
        timestamp: False
        bounding_box: true
        retain:
          default: 90
      
      detect:
        stationary:
          max_frames:
            objects:
              person: 1200
      cameras:
        back1:
          ffmpeg:
            inputs:
              - path: rtsp://admin:xxxxxx@172.16.0.177:554/channel=2
                roles:
                  - detect
                  - rtmp
              - path: rtsp://admin:xxxxx@172.16.0.177:554/channel=1
                roles:
                  - record
            output_args:
              record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
          
          detect:
            width: 1280
            height: 720
          objects:
            track:
              - person
              - car
          record:
            events:
              required_zones:
                - street
                - all
          zones:
            street:
              coordinates: 352,544,416,519,476,513,502,334,472,199,391,107,325,127,261,136,62,162,45,347,59,430,207,535
              objects:
                - car
            all:
              coordinates: 352,544,416,519,476,513,502,334,472,199,391,107,325,127,261,136,62,162,45,347,59,430,207,535
              objects:
                - person
          motion:
            mask:
              - 254,79,503,44,848,24,1113,43,1111,0,439,0,291,0,226,0,0,0,0,159        
                
        back:
          ffmpeg:
            inputs:
              - path: rtsp://admin:xxxxxx@172.16.0.147:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2
                roles:
                  - detect
                  - rtmp
              - path: rtsp://admin:xxxxxx@172.16.0.147:554
                roles:
                  - record
          detect:
            width: 1280
            height: 720
          objects:
            track:
              - person
              - car
          record:
            events:
              required_zones:
                - street
                - all
          zones:
            street:
              coordinates: 470,676,592,583,1051,569,1257,341,1147,254,1063,247,779,299,536,378,476,471,389,399,332,473,241,427,293,647
              objects:
                - person
            #all:
              #coordinates: 472,57,526,64,1031,129,1060,95,941,30,504,26,376,0,175,0,0,0,33,169,191,143,360,110
              #objects:
               # - person
      

      ohne edge tpu ging es , habe detector auf edgetpu geänder seit dem habe ich kein bild kommt so für 1 sekunde und wider alles schwarz wie auf dem bild
      frigate.png

      mein log vom docker

      2023-05-24 16:34:48.086320180  
      2023-05-24 16:34:53.211082426  [2023-05-24 16:34:53] frigate.watchdog               INFO    : Detection appears to have stopped. Exiting Frigate...
      s6-rc: info: service legacy-services: stopping
      s6-rc: info: service legacy-services successfully stopped
      s6-rc: info: service nginx: stopping
      s6-rc: info: service go2rtc-healthcheck: stopping
      2023-05-24 16:34:53.227039323  [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
      s6-rc: info: service go2rtc-healthcheck successfully stopped
      2023-05-24 16:34:53.305962172  [INFO] Service NGINX exited with code 0 (by signal 0)
      s6-rc: info: service nginx successfully stopped
      s6-rc: info: service nginx-log: stopping
      s6-rc: info: service frigate: stopping
      2023-05-24 16:34:53.309352767  [2023-05-24 16:34:53] frigate.app                    INFO    : Stopping...
      s6-rc: info: service nginx-log successfully stopped
      2023-05-24 16:34:53.311354844  [2023-05-24 16:34:53] frigate.watchdog               INFO    : Exiting watchdog...
      2023-05-24 16:34:53.312088389  [2023-05-24 16:34:53] frigate.storage                INFO    : Exiting storage maintainer...
      2023-05-24 16:34:53.312100611  [2023-05-24 16:34:53] frigate.stats                  INFO    : Exiting stats emitter...
      2023-05-24 16:34:53.312107805  [2023-05-24 16:34:53] frigate.record                 INFO    : Exiting recording maintenance...
      2023-05-24 16:34:53.320612754  [2023-05-24 16:34:53] frigate.record                 INFO    : Exiting recording cleanup...
      2023-05-24 16:34:53.321374794  [2023-05-24 16:34:53] frigate.events                 INFO    : Exiting event cleanup...
      2023-05-24 16:34:53.321393162  [2023-05-24 16:34:53] frigate.object_processing      INFO    : Exiting object processor...
      2023-05-24 16:34:53.571418465  [2023-05-24 16:34:53] frigate.comms.ws               INFO    : Exiting websocket client...
      2023-05-24 16:34:54.249977376  [2023-05-24 16:34:54] frigate.events                 INFO    : Exiting event processor...
      2023-05-24 16:34:54.250550076  [2023-05-24 16:34:54] peewee.sqliteq                 INFO    : writer received shutdown request, exiting.
      2023-05-24 16:34:54.259106288  [2023-05-24 16:34:54] watchdog.back                  INFO    : Terminating the existing ffmpeg process...
      2023-05-24 16:34:54.259777814  [2023-05-24 16:34:54] watchdog.back                  INFO    : Waiting for ffmpeg to exit gracefully...
      2023-05-24 16:34:54.266624376  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Terminating the existing ffmpeg process...
      2023-05-24 16:34:54.266775374  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Waiting for ffmpeg to exit gracefully...
      2023-05-24 16:34:54.383145698  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Terminating the existing ffmpeg process...
      2023-05-24 16:34:54.383311572  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Waiting for ffmpeg to exit gracefully...
      2023-05-24 16:34:54.415749456  [2023-05-24 16:34:54] watchdog.back                  INFO    : Terminating the existing ffmpeg process...
      2023-05-24 16:34:54.415853799  [2023-05-24 16:34:54] watchdog.back                  INFO    : Waiting for ffmpeg to exit gracefully...
      2023-05-24 16:34:54.637141769  [2023-05-24 16:34:54] frigate.output                 INFO    : exiting output process...
      2023-05-24 16:34:58.559268884  /usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 13 leaked shared_memory objects to clean up at shutdown
      2023-05-24 16:34:58.559280338    warnings.warn('resource_tracker: There appear to be %d '
      2023-05-24 16:34:58.560386418  [INFO] Service Frigate exited with code 0 (by signal 0)
      s6-rc: info: service frigate successfully stopped
      s6-rc: info: service go2rtc: stopping
      s6-rc: info: service frigate-log: stopping
      2023-05-24 16:34:58.563280091  exit OK
      s6-rc: info: service frigate-log successfully stopped
      2023-05-24 16:34:58.570563372  [INFO] The go2rtc service exited with code 0 (by signal 0)
      s6-rc: info: service go2rtc successfully stopped
      s6-rc: info: service go2rtc-log: stopping
      s6-rc: info: service go2rtc-log successfully stopped
      s6-rc: info: service log-prepare: stopping
      s6-rc: info: service s6rc-fdholder: stopping
      s6-rc: info: service log-prepare successfully stopped
      s6-rc: info: service legacy-cont-init: stopping
      s6-rc: info: service s6rc-fdholder successfully stopped
      s6-rc: info: service legacy-cont-init successfully stopped
      s6-rc: info: service fix-attrs: stopping
      s6-rc: info: service fix-attrs successfully stopped
      s6-rc: info: service s6rc-oneshot-runner: stopping
      s6-rc: info: service s6rc-oneshot-runner successfully stopped
      s6-rc: info: service s6rc-fdholder: starting
      s6-rc: info: service s6rc-oneshot-runner: starting
      s6-rc: info: service s6rc-oneshot-runner successfully started
      s6-rc: info: service fix-attrs: starting
      s6-rc: info: service s6rc-fdholder successfully started
      s6-rc: info: service fix-attrs successfully started
      s6-rc: info: service legacy-cont-init: starting
      s6-rc: info: service legacy-cont-init successfully started
      s6-rc: info: service log-prepare: starting
      s6-rc: info: service log-prepare successfully started
      s6-rc: info: service nginx-log: starting
      s6-rc: info: service go2rtc-log: starting
      s6-rc: info: service frigate-log: starting
      s6-rc: info: service nginx-log successfully started
      s6-rc: info: service go2rtc-log successfully started
      s6-rc: info: service go2rtc: starting
      s6-rc: info: service frigate-log successfully started
      s6-rc: info: service go2rtc successfully started
      s6-rc: info: service go2rtc-healthcheck: starting
      s6-rc: info: service frigate: starting
      s6-rc: info: service go2rtc-healthcheck successfully started
      s6-rc: info: service frigate successfully started
      s6-rc: info: service nginx: starting
      2023-05-24 16:35:03.269511637  [INFO] Preparing go2rtc config...
      s6-rc: info: service nginx successfully started
      s6-rc: info: service legacy-services: starting
      2023-05-24 16:35:03.274350536  [INFO] Starting Frigate...
      2023-05-24 16:35:03.274655883  [INFO] Starting NGINX...
      s6-rc: info: service legacy-services successfully started
      2023-05-24 16:35:03.544117376  [INFO] Starting go2rtc...
      2023-05-24 16:35:03.635953359  16:35:03.635 INF go2rtc version 1.2.0 linux/amd64
      2023-05-24 16:35:03.636486320  16:35:03.636 INF [api] listen addr=:1984
      2023-05-24 16:35:03.636814435  16:35:03.636 INF [rtsp] listen addr=:8554
      2023-05-24 16:35:03.637127674  16:35:03.637 INF [srtp] listen addr=:8443
      2023-05-24 16:35:03.637534711  16:35:03.637 INF [webrtc] listen addr=:8555
      2023-05-24 16:35:04.485742533  [2023-05-24 16:35:04] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)
      2023-05-24 16:35:04.527219793  [2023-05-24 16:35:04] peewee_migrate                 INFO    : Starting migrations
      2023-05-24 16:35:04.531970132  [2023-05-24 16:35:04] peewee_migrate                 INFO    : There is nothing to migrate
      2023-05-24 16:35:04.549606158  [2023-05-24 16:35:04] detector.coral                 INFO    : Starting detection process: 429
      2023-05-24 16:35:04.554122319  [2023-05-24 16:35:04] frigate.app                    INFO    : Output process started: 431
      2023-05-24 16:35:04.561305867  [2023-05-24 16:35:04] frigate.app                    INFO    : Camera processor started for back1: 437
      2023-05-24 16:35:04.570196340  [2023-05-24 16:35:04] frigate.app                    INFO    : Camera processor started for back: 439
      2023-05-24 16:35:04.576351891  [2023-05-24 16:35:04] frigate.app                    INFO    : Capture process started for back1: 440
      2023-05-24 16:35:04.582484533  [2023-05-24 16:35:04] frigate.app                    INFO    : Capture process started for back: 444
      2023-05-24 16:35:13.274499111  [INFO] Starting go2rtc healthcheck service...
      
      WalW 1 Reply Last reply
      0
      • E exitus

        mein coral cpu ist das was habe ich gemacht habe unter proxmox wie auf der seite von coral installiert
        ausgabe lsusb

        Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
        Bus 003 Device 002: ID 8087:0029 Intel Corp. AX200 Bluetooth
        Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        Bus 002 Device 002: ID 1a6e:089a Global Unichip Corp. 
        Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
        Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
        Bus 001 Device 002: ID 0451:16c8 Texas Instruments, Inc. CC2538 USB CDC
        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        
        ls -l /dev/bus/usb/002/002
        crw-rw-r-- 1 root plugdev 189, 129 May 24 16:13 /dev/bus/usb/002/002
        

        lxc 117.conf

        arch: amd64
        cores: 6
        hostname: frigate
        memory: 8096
        net0: name=eth0,bridge=vmbr0,firewall=1,gw=172.16.0.1,hwaddr=22:88:33:2D:28:77,ip=172.1>
        ostype: debian
        rootfs: local-lvm:vm-117-disk-1,size=30G
        swap: 512
        lxc.cgroup.devices.allow: c 226:0 rwm
        lxc.cgroup.devices.allow: c 226:128 rwm
        lxc.cgroup.devices.allow: c 29:0 rwm
        lxc.cgroup.devices.allow: c 189:* rwm
        lxc.apparmor.profile: unconfined
        lxc.cgroup.devices.allow: a
        lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file >
        lxc.mount.entry: /dev/bus/usb/002/ dev/bus/usb/002/ none bind,optional,create=dir 0, 0
        lxc.cap.drop:
        lxc.mount.auto: cgroup:rw
        

        frigate conf

        database: 
          path: /media/frigate/db/frigate.db
        detectors:
          coral:
            type: edgetpu
            device: usb
        ui:
          use_experimental: false
          live_mode: mse
        mqtt:
          host: 172.16.0.10
          port: 1689
          user: so
          password: xxxxx
        record:
          enabled: True
          retain:
            days: 7
            mode: all
          events:
            retain:
              default: 30
        snapshots:
          enabled: True
          timestamp: False
          bounding_box: true
          retain:
            default: 90
        
        detect:
          stationary:
            max_frames:
              objects:
                person: 1200
        cameras:
          back1:
            ffmpeg:
              inputs:
                - path: rtsp://admin:xxxxxx@172.16.0.177:554/channel=2
                  roles:
                    - detect
                    - rtmp
                - path: rtsp://admin:xxxxx@172.16.0.177:554/channel=1
                  roles:
                    - record
              output_args:
                record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
            
            detect:
              width: 1280
              height: 720
            objects:
              track:
                - person
                - car
            record:
              events:
                required_zones:
                  - street
                  - all
            zones:
              street:
                coordinates: 352,544,416,519,476,513,502,334,472,199,391,107,325,127,261,136,62,162,45,347,59,430,207,535
                objects:
                  - car
              all:
                coordinates: 352,544,416,519,476,513,502,334,472,199,391,107,325,127,261,136,62,162,45,347,59,430,207,535
                objects:
                  - person
            motion:
              mask:
                - 254,79,503,44,848,24,1113,43,1111,0,439,0,291,0,226,0,0,0,0,159        
                  
          back:
            ffmpeg:
              inputs:
                - path: rtsp://admin:xxxxxx@172.16.0.147:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2
                  roles:
                    - detect
                    - rtmp
                - path: rtsp://admin:xxxxxx@172.16.0.147:554
                  roles:
                    - record
            detect:
              width: 1280
              height: 720
            objects:
              track:
                - person
                - car
            record:
              events:
                required_zones:
                  - street
                  - all
            zones:
              street:
                coordinates: 470,676,592,583,1051,569,1257,341,1147,254,1063,247,779,299,536,378,476,471,389,399,332,473,241,427,293,647
                objects:
                  - person
              #all:
                #coordinates: 472,57,526,64,1031,129,1060,95,941,30,504,26,376,0,175,0,0,0,33,169,191,143,360,110
                #objects:
                 # - person
        

        ohne edge tpu ging es , habe detector auf edgetpu geänder seit dem habe ich kein bild kommt so für 1 sekunde und wider alles schwarz wie auf dem bild
        frigate.png

        mein log vom docker

        2023-05-24 16:34:48.086320180  
        2023-05-24 16:34:53.211082426  [2023-05-24 16:34:53] frigate.watchdog               INFO    : Detection appears to have stopped. Exiting Frigate...
        s6-rc: info: service legacy-services: stopping
        s6-rc: info: service legacy-services successfully stopped
        s6-rc: info: service nginx: stopping
        s6-rc: info: service go2rtc-healthcheck: stopping
        2023-05-24 16:34:53.227039323  [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
        s6-rc: info: service go2rtc-healthcheck successfully stopped
        2023-05-24 16:34:53.305962172  [INFO] Service NGINX exited with code 0 (by signal 0)
        s6-rc: info: service nginx successfully stopped
        s6-rc: info: service nginx-log: stopping
        s6-rc: info: service frigate: stopping
        2023-05-24 16:34:53.309352767  [2023-05-24 16:34:53] frigate.app                    INFO    : Stopping...
        s6-rc: info: service nginx-log successfully stopped
        2023-05-24 16:34:53.311354844  [2023-05-24 16:34:53] frigate.watchdog               INFO    : Exiting watchdog...
        2023-05-24 16:34:53.312088389  [2023-05-24 16:34:53] frigate.storage                INFO    : Exiting storage maintainer...
        2023-05-24 16:34:53.312100611  [2023-05-24 16:34:53] frigate.stats                  INFO    : Exiting stats emitter...
        2023-05-24 16:34:53.312107805  [2023-05-24 16:34:53] frigate.record                 INFO    : Exiting recording maintenance...
        2023-05-24 16:34:53.320612754  [2023-05-24 16:34:53] frigate.record                 INFO    : Exiting recording cleanup...
        2023-05-24 16:34:53.321374794  [2023-05-24 16:34:53] frigate.events                 INFO    : Exiting event cleanup...
        2023-05-24 16:34:53.321393162  [2023-05-24 16:34:53] frigate.object_processing      INFO    : Exiting object processor...
        2023-05-24 16:34:53.571418465  [2023-05-24 16:34:53] frigate.comms.ws               INFO    : Exiting websocket client...
        2023-05-24 16:34:54.249977376  [2023-05-24 16:34:54] frigate.events                 INFO    : Exiting event processor...
        2023-05-24 16:34:54.250550076  [2023-05-24 16:34:54] peewee.sqliteq                 INFO    : writer received shutdown request, exiting.
        2023-05-24 16:34:54.259106288  [2023-05-24 16:34:54] watchdog.back                  INFO    : Terminating the existing ffmpeg process...
        2023-05-24 16:34:54.259777814  [2023-05-24 16:34:54] watchdog.back                  INFO    : Waiting for ffmpeg to exit gracefully...
        2023-05-24 16:34:54.266624376  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Terminating the existing ffmpeg process...
        2023-05-24 16:34:54.266775374  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Waiting for ffmpeg to exit gracefully...
        2023-05-24 16:34:54.383145698  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Terminating the existing ffmpeg process...
        2023-05-24 16:34:54.383311572  [2023-05-24 16:34:54] watchdog.back1                 INFO    : Waiting for ffmpeg to exit gracefully...
        2023-05-24 16:34:54.415749456  [2023-05-24 16:34:54] watchdog.back                  INFO    : Terminating the existing ffmpeg process...
        2023-05-24 16:34:54.415853799  [2023-05-24 16:34:54] watchdog.back                  INFO    : Waiting for ffmpeg to exit gracefully...
        2023-05-24 16:34:54.637141769  [2023-05-24 16:34:54] frigate.output                 INFO    : exiting output process...
        2023-05-24 16:34:58.559268884  /usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 13 leaked shared_memory objects to clean up at shutdown
        2023-05-24 16:34:58.559280338    warnings.warn('resource_tracker: There appear to be %d '
        2023-05-24 16:34:58.560386418  [INFO] Service Frigate exited with code 0 (by signal 0)
        s6-rc: info: service frigate successfully stopped
        s6-rc: info: service go2rtc: stopping
        s6-rc: info: service frigate-log: stopping
        2023-05-24 16:34:58.563280091  exit OK
        s6-rc: info: service frigate-log successfully stopped
        2023-05-24 16:34:58.570563372  [INFO] The go2rtc service exited with code 0 (by signal 0)
        s6-rc: info: service go2rtc successfully stopped
        s6-rc: info: service go2rtc-log: stopping
        s6-rc: info: service go2rtc-log successfully stopped
        s6-rc: info: service log-prepare: stopping
        s6-rc: info: service s6rc-fdholder: stopping
        s6-rc: info: service log-prepare successfully stopped
        s6-rc: info: service legacy-cont-init: stopping
        s6-rc: info: service s6rc-fdholder successfully stopped
        s6-rc: info: service legacy-cont-init successfully stopped
        s6-rc: info: service fix-attrs: stopping
        s6-rc: info: service fix-attrs successfully stopped
        s6-rc: info: service s6rc-oneshot-runner: stopping
        s6-rc: info: service s6rc-oneshot-runner successfully stopped
        s6-rc: info: service s6rc-fdholder: starting
        s6-rc: info: service s6rc-oneshot-runner: starting
        s6-rc: info: service s6rc-oneshot-runner successfully started
        s6-rc: info: service fix-attrs: starting
        s6-rc: info: service s6rc-fdholder successfully started
        s6-rc: info: service fix-attrs successfully started
        s6-rc: info: service legacy-cont-init: starting
        s6-rc: info: service legacy-cont-init successfully started
        s6-rc: info: service log-prepare: starting
        s6-rc: info: service log-prepare successfully started
        s6-rc: info: service nginx-log: starting
        s6-rc: info: service go2rtc-log: starting
        s6-rc: info: service frigate-log: starting
        s6-rc: info: service nginx-log successfully started
        s6-rc: info: service go2rtc-log successfully started
        s6-rc: info: service go2rtc: starting
        s6-rc: info: service frigate-log successfully started
        s6-rc: info: service go2rtc successfully started
        s6-rc: info: service go2rtc-healthcheck: starting
        s6-rc: info: service frigate: starting
        s6-rc: info: service go2rtc-healthcheck successfully started
        s6-rc: info: service frigate successfully started
        s6-rc: info: service nginx: starting
        2023-05-24 16:35:03.269511637  [INFO] Preparing go2rtc config...
        s6-rc: info: service nginx successfully started
        s6-rc: info: service legacy-services: starting
        2023-05-24 16:35:03.274350536  [INFO] Starting Frigate...
        2023-05-24 16:35:03.274655883  [INFO] Starting NGINX...
        s6-rc: info: service legacy-services successfully started
        2023-05-24 16:35:03.544117376  [INFO] Starting go2rtc...
        2023-05-24 16:35:03.635953359  16:35:03.635 INF go2rtc version 1.2.0 linux/amd64
        2023-05-24 16:35:03.636486320  16:35:03.636 INF [api] listen addr=:1984
        2023-05-24 16:35:03.636814435  16:35:03.636 INF [rtsp] listen addr=:8554
        2023-05-24 16:35:03.637127674  16:35:03.637 INF [srtp] listen addr=:8443
        2023-05-24 16:35:03.637534711  16:35:03.637 INF [webrtc] listen addr=:8555
        2023-05-24 16:35:04.485742533  [2023-05-24 16:35:04] frigate.app                    INFO    : Starting Frigate (0.12.0-da3e197)
        2023-05-24 16:35:04.527219793  [2023-05-24 16:35:04] peewee_migrate                 INFO    : Starting migrations
        2023-05-24 16:35:04.531970132  [2023-05-24 16:35:04] peewee_migrate                 INFO    : There is nothing to migrate
        2023-05-24 16:35:04.549606158  [2023-05-24 16:35:04] detector.coral                 INFO    : Starting detection process: 429
        2023-05-24 16:35:04.554122319  [2023-05-24 16:35:04] frigate.app                    INFO    : Output process started: 431
        2023-05-24 16:35:04.561305867  [2023-05-24 16:35:04] frigate.app                    INFO    : Camera processor started for back1: 437
        2023-05-24 16:35:04.570196340  [2023-05-24 16:35:04] frigate.app                    INFO    : Camera processor started for back: 439
        2023-05-24 16:35:04.576351891  [2023-05-24 16:35:04] frigate.app                    INFO    : Capture process started for back1: 440
        2023-05-24 16:35:04.582484533  [2023-05-24 16:35:04] frigate.app                    INFO    : Capture process started for back: 444
        2023-05-24 16:35:13.274499111  [INFO] Starting go2rtc healthcheck service...
        
        WalW Online
        WalW Online
        Wal
        Developer
        wrote on last edited by Wal
        #63

        @exitus ,
        in der docker.yml hast du die coral usb auch durchgereicht ?
        Die Treiber im Proxmox-Host sind auch installiert ?

        Gruß
        Walter

        DoorIO-Adapter
        wioBrowser-Adapter und wioBrowser

        E 1 Reply Last reply
        0
        • WalW Wal

          @exitus ,
          in der docker.yml hast du die coral usb auch durchgereicht ?
          Die Treiber im Proxmox-Host sind auch installiert ?

          E Offline
          E Offline
          exitus
          wrote on last edited by exitus
          #64

          @wal proxmox host sind die treiber installiert die ausgabe von lsusb ist vom host
          mit der rechte meinst du doch
          /dev/bus/usb:/dev/bus/usb
          habe frigate so getstartet

          docker run --name frigate --privileged --shm-size=1g --mount type=tmpfs,target=/tmp/cache,tmpfs-size=2000000000 -v /shared/frigate/config:/config:rw -v /dev/bus/usb:/dev/bus/usb -v /etc/localtime:/etc/localtime:ro -v /shared/frigate:/media/frigate/clips:rw -v /shared/frigate/recordings:/media/frigate/recordings:rw -v /home/frigate:/media/frigate/db:rw --device-cgroup-rule="c 189:* rmw" --device=/dev/dri/renderD128 -d -p 5000:5000 -e FRIGATE_RTSP_PASSWORD='elajelaj-61' ghcr.io/blakeblackshear/frigate:stable
          

          frigate.png

          WalW 1 Reply Last reply
          0
          • E exitus

            @wal proxmox host sind die treiber installiert die ausgabe von lsusb ist vom host
            mit der rechte meinst du doch
            /dev/bus/usb:/dev/bus/usb
            habe frigate so getstartet

            docker run --name frigate --privileged --shm-size=1g --mount type=tmpfs,target=/tmp/cache,tmpfs-size=2000000000 -v /shared/frigate/config:/config:rw -v /dev/bus/usb:/dev/bus/usb -v /etc/localtime:/etc/localtime:ro -v /shared/frigate:/media/frigate/clips:rw -v /shared/frigate/recordings:/media/frigate/recordings:rw -v /home/frigate:/media/frigate/db:rw --device-cgroup-rule="c 189:* rmw" --device=/dev/dri/renderD128 -d -p 5000:5000 -e FRIGATE_RTSP_PASSWORD='elajelaj-61' ghcr.io/blakeblackshear/frigate:stable
            

            frigate.png

            WalW Online
            WalW Online
            Wal
            Developer
            wrote on last edited by Wal
            #65

            @exitus sagte in Proxmox LXC mit Frigate:

            proxmox host sind die treiber installiert die ausgabe von lsusb ist vom host

            das ist mir schon klar, heisst aber nicht das du das gemacht hast:

            echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
            
            curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
            
            sudo apt-get update
            
            sudo apt-get install libedgetpu1-std gasket-dkms
            

            und der aktuelle pve-kernel-header muss vorher auch installiert sein, wobei der gasket-dkms evtl. auch nur für die PCI Version installiert werden muss, weiß ich aber nicht da ich keine USB-Verdion habe.

            Gruß
            Walter

            DoorIO-Adapter
            wioBrowser-Adapter und wioBrowser

            E 1 Reply Last reply
            0
            • WalW Wal

              @exitus sagte in Proxmox LXC mit Frigate:

              proxmox host sind die treiber installiert die ausgabe von lsusb ist vom host

              das ist mir schon klar, heisst aber nicht das du das gemacht hast:

              echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
              
              curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
              
              sudo apt-get update
              
              sudo apt-get install libedgetpu1-std gasket-dkms
              

              und der aktuelle pve-kernel-header muss vorher auch installiert sein, wobei der gasket-dkms evtl. auch nur für die PCI Version installiert werden muss, weiß ich aber nicht da ich keine USB-Verdion habe.

              E Offline
              E Offline
              exitus
              wrote on last edited by exitus
              #66

              @wal

              echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
              
              curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
              
              sudo apt-get update
              Install the Edge TPU runtime:
              
              sudo apt-get install libedgetpu1-std
              

              das habe ich gemacht unter proxmox host und im container

              WalW 1 Reply Last reply
              0
              • E exitus

                @wal

                echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
                
                curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
                
                sudo apt-get update
                Install the Edge TPU runtime:
                
                sudo apt-get install libedgetpu1-std
                

                das habe ich gemacht unter proxmox host und im container

                WalW Online
                WalW Online
                Wal
                Developer
                wrote on last edited by
                #67

                @exitus ,
                ok da würde ich mal auf github beim frigate Projekt nachfragen, da man aus dem Log nicht viel herausziehen kann.

                Gruß
                Walter

                DoorIO-Adapter
                wioBrowser-Adapter und wioBrowser

                1 Reply Last reply
                0
                • R Radi

                  @wal sagte in Proxmox LXC mit Frigate:

                  cat /config/config.yml

                  Hallo Walter,

                  das ganze verwirrt mich jetzt etwas. Die Ausgabe ist:

                  cat: /config/config.yml: No such file or directory
                  
                  

                  will ich das Verzeichnis erzeugen, kommt das:

                  mkdir config
                  mkdir: cannot create directory 'config': File exists
                  

                  Will ich mit nano eine neue config erzeugen kommt:

                    GNU nano 6.4                        /config/config.yml                                 
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                  
                                           [ Directory '/config' does not exist ]
                  ^G Help       ^O Write Out  ^W Where Is   ^K Cut        ^T Execute    ^C Location
                  ^X Exit       ^R Read File  ^\ Replace    ^U Paste      ^J Justify    ^/ Go To Line
                  

                  Wechsel ich dann zu Fuß in das Verzeichnis config und gebe dann deinen cat-Befehl angepasst ein kommt das:

                  ~/config# cat config.yml
                  detectors:
                  
                    cpu1:
                  
                      type: cpu
                  
                   
                  
                  mqtt:
                  
                    host: 192.168.69.159
                  
                    user: user
                  
                    password: xxx
                   
                  
                  cameras:
                  
                    back:
                  
                      ffmpeg:
                  
                        hwaccel_args: preset-vaapi
                  
                        inputs:
                  
                          - path: rtsp:/XXX:xxx@192.168.69.162:554/h264Preview_01_sub
                  
                            roles:
                  
                              - detect
                  
                          - path: rtsp://XXX.xxx@192.168.69.162:554/h264Preview_01_main
                  
                            roles:
                  
                              - record
                  
                      detect:
                  
                        width: 640
                  
                        height: 360
                  
                      mqtt:
                  
                        enabled: False
                  
                  
                  
                     objects:
                  
                        track:
                  
                          - person
                  
                          - car
                  
                          - truck
                  
                          - bicycle
                  
                          - motorcycle
                  
                          - dog
                  
                          - cat
                  
                  snapshots:
                  
                    enabled: True
                  
                    timestamp: False
                  
                    bounding_box: False
                  
                    crop: False
                  
                    height: 175
                  
                    required_zones: []
                  
                    retain:
                  
                      default: 10
                  
                      objects:
                  
                            person: 15
                  
                   
                  
                  record:
                  
                    enabled: True
                  
                    retain:
                  
                      days: 7
                  
                      mode: motion
                  
                    events:
                  
                      retain:
                  
                        default: 14
                  
                        mode: active_objects
                  
                        objects:
                  
                          person: 14
                  
                          dog: 2
                  
                          car: 7
                  
                  holzapfelaugeH Offline
                  holzapfelaugeH Offline
                  holzapfelauge
                  wrote on last edited by
                  #68

                  @radi Hast du das ganze zum laufen bekommen? ich hab das selbe Problem wie du. Hab den Ladebildschirm und sonst tut sich nix.

                  H 1 Reply Last reply
                  0
                  • holzapfelaugeH holzapfelauge

                    @radi Hast du das ganze zum laufen bekommen? ich hab das selbe Problem wie du. Hab den Ladebildschirm und sonst tut sich nix.

                    H Do not disturb
                    H Do not disturb
                    Hansi1234
                    wrote on last edited by
                    #69

                    @holzapfelauge
                    @Radi

                    Habt ihr zu eurem Endlosloop schon eine Lösung gefunden? Habe es vorhin für Testzwecke auch installiert und stehe nun vor dem gleichen Problem.

                    @Wal kannst du hier vielleicht helfen?

                    WalW 1 Reply Last reply
                    0
                    • H Hansi1234

                      @holzapfelauge
                      @Radi

                      Habt ihr zu eurem Endlosloop schon eine Lösung gefunden? Habe es vorhin für Testzwecke auch installiert und stehe nun vor dem gleichen Problem.

                      @Wal kannst du hier vielleicht helfen?

                      WalW Online
                      WalW Online
                      Wal
                      Developer
                      wrote on last edited by
                      #70

                      @hansi1234 ,
                      wenn du möchtest können wir die Installation heute Abend Schritt für Schritt gemeinsam durchführen.

                      Gruß
                      Walter

                      DoorIO-Adapter
                      wioBrowser-Adapter und wioBrowser

                      H 1 Reply Last reply
                      0
                      • WalW Wal

                        @hansi1234 ,
                        wenn du möchtest können wir die Installation heute Abend Schritt für Schritt gemeinsam durchführen.

                        H Do not disturb
                        H Do not disturb
                        Hansi1234
                        wrote on last edited by
                        #71

                        @wal gerne. Hast du die Installation zufällig in letzter Zeit auch versucht?
                        Könnte es bei mir am nicht aktuellen proxmox Host liegen?

                        WalW 1 Reply Last reply
                        0
                        • H Hansi1234

                          @wal gerne. Hast du die Installation zufällig in letzter Zeit auch versucht?
                          Könnte es bei mir am nicht aktuellen proxmox Host liegen?

                          WalW Online
                          WalW Online
                          Wal
                          Developer
                          wrote on last edited by
                          #72

                          @hansi1234 sagte in Proxmox LXC mit Frigate:

                          Könnte es bei mir am nicht aktuellen proxmox Host liegen?

                          Denke ich nicht.
                          Wäre so um 19Uhr bereit.

                          Gruß
                          Walter

                          DoorIO-Adapter
                          wioBrowser-Adapter und wioBrowser

                          H 1 Reply Last reply
                          1
                          • WalW Wal

                            @hansi1234 sagte in Proxmox LXC mit Frigate:

                            Könnte es bei mir am nicht aktuellen proxmox Host liegen?

                            Denke ich nicht.
                            Wäre so um 19Uhr bereit.

                            H Do not disturb
                            H Do not disturb
                            Hansi1234
                            wrote on last edited by
                            #73

                            @wal super, ich schreibe dich dann im Chat an

                            WalW 2 Replies Last reply
                            0
                            • H Hansi1234

                              @wal super, ich schreibe dich dann im Chat an

                              WalW Online
                              WalW Online
                              Wal
                              Developer
                              wrote on last edited by
                              #74

                              @hansi1234 ,
                              wir könnten es auch hier machen, da hätten die anderen auch was davon.
                              Wenn du unter Windows auf Proxmox zugreifst, installier bitte den Bitvise SSH-Client.
                              Da geht Copy-Paste hervorragend, nehm ich lieber als Putty und die Proxmox-Konsole geht gar nicht.

                              Gruß
                              Walter

                              DoorIO-Adapter
                              wioBrowser-Adapter und wioBrowser

                              H 1 Reply Last reply
                              0
                              • WalW Wal

                                @hansi1234 ,
                                wir könnten es auch hier machen, da hätten die anderen auch was davon.
                                Wenn du unter Windows auf Proxmox zugreifst, installier bitte den Bitvise SSH-Client.
                                Da geht Copy-Paste hervorragend, nehm ich lieber als Putty und die Proxmox-Konsole geht gar nicht.

                                H Do not disturb
                                H Do not disturb
                                Hansi1234
                                wrote on last edited by
                                #75

                                @wal alles klar. Bis später

                                1 Reply Last reply
                                0
                                • H Hansi1234

                                  @wal super, ich schreibe dich dann im Chat an

                                  WalW Online
                                  WalW Online
                                  Wal
                                  Developer
                                  wrote on last edited by Wal
                                  #76

                                  @hansi1234 ,
                                  habe ich eben getestet, mit der alten Anleitung geht es nicht 😉
                                  Neue Anleitung auf Seite 1 !!!

                                  Gruß
                                  Walter

                                  DoorIO-Adapter
                                  wioBrowser-Adapter und wioBrowser

                                  H 2 Replies Last reply
                                  0
                                  • WalW Wal

                                    @hansi1234 ,
                                    habe ich eben getestet, mit der alten Anleitung geht es nicht 😉
                                    Neue Anleitung auf Seite 1 !!!

                                    H Do not disturb
                                    H Do not disturb
                                    Hansi1234
                                    wrote on last edited by
                                    #77

                                    @wal said in Proxmox LXC mit Frigate:

                                    exit

                                    Funktioniert, danke dir 🙂

                                    1 Reply Last reply
                                    1
                                    • WalW Wal

                                      @hansi1234 ,
                                      habe ich eben getestet, mit der alten Anleitung geht es nicht 😉
                                      Neue Anleitung auf Seite 1 !!!

                                      H Do not disturb
                                      H Do not disturb
                                      Hansi1234
                                      wrote on last edited by
                                      #78

                                      @wal ich hätte noch zwei offene Punkte.

                                      1. Bei mir wird unter /media/frigate/recordings nichts gespeichert. Events usw. sehe ich auf der Weboberfläche. Auch mit deinem Adapter passt alles. Wenn ich aber den Container neu starte, ist alles weg. Scheint so, als ob Frigate alles in einen tmp Ordner speichert. Das ist meine config:
                                      detectors:
                                        coral:
                                          type: edgetpu
                                          device: usb
                                      mqtt:
                                       host: 192.168.179.***
                                       user: ***
                                       password: ****
                                      
                                      cameras:
                                        Einfahrt: # <------ Name the camera
                                          ffmpeg:
                                            hwaccel_args: preset-vaapi
                                            inputs:
                                              # High Resolution Stream
                                              - path: rtsp://***:***@192.168.179.***:554/h264Preview_01_main
                                                roles:
                                                  - record
                                      
                                              # Low Resolution Stream
                                              - path: rtsp://***:***@192.168.179.***:554/h264Preview_01_sub
                                                roles:
                                                  - detect
                                          record: # <----- Enable recording
                                            enabled: True
                                          objects:
                                            track:
                                              - person
                                              - car
                                      
                                      
                                      database:
                                        path: /config/frigate.db
                                      
                                      
                                      1. Kann ich iegendwo definieren, dass die "detects" und "snapshots" automatisch bei einem Neustart eingeschaltet sind? Diese muss ich nach jedem Neustart wieder manuell auf der Weboberfläche aktivieren.
                                      WalW 1 Reply Last reply
                                      0
                                      • H Hansi1234

                                        @wal ich hätte noch zwei offene Punkte.

                                        1. Bei mir wird unter /media/frigate/recordings nichts gespeichert. Events usw. sehe ich auf der Weboberfläche. Auch mit deinem Adapter passt alles. Wenn ich aber den Container neu starte, ist alles weg. Scheint so, als ob Frigate alles in einen tmp Ordner speichert. Das ist meine config:
                                        detectors:
                                          coral:
                                            type: edgetpu
                                            device: usb
                                        mqtt:
                                         host: 192.168.179.***
                                         user: ***
                                         password: ****
                                        
                                        cameras:
                                          Einfahrt: # <------ Name the camera
                                            ffmpeg:
                                              hwaccel_args: preset-vaapi
                                              inputs:
                                                # High Resolution Stream
                                                - path: rtsp://***:***@192.168.179.***:554/h264Preview_01_main
                                                  roles:
                                                    - record
                                        
                                                # Low Resolution Stream
                                                - path: rtsp://***:***@192.168.179.***:554/h264Preview_01_sub
                                                  roles:
                                                    - detect
                                            record: # <----- Enable recording
                                              enabled: True
                                            objects:
                                              track:
                                                - person
                                                - car
                                        
                                        
                                        database:
                                          path: /config/frigate.db
                                        
                                        
                                        1. Kann ich iegendwo definieren, dass die "detects" und "snapshots" automatisch bei einem Neustart eingeschaltet sind? Diese muss ich nach jedem Neustart wieder manuell auf der Weboberfläche aktivieren.
                                        WalW Online
                                        WalW Online
                                        Wal
                                        Developer
                                        wrote on last edited by
                                        #79

                                        @hansi1234 sagte in Proxmox LXC mit Frigate:

                                        Kann ich iegendwo definieren, dass die "detects" und "snapshots" automatisch bei einem Neustart eingeschaltet sind?

                                        Das hatten wir schon, du hast bestimmt im MQTT-Adapter "Eigene States beim Verbinden publizieren" eingeschaltet.

                                        Gruß
                                        Walter

                                        DoorIO-Adapter
                                        wioBrowser-Adapter und wioBrowser

                                        H 1 Reply Last reply
                                        0
                                        • WalW Wal

                                          @hansi1234 sagte in Proxmox LXC mit Frigate:

                                          Kann ich iegendwo definieren, dass die "detects" und "snapshots" automatisch bei einem Neustart eingeschaltet sind?

                                          Das hatten wir schon, du hast bestimmt im MQTT-Adapter "Eigene States beim Verbinden publizieren" eingeschaltet.

                                          H Do not disturb
                                          H Do not disturb
                                          Hansi1234
                                          wrote on last edited by
                                          #80

                                          @wal danke. Ich glaub ich setze später nochmal alles auf. Fürs erste Problem find ich keine Lösung

                                          WalW 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          306

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe