question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Frigate camera name autodetection doesn't work for JSMPEG

See original GitHub issue

Hi, first of all great work on this card, it has all that’s needed to display frigate cameras and even more. 😃

I had a series of issues configuring it, I worked around most of them but probably I’m missing something, here the macro steps I followed:

  1. I didn’t have the WebRTC component, I just wanted to display the live view of frigate but it didn’t work, I was only seeing a grey rectangle.
  2. I installed WebRTC and I configured the camera throught the GUI, selecting the camera.citofono entity, I had an error displayed on the video “RTSP only stream supported” (something like that), but the camera (a doorbell) is RTSP.
  3. I read in the doc that I could also use a RTSP URL, but in the GUI I couldn’t find it, there was only the listbox with the entity selector: image
  4. I switched to YAML and replaced the entity: with url: and the RTSP path, then I finally saw the video appearing. 😃
  5. I wanted to try frigate-jsmpeg but in the GUI selector (see above) it didn’t appear. I’m using integration 2.1. image

So to summarize the issues:

  1. live view provider set with frigate doesn’t work (grey box)
  2. can’t find frigate-jsmpeg in live view provider listbox, even if using integration 2.1
  3. in webrtc (used as workaround) if I use the entity camera.citofono (created by frigate) webrtc complains about it not being an RTSP stream. Using the RTSP url as workaround means I’m opening a second stream from the camera. I’d prefer to use Frigate as proxy.
  4. in webrtc options GUI, you can’t set the rtsp url, as described in the documentation, only selection of entity is possible

This is the current config:

  - type: custom:frigate-card
    controls: {}
    menu_mode: overlay-bottom
    webrtc:
      url: rtsp://user:XXXXXX@citofono.axel.dom:554/Streaming/Channels/101
      webrtc: true
      mse: false
    autoplay_clip: false
    menu_buttons:
      frigate: false
      clips: true
      live: true
      snapshots: true
      frigate_ui: false
    camera_entity: camera.citofono
    frigate_url: http://hass.axel.dom:5000
    view_default: live
    live_provider: webrtc

I think that’s everything, if I missed something I’ll integrate the post. 😃

Thanks again for your great work and the support.

Alessandro

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
dermotduffycommented, Oct 2, 2021

BTW: You mentioned it’d be nice if menu entities could be toggled by click, https://github.com/dermotduffy/frigate-hass-card/issues/74 has that feature request (and I do plan to work on it).

1reaction
alexdelpretecommented, Oct 2, 2021

My pleasure. I’ll leave the name configured until next version. 😃

May I suggest to put the autodetected name somewhere in the input box, or the label maybe?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Local realtime person detection for RTSP cameras - #5940
Question im using the frigate hass card if i do live stream with frigate setting it have audio, but if i use frigate...
Read more >
Amcrest camera default password - lionsragusa.it
When you change the password for the nvr, it doesn't change the camera ... To view the birdseye view set this to birdseye...
Read more >
View Cameras Live with WebRTC and the Frigate Card. Part 4 ...
This is part 4 of the Frigate NVR series. I show how to use the WebRTC card for live viewing and the Frigate...
Read more >
Automations with Frigate AI person detection - YouTube
I am giving away my favorite security camera ! But before that, let me show you how to:- Setup Annke NC 400 in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found