Integrate a webcam (public https stream online with a specif url) as a generic camera or mpeg camera

Hello,

I’m really a beginner in home assistant (less than a year), so please apologise me and be patient… :slight_smile:

My question: is it possibile to integrate the following video stream in home assistant as a generic camera?

Video stream: https://5e0add8153fcd.streamlock.net:1936/vedetta/levanto.stream/playlist.m3u8?36
What’s about: the beach where I go on holidays

I tried to configure

  • a generica camera (unsuccessfully)
  • a mpeg camera (unsuccessfully)

Up to now, the only way to integrate that video stream in home assistant is as a web page card:

type: iframe
title: 🏝 Levanto - La Pietra
url: >-
  https://5e0add8153fcd.streamlock.net:1936/vedetta/levanto.stream/playlist.m3u8?36

…but an iframe card is a frustrating solution for many reasons (I can’t use that video stream as a real generic camera, and I can’t do anything with that except that iframe card).

Any suggestions?

Thank you very much

Andrea

I just tried setting it up in my HA instance as a generic camera and it worked.

When you go to integrations and add a generic camera integration, you add the URL to the stream source URL not the still image URL.

Change the RTSP transport protocol, to HTTP and leave all the other settings the same. After setting it up, the initial load time took a few seconds, but then I saw a nice night time scene.

2 Likes

Thank you very much!!

I feel dumb (I shouldn’t have tried to add a stati image link!) but at the same time it’s great that home assistant has such a wonderful community!

I’ve also tried to add the generic camera in a frigate card and it works!!

Thank you very much for your precious and instantaneous answer!! :slight_smile:

Andrea

Post scriptum: if you want you can have a look in a few hours (8-10 hours) and you’ll see a beautiful Italian beach!! (It’s a public webcam of a little village in Italy!)

1 Like

Glad you got it working! And no problem at all!

(I needed a lot of help when I started (and I still need help from those smarter than me) so I like helping when I can!)

Thank you both for the help!!! I have been searching and searching for this solution for several weeks. Who knew it was this easy!

I have an URL, perfectly working in an iframe, showing a public camera.
Also in the Lovelace at Safari, working flawless.
When showing the same iframe on an iPad, it gives a http state 404: not found

type: iframe
url: >-
  https://webtv.feratel.com/webtv/?pg=5EB12424-7C2D-428A-BEFF-0C9140CD772F&design=v4&cam=5277&c2=1
title: Hinterglemm Tal - 1.070m

When copying the https into the browser of the iPad it’s also working fine… somehow the iframe within HA is not accepting the https website. And in addition 1,5 year ago it was working perfectly on the HA on a iPad…

Hi, I’m trying to integrate a public webcam into homeassistant, I managed to extract the video stream from the site (https://www.skylinewebcams.com/) the camera works perfectly for a few minutes and then becomes unreachable if I open the webcam from the browser of the computer the video stream on homeassistant starts working again, how can I make it work unlimitedly?

the webcam I would like to check is:

the video stream is:
https://hd-auth.skylinewebcams.com/live.m3u8?a=nokhhjtbk7fq77edfnah9otu95