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

Lovelace 'Uncaught Error' #30

Closed
Gferretta opened this issue Apr 23, 2021 · 9 comments
Closed

Lovelace 'Uncaught Error' #30

Gferretta opened this issue Apr 23, 2021 · 9 comments
Labels
bug Something isn't working

Comments

@Gferretta
Copy link

Gferretta commented Apr 23, 2021

Hi Alex
I Uninstalled everything, both in HACS and in Configuration -> Integrations.
Clear the cache.
Restart my HA
Install WebRTC only in HACS and the error was does NOT appear in log.
When I install the integration in Configuration -> Integrations., without even putting the card in with video, only with a refresh of screen, the error already appears in Lovelace.

I leave you a video that may help you to determine what is happening to me.
https://photos.app.goo.gl/kQdqTa5eWLkgkFw66

Regards

PS Sorry for posting into Sonoff and not the WebRTC repository.

115821167-a87d9d00-a3d8-11eb-9521-8bfdf8b91736

@AlexxIT AlexxIT added the bug Something isn't working label Apr 25, 2021
@Michsior14
Copy link

Looks like I have similar issue. In the browser console I can see this:

Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "webrtc-camera" has already been used with this registry at http://<ha-adress>:8123/webrtc/webrtc-camera.js:355:16

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 28, 2021

Fixed in v1.4.0

@AlexxIT AlexxIT closed this as completed Apr 28, 2021
@majkers
Copy link

majkers commented Apr 28, 2021

Still getting this in android when trying to access via nabu casa but only on android device. Same address on CHrome on PC with Windows works o OK

https://XXXXX.ui.nabu.casa/lovelace/default_view:0:0 Uncaught https://XXXX.ui.nabu.casa/lovelace/11:0:0 Uncaught

Default video is not working either

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 28, 2021

Browser cache...

@majkers
Copy link

majkers commented Apr 28, 2021

I do not know how to clean android companion HA cache so I removed its data and stilll no fix. I used android chrome's private window so not to use browser cache and same result

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 28, 2021

@majkers may be you have added JS card to resources manually?

Default video doesn't work everywhere? Or only on Android?

@majkers
Copy link

majkers commented Apr 28, 2021

@AlexxIT no I used HASC and updating your great addon via it. I experience this stuff and not playing video only on my android phone when using mobile 3G/LTE connection and connection to mu HA instance via nabu casa. When I connect the same phone to my wi-fi so without nabu cassa as proxy everything is working just fine using the same app and very same chrome browser. BUT. When connecting to my HA via nabu casa on PC from chrome it is also working fine. So to sum up. Only android connection via nabu casa is not working for me :(

@AlexxIT
Copy link
Owner

AlexxIT commented Apr 28, 2021

PC + NabuCasa + 3G/LTE = works?
Android + NabuCasa + 3G/LTE = doesn't?

@majkers
Copy link

majkers commented Apr 28, 2021

I'd rather say:
PC/Android + Localhost + Wi-Fi/LAN = works
PC + NabuCasa + Wi-Fi/WAN = works
Android + NabuCasa + 3G/LTE = doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants