Closed elektrinis closed 1 year ago
You are overriding the path to the database file to a location in the container.
You mean this?
"database": {
"path": "frigate.db"
},
I am not sure where this is coming from as I did not change the default config. This is bit over my head. What are the steps to figure this out?
Can you share your frigate.yml
Sure. I have cut out all other cameras, as it's the same.
One likely important detail: I am running a "supervised" hass install on debian machine, not official hassos.
mqtt:
host: ip
user: mqtt_user
password: pass
topic_prefix: frigate
rtmp:
enabled: False
birdseye:
enabled: False
detectors:
coral:
type: edgetpu
device: usb
database:
path: frigate.db
environment_vars:
LIBVA_DRIVER_NAME: i965
detect:
width: 640
height: 360
fps: 1
motion:
contour_area: 15
frame_height: 20
improve_contrast: True
record:
enabled: True
events:
pre_capture: 10
post_capture: 10
retain:
default: 15
snapshots:
enabled: True
timestamp: True
retain:
default: 15
ffmpeg:
hwaccel_args:
- -hwaccel
- vaapi
- -hwaccel_device
- /dev/dri/renderD128
- -hwaccel_output_format
- yuv360p
objects:
track:
- car
- person
- dog
- cat
cameras:
cam1:
ffmpeg:
inputs:
- path: rtsp://ip/Streaming/Channels/102 # SD
roles:
- detect
- rtmp
- path: rtsp://ip/Streaming/Channels/101 # HD
roles:
- record
cam2:
You need to remove
database:
path: frigate.db
Dang, how I missed that.. The issue is resolved now. Thank you.
Describe the problem you are having
Posted this on hass plugin repo, but was sent here.
After frigate is restarted (hass restarted, or through frigate's GUI), all events are gone when it's up. How can I debug this?
Version of the custom_component
frigate v.0.11.1
Configuration
Debug log
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Hikvision