Skip to content

Use consistent URL routes or query params for direct links to cameras and camera groups #20264

Description

@shbatm

Describe what you are trying to accomplish and why in non technical terms
I want to be able to proxy direct paths to camera full screen live views and group views.

Describe the solution you'd like
Currently camera live views are only accessible using URL anchors/hashs (http://url:port/#front_door) but the hash location is only processed client-side and does not work through proxies. Camera groups are accessible via query parameter ?group=group_name (but this also doesn't work currently using the proxy add-on), and would be nice if it was consistent (e.g. ?camera=camera_name or /group/group_name and /camera/camera_name.

Using a route would also allow some external permissions managment using the reverse proxy to allow/disallow access to a particular route outside of Frigate (e.g. allow direct link access to an outdoor common camera at frigate.tld/camera/sidewalk to share with neighbors).

Describe alternatives you've considered
Do not want to directly expose the Frigate instance on the machine using port number, which seems to currently be the only way to get direct camera links working.

Additional context
#12048 Previously covered this for groups and there is a long-standing issue in the Home Assistant integration about it not working across proxies blakeblackshear/frigate-hass-integration#257

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions