You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to toggle off (and on) detect recordings and snapshots, in both Frigate and HassOS. Everything works well but this. The buttons in Frigate don't respond and the entities in HA just say unavailable. They used to work in previous versions.
Version
0.9.2-25BB515
Frigate config file
mqtt:
host: IP address# Optional: port (default: 1883)port: 8123topic_prefix: frigateclient_id: frigateuser: homeassistantpassword: password# Optional: tls_ca_certs for enabling TLS using self-signed certs (default: None)#tls_ca_certs: /path/to/ca.crt# Optional: tls_client_cert and tls_client key in order to use self-signed client# certificates (default: None)# NOTE: certificate must not be password-protected# do not set user and password when using a client certificate#tls_client_cert: /path/to/client.crt#tls_client_key: /path/to/client.key# Optional: tls_insecure (true/false) for enabling TLS verification of# the server hostname in the server certificate (default: None)#tls_insecure: false# Optional: interval in seconds for publishing stats (default: shown below)#stats_interval: 60# Optional: Detectors configuration. Defaults to a single CPU detectordetectors:
coral:
type: edgetpudevice: usb# Optional: Database configuration#database:# The path to store the SQLite DB (default: shown below)#path: /home/andy/frigate/frigate.db# Optional: model modifications#model:# Optional: path to the model (default: automatic based on detector)#path: /edgetpu_model.tflite# Optional: path to the labelmap (default: shown below)#labelmap_path: /labelmap.txt# Required: Object detection model input width (default: shown below)#width: 320# Required: Object detection model input height (default: shown below)#height: 320# Optional: Label name modifications. These are merged into the standard labelmap.#labelmap:#2: vehicle# Optional: logger verbosity settingslogger:
# Optional: Default log verbosity (default: shown below)default: info# Optional: Component specific logger overrideslogs:
frigate.event: debug# Optional: set environment variables#environment_vars:# EXAMPLE_VAR: value# Optional: birdseye configurationbirdseye:
# Optional: Enable birdseye view (default: shown below)enabled: True# Optional: Width of the output resolution (default: shown below)width: 1280# Optional: Height of the output resolution (default: shown below)height: 720# Optional: Encoding quality of the mpeg1 feed (default: shown below)# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.quality: 8# Optional: Mode of the view. Available options are: objects, motion, and continuous# objects - cameras are included if they have had a tracked object within the last 30 seconds# motion - cameras are included if motion was detected in the last 30 seconds# continuous - all cameras are included alwaysmode: objects# Optional: ffmpeg configurationffmpeg:
# Optional: global ffmpeg args (default: shown below)#global_args: -hide_banner -loglevel warning# Optional: global hwaccel args (default: shown below)# NOTE: See hardware acceleration docs for your specific devicehwaccel_args:
- -hwaccel
- qsv
- -qsv_device
- /dev/dri/renderD128# Optional: global input args (default: shown below)input_args:
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer
- -flags
- low_delay
- -strict
- experimental
- -fflags
- +genpts+discardcorrupt
- -rw_timeout
- "5000000"
- -use_wallclock_as_timestamps
- "1"# Optional: global output args#output_args:# Optional: output args for detect streams (default: shown below)#detect: -f rawvideo -pix_fmt yuv420p# Optional: output args for record streams (default: shown below)#record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an# Optional: output args for rtmp streams (default: shown below)#rtmp: -c copy -f flv# Optional: Detect configuration# NOTE: Can be overridden at the camera leveldetect:
# Optional: width of the frame for the input with the detect role (default: 1280)width: 640# Optional: height of the frame for the input with the detect role (default: 720)height: 480# Optional: desired fps for your camera for the input with the detect role (default: shown below)# NOTE: Recommended value of 5. Ideally, try and reduce your FPS on the camera.fps: 7# Optional: enables detection for the camera (default: True)# This value can be set via MQTT and will be updated in startup based on retained valueenabled: True# Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate)max_disappeared: 25# Optional: Object configuration# NOTE: Can be overridden at the camera levelobjects:
# Optional: list of objects to track from labelmap.txt (default: shown below)track:
- person
- cat# Optional: mask to prevent all object types from being detected in certain areas (default: no mask)# Checks based on the bottom center of the bounding box of the object.# NOTE: This mask is COMBINED with the object type specific mask below#mask: 0,0,1000,0,1000,200,0,200# Optional: filters to reduce false positives for specific object types#filters:#person:# Optional: minimum width*height of the bounding box for the detected object (default: 0)#min_area: 5000# Optional: maximum width*height of the bounding box for the detected object (default: 24000000)#max_area: 100000# Optional: minimum score for the object to initiate tracking (default: shown below)#min_score: 0.5# Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)#threshold: 0.7# Optional: mask to prevent this object type from being detected in certain areas (default: no mask)# Checks based on the bottom center of the bounding box of the object#mask: 0,0,1000,0,1000,200,0,200# Optional: Motion configuration# NOTE: Can be overridden at the camera levelmotion:
# Optional: The threshold passed to cv2.threshold to determine if a pixel is different enough to be counted as motion. (default: shown below)# Increasing this value will make motion detection less sensitive and decreasing it will make motion detection more sensitive.# The value should be between 1 and 255.threshold: 30# Optional: Minimum size in pixels in the resized motion image that counts as motion (default: ~0.17% of the motion frame area)# Increasing this value will prevent smaller areas of motion from being detected. Decreasing will make motion detection more sensitive to smaller# moving objects.#contour_area: 100# Optional: Alpha value passed to cv2.accumulateWeighted when averaging the motion delta across multiple frames (default: shown below)# Higher values mean the current frame impacts the delta a lot, and a single raindrop may register as motion.# Too low and a fast moving person wont be detected as motion.#delta_alpha: 0.2# Optional: Alpha value passed to cv2.accumulateWeighted when averaging frames to determine the background (default: shown below)# Higher values mean the current frame impacts the average a lot, and a new object will be averaged into the background faster.# Low values will cause things like moving shadows to be detected as motion for longer.# https://www.geeksforgeeks.org/background-subtraction-in-an-image-using-concept-of-running-average/#frame_alpha: 0.2# Optional: Height of the resized motion frame (default: 1/6th of the original frame height, but no less than 180)# This operates as an efficient blur alternative. Higher values will result in more granular motion detection at the expense of higher CPU usage.# Lower values result in less CPU, but small changes may not register as motion.#frame_height: 180# Optional: motion mask# NOTE: see docs for more detailed info on creating masks#mask:#- 317,0,1815,24,1792,282,385,321#- 1820,1198,1187,957,1508,219,1805,306# Optional: Record configuration# NOTE: Can be overridden at the camera levelrecord:
# Optional: Enable recording (default: shown below)enabled: True# Optional: Number of days to retain recordings regardless of events (default: shown below)# NOTE: This should be set to 0 and retention should be defined in events section below# if you only want to retain recordings of events.retain_days: 0# Optional: Event recording settingsevents:
# Optional: Maximum length of time to retain video during long events. (default: shown below)# NOTE: If an object is being tracked for longer than this amount of time, the retained recordings# will be the last x seconds of the event unless retain_days under record is > 0.max_seconds: 300# Optional: Number of seconds before the event to include (default: shown below)pre_capture: 5# Optional: Number of seconds after the event to include (default: shown below)post_capture: 5# Optional: Objects to save recordings for. (default: all tracked objects)objects:
- person
- cat# Optional: Restrict recordings to objects that entered any of the listed zones (default: no required zones)required_zones: []# Optional: Retention settings for recordings of eventsretain:
# Required: Default retention days (default: shown below)default: 10# Optional: Per object retention daysobjects:
person: 2cat: 1# Optional: Configuration for the jpg snapshots written to the clips directory for each event# NOTE: Can be overridden at the camera levelsnapshots:
# Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)# This value can be set via MQTT and will be updated in startup based on retained valueenabled: True# Optional: print a timestamp on the snapshots (default: shown below)timestamp: True# Optional: draw bounding box on the snapshots (default: shown below)bounding_box: True# Optional: crop the snapshot (default: shown below)crop: False# Optional: height to resize the snapshot to (default: original size)#height: 175# Optional: Restrict snapshots to objects that entered any of the listed zones (default: no required zones)#required_zones: []# Optional: Camera override for retention settings (default: global values)retain:
# Required: Default retention days (default: shown below)default: 10# Optional: Per object retention daysobjects:
person: 5cat: 5# Optional: RTMP configuration# NOTE: Can be overridden at the camera levelrtmp:
# Optional: Enable the RTMP stream (default: True)enabled: True# Optional: Live stream configuration for WebUI# NOTE: Can be overridden at the camera levellive:
# Optional: Set the height of the live stream. (default: 720)# This must be less than or equal to the height of the detect stream. Lower resolutions# reduce bandwidth required for viewing the live stream. Width is computed to match known aspect ratio.height: 720# Optional: Set the encode quality of the live stream (default: shown below)# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.quality: 8# Optional: in-feed timestamp style configuration# NOTE: Can be overridden at the camera leveltimestamp_style:
# Optional: Position of the timestamp (default: shown below)# "tl" (top left), "tr" (top right), "bl" (bottom left), "br" (bottom right)position: "tl"# Optional: Format specifier conform to the Python package "datetime" (default: shown below)# Additional Examples:# german: "%d.%m.%Y %H:%M:%S"format: "%m/%d/%Y %H:%M:%S"# Optional: Color of fontcolor:
# All Required when color is specified (default: shown below)red: 255green: 255blue: 255# Optional: Line thickness of font (default: shown below)thickness: 2# Optional: Effect of lettering (default: shown below)# None (No effect),# "solid" (solid background in inverse color of font)# "shadow" (shadow for font)effect: solid################################################################################################################################# CAMERAS# Requiredcameras:
# Required: name of the cameraback:
# Required: ffmpeg settings for the cameraffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.inputs:
# Required: the path to the stream# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}#- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password# roles:# - detect# - rtmp#- record
- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=passwordroles:
- detect
- rtmp
- record# Required: list of roles for this stream. valid values are: detect,record,rtmp# NOTICE: In addition to assigning the record, and rtmp roles,# they must also be enabled in the camera config.detect:
width: 2560height: 1920fps: 6# Optional: timeout for highest scoring image before allowing it# to be replaced by a newer image. (default: shown below)best_image_timeout: 60motion:
mask:
- 371,688,424,776,413,863,390,1046,206,1112,63,949,212,653
- 742,486,450,385,672,253,1375,406,1430,685,1381,790,1143,1077,1109,667
- 2560,1920,2424,1920,2419,1580,2144,1336,2560,717
- 2560,361,2226,157,2003,118,1360,254,1292,476,1914,285,2155,287,2207,484,2341,544,2116,826,2560,1020# Optional: zones for this camera#zones:# Required: name of the zone# NOTE: This must be different than any camera names, but can match with another zone on another# camera.#front_steps:# Required: List of x,y coordinates to define the polygon of the zone.# NOTE: Coordinates can be generated at https://www.image-map.net/#coordinates: 545,1077,747,939,788,805# Optional: List of objects that can trigger this zone (default: all tracked objects)#objects:#- person# Optional: Zone level object filters.# NOTE: The global and camera filters are applied upstream.#filters:#person:#min_area: 5000#max_area: 100000#threshold: 0.7# Optional: Configuration for the jpg snapshots published via MQTTmqtt:
# Optional: Enable publishing snapshot via mqtt for camera (default: shown below)# NOTE: Only applies to publishing image data to MQTT via 'frigate/<camera_name>/<object_name>/snapshot'.# All other messages will still be published.enabled: True# Optional: print a timestamp on the snapshots (default: shown below)timestamp: True# Optional: draw bounding box on the snapshots (default: shown below)bounding_box: True# Optional: crop the snapshot (default: shown below)crop: True# Optional: height to resize the snapshot to (default: shown below)height: 270# Optional: jpeg encode quality (default: shown below)quality: 70# Optional: Restrict mqtt messages to objects that entered any of the listed zones (default: no required zones)required_zones: []sleepout:
# Required: ffmpeg settings for the cameraffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.inputs:
# Required: the path to the stream# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}#- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password# roles:# - detect
- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=passwordroles:
- rtmp
- record
- detect# Required: list of roles for this stream. valid values are: detect,record,rtmp# NOTICE: In addition to assigning the record, and rtmp roles,# they must also be enabled in the camera config.detect:
width: 2560height: 1920fps: 6# Optional: timeout for highest scoring image before allowing it# to be replaced by a newer image. (default: shown below)best_image_timeout: 60motion:
mask:
- 0,0,0,1896,870,1580,1234,1282,1618,1031
- 440,0,1524,0,1710,149,1525,267,1125,269,1108,133,452,288
- 2170,308,900,167,933,427,1869,471,1937,644,2128,512
- 1739,118,1814,348,1893,175,1903,0,1783,0# Optional: zones for this camera#zones:# Required: name of the zone# NOTE: This must be different than any camera names, but can match with another zone on another# camera.#front_steps:# Required: List of x,y coordinates to define the polygon of the zone.# NOTE: Coordinates can be generated at https://www.image-map.net/#coordinates: 545,1077,747,939,788,805# Optional: List of objects that can trigger this zone (default: all tracked objects)#objects:# - person# Optional: Zone level object filters.# NOTE: The global and camera filters are applied upstream.#filters:#person:#min_area: 5000#max_area: 100000#threshold: 0.7# Optional: Configuration for the jpg snapshots published via MQTTmqtt:
# Optional: Enable publishing snapshot via mqtt for camera (default: shown below)# NOTE: Only applies to publishing image data to MQTT via 'frigate/<camera_name>/<object_name>/snapshot'.# All other messages will still be published.enabled: True# Optional: print a timestamp on the snapshots (default: shown below)timestamp: True# Optional: draw bounding box on the snapshots (default: shown below)bounding_box: True# Optional: crop the snapshot (default: shown below)crop: True# Optional: height to resize the snapshot to (default: shown below)height: 270# Optional: jpeg encode quality (default: shown below)quality: 70# Optional: Restrict mqtt messages to objects that entered any of the listed zones (default: no required zones)required_zones: []# Required: name of the camerafront_1:
# Required: ffmpeg settings for the cameraffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.inputs:
# Required: the path to the stream#- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password# roles:# - detect
- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=passwordroles:
- rtmp
- record
- detectdetect:
width: 2560height: 1920fps: 6# Optional: timeout for highest scoring image before allowing it# to be replaced by a newer image. (default: shown below)best_image_timeout: 60motion:
mask:
- 500,1554,0,1252,0,1569,0,1920,2560,1920,2560,1805,2560,1155
- 429,1059,1969,899,1828,557,1550,330,1224,411,421,489
- 1402,0,1736,499,1265,518,996,0
- 2560,0,2560,439,2230,181,1427,91,1295,0# Optional: zones for this camera#zones:# Required: name of the zone# NOTE: This must be different than any camera names, but can match with another zone on another# camera.#front_steps:# Required: List of x,y coordinates to define the polygon of the zone.# NOTE: Coordinates can be generated at https://www.image-map.net/#coordinates: 545,1077,747,939,788,805# Optional: List of objects that can trigger this zone (default: all tracked objects)#objects:# - person# Optional: Zone level object filters.# NOTE: The global and camera filters are applied upstream.#filters:#person:#min_area: 5000#max_area: 100000#threshold: 0.7# Optional: Configuration for the jpg snapshots published via MQTTmqtt:
# Optional: Enable publishing snapshot via mqtt for camera (default: shown below)# NOTE: Only applies to publishing image data to MQTT via 'frigate/<camera_name>/<object_name>/snapshot'.# All other messages will still be published.enabled: True# Optional: print a timestamp on the snapshots (default: shown below)timestamp: True# Optional: draw bounding box on the snapshots (default: shown below)bounding_box: True# Optional: crop the snapshot (default: shown below)crop: True# Optional: height to resize the snapshot to (default: shown below)height: 270# Optional: jpeg encode quality (default: shown below)quality: 70# Optional: Restrict mqtt messages to objects that entered any of the listed zones (default: no required zones)required_zones: []# Required: name of the camerafront_2:
# Required: ffmpeg settings for the cameraffmpeg:
# Required: A list of input streams for the camera. See documentation for more information.inputs:
# Required: the path to the stream#- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=username&password=password# roles:# - detect
- path: http://IPADDRESS/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=username&password=passwordroles:
- rtmp
- record
- detectdetect:
width: 2560height: 1920fps: 6# Optional: timeout for highest scoring image before allowing it# to be replaced by a newer image. (default: shown below)best_image_timeout: 60motion:
mask:
- 387,345,1006,313,1867,316,1856,0,0,0,0,636
- 1822,1150,1473,1085,1193,936,1478,254,1817,287
- 2560,0,2560,1231,2560,1920,2165,1920,2246,1449,2006,136,1818,39,1812,0# Optional: zones for this camera#zones:# Required: name of the zone# NOTE: This must be different than any camera names, but can match with another zone on another# camera.#front_steps:# Required: List of x,y coordinates to define the polygon of the zone.# NOTE: Coordinates can be generated at https://www.image-map.net/#coordinates: 545,1077,747,939,788,805# Optional: List of objects that can trigger this zone (default: all tracked objects)#objects:# - person# Optional: Zone level object filters.# NOTE: The global and camera filters are applied upstream.#filters:#person:#min_area: 5000#max_area: 100000#threshold: 0.7# Optional: Configuration for the jpg snapshots published via MQTTmqtt:
# Optional: Enable publishing snapshot via mqtt for camera (default: shown below)# NOTE: Only applies to publishing image data to MQTT via 'frigate/<camera_name>/<object_name>/snapshot'.# All other messages will still be published.enabled: True# Optional: print a timestamp on the snapshots (default: shown below)timestamp: True# Optional: draw bounding box on the snapshots (default: shown below)bounding_box: True# Optional: crop the snapshot (default: shown below)crop: True# Optional: height to resize the snapshot to (default: shown below)height: 270# Optional: jpeg encode quality (default: shown below)quality: 70# Optional: Restrict mqtt messages to objects that entered any of the listed zones (default: no required zones)required_zones: []
Describe the problem you are having
Unable to toggle off (and on) detect recordings and snapshots, in both Frigate and HassOS. Everything works well but this. The buttons in Frigate don't respond and the entities in HA just say unavailable. They used to work in previous versions.
Version
0.9.2-25BB515
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Reolink 520a
Any other information that may be helpful
Everything else is working well. I can see snapshots and records in HA media browser. The Frigate lovelace card is also working well.
The text was updated successfully, but these errors were encountered: