blakeblackshear/frigate-hass-integration

Issue resolved silly mistake my side need to delete this post

Closed this issue · 1 comments

Version of the custom_component

Frigate (Full Access) Current version: 0.14
.... failed after upgrade to HACS 2.0

Home Assistant Community Store Version 2.0
Integration version: | 2.0.0
Frontend version: | 20240814080035
Repositories: | 1389

Configuration

YAML

mqtt:
enabled: True
host: 192.168.20.40
port: 1883
user: MQTT-User_XXXX
password: MQTT-User-XXXXX
logger:
default: info
logs:
frigate.event: info
frigate.mqtt: info
frigate.edgetpu: info

detectors:
coral:
type: edgetpu
device: usb
ffmpeg:
input_args: preset-http-reolink
output_args:
record: preset-record-generic-audio-copy
cameras:
Cam-Doorbell:
enabled: true
ffmpeg:
inputs:
- path:
http://192.168.20.41/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=user=XXX&password=XXX#video=copy#audio=copy#audio=opus
roles:
- record
- path:
http://192.168.20.41/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=XXX&password=XXX
roles:
- detect
motion:
mask:
0.537,0.993,0.518,0.719,0.388,0.719,0.389,0.617,0.292,0.62,0.297,0.488,0.527,0.479,0.556,0.423,0.63,0.423,0.653,0.475,0.747,0.472,0.765,0.651,0.782,1,0.998,0.995,1,0.003,0.002,0.005,0.002,0.996
Cam-Inside:
enabled: true
ffmpeg:
inputs:
- path:
http://192.168.20.42/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=XXX&password=XXX#video=copy#audio=copy#audio=opus
roles:
- record
- path:
http://192.168.20.42/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=XXX&password=XXX
roles:
- detect
motion:
mask:
- 0.575,0.003,0.995,0.003,0.996,0.06,0.576,0.06
- 0.767,0.306,0.751,0.505,0.939,0.607,0.962,0.398
Cam-Outside:
enabled: true
ffmpeg:
inputs:
- path: rtsp://XXX:XXX@192.168.20.43:554/h264Preview_01_main
input_args: preset-rtsp-generic
roles:
- detect
- record
motion:
mask:
- 1,0.942,0.688,0.944,0.689,0.996,0.997,0.995
- -0.001,0,0.475,0.28,0.485,0.401,0.006,0.98
objects:
track:
- person
- car
filters:
person:
threshold: 0.7
detect:
enabled: true
fps: 5
stationary:
interval: 1
threshold: 30
snapshots:
enabled: true
timestamp: true
bounding_box: true
clean_copy: true
retain:
default: 5
record:
enabled: true
expire_interval: 60
events:
pre_capture: 5
post_capture: 5
retain:
default: 10
mode: motion
version: 0.14

