Release Foscam HD - Video feed with camera controls, and motion/sound detection preview
#17
Yes this add-on queries the status of the camera's own motion detection alarm. I found the command to do that for the MJPEG models, e.g. using the Foscam demo:

http://50.197.211.181:8910/get_status.cg...pwd=foscam

This reveals that the response is not XML format as with the HD models, so that adds another complication for adapting the current code. The easiest way to parse the response would be something like

PHP Code:
re.findall("^var (\w+)='?([\w\.]+)'?;$"responsere.M

Start by going through the add-on code until you understand the basics of what it does, but adapting it would not be trivial.

If you want something basic without adapting the add-on you can access the main video feed in XBMC by creating a text .strm file with contents in this format:

http://50.197.211.181:8910/videostream.a...pwd=foscam

http://wiki.xbmc.org/index.php?title=Int...ile_method:
Leopold's Repository: Home of LibreELEC Dev Updater ...
Reply


Messages In This Thread
RE: Foscam HD - by George - 2014-03-27, 17:30
RE: Foscam HD - Video feed with camera controls, and motion detection preview - by Leopold - 2014-04-08, 13:10


Logout Mark Read Team Forum Stats Members Help
Foscam HD - Video feed with camera controls, and motion/sound detection preview1
This forum uses Lukasz Tkacz MyBB addons.