viseron icon indicating copy to clipboard operation
viseron copied to clipboard

Add camera for image feed

Open BliXem1 opened this issue 10 months ago • 7 comments

Hi,

Can you add a image feed within Home assistant? So every second the frame will be loaded? I don't have to have a live feed.

BliXem1 avatar Apr 17 '24 10:04 BliXem1

I removed it earlier for some technical reasons, will look into adding it back.

In the meantime you can setup a generic mjpeg camera that points to the same url as the live view in the UI

roflcoopter avatar Apr 19 '24 06:04 roflcoopter

Hi,

Yes, I already did that, the problem I have is that the streams froze after 20-40 seconds. In my case if I see the stream via UI of HA and I go to another tab and get back after 1 min the feed is frozen. If I refresh it's working again but after 20-40 sec again frozen.

BliXem1 avatar Apr 19 '24 06:04 BliXem1

Did you have that too?

BliXem1 avatar Apr 19 '24 06:04 BliXem1

Hmm no i have not experienced that but i havent tested in a while. Will look at that when i get around to get the cameras back in Home Assistant

roflcoopter avatar Apr 21 '24 20:04 roflcoopter

Would be great. Let me know when it's added. I think this is then a restream feature right? With Frigate its all working perfect but I like your software more and less CPU load :)

BliXem1 avatar Apr 29 '24 07:04 BliXem1

Re-streaming is another beast i believe. To send images to Home Assistant i will simply send the frames that are being read by Viseron.

Re-streaming is hard to expose to Home Assistant without a custom component that Viseron sadly doesnt have atm. I do plan on implementing re-streaming and improved live streaming soon tho

roflcoopter avatar May 08 '24 13:05 roflcoopter

Alright, keep me posted. Thanks for your work!

BliXem1 avatar May 08 '24 13:05 BliXem1