Kodi Community Forum

Full Version: Security CAM Overlay add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
(2014-02-18, 22:59)kitus_san Wrote: [ -> ]Hello,

I finally got this to display my 9821w v2 using this url

http://ip_address/cgi-bin/CGIProxy.fcgi?...d=password

I may have misunderstood this, but is this add-on supposed to become active when it gets triggered? if so, how?

Sorry that I sound a little loopy right now, but now that I see it manages to display my camera, can I get it to display an overlaid picture permanently, or when motion is detected?

thanks
After finding this thread I also wanted a motion triggered preview for my FI9821W v2 so I created an add-on specifically for it. You might like to check it out here http://forum.xbmc.org/showthread.php?tid=190439. I also added controls to the main video view so I can move the camera around.
(2014-03-28, 08:57)Leopold Wrote: [ -> ]After finding this thread I also wanted a motion triggered preview for my FI9821W v2 so I created an add-on specifically for it. You might like to check it out here http://forum.xbmc.org/showthread.php?tid=190439. I also added controls to the main video view so I can move the camera around.
Hi there,

Thanks for that, you are awesome!! I was on xbmc 12.3 and upgraded to the latest beta and installed your add-on in a snap. It's a no-brainer!!

I have a few questions though. How do I run this add-on so that it shows the stream overlaid on top of the media I'm playing? I've configured the add-on and when I run it as a standalone, it displays the images captured by the Foscam in full screen mode just fine. Is it possible to configure the add-on so that it stays active petmanently? We are used to having our ipad running a camera app and we like to be able to glance at it from time to time regardless of whether our kid Moves or not...

Thanks in advance,
Hi People!
Greate work with this Addon.
Actually, everything works fine, i use a Axis 207 cam and run XBMC 12 on Raspberry.
If i type in my Browser this string:

http://192.168.5.9:80/jsonrpc?request={"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.securitycam"},"id":"1"}}

The picture is overlayed in my XBMC.
But i whant that the Cam sends this string at a motion detection. The problem is that the URL is to long for my Cam.

Is their any other way to activate the overlay? with a shorter String?
Thanks for help
I wonder if a URL shortening service like bit.ly would work?
Sorry to ask such a stupid question, but how do I launch this script from a keyboard shortcut.

Ive tried this

<f12>runscript(script.securitycam)</f12)

but it doesn't do anything, yet if I run it from the script in the menu (i.e. the direct add-on) then it works just fine
Wow! great add-on.

I have it working perfectly. I was already using Ispy on windows to monitor my security cameras, I turned on face on my front door camera and have Ispy send the string to XBMC on my main tv over the local network. Everything is working as expected, but the security server computer opens a browser window each time it sends the string to XBMC. I don't know how many windows/tabs it can open before it crashes out.

Does anyone have any suggestions as how to send the string without the browser opening? Or, how to close the browser/tab after each call? From Ispy I can execute a program or shortcut.
Check out curl or wget, they should solve your problem.
(2014-04-27, 17:42)iolaus Wrote: [ -> ]Check out curl or wget, they should solve your problem.

Thanks, I think curl will work but I got lost in the syntax Huh. I keep getting an error about nested braces. I will keep digging to find the correct syntax to use.

Thanks
Has anyone managed to get this addon to work on IOS? I was trying unsuccessfully to get it to work on my ipad. It works wonderfully on my windows machines. Thanks for the great work, definitely one of my favorite xbmc addons!
very nice addon so far.

is it possible to add functionality so we can specify multiple cameras, and use something like the following to call each one:

