Page 1 of 1

Foscam Camera JPEG?

PostPosted: Sat Aug 29, 2015 8:16 pm
by jplee3
Hey guys,

I noticed there's an option to add a "camera" in the Alarmdecoder Web UI. It looks like the page with the camera image just refreshes the JPEG image continuously based on the URL you feed it.I tried adding my Foscam's JPEG URL but it doesn't seem like it's working (http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx)

I tried leaving the auth username/password fiields blank as well as filled them out but I just get a broken image when I go to view the camera image.

Any ideas on how to get this working? On a side note, seems like pretty bad practice for Foscam to make users input credentials especially in a GET request... of course, they've had a pretty bad history of app security offenses to begin with so it doesn't surprise me. I'm not planning on opening any of this up outside my network anyway... :x

Re: Foscam Camera JPEG?

PostPosted: Sun Aug 30, 2015 4:12 pm
by kevin
The way we implement this does not work with how FosCam works unfortunately. The best you can do is setup a custom notification (from the dev branch of the webapp, in GET format) to trigger the cameras to record off of events.

You could use the whole URL with the user and password filled in, as well as both form fields with the user and password - you must update to the dev branch for this to potentially work, though.

viewtopic.php?f=3&t=198