I have setup my IPCam using this:
camera:
- platform: mjpeg
name: IPCam
mjpeg_url: http://10.0.0.105:81/snapshot.cgi?user=admin&pwd=&16003930566970.054437118346342794
I have tried using the Picture Entity Card & Picture Glance Card, I get a picture, but it updates REALLY slowly, every 5 secs or so. I wasn’t able to get it to work using the “generic” platform, and my IPCam doesn’t listen on port 554, so I assume it won’t support RTSP. It’s an old 720P camera.
To help further, here’s what I get when I connect to the HTTP server of the cam:
I got the mjpeg URL by going into the “No Plug-In Mode (for smartphone browser–JPEG)” and then right clicking on the image “copy image address”. Note that the framerate in the web browser is very acceptable, about 5-10 fps. I get the same URL for “Server Push Mode (For FireFox, Google Browser)”, altho the “pwd” is a different string every time I copy it. I’m not too sure how pwd works.
I have tried a different approach with
camera:
- platform: mjpeg
name: IPCam
mjpeg_url: http://10.0.0.105:81/snapshot.cgi
username: 'admin'
password: ''
… I never got it to work.
The camera is a SriCam SP014. I have tried the ONVIF integration, supplying the host’s IP and port 81, not being even sure if the camera does support it (alibaba and some amazon listings are saying yes), but I get an “zeep.exceptions.Fault: Unknown fault occured”, with no real clues in the logs as to why it occurred.
To be honest, I’m not sure where to start, as most online posts seem to suggest that RTSP is the way to go, but i’m not sure how to check for sure if the camera supports it …
Any help appreciated!