Help with setting livestream with Home Assistant

splycho

n3wb
Joined
Jul 21, 2023
Messages
3
Reaction score
0
Location
Croatia
Hello all,

tried searching myself but I failed. Is there a way or a tutorial how to set up my survaliance with HA integration so that i can have livestream on HA dashboard? HA is running on Oracle VM VirtualBox from win11.

4x DCN-BF2283S2 - DVC (PoE connected camera)
1x HIK Vision recorder DS-7604NI-K1
HA latest version

...so 4x cams are connected to recorder, which is connected to router & tv...all wired

Recorder is connected to TV as mentioned and all is working fine, I have working cameras, ONVIF is set to on, each camera is defined on that protocol. Tried using RTSP myself with HA integrations (ONVIF, Generic Camera, WebRTC, HIK integrations...etc) but i might do something wrong. Using HIK-Connect mobile app & its working too.
Recorder has its own ip address 192.168.1.27 while cameras range from .23 to .26
Tried using rtps urls which i found in protocol settings on recorder & templates from the web but all i get is timeout response even if i use full link with user:password@ip:port (554). Or that sill image is wrong url.

So i have service working on my TV just wanted to make it to work on my HA dashboard, already have some other webcams on dashboard from Tuya integration just cant make this HIK & DCN setup to work.
Thanks for the time & answer

Br
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
17,120
Reaction score
39,817
Location
Alabama
Have you tried:

Code:
rtsp:/Camera-IP:554/ISAPI/Streaming/channels/101/
Be sure to place 2 "/" after "rtsp:", as forum software won't allow 2 to be displayed consecutively. :cool:

EDIT: I know nothing about HA but it seems you want ==>> "Generic Camera"
 
Last edited:

splycho

n3wb
Joined
Jul 21, 2023
Messages
3
Reaction score
0
Location
Croatia
tried that too, i might be doing something wrong im not sure anymore. Ißll look it up around the net but if someone has some kind of tutorial or steps what to do, please write it here & thank you
 

TonyR

IPCT Contributor
Joined
Jul 15, 2014
Messages
17,120
Reaction score
39,817
Location
Alabama
tried that too, i might be doing something wrong im not sure anymore. Ißll look it up around the net but if someone has some kind of tutorial or steps what to do, please write it here & thank you

Have you tried a MJPEG stream?

HTTP commands to get IPC MJPEG stream
1. Camera firmware need to be v4.1 or higher​
2. Can only stream the Sub stream via HTTP​
3. Need to change the Sub stream video encoding to MJPEG​
4. Resolution can be changed via web interface​

NOTE: If the HTTP port of the device is still 80 (default), then “:<HTTP port>” is not required.

HTTP without Authentication
http://<IP address of IPC>:<HTTP port>/Streaming/channels/102/httpPreview​

HTTP with Authentication
http://<username>:<password>@<IP address of IPC>:<HTTP port>/Streaming/channels/102/httpPreview​
 
Top