Is there a reliable way to detect if a camera feed goes down in Frigate?
Ever since I upgraded to .14 I have some of my feeds occasionally drop. If I restart frigate they all come back up. I know it's a Band-Aid but right now I'm trying to make an automation that restarts frigate if the one high priority camera goes down. I'm using detect FPS, but it doesn't seem to be reliable.
Any suggestions on what to use as a trigger?
Automation:
alias: Restart frigate if gate cam unavailable
description: ""
triggers:
- trigger: state
entity_id:
- sensor.frigate_lorex_01_gate_detection_fps
for:
hours: 0
minutes: 5
seconds: 0
to: "0"
conditions: []
actions:
- action: script.restart_frigate_via_mqtt
metadata: {}
data: {}
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
mode: single
Script:
alias: Restart Frigate Via MQTT
sequence:
- action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
qos: 0
retain: false
topic: frigate/restart
description: ""
icon: mdi:restart