Open weitheng opened 1 month ago
Check Frigate logs
Check Frigate logs
Sorry I was not clear. I can see the cameras just fine on Frigate, but when I try to view the cameras using this integration in Home Assistant, it says camera unavailable. The logs in Frigate looks fine
how do you have frigate installed
how do you have frigate installed
Using docker compose on another LXC container running Linux.
I had similar issue but only 1 camera worked and just check now 2 working and 2 not working and haven't changed anything.
frigate running on ubuntu with docker
For me, this problem presented itself because I changed my port configuration which broke the HA integration.
The old way was using port 5000:5000 in docker. Port 5000 has no need for a username/password. The new way (for me) was forwarding port 5000 to port 8080 which is new in the version 14 betas. 8080 has authentication, HA wasn't able to talk to it.
I've now configured my docker ports so that Home Assistant can still contact Frigate on port 5000, which still doesn't require any authentication.
The integration seems to be broken on Frigate 0.14B - camera unavailable. @NickM-27 @dermotduffy is there anything we can help or logs we can provide to fix this?
Everything is working as expected for me, and we've not seen mass reports of any issues
I have similar problem! Since beta 1 to the last beta I can’t put to work! Something is wrong on go2rtc or ffmpeg services, because if I remove ffmpeg extra config from go2rtc, some times (after some reboots) I can see the red dot on wright corner. And the camera on homeassistant appears to work! And the camera function on integration… If I use the rtsp without ffmpeg I have the similar results. I think this is not an integration problem, since on frigate page system metrics does not work at all!
mqtt:
host: x.x.x.x
port: 1883
topic_prefix: frigate
client_id: frigate
user: mqtt_user
password: mqtt_password
stats_interval: 5
record:
sync_recordings: true
expire_interval: 60
enabled: true
retain:
days: 0
mode: motion
preview:
quality: medium
events:
pre_capture: 5
post_capture: 10
objects:
- person
retain:
default: 1
mode: active_objects
audio:
enabled: true
max_not_heard: 10
min_volume: 500
listen:
- scream
- fire_alarm
- yell
detectors:
coral:
type: edgetpu
detect:
fps: 7
enabled: true
max_disappeared: 25
annotation_offset: 0
objects:
track:
- person
filters:
person:
min_score: 0.7
threshold: 0.75
snapshots:
enabled: true
clean_copy: true
timestamp: true
bounding_box: true
crop: false
height: 720
retain:
default: 1
objects:
person: 2
ui:
timezone: Europe/Lisbon
time_format: 24hour
go2rtc:
streams:
entrada:
- ffmpeg:http://{FRIGATE_ENTRADA_HOST}/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user={FRIGATE_RTSP_USER}&password={FRIGATE_RTSP_PASSWORD}#video=copy#audio=copy#audio=opus
traseiras:
- ffmpeg:http://{FRIGATE_TRASEIRAS_HOST}/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user={FRIGATE_RTSP_USER}&password={FRIGATE_RTSP_PASSWORD}#video=copy#audio=copy#audio=opus
frente:
- ffmpeg:http://{FRIGATE_FRENTE_HOST}/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user={FRIGATE_RTSP_USER}&password={FRIGATE_RTSP_PASSWORD}#video=copy#audio=copy#audio=opus
cameras:
entrada:
enabled: true
onvif:
host: x.x.x.
port: 8000
user: xxxx
password: xxxx
ffmpeg:
inputs:
- path: rtsp://x.x.x.x:8554/entrada
roles:
- record
- detect
- audio
motion:
threshold: 30
contour_area: 10
improve_contrast: true
traseiras:
enabled: true
ffmpeg:
inputs:
- path: rtsp://x.x.x.x:8554/traseiras
roles:
- record
- detect
- audio
motion:
threshold: 30
contour_area: 10
improve_contrast: true
frente:
enabled: true
ffmpeg:
inputs:
- path: rtsp://x.x.x.x:8554/frente
roles:
- record
- detect
- audio
motion:
threshold: 30
contour_area: 10
improve_contrast: true
version: 0.14
Same issue here. After upgrade to 0.14.0 Beta 3 no cameras anymore with integration.
you most likely didn't switch the host name in the integration configuration after upgrading
@NickM-27 I've added the devices with the new http://ccab4aaf-frigate-fa-beta:5000 hostname and enabled port 5000 in the frigate addon config screen. Is there anything else I have to do?
follow up: I've deleted the frigate topic via mqtt explorer. now the switches for recording, detection etc work but not the camera stream. what kind of mqtt info is there to be expected for camera playback? I do not see any entry for any stream via mqtt.
Version of the custom_component
v5.2.0
Configuration
Describe the bug
After installing Frigate 0.14.0 Beta 1, the camera view is no longer available.
Debug log