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.

JSMPEG Not working for cameras or birdseye

See original GitHub issue

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:

  • Card: 1.2
  • Integration: 2.1
  • Frigate: 0.9.1

Browser and Operating System:

  • HA OS
  • Windows 10 / Edge 94
  • Same issue on Windows 10 / Firefox
  • Same issue on HA Android

Description of problem: I want to use the JSMPEG view for birdseye but it does not work with birdseye or any other camera. As soon as I use live_provider: frigate-jsmpeg I get errors:

WebSocket connection to 'ws://homeassistant.local:8123/api/frigate/frigate/jsmpeg/birdseye?authSig=XXXXXXXXXXXXXXXXXXXXXXXXXXX' failed: 
e.start @ frigate-hass-card.js?hacstag=394082552120:430
(anonymous) @ frigate-hass-card.js?hacstag=394082552120:430

In Firefox, it says 404 Not Found.

Similar to this comment but since I don’t have the authentication error and it’s not working at all, I am not sure this is related.

Both following WS URLs are working when I use frigate from Lovelace or using direct URL: ws://homeassistant.local:8123/api/hassio_ingress/TGDdpxY_QFN2xTs_EJoGujLeQzU3QLOV1E_MfCYCa6E/live/birdseye ws://10.0.0.9:5000/live/birdseye

Birdseye is working great from Frigate.

I also tried with a camera which work great with the default live_provider but same issue with jpmpeg. I tried with and without the frigate_camera_name, and with and without spaces, in lower or came case… I don’t think it could be related to the name anyway since it should work with birdseye.

The most basic configuration is the following:

type: custom:frigate-card
frigate_camera_name: birdseye
live_provider: frigate-jsmpeg

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dermotduffycommented, Oct 19, 2021

Oh no! Happens to everyone @Mincka , very glad you figured it out. Thank you so much for the coffee!

1reaction
Minckacommented, Oct 14, 2021

client_id and topic_prefix are not configured.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSMPEG view generates a lot of "login attempt failed" ...
It only happens with frigate-jsmpeg. If I switch to webrtc I don't see these. ... JSMPEG Not working for cameras or birdseye #128....
Read more >
Frigate HADashboard Birdseye cam - Third party integrations
Hi, I'd like to show the Frigate Birdseye cam into HADashboard there is a way ... addon) the frigate cards work on Home...
Read more >
rtsp streaming node js ip camera jsmpeg fail
I had this problem too but solved that, you must download jsmpeg.min.js from https://jsmpeg.com/ and replace it with jsmpeg.js file then ...
Read more >
Frigate version 0.9 Updates. Change your config! - YouTube
In this video, I talk about the newest (as of this recording) version of Frigate - version 0.9. This update includes BREAKING CHANGES...
Read more >
finally* low latency, low bandwidth, high quality and stable ...
h264 camera streams are unreliable in HA and they lag significantly. ... Recently we got WebRTC which promised to solve these issues, ...
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