Adding new CAM - Should this URL be OK in Vera?

Hi

I am trying to add a new IP Camera in to Vera as a Generic IP CAM.

The URL which returns a JPG file is:

http://192.168.0.9/cgi-bin/net_jpeg.cgi?ch=0

This works fine in Google Chrome browser and I can see the CAM image etc.

However in Vera it does not display the camera image, please see attached screen shots.

Any ideas?

The user manual for the camera is here.

Many thanks

Oh I forgot its an H.264 camera, but it can do both:

“Video Compression - H.264 Main Profile; MJPEG/JPEG Baseline”

Product page with specs is here

Thanks

Attached is how the added camera is looking in the Vera UI front end.

Hi

I have had better luck integrating this camera with my other Home Automation system called mControl.

I need a list of all the .CGI commands for this new camera, I’ve emailed the manufacturer. Or is there a way to query the camera to gain a list of these .CGI commands?

For example below is the driver code I wrote for this camera in mControl. I am not sure what the correct .CGI command is for StartRecording / StartStreaming.

EDIT: This URL is no good, it only display a static snapshot image in mControl not live video

This line is working however: to display the camera image in the mControl user interfaces.

<Modules> <module base="AMOVision" class="IPCAMERA" use="Y"> <param name="DISPLAY-AS" value="AMOVision" /> <param name="Description" value="AMOVision Camera" locID="MDESC_IPCAM_FSC" /> <param name="MProtocol" value="IPCAM" /> <param name="FieldsGrp" value="IPCAM" /> <param name="DefaultImage" value="Camera" /> <param name="UseActiveX" value="true" /> <param name="HasAudio" value="true" /> <param name="CanDetectMotion" value="true" /> <param name="CanPan" value="false" /> <param name="CanTilt" value="false" /> <param name="CanZoom" value="true" /> <param name="CanSendJPeg" value="true" /> <param name="CanSendMJPeg" value="true" /> <param name="RecordCompressed" value="true" /> <param name="PresetsCount" value="0" /> <param name="GetSnapshot" value="/cgi-bin/net_jpeg.cgi?ch=0" /> <param name="StartRecording" value="/videostream.cgi" /> <param name="StartStreaming" value="/videostream.cgi" /> <param name="SnapExtension" value="jpg" /> <param name="RecordExtension" value="avi" /> <param name="CLASSID" value="A4150320-98EC-4DB6-9BFB-EBF4B6FBEB16" /> <param name="CODEBASE" value="http://{0}:{1}/.codebase/DVM_IPCam2.ocx#version=0,0,0,27" /> <DriverSpecific> <object-params> <param name="URL" value="" /> </object-params> </DriverSpecific> </module>

The other thing the URL to display the image, brings up a small image, if you look at the camera in Media Center the image is too small, need to work out a URL to increase the image size.

I managed to integrate the camera OK in to my iPhone using the Foscam Surveillance Pro app and the Custom Camera option.
But no go adding it in to Vera !

Thanks

Hi

Does Vera support adding RTSP streams ?

From the Camera User Manual:

3.3.2. RTSP stream
Our camera outputs are standard RTSP stream, you can use VLC Player or any other software
connected camera supports RTSP streaming RTSP streaming online viewing.
First of all you want to know the camera’s Web URL address, such as 192.168.1.128, RTSP is
the IP address of the camera port 554, the we network that corresponds to the URL address of the
camera is as follows:

Main stream:rtsp://192.168.1.128:554/ch0_0.h264
Minor stream:rtsp://192.168.1.128:554/ch0_1.h264
Audio stream:rtsp://192.168.1.128:554/ch0_3.h264

Specific steps for connecting camera with VLC:
Run VLC and select open network stream

I decided to try the Add Device wizard again in Vera UI. The problem appears to be with how Vera generates its URL’s to the cameras image.

This is the working URL for the jpeg image:

http://192.168.0.9:1024/cgi-bin/net_jpeg.cgi

I enter this in to the Add camera wizard in Vera and select Generic Camera. I left the user name and password fields blank, figured I didnt need them.

I then see the page in the attached screen shot Add-Device-Fail.jpg, Vera tries to display the image put it has a red X and does not work. If I right click this I can see the URL Vera has created for the image. Which is:

http://192.168.0.11/port_3480/data_request?id=lu_wget&url=http://192.168.0.9:1024/cgi-bin%2Fnet_jpeg.cgi

If I try this URL in another browser tab it does not work. However if I edit the URL to:

http://192.168.0.11:3480/data_request?id=lu_wget&url=http://192.168.0.9:1024/cgi-bin%2Fnet_jpeg.cgi

Then the URL works OK and the CAM image is loaded.

So I added the Camera anyways and I now have a new Generic Camera in Vera, if I click on the Spanner button, again I get a red X, see Generic-CAM.jpg attached, if I right click this area and select properties I can see a different URL which is:

http://192.168.0.11/port_3480/data_request?id=request_image&cam=51&lights=1&rand=0.4928329908556217

If I try this URL in a new browser tab it does not work. Again if I edit the port number part, it then works and loads the image OK.

http://192.168.0.11:3480/data_request?id=request_image&cam=51&lights=1&rand=0.4928329908556217

Why can’t Vera get the image URL correct ???

I just noticed that Authomation on the Android tablet is displaying snapshot images OK for this new camera yet its still not visible in Vera

Attached is the .CGI interface document for this camera.

It looks to me like there is no .CGI URL for directly streaming the MJPEG video stream. There is a /mobile.htm page that displays the MJPEG stream in a browser, but I need a .CGI URL to add in to Vera and mControl ?

There is a RTSP URL however for the H.264 stream.

The Cam manufacturer is no help either. Can anyone help get this camera working in Vera? Pretty Please! :o

I’ll see if I can help, I work with a lot of IP cameras.

When logging in to a camera you could try putting the username/password in to the link. e.g.

http://username:password@192.168.0.9/cgi-bin/net_jpeg.cgi?ch=0

Hi cw-kid
Did you manage to get this working? I have the same issue with this camera link → www.ipcamerasupplier.com/IP-Cameras/EF13ANM136
It shows up in Authomation and the PZT controls work fine, however, I dont see the video/image on the Vera interface.

Please help if you’ve found a way.

Hi cw-kid
Did you manage to get this working? I have the same issue with this camera link → www.ipcamerasupplier.com/IP-Cameras/EF13ANM136
It shows up in Authomation and the PZT controls work fine, however, I dont see the video/image on the Vera interface.

Please help if you’ve found a way.[/quote]

I don’t know exactly what I did but that AmoVision camera just started working in Vera one day. Its been working for several months now.