-
Notifications
You must be signed in to change notification settings - Fork 186
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
Custom element doesn't exist: webrtc-camera #260
Comments
You need to also add the |
I'm stupid, ..... I forgot to do that ... now the card appears but connection refused Same issue with VLC, snapshot is OK but rtsp is down. I use this link : |
I changed the rtsp port to 254 and it's works. |
I'm running into this same problem: "Custom element doesn't exist: webrtc-camera".
Any thoughts? |
I am having the same issue when trying to setup a lovelace tile for eufy camera. |
Hi, None issues from my side with the last version of HA. |
Same error for me after update to 2022.3.3. |
Same issue for me after performing the update to 2022.3.4. |
In my case the problem resolved itself. Camera is working again. Didn't update or reboot anything. Magic! |
Using 'master', with the latest home assistant, sometimes it works. Sometimes it does not. Refresh and restarting sometimes helps. |
Yeah if i hit F5 like 5-6 times then suddenly it works. Then I close the webinterface/app when I open it again it's broken. |
same issue here. In my Raspi based HA container doesnt work, on my NUC based HA container it works. 2022.3.4 version on both WebRTC Camera "Not Loaded" on the integrations page |
Chipping in to say I've got the same issue. "Not Loaded" |
Same issue here. It's a strange one, because it seems to be random - sometimes it loads the card, sometimes it can't. More often it can't. |
Anything we can do to help diagnose this? maybe there is a way to debug the error and help find the cause? |
Hi folks. It looks like Home Assistant and GitHub are pointing to 2.1.0, instead of the latest version 2.2.0. This could be due to the way the author managed the release for the very last one (as it doesn't even show up in the releases list). If you have 2.1.0, you may be encountering this issue. I would recommend uninstalling that version and manually installing version 2.2.0 available here (https://github.com/AlexxIT/WebRTC/releases/tag/v2.2.0). Once I did this, it started to work. |
I can confirm that this FIXES the issue. Had to do manual install to 2.20 and it works! so the bug is on HACS installation |
This solved it! thanks! |
Yes, this helps for web browsers. However, is it working for your mobile companion application? It is still problematic for me. |
here the problem is only on android app.... webrtc doesn´t exist...... on my PC with chrome is ok !! I´m using 2.2.0 webrtc without hacs |
Same issue here. Browser working ok, not on Android up though... A bit disappointed. |
Same for me |
GitHub recently had a bug. That's where the latest release got lost (2.2.0). You need:
|
Once again. Check if link works for you The component automatically configures resources when setting up the integration. If you don't use "lovelace mode yaml" and older browsers - you shouldn't have problems. Possible problems:
|
Non of this related to me. |
this should be your #1 issue. I updated to 3.2.1 still custom element doesn't exist. Nto sure what else to do, even manually installing 3.2.1 doesn't work anymore |
I've realized that it works for direct link. but my HA is behind nginx. |
Perhaps this should be obvious, but after couple hours of debugging I realised, that integrations don't get set up unless there's configuration entry using them.
What helped with debugging was turning logging on to observe what integrations are being set up with
After restart there should be Hope that helps! |
Integration don't get setup if you not setup it... |
Lol. Thanks @AlexxIT. I missed that step indeed! |
Yes. HACS just download integration source code. Hass won't use this new code if you not ask it. |
You're wrong on both "should be" |
For those confused why adding it by HACS, restarting HA, then adding it as an integration still gave this error. Ctrl-Shift-F5 to force a refresh of the browser was necessary for me to fix it. I'd added a card manually and pasted the content in because it wasn't showing as an available custom card. At which point I got the error. And after fixing the error then ctrl-shift-F5 it also then showed as an available custom card. |
that's it! 🎉 |
I'm missing the webrtc camera lovelace card in the default dashboard (I'm not using a custom dashboard). Any tips on how to troubleshoot? In Home Assistant logs, I see error message "Setup failed for 'type': Integration not found." after updating HomeAssistant configuration.yaml to add type: 'custom:webrtc-camera'.
|
If |
Thanks for trying to help, but it doesn't seem like I am not using lovelace mode yaml (my Under Settings -> Dashboards, I see "Overview" dashboard. If I select Overview dashboard, I see "The default dashboard, Overview, cannot be edited from the UI. You can hide it by setting another dashboard as default." Under Settings -> Dashboards, after I click the three dots menu (top-right) and select Resources, I see an entry for a JavaScript modeul with URL = "/webrtc/webrtc-camera.js?v=v3.5.1" On the Overview dashboard, after I click the three dots menu (top-right) and select "Edit dashboard", and then after I click the three dots menu (top-right) and select "Raw configuration editor", I see the following
If WebRTC isn't displayed on the default "Overview" dashboard by default without editing dashboard configuration, that's fine. I can create a custom dashboard. But I was expecting WebRTC cameras to be automatically displayed on the default "Overview" dashboard. |
It didn't solve my issue when casting to chromecast. I noticed /webrtc/webrtc-camera.js?v=3.5.1 changed back to /webrtc/webrtc-camera.js?v=v3.5.1 after restart HA. Am I doing something wrong or is it stored somewhere else? |
I am experiencing this same issue with a Home Assistant Container, Go2RTC running in a docker and Web2RTC installed. I can view a video stream using a customer Web2RTC card but when I try to cast a dashboard with a panel layout. I get this error on my Google Nest display. Any ideas - I've tried the "v=" removal of the resource mentioned above but no luck and nothing showing in the logs. |
The But before removing/adding the js resource, I first made sure that I could access that javascript file directly by going to http://homeassistant.local:8123/webrtc/webrtc-camera.js (or whatever your url is). If the file loads, then the next step is to add the version to see if it loads. I appended Lastly, I added the resource to the dashboard per the instructions above. But the important part here is to REFRESH the webpage after doing that, because the javascript file does not get loaded automatically after you add the resouce, meaning that if you go back to the dashboard to try to add a I'm surprised Home Assistant does not reload the page automatically for me after adding the javascript resource. Considering HA suggested me to refresh the page after I deleted a resource, I don't see why not suggest the same when adding it. Oh well. I think I saw some comments above suggesting to reload/restart HA after updating the javascript resource, but that won't work if you keep the browser page open without refreshing it: the js resource won't get loaded! Anyway, after refreshing, you can add the |
|
If you have trouble finding the "Manage resources" button, enable the Advanced Mode: |
Hello,
Home Assistant 2022.2.6
Same issue that anothers posts : Custom element doesn't exist: webrtc-camera but I don't find the solution.
The integration seems to be well installed.
Could you help me ?
Thanks
The text was updated successfully, but these errors were encountered: