myhomeiot / DahuaVTO

Control Dahua VTO/VTH devices from Home Assistant
GNU General Public License v3.0
158 stars 19 forks source link

Display camera image on a dashboard #24

Closed DeltaFox0018 closed 1 year ago

DeltaFox0018 commented 1 year ago

is it possible to display the live stream captured by the camera present in the VTO in a dashboard inside a card?

myhomeiot commented 1 year ago

Yes, but you should use Generic Camera (or ONVIF) integration. For still image url use: http://192.168.1.x/cgi-bin/snapshot.cgi?channel=1 For stream url: rtsp://admin:password@192.168.1.x:554/cam/realmonitor?channel=1&subtype=0 Authentication: digest Username and password field - specify correct user name and password for VTO web GUI, in stream url replace password with correct password and 192.168.1.x with correct IP.

DeltaFox0018 commented 1 year ago

Ok perfect, I just implemented it and it works Thanks