Forum
Getting MOTION to work under Xbian XBMC? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: Getting MOTION to work under Xbian XBMC? (/thread-740.html)



Getting MOTION to work under Xbian XBMC? - Skywatch - 4th Apr, 2013 09:22 PM

Hi has anyone done this already?

I thought there is a plugin for XBMC that allows motion detection from web cams using a package called MOTION.

I have successfully installed it under Xbian (sudo apt-get install motion) and then updated the pi.

I have had some issues getting the camera to work and it's not fully sorted out yet.

What I can't find out is how to make XBMC pause the playing file and display the web cam when motion is detected.

Anyone have any hints or help please?

Skywatch


RE: Getting MOTION to work under Xbian XBMC? - mk01 - 15th Apr, 2013 06:57 AM

http://xbmc.svn.sourceforge.net/viewvc/xbmc/trunk/tools/EventClients/

works exactly as you need


RE: Getting MOTION to work under Xbian XBMC? - Skywatch - 7th May, 2013 06:48 AM

mk01

Thanks for this ( I must have missed it earlier, sorry for that).

I'll take a look and see what I can make of it all!

Skywatch


RE: Getting MOTION to work under Xbian XBMC? - Isabel - 19th Jun, 2013 04:23 AM

I have successfully installed this and it's working very well, what you guys suggest me should i use some custom settings with this?


RE: Getting MOTION to work under Xbian XBMC? - Skywatch - 21st Jun, 2013 02:20 AM

OK Isabel, you have my attention now! :-)

Can you tell us what you did? How you installed it? Configured it? Also what cameras are you using and how are they connected?

Thanks

Skywatch


RE: Getting MOTION to work under Xbian XBMC? - mk01 - 23rd Jun, 2013 06:28 PM

with the EventClient, you just calls
Code:
xbmc-send.py --action="playmedia(http://localhost:8081)"

if you put it as "on_event_start" command to motion.conf, you have what you wanted. I just tried and works. Although the RPI is on the limit (depends on fps and resolution you set, but definitely no snapshots, no capture during idle, just set motion to motion detect and then call the play media to xbmc).