let us know how you came about
Great thread guys. Got my 9821 working just enough for now over powerline ethernet in tandem with my older foscams. I too made the mistake of an leading space on the implementation file! Now for the outdoor camâŠ
Some people were asking for the ability to turn off the camera motion control according to whether the house was armed or not. The issue was that the camera was continuing to email pictures when the house was disarmed within Vera but camera was configured to send images.
After a bit of research I worked out the following LUUP code added to a scene will activate/deactivate the cameras motion detection.
Deactivate motion control
luup.inet.wget( âhttp://x.x.x.x:xx/set_alarm.cgi?motion_armed=0&user=xxx&pwd=xxxâ)
Activate motion control
luup.inet.wget( âhttp://x.x.x.X:xx/set_alarm.cgi?motion_armed=1&user=xxx&pwd=xxxâ)
brilliant, will check it tonight!!! â> IT WORKS thx!
FYI. This can also be accomplished without LUUP code through the Advanced tab of a Scene.
From the Advanced Tab, Select the appropriate Motion Sensor device from the list of available devices and click Add.
Select the SetArmed variable from the available drop down list, and provide a value (0=disarmed, 1=armed).
The request was to switch off the motion detection of the Foscam camera itself, this cannot be done as far as I know via the advanced tab
I found that the advanced tab didnât actually turn off the cameras motion detection on my system. This method was reliable for me anyway.
My apologies. It appears I was all in the Kool-aid but didnât know the flavor.
I have 3 Foscams (8910 and 8909) integrated and they work well. Iâd like to get motion detection recognized by Vera. Reading the thread, there should be a ConfigureMD variable in the advanced tab of the camera that needs to be set to 0 in order to enable motion detection. I see no such variable in the list â should I just add it myself?
Thx
In the Foscam app in my vera lite the variable is State, and I believe setting it to 2 enables the motion sensor.
Thanks Beerguy, that did the trick
Sent from my Galaxy Nexus using Tapatalk 2
Thanks! Now sometimes I see pic, but new problems :))
Model: FI9821W
I use I_Foscam98HD.xml from message
http://forum.micasaverde.com/index.php/topic,11027.msg101679.html#msg101679
Sometimes I see good pic, but sometimes I see this:
http://i.imm.io/WqtW.png[/quote]
I have this same issue. I also cannot pan nor tilt.
I had the same problem
/videostream.cgi?Resolution=640x480?user=user&pwd=password
I changed the â?â in a â&â and the problem was solved.
/videostream.cgi?Resolution=640x480&user=user&pwd=password
Iâm using the I_FoscamPTZ to control PTZ my generic camera.
But MoveDown, Zoom In and Zoom out button don`t work.
Id like to edit this file to fix this. But I don
t have idea what I need to do.
Can anyone help me with it? Thanks in advance!
Hi Beerguy
I changed the state value and it worked (but changed it back to 1). It appears no sensor (-1) and sensor (1).
Thanks
Don
I added 2 9821w cameraâs to my system last night and tried to add the to Vera with no luck. I noticed the Foscam Plugin is now the âVistacam PT&HD IP Camerasâ Plugin.
I uninstalled my old plugin and also uninstalled all my cameras and manually added them based on this thread. My 8910wâs setup fine and the corresponding motion sensors but I am unable to get the Motion Sensors to install for the new 9821wâs. One of the cameraâs sits at âConfiguringâ on the dashboard with the blue circle when I change âConfiguredâ from â0â to â2â but the second camera doesnât even have the Variable âConfiguredâ. Anyone have any ideaâs on whatâs going on and how to fix it?
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=âayasa, post:163, topic:171931â][quote=âayasa, post:158, topic:171931â]Hi, I installed Foscam 8918W manually on Vera3. Camera works well but motion sensor stays red and generate notification every minute as while sense motion (via Vera Alerts). Ontime value set as default (1200).
Assumed ontime parameter does not work properly. How do I make ontime parameter work ? I just want to get notification once every 20+ minutesâŠ[/quote]
any suggestion?[/quote]
Hi Ayasa,
Did you ever find a solution where the camera motion sensor is tripped but still sending notifications every minute although the OnTime parameter is set to 1200 sec (20mins)?
Iâm having the same issue with my Foscam FI8918W (11.22.2.47) and VeraLite running firmware (1.5.622) and VistaCam plugin v3.0.
Thanks,
Lepverde
Hi all,
Iâve just added a 9821w manually to test if it works before buying one. I used the I_Foscam98HD.xml tweaked file supplied earlier in this post. Unfortunately I couldnt get the pan/tilt to work so I then installed the VistaCam PT&HD IP Cameras PLUGIN hoping it would help (it didnât). I then tried to remove it from the UI5 web interface but it says invalid pluginâŠ
device_type - urn:schemas-upnp-org:device:DigitalSecurityCamera:2
device file - D_DigitalSecurityCamera2.xml
impl file - I_Foscam98HD.xml
Can anyone assist with an ssh manual removal of the device (if that will work)? file locations etc?? Or any other suggestions?
Cheers
J
To delete the device:
http://ip_address:3480/data_request?id=device&action=delete&device=number
Replace ip_address and number to suit