Frigate logs here:
2024-08-22 06:12:49.546102369 172.30.32.2 - - [22/Aug/2024:16:12:49 +1000] "GET / HTTP/1.1" 200 2651 "-" "HomeAssistantSupervisor/2024.08.0 aiohttp/3.9.5 Python/3.12" "-"
2024-08-22 06:13:02.619575051 127.0.0.1 - - [22/Aug/2024:16:13:02 +1000] "" 400 0 "-" "-" "-"
2024-08-22 06:14:02.648063235 127.0.0.1 - - [22/Aug/2024:16:14:02 +1000] "" 400 0 "-" "-" "-"
2024-08-22 06:14:49.551680120 172.30.32.2 - - [22/Aug/2024:16:14:49 +1000] "GET / HTTP/1.1" 200 2651 "-" "HomeAssistantSupervisor/2024.08.0 aiohttp/3.9.5 Python/3.12" "-"
2024-08-22 06:15:02.687432072 127.0.0.1 - - [22/Aug/2024:16:15:02 +1000] "" 400 0 "-" "-" "-"
2024-08-22 06:16:02.706307716 127.0.0.1 - - [22/Aug/2024:16:16:02 +1000] "" 400 0 "-" "-" "-"
2024-08-22 06:16:49.557632705 172.30.32.2 - - [22/Aug/2024:16:16:49 +1000] "GET / HTTP/1.1" 200 2651 "-" "HomeAssistantSupervisor/2024.08.0 aiohttp/3.9.5 Python/3.12" "-"
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service go2rtc-healthcheck: stopping
s6-rc: info: service certsync: stopping
2024-08-22 06:40:09.852958953 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2024-08-22 06:40:09.855471904 [INFO] Service CERTSYNC exited with code 256 (by signal 15)
s6-rc: info: service certsync successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service certsync-log: stopping
s6-rc: info: service certsync-log successfully stopped
2024-08-22 06:40:09.903277894 [INFO] Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service nginx-log: stopping
s6-rc: info: service frigate: stopping
s6-rc: info: service nginx-log successfully stopped
2024-08-22 06:40:09.911610392 [2024-08-22 16:40:09] frigate.app INFO : Flask has exited...
2024-08-22 06:40:09.917303319 [2024-08-22 16:40:09] frigate.app INFO : Stopping...
2024-08-22 06:40:09.922081563 [2024-08-22 16:40:09] frigate.events.cleanup INFO : Exiting event cleanup...
2024-08-22 06:40:09.922280906 [2024-08-22 16:40:09] frigate.watchdog INFO : Exiting watchdog...
2024-08-22 06:40:09.922313474 [2024-08-22 16:40:09] frigate.ptz.autotrack INFO : Exiting autotracker...
2024-08-22 06:40:09.924278639 [2024-08-22 16:40:09] frigate.record.cleanup INFO : Exiting recording cleanup...
2024-08-22 06:40:09.924304081 [2024-08-22 16:40:09] frigate.storage INFO : Exiting storage maintainer...
2024-08-22 06:40:09.924590274 [2024-08-22 16:40:09] frigate.stats.emitter INFO : Exiting stats emitter...
2024-08-22 06:40:09.925389095 [2024-08-22 16:40:09] frigate.events.maintainer INFO : Exiting event processor...
2024-08-22 06:40:09.925697748 [2024-08-22 16:40:09] frigate.app INFO : Waiting for capture process for Cam-Doorbell to stop
2024-08-22 06:40:09.925863898 [2024-08-22 16:40:09] frigate.object_processing INFO : Exiting object processor...
2024-08-22 06:40:09.927380338 [2024-08-22 16:40:09] watchdog.Cam-Doorbell INFO : Terminating the existing ffmpeg process...
2024-08-22 06:40:09.927417040 [2024-08-22 16:40:09] watchdog.Cam-Doorbell INFO : Waiting for ffmpeg to exit gracefully...
2024-08-22 06:40:09.940018307 [2024-08-22 16:40:09] watchdog.Cam-Doorbell INFO : Terminating the existing ffmpeg process...
2024-08-22 06:40:09.940050914 [2024-08-22 16:40:09] watchdog.Cam-Doorbell INFO : Waiting for ffmpeg to exit gracefully...
2024-08-22 06:40:09.966195434 [2024-08-22 16:40:09] frigate.app INFO : Waiting for capture process for Cam-Inside to stop
2024-08-22 06:40:09.972013647 [2024-08-22 16:40:09] watchdog.Cam-Inside INFO : Terminating the existing ffmpeg process...
2024-08-22 06:40:09.972240066 [2024-08-22 16:40:09] watchdog.Cam-Inside INFO : Waiting for ffmpeg to exit gracefully...
2024-08-22 06:40:10.043696587 [2024-08-22 16:40:10] watchdog.Cam-Inside INFO : Terminating the existing ffmpeg process...
2024-08-22 06:40:10.043857032 [2024-08-22 16:40:10] watchdog.Cam-Inside INFO : Waiting for ffmpeg to exit gracefully...
2024-08-22 06:40:10.062688020 [2024-08-22 16:40:10] frigate.app INFO : Waiting for capture process for Cam-Outside to stop
2024-08-22 06:40:10.068615644 [2024-08-22 16:40:10] watchdog.Cam-Outside INFO : Terminating the existing ffmpeg process...
2024-08-22 06:40:10.068907331 [2024-08-22 16:40:10] watchdog.Cam-Outside INFO : Waiting for ffmpeg to exit gracefully...
2024-08-22 06:40:10.110419564 [2024-08-22 16:40:10] frigate.app INFO : Waiting for process for Cam-Doorbell to stop
2024-08-22 06:40:10.894758387 [2024-08-22 16:40:10] frigate.video INFO : Cam-Doorbell: emptying frame queue
2024-08-22 06:40:10.894942405 [2024-08-22 16:40:10] frigate.video INFO : Cam-Doorbell: exiting subprocess
2024-08-22 06:40:10.924447154 [2024-08-22 16:40:10] frigate.app INFO : Closing frame queue for Cam-Doorbell
2024-08-22 06:40:11.426071332 [2024-08-22 16:40:11] frigate.app INFO : Waiting for process for Cam-Inside to stop
2024-08-22 06:40:11.908963002 [2024-08-22 16:40:11] frigate.video INFO : Cam-Inside: emptying frame queue
2024-08-22 06:40:11.909118336 [2024-08-22 16:40:11] frigate.video INFO : Cam-Inside: exiting subprocess
2024-08-22 06:40:11.922992515 [2024-08-22 16:40:11] frigate.app INFO : Closing frame queue for Cam-Inside
2024-08-22 06:40:12.424270948 [2024-08-22 16:40:12] frigate.app INFO : Waiting for process for Cam-Outside to stop
2024-08-22 06:40:13.160379557 [2024-08-22 16:40:13] frigate.video INFO : Cam-Outside: emptying frame queue
2024-08-22 06:40:13.160567503 [2024-08-22 16:40:13] frigate.video INFO : Cam-Outside: exiting subprocess
2024-08-22 06:40:13.170764749 [2024-08-22 16:40:13] frigate.app INFO : Closing frame queue for Cam-Outside
2024-08-22 06:40:13.672640750 [2024-08-22 16:40:13] root INFO : Waiting for detection process to exit gracefully...
2024-08-22 06:40:13.672842001 [2024-08-22 16:40:13] detector.coral INFO : Signal to exit detection process...
2024-08-22 06:40:14.159923322 [2024-08-22 16:40:14] detector.coral INFO : Exited detection process...
2024-08-22 06:40:14.167523564 [2024-08-22 16:40:14] root INFO : Detection process has exited...
2024-08-22 06:40:14.669335593 [2024-08-22 16:40:14] frigate.app INFO : Detection queue closed
2024-08-22 06:40:15.170545260 [2024-08-22 16:40:15] frigate.app INFO : Detected frames queue closed
2024-08-22 06:40:15.671980458 [2024-08-22 16:40:15] frigate.app INFO : Timeline queue closed
2024-08-22 06:40:16.795741791 [2024-08-22 16:40:16] frigate.output.output INFO : exiting output process...


## Describe the bug
The upgrade to Frigate 0.14 was completed and all error fixed yesterday. 
Today HACS 2.0 Upgrade was available and post the upgrade I receive the Subject error message - Frigate fails to start.  

## Debug log

2024-08-22 18:55:19.886 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration frigate which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-08-22 18:55:26.087 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://ccab4aaf-frigate-fa:5000/api/stats: Cannot connect to host ccab4aaf-frigate-fa:5000 ssl:default [None]
2024-08-22 18:55:57.088 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://ccab4aaf-frigate-fa:5000/api/stats: Cannot connect to host ccab4aaf-frigate-fa:5000 ssl:default [None]
2024-08-22 18:56:10.838 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://ccab4aaf-frigate-fa:5000/api/stats: Cannot connect to host ccab4aaf-frigate-fa:5000 ssl:default [None]
2024-08-22 18:56:23.247 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /addons/ccab4aaf_frigate-fa/start - Port '8555' is already in use by something else on the host.



@CDM040971 please how did you solve it? I got the same error log