Surveillance Station cameras feeds are delayed

I am using the Synology integration to get my camera feeds into HA, which works. I can see all cameras, their states and even a live feed.

However I have noticed the live feeds are either delayed or frozen. I don’t actually view my streams through HA so that’s not a huge issue, my problem though is that I use HA on my iOS device to get Camera stills (via the Shortcuts app) and these aren’t the most real time because of this (sometimes brings back stills from 2+ hours ago).

How can I force the cameras to be updated more often? or at least when I query them get my the latest image?

Are you using the live feed from the camera or a stream from the synology. What hardware is home assistant running on?

I gave up on streaming video and just set up generic still image cameras. I found the live streams would be delayed by a ridiculous amount (even using an i7) or crash my whole home assistant server.

I am using the streams from Synology as opposed to directly from the cameras (Trendnet IP310’s)

HA is running on a Rasperry Pi4.

This was also my thoughts, I think I might try and dig up the image urls directly from the camera’s and use those instead. Is there any docs on how to setup cameras but only as still images?

I would try to cut out the synology and grab the live stream from the camera. I have a purpose built sever that runs on a j4105 and have no problem running 4 streams in the UI. The hardware you are viewing on also makes a big difference. I have a fire 7 tablet that can’t show streams, but I also have an hd10 that can show all 4. My phone a Samsung s10 had no problems.

It depends on your camera model but the generic ip camera with still image URL option set up serves up an image every 10 seconds or so In the card and every second in the more info pop up.

HI @ihavenoidea take a look to my yesterday replay in another post,

Change streaming channels or low streaming resolution

Let me know if it works

i’m trying to migrate from the decommissioned synology camera ((camera:

  • platform: synology)) (surveillance station) integration to another kind of integration.

With the old integration i’m getting close to realtime video from the surveillance station. When trying the new DSM integration or RSTP stream, Onvif integration or direct connection to the Hikvision camera (both mjpeg,rtsp) i have a delay of at least 8 seconds in the ui.
When i use VLC on my pc and open de direct connection to the cam or the rtsp option from surveillance station if get real time video.

am i the only one?

No you are not. Home Assistant real time video feeds were always delayed by 10 seconds or so for me. This is with Home Assistant on an i7 PC with more than enough processing power.

1 Like

Thanks Tom. Maybe i’m spoiled with the old synology camera integration. This was close to realtime also on a pi. Would there be a possibility to get the old integration back? (manually?)

camera:
  - platform: synology
    name: synology
    url: https://<url>:5001
    username: username
    password: !secret camera_synology_password

never mind … i’ve solved it with an alternative.

real time streaming in lovelace ui

1 Like

Can you share some details about your solution? I also use hikvision camera’s on my synology NAS

Sure.
I’ve stepped away from a synonogy implementation.

I’ve used a motioneye lxc (or you can use the hass add-on). Direct connect motioneye using rtsp on the secondary stream.

Added the streaming url of motioneye as a mjpg camera in config.yaml

2 Likes

I’ve been battling with 10 to 20 second delays with Synology feed for a little while. I might look into motioneye as well.
Thanks for the information