D-Link Forums
The Graveyard - Products No Longer Supported => IP Cameras => DCS-5222L => Topic started by: CAPETE 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.
-
This Home Assistant? --> https://www.home-assistant.io/ (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
-
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
-
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.
-
That worked!! I was doing it backwards the whole time. Thanks for your help!!
-
Nice. Glad it worked.