Hi,
I think I have read all of the posts on this topic and I spent hours trying to get this to work, but now comes a time I have to ask for help.
I have the g2rtc version 1.9.7 installed
In HACS, I have added webrtc-camera and I have restarted HA
and under Settings → Dashboards → resources, I have added “hacsfiles/webrtc-camera/webrtc-camera.js” as a JavaScript module and I have restarted HA again
I have cleared my browser
and when I try to add a custom card like this:
type: ‘custom:webrtc-camera’
url: ‘rtsp://rtsp:[email protected]:554/av_stream/ch0’
I get Custom element doesn’t exist: webrtc-camera
Hi Nick,
thank you for your reply
Well, in the end, yes, I used both methods… in an attempt to get Lovelace to recognize/find/process the JS file.
I have a bit of an a-typical setup, and I must admit that Idon’t fully understand what I’m doing
As a reference, the custom:button-card works fine, so I made sure the webrtc-camera files were (also) in the same location. But that didn’t help.
I also gave the files 777 permissions.