question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Describe the bug A clear and concise description of what your issue is.

Version of frigate Output from /api/version 0.8.4-5043040

Config file Include your full config file wrapped in triple back ticks.

mqtt:
  host: 192.168.1.30
  user: <mqtt-user>
  password: <mqtt-password>

cameras:
  indkoersel:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.1.2:7447/WJ3Q2PMIyjdbD5uV
          roles:
            - detect
            - clips
    width: 1920
    height: 1080
    fps: 5
    objects:
      track:
        - person
        - cat
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      retain:
        default: 5
    clips:
      enabled: true
      retain:
        default: 5
  baghave:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.1.2:7447/EUMvzaWw6GHQOV4M
          roles:
            - detect
            - clips
    width: 1920
    height: 1080
    fps: 5    
    objects:
      track:
        - person
        - cat
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: false
      retain:
        default: 5
    clips:
      enabled: true
      retain:
        default: 5

detectors:
  coral:
    type: edgetpu
    device: usb

Frigate container logs

Include relevant log output here

Frigate stats

{
  "baghave": {
    "camera_fps": 5.1, 
    "capture_pid": 47, 
    "detection_fps": 22.1, 
    "pid": 43, 
    "process_fps": 5.1, 
    "skipped_fps": 0.0
  }, 
  "detection_fps": 31.2, 
  "detectors": {
    "coral": {
      "detection_start": 1629221639.608801, 
      "inference_speed": 20.61, 
      "pid": 38
    }
  }, 
  "indkoersel": {
    "camera_fps": 5.0, 
    "capture_pid": 45, 
    "detection_fps": 9.1, 
    "pid": 41, 
    "process_fps": 5.1, 
    "skipped_fps": 0.0
  }, 
  "service": {
    "storage": {
      "/dev/shm": {
        "free": 4084.8, 
        "mount_type": "tmpfs", 
        "total": 4095.2, 
        "used": 10.3
      }, 
      "/media/frigate/clips": {
        "free": 48371.6, 
        "mount_type": "ext4", 
        "total": 58327.1, 
        "used": 7556.4
      }, 
      "/media/frigate/recordings": {
        "free": 48371.6, 
        "mount_type": "ext4", 
        "total": 58327.1, 
        "used": 7556.4
      }, 
      "/tmp/cache": {
        "free": 4059.1, 
        "mount_type": "tmpfs", 
        "total": 4095.2, 
        "used": 36.0
      }
    }, 
    "uptime": 104, 
    "version": "0.8.4-5043040"
  }
}

FFprobe from your camera

Run the following command and paste output below

ffprobe <stream_url>
I have no idea how to do this :-(

Screenshots If applicable, add screenshots to help explain your problem.

Computer Hardware

  • OS: Home Assistant OS 6.2
  • Install method: Addon
  • Virtualization: none
  • Coral Version: USB
  • Network Setup: Wired

Camera Info:

  • Manufacturer: Ubiquiti
  • Model: UVC‑G3 Flex
  • Resolution: 1080p
  • FPS: 15

Additional context After running for a while, Home Assistant becomes unresponsive. I have tried disabling Frigate and then Home Assistant runs stable for several days.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
michaelmadsen72commented, Aug 24, 2021

I purchased this USB hub: “RSHTECH USB Hub Active 3.0” https://www.amazon.de/-/en/RSHTECH-Active-Splitter-Lightweight-Portable/dp/B091F7C5K4

Everything now works as expected.

1reaction
martinrevertcommented, Aug 19, 2021

Yep @Sinamics , I can confirm that using a “good” USB hub allows the RPi and Hassio to behave ok, at least for my setup with 2 RTSP cameras , Coral, SSD and Zigbee dongle. I moved all the USB things to a hub with 3A and it is working stable for several hours. So, it seems a wierd behavior originated by USB underpower, as you stated. Thank you guys!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unstable Definition & Meaning - Merriam-Webster
not stable : not firm or fixed : not constant: such as ; a · not steady in action or movement : irregular...
Read more >
Unstable Definition & Meaning - Dictionary.com
not stable; not firm or firmly fixed; unsteady. liable to fall or sway. unsteadfast; inconstant; wavering: unstable convictions.
Read more >
70 Synonyms & Antonyms for UNSTABLE - Thesaurus.com
synonyms for unstable · ambiguous · changeable · erratic · fickle · insecure · irrational · precarious · risky ...
Read more >
Unstable - Definition, Meaning & Synonyms - Vocabulary.com
To be unstable is to lack stability, meaning things could change without warning, like an unstable bookshelf that is likely to fall down....
Read more >
unstable - Wiktionary
Fluctuating; not constant. Fickle. Unpredictable. (chemistry) Readily decomposable. (physics) Radioactive, especially with a short half-life.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found