Hi, juts got a new D-Link ip camera DCS-8000LHV2. Seem like new V2 version of DCS-8000LH is not anymore cloud locked. So, in theory it might easier to get integration working. D-Link says that ONVIF and RTSP are supported.
Got ONVIF integration working partially. I can get some kind of video stream up and running, but due some issues with plugin it fails to load entities. So, for now this isn’t the best approach. HA log shows following warning message:
[homeassistant.components.onvif] Failed to fetch ONVIF PullPoint subscription messages for...
Also tried motionEye, but never got it streaming anything. MotionEye network camera config seems to authenticate rtsp protocol urls just fine, regardless if I define some endpoint or not. MotionEye log says following:
ERROR: mjpg client timed out receiving data for camera 1 on port 8081
Does anyone know where I can find http/rtsp API endpoint descriptions for this particular device or for some other 2020 released D-Link ip camera? Suppose, there might some similarities…
Got it working with motionEye. Probed full rtsp urls by using some python magic. In case someone is interested urls are: rtsp://xxx.xxx.xxx.xxx:554/onvif_camera/profile.0 rtsp://xxx.xxx.xxx.xxx:554/onvif_camera/profile.1
For the DCS-8302LH I found the following streams to work in VLC playback on computer, so should work fine as generic camera:
1080p: rtsp://admin:[email protected]:554/onvif/profile.0
720p: rtsp://admin:[email protected]:554/onvif/profile.1
Also the ONVIF integration seems pick up both DCS-8302LH and DCS-8000LHV2 devices when not using automatic search.
Add ONVIF device, uncheck “search automatically”, go to next page via submit button and enter the camera IP in host field, 80 in port field, admin in username field (with lowercase a), and camera PIN in password field.
The link rtsp://admin:[email protected]/live/profile.0 worked for a DCS-8300LHV2 using the latest firmware. Activated ONVIF in the D-link app, added the ONVIF integration and the url works in VLC (and other RTSP clients).
Also relevant: stop the connection to your app before trying to connect.
The D-Link app uses onvif itself and the connection will be unavailable unless you disconnect the app first.