Posts: 381
Joined: Dec 2012
Reputation:
4
Hi Leopold,
thanks for you answer.
As to the adjustments of the files I would appreciate your help because I really do not have any expertise in coding (at least not with respect to those XMBC addons).
"http://username:password@ip-address/snapshot.cgi" ist working fine and delivers a snapshot from the current view in 640x480.
The camera has built in motion-detection (adjustable through the webinterface), but of course any software just tracking the picture that it's been delivered from the camera should be able to do its own motion detection.
Best regards,
FantasticN
Posts: 381
Joined: Dec 2012
Reputation:
4
Hi Leopold,
thanks for the info. I tried the Foscam demo command with my cameras IP & password and it came up with the following result:
var id='78A5DD07894D';
var sys_ver='21.35.2.47';
var app_ver='0.7.3.6';
var alias='Haustuer';
var now=1397022178;
var tz=0;
var alarm_status=0;
var ddns_status=0;
var ddns_host='';
var oray_type=0;
var upnp_status=0;
var p2p_status=0;
var p2p_local_port=25656;
var msn_status=0;
var wifi_status=0;
var temperature=0.0;
var humidity=0;
var tridro_error='';
Now what can I do with that info?
I already have my cam implemented in XBMC by means of a simple playlist named "ipcam.pls" under "\userdata\playlists\video". It hast the following content:
[playlist]
NumberOfEntries=1
File1=http://ip-address/videostream.asf?user=username&pwd=password
Title1=IP Camera
Length1=-1
Version=2
I added the playlist as a favorite so I access it from the main menu. It will show up as a fullscreen video then. However, I would like to make use of the functions your addon provides (small picture-in-picture-screen automatically shown when a motion is detected). Do you have an idea how to (easily) implement it? Or do you at least see a way to have a button assigned to my remote control that brings up the cam as a picture-in-picture-screen,
Best regards,
FantasticN
Posts: 381
Joined: Dec 2012
Reputation:
4
Hi Leopold,
thank you very much! That's exactly what I wanted. Now I can have my cam as an overlay on top of the menu or any video I watch. The option to combine it with motion detection would be a nice additional gadget. But for the time being I am totally fine.
Best regards and another time: thank you!
FantasticN
Posts: 393
Joined: Jan 2011
Reputation:
23
Are you sure the port is correct? The default port is 88 I think.
Posts: 393
Joined: Jan 2011
Reputation:
23
rtsp://user:password@ip:port/videoMain
You can try this url in a .strm file and see if XBMC can play it.
Posts: 49
Joined: Oct 2013
Reputation:
2
This addon looks very nice! Great work! I was wondering if there is a way to trigger the addon to display the preview image? I understand how to use the command to display the main video feed but since I don't use the foscam camera's built in motion detection I am looking for a way to trigger the addons alert/preview function externally. I have been using the addon security cam overlay for this and it works nice however I haven't been able to get that addon to work with my ios xbmc on my ipad. Your app does work on my ipad though. Thanks
Posts: 49
Joined: Oct 2013
Reputation:
2
2014-05-03, 07:16
(This post was last modified: 2014-05-03, 07:22 by sea3pea0.)
I can't get it to display at all on IOS. It works just fine on windows. For example when I launch the overlay from within xbmc on ipad, a place holder appears where the image would be, but without an image. I can make the same thing happen externally from the json interface. Once again just no image.
Posts: 49
Joined: Oct 2013
Reputation:
2
Thanks, I'll do that. Do you have any plans to include support for foscam mjpeg cameras in your addon? I have a mix of mjpeg cams and hd cams. It would be nice to be able to use your addon for both types of cam.
Regards,
Sea
Posts: 393
Joined: Jan 2011
Reputation:
23
I did start to look into it but came to the conclusion that it would be best to make a separate addon. I will probably get round to doing it at some point.