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.

Issues with the Frigate HA Add On

See original GitHub issue

Checklist:

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

Release with the issue: v0.1.4

Last working release (if known): N/A

Browser and Operating System: I’m running the Frigate add on for Hassio behind a reverse proxy, and I’ve tried accessing from both Chrome and Edge running on Windows 11.

Description of problem: While the live camera view works great, I don’t think the card is successfully communicating with the Frigate HA addon. For example, when I try to bring up the clips view on a camera, the card goes grey and shows a small exclamation point icon. The developer console gives this error message: “SyntaxError: Unexpected token < in JSON at position 0”

And when I click “view frigate UI,” it takes me to a blank screen with the home assistant wrapper. The card pulls up “https://homeassistant.[mydomain].org/ccab4aaf_frigate/cameras/doorbellCam,” but that url doesn’t go anywhere. But if I change the Frigate URL to “http://[internal IP address]:5000,” it happily appends “/cameras/doorbellCam” and takes me to the right screen.

Javascript errors shown in the web inspector (if applicable):

frigate-hass-card.js?hacstag=394082552014:406 SyntaxError: Unexpected token < in JSON at position 0
_getEvents @ frigate-hass-card.js?hacstag=394082552014:406
async function (async)
_getEvents @ frigate-hass-card.js?hacstag=394082552014:406
_renderEvents @ frigate-hass-card.js?hacstag=394082552014:409
render @ frigate-hass-card.js?hacstag=394082552014:457
update @ frigate-hass-card.js?hacstag=394082552014:185
performUpdate @ frigate-hass-card.js?hacstag=394082552014:148
_enqueueUpdate @ frigate-hass-card.js?hacstag=394082552014:148
async function (async)
_enqueueUpdate @ frigate-hass-card.js?hacstag=394082552014:148
requestUpdateInternal @ frigate-hass-card.js?hacstag=394082552014:148
set @ frigate-hass-card.js?hacstag=394082552014:148
_changeView @ frigate-hass-card.js?hacstag=394082552014:406
_menuActionHandler @ frigate-hass-card.js?hacstag=394082552014:423
_callAction @ frigate-hass-card.js?hacstag=394082552014:365
V.menuMode.expand.V.expand @ frigate-hass-card.js?hacstag=394082552014:381
handleEvent @ frigate-hass-card.js?hacstag=394082552014:82
I.__boundHandleEvent @ frigate-hass-card.js?hacstag=394082552014:82

Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

0reactions
dermotduffycommented, Aug 29, 2021

Hi all, I have a fairly complete fix for this ready. I hope to have a pre-release in the next few days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Support]: Frigate add-on in home assistant not running #2294
I am running a HA OS install on an Intel NUC with a coral USB stick and I have Frigate NVR add-on v....
Read more >
Frigate NVR Add On Crashing Supervisor
I run the HA OS in a VM on a TrueNas server. Is anyone else experiencing this issue? And, if so, did it...
Read more >
what's the best way to run Frigate and HA? : r/homeassistant
I am setting up a new build and can't find non-conflicting information on the best approach. Proxmox with a VM for each.
Read more >
Frigate and Home Assistant - YouTube
An indepth look at how Frigate integrates into Home Assistant. Using the Frigate HACS integration we can look at our live video streams, ......
Read more >
Configuration File - Frigate Docs
For Home Assistant Addon installations, the config file needs to be in the root of your Home Assistant config directory (same location as ......
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