Files

35 lines
1.2 KiB
Bash

# Per-instance runtime env for one Frigate camera-control sidecar.
# Example target on Podman: /etc/frigate-camera-control-bridge/frigate-main.env
# Kubernetes equivalent: env values from Secret/ConfigMap for that Frigate pod.
MQTT_HOST=mqtt.example.test
MQTT_PORT=1883
MQTT_USER=change-me
MQTT_PASSWORD=change-me
DEFAULT_CAMERA_USER=admin
DEFAULT_CAMERA_PASSWORD=change-me
# Optional. If set, HTTP GUI/API require ?token=<value> or X-Bridge-Token.
# HTTP_TOKEN=change-me
# Optional. Snapshot refresh is intentionally slow; it is only for GUI context.
SNAPSHOT_ENABLED=true
SNAPSHOT_HEIGHT=180
SNAPSHOT_CACHE_SECONDS=300
SNAPSHOT_RETRY_SECONDS=600
SNAPSHOT_REFRESH_SECONDS=3600
SNAPSHOT_LIVE_ON_GUI=true
# Optional. Re-read Frigate /api/config periodically so camera additions and
# removals update Home Assistant discovery without restarting the sidecar.
FRIGATE_REFRESH_SECONDS=300
# Optional. Startup sends safe OFF commands and publishes retained OFF state
# for switch entities. Auto-off values are seconds; 0 disables that class.
STARTUP_ALL_OFF=true
AUTO_OFF_SIREN_SECONDS=180
AUTO_OFF_RED_BLUE_SECONDS=300
AUTO_OFF_WHITE_LIGHT_SECONDS=600
AUTO_OFF_DEFAULT_SECONDS=0