Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you use Frigate love lace card without Frigate backend in HA? #1288

Closed
badnbusy opened this issue Oct 8, 2023 · 8 comments
Closed

Can you use Frigate love lace card without Frigate backend in HA? #1288

badnbusy opened this issue Oct 8, 2023 · 8 comments
Labels
question Further information is requested

Comments

@badnbusy
Copy link

badnbusy commented Oct 8, 2023

This is not a bug but more of a question...

I use Frigate and the Lovelace card on my main HA installation, however I have a secondary system which is using the go2rtc addon and the webrtc lovelace card in order to show some non-Frigate RTSP streams from Hikvision cameras.

Is it possible to use the Frigate lovelace card with these without using Frigate integration / backend?

The lovelace card is so ace and I like how you can use left/right to flick between cameras, go full screen and just the general layout compared to the simple webrtc custom card.

If not, and I know this isn't a Frigate lovelace problem, what is the next best card for viewing live camera feeds?

Thank you

@dermotduffy
Copy link
Owner

Is it possible to use the Frigate lovelace card with these without using Frigate integration / backend?

Absolutely, although features will be much more limited. As a matter of principle, the card will always work for non-Frigate cameras -- and I've been vaguely considering whether we should rename the card.

See here for the functionality differences between camera "engines": https://github.com/dermotduffy/frigate-hass-card#available-camera-engines

Likely of significant relevance to you is this PR which I just literally merged today. As such, it is not yet available in any build. It enables go2rtc support for non-Frigate cameras, which it sounds like you need.

@dermotduffy dermotduffy added the question Further information is requested label Oct 8, 2023
@badnbusy
Copy link
Author

badnbusy commented Oct 8, 2023

Thanks! How is the engine: generic set in yaml?

@dermotduffy
Copy link
Owner

Thanks! How is the engine: generic set in yaml?

It'll be autodetected if you use a non-Frigate provided camera. It could be manually set with this in a camera configuration:

type: custom:frigate-card
cameras:
  - camera_entity: camera.sitting_room
    engine: generic

@badnbusy
Copy link
Author

badnbusy commented Oct 8, 2023 via email

@dermotduffy
Copy link
Owner

dermotduffy commented Oct 8, 2023

I don't have any camera entities defined in Home Assistant as I was using the webrtc card which just requires the go2rtc stream name... do I need to create a generic camera entity and will that make it not be efficient if not using go2rtc then

No entities required at all. Here is a live working config from my dev setup, note the absence of anything home assistant or Frigate related:

type: custom:frigate-card
cameras:
  - live_provider: go2rtc
    go2rtc:
      stream: office
      url: http://my-go2rtc:1984

@badnbusy
Copy link
Author

badnbusy commented Oct 8, 2023

Will this work at present or only with your recent PR to support go2rtc streams?

@dermotduffy
Copy link
Owner

Will this work at present or only with your recent PR to support go2rtc streams?

You'll need to wait for the v6 release. If you cannot wait, and are prepared to experiment unsupported, you can also install an unreleased version or build your own.

@dermotduffy
Copy link
Owner

Closing, as I don't think there's anything else to do here!

@github-actions github-actions bot locked and limited conversation to collaborators Oct 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants