I have 2 amcrest cameras (ip2m-841b) and one eufy indoor camera. I have them all working but the video is delayed atleast 15-20 seconds which makes this not very valuable for a security camera. what can i do to improve the responsiveness of the cameras so that it is as close to real time as possible. also for the cameras what should i add to the entries below to get the PTZ working along with motion notifications.
I am running on Pi 3B and the CPU and Memory looks fine.
First, can you check with your RTSP URLs through VLC to see if the lag exists at the camera/network? With VLC open, use File > Open Network and paste in your RTSP url. Itās more likely that the delay is on the camera or networkās side than HA and if thatās the case, thereās nothing you can do short of getting better cameras.
Indeed. My cctv system exposes rtsp streams that I use to feed them into homeassistant and the delay is exactly 10 seconds, which Iāve concluded is āby designā.
In fairness, if someone is burgling the house and Iām relaying what Iām seeing to the emergency services by phone, Iām thinking if I say āheās leaving now and gone towards the pubā, but actually he left 10 seconds ago, heās still 30 seconds from the pub, so itās not that bad
Itās also quite good because if you hear a bang outside you can grab the phone, open homeassistant, open the camera and see what caused it.
I have confirmed that in VLC the lag does not exists. I see motion on my cameras almost immediately. However through home assistant i can stand up and count to 15-20 seconds before the movement will be shown properly.
Being almost 20 seconds behind is a concern from a security perspective.