[quote=“Da_JoJo, post:197, topic:171931”]got myself a Foscam FI9818W today and trying to get it work but it seems failing and indeed the plugin is now Vistacam and should support HD ?
snapshot url : /cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass
Directstream url : /cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=user&pwd=pass < seems to give a internal server error 500 … ehh > see edit3:
here is a page with many settings for foscam: [url=http://www.ispyconnect.com/man.aspx?n=foscam]Connecting to IP Cameras
there seems to be something wrong with the parsing of username and pass or the image that is 1280x720 . i donno yet. have no time to figure it out. any ideas ?
edit: FI9821W seems to use same commands as 9818W.
edit2: i tried adding it as a generic ip-cam and put the [url=http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass]http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=user&pwd=pass[/url] in the box leaving the user and pass box empty. not work
have put : [url=http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass]http://ip-adres:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=pass[/url] > not working > must be snapPicture2 for direct jpeg picture reply from ipcam
cant change portnumber as i have multiple cams around the house.
edit3: 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 in a new browsertab : 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)
edit4: sdk shizzle [url=http://foscam.us/forum/download/file.php?id=606]http://foscam.us/forum/download/file.php?id=606[/url]
edit5: got it working
settings :
In UI5 goto Apps> Install Apps and find “VistaCam PT&HD IP Cameras” and “VistaCam SD Motion Sensor Plugin” plugins and install these to your vera.
reboot the Vera after installation of these plugins.
Now go to IP-cam settings page and set the camera to port 80 and streamingport 880
after the IP-cam rebooted and is up n running > power-cycle the IP-cam (just pull plug, wait 15 secs and put plug back) it should automaticly add your IP-cam in vera
first open in new tab in browser and enter this:
http://ip-adres:port/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=&cmd=setSubStreamFormat&format=1 (ip-adres is the ip of the ip-cam:port of ipcam. use admin account or it will fail)
open webinterface foscam and login with admin and set video > snapshotsettings to low and save
open webinterface foscam and set PTZ preset settings :
cruise tracks add : custom
add preset: Center > on right side : Center and Topmost
goto PTZ startup options and set startup option to: Go To Preset position > Preset selection : Center
in order to use the presets they have to be in order. 1 to 8 are used in the vera UI , so the preset you like to use need to be in same order 1 till 8.
upload attached “I_Foscam98HD.xml” to vera in UI goto Apps > Develop Apps > Luup Files
open in vera the ip-cam settings tab and fill in user&pass and save settings right top (it need admin for the motiondetect to work, alas this is not functioning yet)
goto advanced tab and see if it looks like this :
Device params
name Foscam FI9818W
device_type urn:schemas-upnp-org:device:DigitalSecurityCamera:2
altid
ip 192.168.1.180:80 < IP:port of your cam, put internet-adress of router and port-forward if u want to see it from internet (put it on port 81>internal 80)
mac < put here mac adress if not filled in, so you can store pics and video on MCV servers
manufacturer Foscam
model FI9818W
room_num
id_parent
embedded
disabled
restricted
device_file D_DigitalSecurityCamera2.xml
id 60 < is made automaticly by vera
time_created (some time added by vera)
category_num 6
subcategory_num 0
onDashboard 1
username controluser
password pass
room 1
impl_file I_Foscam98HD.xml
local_udn (some uuid:number added by vera)
Variables
Configured 0
LastUpdate 0
Timeout 5
DirectStreamingURL < these are auto-added by I_foscam98HD.xml file
PreRollBuffer 0
CommFailure 0
URL < these are auto-added by I_foscam98HD.xml file
StepSize 1
ReversePan 0
ReverseTilt 0
Commands < these are auto-added by I_foscam98HD.xml file
State 0
ReverseControls 0
=========================================================================================================================================
if you want to have more IP-cams then you would set port 81 on router to ip-cam_ip:80, port 82 for next cam to ipcam_ip port 80 , port 83 to ip-cam_ip port 80, 84 to ip-cam_ip:80 etc…
its not neccesary to put port 80 in vera settings tab or browser as this is default port that is used.
edit6:darn this formatting stuff is annoying as hell :-s
edit7: few corrections. it seems devicesettings need also username and pass for PTZ and preset to work. Big Thanks to Jukka !
edit8: fixed I_foscam98HD.xml , added videourl and login for picture/video parameter. see attached file. if its correct you only need to fill in user/pass now and the url get
automaticly written in URL and DirectstreamingURL parameter in device advanced settings.
edit9: added snapshot to commands in xml file
edit10: changed configsettings and added some more info
edit 11: fixed zoom option and typo[/quote]
HUGE HUGE HUGE thanks dude. Took me a while but its working at least. Only issue I have is its a very very low framerate. And when I full-screen the video, it drops big time. Any ideas?