{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.securitycam","camid":"1"},"id":"1"}}
{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":{"addonid":"script.securitycam","camid":"2"},"id":"1"}}
Hello,

Very new to xbmc and looking for help. I have added the add security cam add on, but can't seem to get it to work. I have the configurations right since I can access the IP cam from my phone, ipad, computer, etc but I can't get it to work. Whenever I hit the program icon, the image is just the program icon image for the 15 seconds and then times out. I have a foscam camera that is running on my home network and also have an outside URL for the cam to access anywhere else. I have tried both the URL and the IP address and can't get it going.

I would like it to work for a baby camera, so I can pull it up in the bottom of the screen with a command button, but have no idea how to get any of it to work.

By the way, I am using this the xbmc Frodo on Linux

Again, I am very new to this and know nothing about coding, so let me know if there is anything you can recommend.
Thanks
The external URL isn't going to work within your LAN. What is the URL and what do your logs tell you?
Hi
i use http://xxx.xxx.xxx.xxx:82/snapshot.cgi
And user and password with 8908 foscam I get a picture, but only after 6-8 sec and not right when i see the add-on.

What can I do?
DUDE!!! This addon freakin RULES!!! Thank you for all your efforts! I wanna share what I've learned after accidentally stumbling upon this gem. It may help some other people figure out their problem(s)
I got stuck right out of the gate with the image url. Thankfully, my parents gave me the gift of relentlessness. I have an X10 ip camera. (yeah, I know.... X10 is blah compared to zWave & so many other better & newer technologies but eh)
The url I use to get to my cameras webpage is 192.168.1.xxx/IPCameramob.htm and there it asks for username & password, so of course I thought that this is what I needed to enter into the config. WRONG!!! Did not work. Ultimately I had to blank the two fields for username & password and "construct" a url based on what I discovered by right-clicking on the webpage & selecting "view source"
My url ended up being: http://192.168.1.xxx/snapshot.cgi?user=u...ut.value=4;
Of course, my username & password were used in place of my idiot markers above. Below is a portion of the "source" that led me to this url construct. Note that I can add more parameters after each semicolon if I choose to (or need to)
Good luck to all. I hope this helps out someone. Look for clues in the source of your webpage. Nobody ever uses my doorbell (I dont know why) so I will be setting up an infrared trip line hooked up to an Arduino that sends your json request when it is tripped (and I built an xbmc remote on my iPhone using iRule that will include a new button to initiate the same request, like a panic button on a security dvr) Now that I am thinking about it, two successive trip lines with logic so the request only gets sent when someone is coming & not when they are going. hmmmmmm Again.... MUCH thanks to the author of this addon! It was an exciting day for me Smile

function body_onload()
{
imgDisplay.src="snapshot.cgi?user="+top.user+"&pwd="+top.pwd;
snap_href.href="snapshot.cgi?user="+top.user+"&pwd="+top.pwd;

brightness_input.value=6;
contrast_input.value=4;
resolution_sel.value=resolution;
mode_sel.value=mode;
brightness_input.value=Math.round(brightness / 16);
contrast_input.value=contrast;
image_reversal.checked=(flip&0x01)?true:false;
image_mirror.checked=(flip&0x02)?true:false;
window.status='';
}
function load_video()
{
window.status=" ";
setTimeout("reload_image()",40);
}
function reload_image()
{
var xx = new Image();
xx.src = "snapshot.cgi?user="+top.user+"&pwd="+top.pwd+"&count="+count;
count++;
document.getElementById("imgDisplay").src = xx.src;
window.status=" ";
}
function reset_image()
{
window.status=" ";
setTimeout("reload_image()",40);
}
(2014-05-24, 23:47)moshe1980 Wrote: [ -> ]Hi
i use http://xxx.xxx.xxx.xxx:82/snapshot.cgi
And user and password with 8908 foscam I get a picture, but only after 6-8 sec and not right when i see the add-on.

What can I do?

Use this URL instead:

Code:
http://xxx.xxx.xxx.xxx:82/snapshot.cgi?user=username&pwd=password&count=0

In the add-on settings wipe out your password and username in those fields.

It seems to load the picture quicker than using just http://xxx.xxx.xxx.xxx:82/snapshot.cgi
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20