Clips are just created from recordings when you try to watch them, the clips directory only has snapshots in it.
I’d suggest restarting frigate, let it run for 1 minute, then paste the full bit of logs here and say if there are any files in recordings directory
Try “all”
record:
enabled: True
retain:
days: 7
mode: all
OK I changed the mode to all from motion, restarted, let it run for a minute or so (even walked out to the driveway to trigger it) but there’s still nothing in the recordings directory. Here’s the entire log.
Thanks again for all the help.
[2023-02-27 11:43:14] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35392]
[2023-02-27 13:22:18] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:60338]
[2023-02-27 13:22:28] frigate.http ERROR : No recordings found for the requested time range
[2023-02-27 13:23:21] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:60338]
[2023-02-27 13:24:15] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57922]
[2023-02-27 13:25:02] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:57922]
[2023-02-27 13:34:05] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55702]
[2023-02-27 13:34:27] frigate.http ERROR : No recordings found for the requested time range
[2023-02-27 13:34:33] frigate.http ERROR : Event does not have recordings: 1677494203.048583-j5ziaq
[2023-02-27 13:35:23] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55702]
[2023-02-27 15:25:24] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53350]
[2023-02-27 15:25:39] frigate.http ERROR : No recordings found for the requested time range
[2023-02-27 15:25:50] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53350]
[2023-02-27 15:33:06] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:54138]
[2023-02-27 15:33:17] frigate.http ERROR : No recordings found for the requested time range
[2023-02-27 15:33:36] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:54138]
[2023-02-27 15:34:05] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52526]
[2023-02-27 15:34:29] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52526]
[2023-02-27 15:38:49] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35968]
[2023-02-27 15:39:33] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:35968]
[2023-02-27 18:42:56] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50146]
[2023-02-27 18:43:06] frigate.http ERROR : No recordings found for the requested time range
[2023-02-27 18:43:21] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50146]
[2023-02-27 19:06:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:33508]
[2023-02-27 19:07:19] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:33508]
[2023-02-27 19:16:20] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:32878]
[2023-02-27 19:16:40] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:32878]
[2023-02-27 19:16:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:40362]
[2023-02-27 19:18:17] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:40362]
[2023-02-28 05:57:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:32914]
[2023-02-28 05:58:25] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:32914]
[2023-02-28 06:56:08] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34788]
[2023-02-28 06:56:43] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 06:57:08] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:34788]
[2023-02-28 07:12:01] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:47822]
[2023-02-28 07:12:26] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 07:12:55] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 07:12:57] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 07:13:02] frigate.http ERROR : Event does not have recordings: 1677518190.981939-vp4bkq
[2023-02-28 07:13:13] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 07:13:22] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:47822]
[2023-02-28 07:13:59] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 14:02:38] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51110]
[2023-02-28 14:03:10] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 14:03:41] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:51110]
[2023-02-28 14:53:41] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:60852]
[2023-02-28 14:53:51] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 14:56:26] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:60852]
[2023-02-28 14:58:44] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 14:58:47] frigate.http ERROR : Event does not have recordings: 1677589876.807579-5jeeqt
[2023-02-28 14:58:54] frigate.http ERROR : Event does not have recordings: 1677589876.807579-5jeeqt
[2023-02-28 15:07:25] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:54060]
[2023-02-28 15:07:48] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 15:07:58] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:54060]
[2023-02-28 15:15:26] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:40544]
[2023-02-28 15:15:41] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 15:15:58] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:40544]
[2023-02-28 18:13:56] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:44658]
[2023-02-28 18:14:09] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 18:15:42] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:44658]
[2023-02-28 18:15:52] frigate.http ERROR : No recordings found for the requested time range
[2023-02-28 18:15:52] frigate.http ERROR : Event does not have recordings: 1677604937.299867-9wxl8a
[2023-02-28 18:15:53] frigate.http ERROR : Event does not have recordings: 1677604937.299867-9wxl8a
[2023-02-28 18:33:54] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42650]
[2023-02-28 18:35:27] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:42650]
[2023-02-28 18:46:31] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56570]
[2023-02-28 18:46:53] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56570]
[2023-02-28 18:50:44] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53748]
[2023-02-28 18:51:04] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53748]
[2023-02-28 18:51:11] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:33032]
[2023-02-28 18:51:19] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:33032]
[2023-02-28 18:51:20] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56640]
[2023-02-28 18:51:21] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:56640]
[2023-02-28 20:33:52] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:44690]
[2023-02-28 20:34:17] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:56910]
[2023-02-28 20:36:28] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:44690]
[2023-02-28 20:41:10] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:56910]
[2023-03-01 06:36:44] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53232]
[2023-03-01 06:37:07] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53232]
[2023-03-01 06:58:46] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55234]
[2023-03-01 07:00:03] ws4py INFO : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53194]
[2023-03-01 07:00:09] ws4py INFO : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:53194]
[2023-03-01 07:00:32] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:55234]
[2023-03-01 07:11:22] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52974]
[2023-03-01 07:12:32] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:52974]
[2023-03-01 08:20:04] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:36762]
[2023-03-01 08:20:17] frigate.http ERROR : No recordings found for the requested time range
[2023-03-01 08:20:27] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:36762]
[2023-03-01 08:56:24] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45704]
[2023-03-01 08:56:38] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:45704]
[2023-03-01 12:15:21] frigate.http ERROR : No recordings found for the requested time range
[2023-03-01 12:15:21] frigate.http ERROR : Event does not have recordings: 1677663575.284544-20nfzz
[2023-03-01 12:15:23] frigate.http ERROR : Event does not have recordings: 1677663575.284544-20nfzz
[2023-03-01 12:15:35] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53416]
[2023-03-01 12:15:56] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:53416]
[2023-03-01 12:50:47] ws4py INFO : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50022]
[2023-03-01 12:50:54] ws4py INFO : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:50022]
[2023-03-01 15:40:46] frigate.http ERROR : No recordings found for the requested time range
[2023-03-01 15:40:46] frigate.http ERROR : Event does not have recordings: 1677685156.144658-3t4mrr
[2023-03-01 15:40:47] frigate.http ERROR : Event does not have recordings: 1677685156.144658-3t4mrr
Increase [log level] to debug
(Advanced Options | Frigate
Maybe itll show more detail. Recordings should be working. Log will show recording start and detection info
You should definitely have more logs in the beginning that look like this
2023-03-01 08:05:11.776930969 [2023-03-01 08:05:11] frigate.app INFO : Starting Frigate (0.12.0-5834233)
2023-03-01 08:05:11.829128498 [2023-03-01 08:05:11] peewee_migrate INFO : Starting migrations
2023-03-01 08:05:11.835174660 [2023-03-01 08:05:11] peewee_migrate INFO : There is nothing to migrate
2023-03-01 08:05:12.965020899 [2023-03-01 08:05:12] detector.coral-pci-0 INFO : Starting detection process: 731
2023-03-01 08:05:12.983823747 [2023-03-01 08:05:12] detector.coral-pci-1 INFO : Starting detection process: 733
2023-03-01 08:05:12.983946769 [2023-03-01 08:05:12] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:1
2023-03-01 08:05:12.988149863 [2023-03-01 08:05:12] detector.coral-pci-2 INFO : Starting detection process: 737
2023-03-01 08:05:12.988215404 [2023-03-01 08:05:12] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
2023-03-01 08:05:12.988256855 [2023-03-01 08:05:12] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2023-03-01 08:05:12.988288875 [2023-03-01 08:05:12] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2023-03-01 08:05:12.988879564 [2023-03-01 08:05:12] frigate.app INFO : Output process started: 743
2023-03-01 08:05:12.988907325 [2023-03-01 08:05:12] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:2
2023-03-01 08:05:12.988938495 [2023-03-01 08:05:12] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
otherwise, you may be restarting the wrong thing.
if you have debug logs enabled for all (which we highly discourage, they are not helpful unless debugging very specific issues), we’d expect your logs to be flooded. If it is not then the config has definitely not been loaded which means frigate addon is not being restarted or a different config is being used instead
Hmmm, to restart I go to Settings > System and hit Restart in the upper right corner. It then shuts down and restarts.
I don’t believe I have debug logs enabled for all. As far as a different config I really don’t know where that would be. Would some other folder have a file messing me up? I really haven’t fooled around with anything other than frigate.yml.
That will only restart home assistant, it does not restart the frigate addon AFAIK
Your config shows you have
logger:
default: debug
which is debug logs for all modules in frigate. If frigate is using that config then there will be an enormous amount of logs in the addon logs
Boy, I’ve about had it. I found the restart in Frigate and restarted it. Now I don’t even have live view. I get this on my dashboard and the log is now full of errors.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2023-03-01 17:28:46] frigate.app INFO : Starting Frigate (0.11.1-2eada21)
*************************************************************
*************************************************************
*** Your config file is not valid! ***
*** Please check the docs at ***
*** https://docs.frigate.video/configuration/index ***
*************************************************************
*************************************************************
*** Config Validation Errors ***
*************************************************************
mapping values are not allowed here
in "<unicode string>", line 53, column 14:
objects:
^
Traceback (most recent call last):
File "/opt/frigate/frigate/app.py", line 332, in start
self.init_config()
File "/opt/frigate/frigate/app.py", line 82, in init_config
user_config = FrigateConfig.parse_file(config_file)
File "/opt/frigate/frigate/config.py", line 938, in parse_file
config = yaml.safe_load(raw_config)
File "/usr/local/lib/python3.9/dist-packages/yaml/__init__.py", line 125, in safe_load
return load(stream, SafeLoader)
File "/usr/local/lib/python3.9/dist-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
File "/usr/local/lib/python3.9/dist-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 55, in compose_document
node = self.compose_node(None, None)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 133, in compose_mapping_node
item_value = self.compose_node(node, item_key)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 84, in compose_node
node = self.compose_mapping_node(anchor)
File "/usr/local/lib/python3.9/dist-packages/yaml/composer.py", line 127, in compose_mapping_node
while not self.check_event(MappingEndEvent):
File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 98, in check_event
self.current_event = self.state()
File "/usr/local/lib/python3.9/dist-packages/yaml/parser.py", line 428, in parse_block_mapping_key
if self.check_token(KeyToken):
File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 116, in check_token
self.fetch_more_tokens()
File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 223, in fetch_more_tokens
return self.fetch_value()
File "/usr/local/lib/python3.9/dist-packages/yaml/scanner.py", line 577, in fetch_value
raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
in "<unicode string>", line 53, column 14:
objects:
^
*************************************************************
*** End Config Validation Errors ***
*************************************************************
[cmd] python3 exited 1
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
This is progress
Look at above line in config. Whatever you have set under “objects” may be wrong.
Is that your full config in earlier post?
Your config is invalid, you should paste your entire config (in text, not screenshot)
OK here you go:
mqtt:
host: xxx.xxx.x.xxx
user: Tom
password: xxxxxxxxxxx
detectors:
cpu1:
type: cpu
cameras:
driveway_cam:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0&authbasic=64
roles:
- detect
- record
rtmp:
enabled: True
detect:
width: 1280
height: 720
fps: 10
record:
enabled: True
retain:
days: 7
mode: all
events:
retain:
default: 14
mode: active_objects
logger:
# Optional: default log level (default: shown below)
default: debug
# Optional: module by module log level configuration
logs:
frigate.mqtt: error
#camera:
record:
events:
required_zones:
- zone_0
snapshots:
required_zones:
- zone_0
zones:
zone_0:
coordinates: 0,720,0,295,93,272,380,251,1280,720,0,720,657,462,1280,417,1280,720,628,720,630,568,399,238,763,75,1280,407
objects:
- person
- car
- bike
- cat
- dog
Move logger before cameras
Remove everything after “#camera” until after you get things working
Maybe some progress. I removed #camera and below (I thought I had all that commented out the spacing was off) and now camera live view is back.
edit: just saw your post so I’ll logger.
Success!!! I’m getting everything now. I can’t thank you enough. Your expertise and patience made my day!
Many thanks for your help. I getting everything now.
You folks are really amazingly helpful.
Thanks again!
Old post I know, but the reason you were getting the Object error is because “bike” isn’t a valid object. It should be “bicycle”
OK thanks. Actually I’m not using “bike” or “bicycle” now. I’ve never seen a bike in our close. Frigate has been running quite well now for some time. Pretty accurate too. Except for that spider spinning a web over the camera. Frigate thinks it’s a person.