IP / other camera
-
Hello,
I see in the forums that I may be able to use mango to publish images from a remote mango talking to an IP (or other?) camera.
I only want to post images every 10 minutes at the fastest. I probably do not need to log images over time, just publish the latest image.
I would like to have a remote mango server publish the camera image stream to a central server.
Can you point me to any documentation describing how to do this?
Thanks,
Alex -
Hi Alex,
You should be able to add your image point to a persistent TCP publisher. You can have multiple publishers connecting to the same receiver, so it may be in your interest to use a second publisher (knowing about your other thread, I know you must have one) and have an update event of "None" and a regular snapshot interval of 10 minutes.
Image points do support "On Change" logging, with that meaning something in the underlying byte array changed.
-
OK, thanks, I see the HTTP Image Point now...
How do I select a camera? Is there a specification standard? Is there a recommended list, or maybe some simple choices? Or is it as simple as making the camera web serves an image given the correct url (including security keys or whatever else may be needed I am guessing)?
Or are all of these things you may find on amazon compatible?
Thanks,
Alex -
The HTTP Image data source's points take a URL that will result in an image, so ideally your webcam has hosted its video feed on a URL (maybe a local IP in the url) you can set the point to.
-
Hey thanks, I understand now. I was able to find some random camera streams and hookup to them using the HTTPImage datapoint to test them out.
All the HTTPImage point needs is a URL like this that returns an image (jpg, and I assume other standard images will probably work):
http://boulderflatironcam.com/bfc/bfc.jpg?1511036039806
I think the number parameter is some authentication token probably.
I also assume this will work over HTTPS. Please correct me if I am wrong.
Thanks,
Alex -
It'll probably only work out of the box if the HTTPS connection has a valid certificate. A self-signed certificate would probably get bounced by the HTTP client's default configuration.