Yep, I read them, and as I described, I was having trouble using the HTML approach and defined port numbers. So I described my testing procedure to make sure the cameras themselves were setup correctly and outputting the correct stream (which it appears they are). So I was trying to go back and figure out why only two cameras are able to stream using the HTML files and direct camera URLs, and I get nothing from the other two:
(x2) IP8M-2493EW: success
(x1) IP2M-841E: failed
(x1) IP2M-841W: failed
But I’m probably going about this the wrong way, and using the binding correctly will solve this issue. So, how do you define the port number in your example:
<a href="http://192.168.1.2:8080/static/backyardcam.html"><img id=cam1 src=http://192.168.1.2:40061/ipcamera.jpg width=49.4% border="0"></a>
A couple questions:
- It looks like
192.168.1.2is your openHAB IP, and you are not referencing the camera IP directly. What is unclear is where you define the port number192.168.1.2:40061. Is this port40061the camera ThingSERVER_PORT? Does this also need to be defined/configured in the camera settings somewhere, perhaps for TCP or Multicast port? - Is the string after the port number,
/ipcamera.jpg, a general placeholder that I need to fill in with the specific Amcrest model API call, or this a keyword your binding uses and should be left alone?
As always, thanks for the clarification and assistance.