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.

Unable to switch off `detect`

See original GitHub issue

Describe the bug I am unable to turn off detect role. I was looking for an NVR to perform a 24/7 recording with seamless option to manage recordings/clips, archive the important ones etc. I’m not really looking into any motion detection, AI recognition etc. Perhaps Frigate is not the tool I’m looking for, nonetheless, I was wondering if that’s perhaps not intended to force detect, provided I don’t have any TPU thus my poor raspberry CPU would be quickly overwhelmed.

Version of frigate 0.8.4-5043040

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

detectors:
  cpu1:
    type: cpu
mqtt:
  host: mqtt
cameras:
  foobar:
    ffmpeg:
      output_args:
        record: -f segment -segment_time 60 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
      inputs:
        - path: rtsp://cam01.home:554/s0
          roles:
            - record
    width: 1920
    height: 1080
    fps: 30
    record:
      enabled: True
      retain_days: 14
    detect:
      enabled: False

Frigate container logs

Creating network "frigate_default" with the default driver
Creating frigate_mqtt_1 ... done
Creating frigate_frigate_1 ... done
Attaching to frigate_mqtt_1, frigate_frigate_1
frigate_1  |  * Starting nginx nginx
frigate_1  |    ...done.
frigate_1  | Error parsing config: The detect role is required for dictionary value @ data['cameras']['foobar']['ffmpeg']['inputs']
frigate_frigate_1 exited with code 1

Frigate stats

n/a

FFprobe from your camera

Run the following command and paste output below

n/a

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
balthisarcommented, Sep 10, 2021

Well, that makes a lot more sense than it being a global level setting! I was misled because record/enabled/false actually worked at the global level for me!

Thanks, cheers!

0reactions
bafpluscommented, Sep 10, 2021

That’s one of the first things I tried, but:

Error parsing config: extra keys not allowed @ data['detect']['enabled']

I’m using a fresh blakeblackshear/frigate:stable-amd64, which I just now realize is seven months old. I’ll give one of the latest a shot, which will probably be easier than checking your commit log 😉

Have u put that detect block within the camera block? You have to specify that in each camera block you have in the frigate.yaml.

Read more comments on GitHub >

github_iconTop Results From Across the Web

problem " unable to turn off Find my phone" - Apple Discussions
If you can't turn off Find My iPhone on the device, turn off the device so it goes offline, then remove it from...
Read more >
Find My iPhone Won't Turn Off? Here Are Fixes - iMobie
What to Do If You Can't Turn off Find My iPhone? · Method 1. Enable Location Services in Settings · Method 2. Restore...
Read more >
Unable to Power Off the Console or the POWER Button Does ...
Press and hold down the POWER Button for three seconds, then select Power Options followed by Turn Off. If the system does not...
Read more >
Turn Motion Detection Off or On - Amazon Customer Service
To turn off motion detection functionality fully on your device, use the Alexa app. Open the Alexa app . Open Devices; Select Echo ......
Read more >
Unable to turn off Snore Detect on Sense - Fitbit Community
Look under your sleep score and if you click the gear it will be able to be deactivated there. To view it it...
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 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