H.264 exploit

Try using AutHomation instead of HomeBuddy. I prefer it.

I just bought a Foscam 9821w and followed Xippper’s instructions. Have it working in the Foscam software and created a static IP addr. With Veralite, just get “Unable to get image from your camera” msg. I changed the camera login and password in Foscam s/w but left port at 88 and media port at 888 (default). Would changing the port make any difference? Any ideas? Thanks for the help.

I followed Xippper’s instructions to add a 9821W to Vera 3 and also got “Unable to get image from your camera.” using generic IP Camera with http://IP:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd= as the “URL which returns a JPG file.” and ‘User Name’ and ‘Password’ left blank. I have the latest Vera and Foscam firmware. Things shouldn’t be this difficult. Vera get your act together! In the meantime, do y’all experts have any suggestions?

[quote=“FireBird, post:17, topic:172945”][quote=“Trotsky40, post:15, topic:172945”]No, I haven’t had any success with my 9820 beyond getting an image to appear with the “tmpfs/snap.jpg” URL. I can get the RTSP video url to play in VLC and QuickTime but I can’t get it to work in the Vera.

h.264 cameras in general have been very frustrating to me. Each one seems to be completely different from each other. I have an NVR and four h.264 720p outdoor cameras from Q-See (a re-branded version of Dahua) that I am having the same issues with. They work great with the provided software but are impossible to integrate with anything else.[/quote]

Trotsky40,

I just wanted to let you know that I have a few Dahua cameras and was able to get them to work using an undocumented URL. Not sure it will work on your Q-See cameras but hopefully because they are re-branded model it might. I do think it’s a newer firmware feature for the Dahuas.

Use this URL: /onvif/media_service/snapshot[/quote]

How did you get this to work? I can access a perfectly usable JPG from the undocumented URL, but like the poster above, vera simply reports “Unable to get image from your camera.” :frowning:

Make sure you use the correct port number 192.168.1.xxx:9988 Under the Advanced tab and IP. Then under settings and URL /onvif/media_service/snapshot.

Firebird,

Appreciate you posting back. Yup, verified the ports too.

During the camera setup, I put in the verified working URL in the field labeled “Or, if your camera is not on the list, paste the URL which returns a JPG file in the box below:”

The next page always says “unable to get image from your camera.”

The official camera documentation for UI5 says to adjust your IP and path on the camera’s configuration, but of course, since I can’t even get beyond the first step, there’s no device to configure. Is there a workaround to create a camera device first and configure later?

Good news, vera support came through!

Took 3 days, but here are the instructions to manually add an IP camera device if the wizard doesn’t work in UI5:
http://wiki.micasaverde.com/index.php/Manually_create_IP_Camera_device

Now I’m running into an issue where the port settings for the camera aren’t being saved, but vera support said it’s a documented bug being worked on.

[quote=“Xippper, post:18, topic:172945”]I figured out how to use the FI9821 with Veralite…

First you must upgrade the camera firmware (http://foscam.us/blog/foscamipcameras/fi9821w-firmware-upgrade-v1-1-1-10/)

Once this is done and the camera has been re-configured, in your vera system ‘Manually Add’ an IP Camera using the following path:
http://IPAddress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx (replace xxx’s and port with your specifics)
***including the “http://” part and the “&usr=admin&pwd=xxx” part (this is key)

Do not choose Foscam as your camera type - choose generic IP Camera

DO NOT specify a User ID or Password!

Once the camera has been added, edit the camera configuration
(replace xxx’s and port with your specifics)

Under settings:

  • Ensure the URL looks like this → http://IPaddress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx
    ***including the “http://” part and the “&usr=admin&pwd=xxx” part (this is key)
  • The ‘User Name’ and ‘Password’ should be left blank
  • The ‘IP Address’ should be populated with 192.168.xx.xx:port

Under advanced:

  • Make sure the Device type is “urn:schemas-upnp-org:device:DigitalSecurityCamera:1”
  • Make sure the IP address and port are correct (192.168.xx.xx:port)
  • URL should be: http://IPaddress:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx
    ***including the “http://” part and the “&usr=admin&pwd=xxx” part (this is key)
  • DirectStreamingURL should be: /img/video.mjpeg

This worked for me![/quote]

Thanks a TON for the solution, Xipper. I can now view my F19821 video stream from my VeraLite!

I notice the pan-tilt controls don’t seem to be operable from Vera - though they are operable from the Foscam camera web browser interface.

Is that because the control protocols are different than those that control the non-H.264 cameras? Or perhaps I need to set a bit somewhere in the Advanced section of the camera configuration?

Does F19821 pan-tilt work from Vera from other users?

Thanks…

You’ll need to create an implementation file for the camera controls and load it into the camera device. I would start with one of the existing Foscam files found in the other Foscam threads. It would be something like I_FoscamPTZ.xml.

  • Garrett

Check this: http://forum.micasaverde.com/index.php/topic,11027.msg100967.html#msg100967

Jukka, thanks a LOT for helping and your hard work. Pan and Tilt are working now!

Best - Brad

to get the video working in vera with a foscam 9818/9821 :
first set ipcam in foscam webinterface to avi on stream 1 (this is standard setting if im not confused)
then set ipcam to mjpeg on substream : http://ip address:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1 (use admin account or it will fail)
then set in device tab advanced on vera : Directstreaming url : /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=controluser&pwd=password (or use admin account)