• October 22, 2018, 07:45:14 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Connecting D-Link cameras to Home assistant  (Read 1512 times)

CAPETE

  • Level 1 Member
  • *
  • Posts: 3
Connecting D-Link cameras to Home assistant
« on: April 30, 2018, 03:51:18 PM »

Anybody out there familiar with Home Assistant and connect to your ip camera to it if so do you Know the configuration for it?  I have a DCS-5222LB and cant get it to connect.
Logged

GreenBay42

  • Administrator
  • Level 8 Member
  • *
  • Posts: 1421
Re: Connecting D-Link cameras to Home assistant
« Reply #1 on: May 01, 2018, 07:55:58 AM »

This Home Assistant? --> https://www.home-assistant.io/

I only see support for a couple of D-Link's smart plugs. It doesn't look like they have specific mydlink integration.

EDIT: I saw another user with this:

I have a dcs-5222L working on Home Assistent (hassio) as a generic camera with the following configuration:

camera:
   - platform: mjpeg
     mjpeg_url: http: // user:passs@ip/video2.mjpg
« Last Edit: May 01, 2018, 02:25:55 PM by GreenBay42 »
Logged

CAPETE

  • Level 1 Member
  • *
  • Posts: 3
Re: Connecting D-Link cameras to Home assistant
« Reply #2 on: May 09, 2018, 11:12:17 AM »

Thanks for you responce GreenBay42
Do I need to separate the url and username? so I would put my user name in where it says user and separate with a : and then my password instead of passs, do I keep the @ip

camera:
  - platform: mjpeg
    mjpeg_url: http://192.168.0.333 admin:pete@ip/video2.mjpg
Logged

GreenBay42

  • Administrator
  • Level 8 Member
  • *
  • Posts: 1421
Re: Connecting D-Link cameras to Home assistant
« Reply #3 on: May 09, 2018, 12:30:48 PM »

No spaces or separation. For example, if the username is admin and pw is dlinkdlink.  IP is 192.168.0.100.

http://admin:dlinkdlink@192.168.0.100/video1.mjpg

You may wanna try -  http://192.168.0.100/video/mjpg.cgi

80 is the default port. In the web UI of the camera you can change the http port to something else. If you change it, you will need to add it to the URL after the IP address (separate it with a : )  - http://192.168.0.100:5000/video/mjpg.cgi    5000 being the new port.
« Last Edit: May 09, 2018, 12:35:20 PM by GreenBay42 »
Logged

CAPETE

  • Level 1 Member
  • *
  • Posts: 3
Re: Connecting D-Link cameras to Home assistant
« Reply #4 on: May 09, 2018, 12:55:04 PM »

That worked!! I was doing it backwards the whole time. Thanks for your help!!
Logged

GreenBay42

  • Administrator
  • Level 8 Member
  • *
  • Posts: 1421
Re: Connecting D-Link cameras to Home assistant
« Reply #5 on: May 09, 2018, 01:21:57 PM »

Nice. Glad it worked.
Logged