[Bug]: UI sets motion.improve_contrast value as a string while it should be a boolean. #13094
-
Describe the problem you are havingThe UI motion setting sets the value in the config.yml as string ('true'). It should be a Boolean. Steps to reproducechange it in config.yml to True or true. Version0.14.1 Frigate config fileffmpeg:
hwaccel_args: preset-rpi-64-h264 # Enable Hardware Acceleration
output_args:
record: preset-record-generic-audio-aac
retry_interval: 10
cameras:
# 3D:
# # onvif:
# # host: 192.168.68.152
# # port: 8899
# # user: Wolk9
# # password: Wolk9!
# ffmpeg: # inputs:
# - path: rtsp://127.0.0.1:8554/3DCam
# roles:
# - rtmp
# - record
# - audio
# record:
# enabled: True
# retain:
# days: 10
# mode: all
CarportCam: # R80X20-PQ ICSee
mqtt:
enabled: true
onvif:
host: 192.168.68.40
port: 8899
user: user
password: Yamaha_XJ900f
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/CarportCam # The Stream you want to monitor
roles:
- detect
- record
- path: rtsp://127.0.0.1:8554/CarportCam_sub
roles:
- audio
detect:
enabled: true # Detection is enabled
width: 1024 # The Camera's resolution
height: 576 # The Camera's resolution
fps: 5
stationary:
interval: 50
threshold: 200
record:
sync_recordings: true
enabled: true
export:
timelapse_args: -vf setpts=PTS/60 -r 25
retain:
days: 0
events:
pre_capture: 2
post_capture: 2
retain:
default: 7
mode: motion
objects:
person: 30
cat: 3
car: 3
motorcycle: 3
bicycle: 3
bird: 10
preview:
quality: low
snapshots:
enabled: true
clean_copy: true
bounding_box: true
timestamp: true
crop: true
retain:
default: 10
quality: 80
motion:
threshold: 37
contour_area: 30
improve_contrast: 'true'
frame_height: 80 Relevant log output2024-08-15 16:25:17.216843440 [INFO] Preparing Frigate...
2024-08-15 16:25:17.597068657 [INFO] Starting Frigate...
2024-08-15 16:25:22.692794063 [2024-08-15 16:25:22] frigate.app INFO : Starting Frigate (0.14.0-da913d8)
2024-08-15 16:25:22.693938097 [2024-08-15 16:25:22] frigate.util.config INFO : Checking if frigate config needs migration...
2024-08-15 16:25:22.809284932 [2024-08-15 16:25:22] frigate.util.config INFO : frigate config does not need migration...
2024-08-15 16:25:22.931176600 [2024-08-15 16:25:22] peewee_migrate.logs INFO : Starting migrations
2024-08-15 16:25:22.934395794 [2024-08-15 16:25:22] peewee_migrate.logs INFO : There is nothing to migrate
2024-08-15 16:25:23.521702719 [2024-08-15 16:25:23] frigate.app INFO : Recording process started: 348
2024-08-15 16:25:23.547238735 [2024-08-15 16:25:23] frigate.app INFO : Recording process started: 356
2024-08-15 16:25:23.552079201 [2024-08-15 16:25:23] frigate.app INFO : go2rtc process pid: 95
2024-08-15 16:25:23.625068777 [2024-08-15 16:25:23] detector.cpu INFO : Starting detection process: 377
2024-08-15 16:25:23.631986237 [2024-08-15 16:25:23] frigate.detectors WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
2024-08-15 16:25:23.642189651 [2024-08-15 16:25:23] frigate.app INFO : Output process started: 379
2024-08-15 16:25:23.996384671 [2024-08-15 16:25:23] frigate.app INFO : Camera processor started for CarportCam: 394
2024-08-15 16:25:24.001184842 [2024-08-15 16:25:23] frigate.app INFO : Capture process started for CarportCam: 395 Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelICSee Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Answered by
hawkeye217
Aug 15, 2024
Replies: 1 comment
-
The backend reads |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
NickM-27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The backend reads
'true'
ortrue
in the same way for this configuration value, so this is not really an issue.