blakeblackshear / frigate-hass-integration

Frigate integration for Home Assistant
MIT License
660 stars 110 forks source link

[Support] use jmpeg stream for camera #606

Closed marcel263 closed 5 months ago

marcel263 commented 5 months ago

Frigate 0.12.1, Homeassistant 2023.08.04, integration 4.0.0

Can the cameras provided by the integration be set to jsmpeg source? I am not using the custom card, just the default grid view with a picture-entity.

When the system was first configured, it actually provided a live jsmpeg view. Since then, frigate was configured to use go2rtc and maybe unintentionallly settings were changed. However, even with a simple test camera, there is always a rtp stream now when the camera is clicked in hass. This does not seem to work with my low iframe interval camera.

I found support for jsmpeg in the integration source code, can it be accessed without the custom card? Setup is as suggested by Homeassistant. Frigate config if needed.

Version of the custom_component

Configuration


type: grid
square: false
columns: 1
cards:
  - show_state: false
    show_name: false
    camera_view: auto
    type: picture-entity
    entity: camera.test
    camera_image: camera.test
NickM-27 commented 5 months ago

Frigate integration never provided jsmpeg stream as HA itself doesn't support it. If no stream is configured then frigate provides a jpg image that updates once a second.