-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to switch off detect
#1322
Comments
Many features of frigate require an input to be decoded. You can turn off detection in the config, but one input must be assigned the detect role. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@blakeblackshear, how does one disable detection in the config? None of the documentation address this. Like @mike-code, I really only want to record. |
just add (see first code of config above just below "record"):
Dont forget to still mark one of the inputs as "-detect", Frigate needs that to function. |
That's one of the first things I tried, but:
I'm using a fresh |
Have u put that detect block within the camera block? |
Well, that makes a lot more sense than it being a global level setting! I was misled because Thanks, cheers! |
Re-opening this thread. The following config for one of my cameras is triggering person events. I don't want it to trigger any events, only record. If I read the thread above it should not trigger any events? kitchen: I have tried with or without the - detect in the roles but it still triggers. Is there something I should be configuring differently? Thanks. |
@simondsmason you probably have MQTT enabling detect, simply disable it in the Web UI and it won't be run |
@NickM-27 I do have them enabled in the UI. Sorry - thought that this would sync with the config - didn't realize that they are independent controls. Have just turned them off and will see how it goes. |
@NickM-27 I have turned off the person detection on three cameras and each time it has come back on within a day or so. I am not sure how long exactly but it is definitely turning back on. I have the detect, enabled: false in the config for these cameras and I have the toggle detection off in the Web UI. So something is turning the detection back on after some time. So not sure exactly what to do to keep it off? Thanks. |
Most likely it is going to be something in HA if you have the integration setup. Either way it will show in the logs what has turned on / off detect |
I do have have the HA integration setup. I have two automations running to notify me based on detection. I looked in the logs but a backup had run so not much to go on. If it happens again I will look in the log. Thanks. |
@NickM-27 The issue has happened several times. Most recently today, on three cameras it turned on detect and recordings but not snapshots. Detect turned back on in my events around 8am this morning. So I thought to look at the last 12 hours of logs. And sure enough at 7:59 I see the following: Turning on recordings for kitchen via mqtt. Then in mqtt I see the following below. What I don't know is where to look now or if the information below is telling me where the command to turn on detect and recordings is coming from? I looked in HA logbook but I can't find anything there - but I never seem to find anything in logbook so I can't be sure I am using it correctly. Any help in my investigation would be appreciated. Thanks. 1674219576: Received PUBLISH from frigate (d0, q0, r1, m0, 'frigate/kitchen/detect/set', ... (2 bytes)) |
No where in the frigate code is |
@NickM-27 You lost me. "where in the frigate code is /set called"? What is the frigate code? I see that in the frigate log the detecter is being turned on by mqtt. I see in the mqtt log that it is sending publish to frigate with a detect/set. But I have no idea where this call to mqtt is coming from and the log doesn't show the origin? And in HA I only have two automations setup for frigate and they are both on another camera. I have no doubt that I am overlooking something? Thanks for the help - it is frustrating to have these cameras keep turning themselves on and I would like to put an end to it. |
What I'm saying is the frigate software itself does not call /set so it's coming externally. Either from HA or something else that communicates via MQTT. There may be a way to enable more verbose MQTT logs so it'll show the origin that sent the message |
@NickM-27 I checked the mqtt logging and it is set to all, which is the highest log level. What I don't understand, and this is probably my lack of experience with mqtt, is that I see these two commands: Received PUBLISH from frigate (d0, q0, r1, m0, 'frigate/kitchen/detect/set', ... (2 bytes)) and then this: Sending PUBLISH to frigate (d0, q0, r0, m0, 'frigate/kitchen/detect/set', ... (2 bytes)) There is no other reference to kitchen/detect/set. That reads like it received a command from frigate to go to frigate? And Frigate reports in the log: Turning on detection for kitchen via mqtt So based on all of the logs I have found so far it is doesn't seem possible to diagnose this? |
@simondsmason can you confirm the version of Frigate you're running? |
@NickM-27 0.11.1-2EADA21 |
Oh, in that case what you're seeing could be from a number of things, but it should be fixed in 0.12 |
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.
Frigate container logs
Frigate stats
n/a
FFprobe from your camera
Run the following command and paste output below
The text was updated successfully, but these errors were encountered: