Gotta vent here, I’m about to give up on cameras in HA. I’ve spent the last 3 days trying to get something stable and reliable to work without success. I’ve read every forum post and tried every bit of code or hack that I can find.
Here is my setup:
6 Swann (hikvision) cameras running on Surveillance Station. They all stream perfectly in the SS native app as well as thru VLC using RTSP. Zero lag or buffering…they even stream great on the DS cam over mobile data. My instance of HA is running via VMM on the same Synology Nas. All of the cameras are hardwired over PoE to a Ubiquit 8 port, and my Synology, PC, and router are all on the same physical network (no wifi)
I have several RTSP urls that have been tested working thru VLC:
(All of these are listed as FFMPEG in the specs)
Synology can also generate a share stream path like this:
(which works in VLC)
I’ve tried all cameras in HA using both of the below methods which yield the same problems:
Using the Synology integration exposes all cameras and I can easily add them to a PictureGlance card. The snapshot works, and clicking on the image brings up the live stream which loads quickly and looks fine, but without fail will start buffering after 13-15 seconds every time. It will catch up a bit, and then freeze entirely. Exiting the full screen view and going back to the Glance cards kind of re-sets everything, but it will happen again.
I’ve also added all cameras using the ONVIF integration, which also allows me to easily add the cameras to the Glance cards. Again, same behavior…buffering/lagging after almost exactly 13 seconds of streaming.
I’ve also tried all snippets of code I’ve found in the forums such as the following in the config.yaml file
camera: - platform: generic stream_source: rtsp://192.168.1.190:554/Streaming/Channels/1 still_image_url: [I don't believe these cameras support a still image] name: COURTYARD verify_ssl: false authentication: basic username: U password: P
I can’t get this method to work at all. If I go to Glance card I’ll put ‘camera.courtyard’ as the device but then no video will load on the card at all.
I’ve also added Stream: and ffmpeg: to config but these don’t seem to have an affect.
Can anyone point me in the right direction?? I’m at my wits end