Hey everyone,
I’m very new to Home Assistant, and I’m certainly am doing something silly, but I can’t point my finger to it.
I have installed on my HA the frigate add-on. I followed the wiki of Frigate and managed to create a configuration file. In Frigate, I can now see the 3 cameras I have set up there. It’s all showing and detection also works nicely.
I then installed the frigate integration, and that’s where the weird thing happens. I can only see one out of my 3 cameras inside HA. I checked the integration and it also shows only one out of the 3 cameras (the first one of the list). If I understand right how it works, if I have one, and have no error in the code, it should show all 3.
I keep checking the frigate.yaml (the wiki mentions frigate.yml, but I’m not sure whether I should follow that naming convention or not), but since the two next cameras is the same as the first one (I copied pasted and just renamed the entity and its stream), I’m not sure what I’m missing there.
If you have an idea, it would be very helpful to learn from my mistakes.
Here is the code of my frigate.yaml
mqtt:
host: mqtt://core-mosquitto
user: mqtt-user
password: supersecret
cameras:
camera_veranda: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://someadress/live/ch1 # <----- The stream you want to use for detection
roles:
- detect
- rtmp
- path: rtsp://someadress/live/ch0 # <----- The stream you want to use for detection
roles:
- record
detect:
enabled: True # <---- disable detection until you have a working camera feed
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
objects:
track:
- person
- umbrella
record:
enabled: true
retain:
days: 10
events:
retain:
default: 10
snapshots:
enabled: true
motion:
mask:
- 877,0,1280,0,1280,36,878,37
camera_salon: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://someadress/live/ch1 # <----- The stream you want to use for detection
roles:
- detect
- rtmp
- path: rtsp://someadress/live/ch0 # <----- The stream you want to use for detection
roles:
- record
detect:
enabled: True # <---- disable detection until you have a working camera feed
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
objects:
track:
- person
- umbrella
record:
enabled: true
retain:
days: 10
events:
retain:
default: 10
snapshots:
enabled: true
motion:
mask:
- 877,0,1280,0,1280,36,878,37
camera_hall: # <------ Name the camera
ffmpeg:
inputs:
- path: rtsp://someadress/live/ch1 # <----- The stream you want to use for detection
roles:
- detect
- rtmp
- path: rtsp://someadress/live/ch0 # <----- The stream you want to use for detection
roles:
- record
detect:
enabled: True # <---- disable detection until you have a working camera feed
width: 1280 # <---- update for your camera's resolution
height: 720 # <---- update for your camera's resolution
objects:
track:
- person
- umbrella
record:
enabled: true
retain:
days: 10
events:
retain:
default: 10
snapshots:
enabled: true
motion:
mask:
- 877,0,1280,0,1280,36,878,37
Edit : For some reason, the situation just got solved. I simply restarted the whole HA and all the cameras are now available in HA. I just found a reference to the integration needing a restart after doing a zoning. Everything is now working perfectly.