Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Getting MOTION to work under Xbian XBMC?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Getting MOTION to work under Xbian XBMC?
4th Apr, 2013, 09:22 PM
Post: #1
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
Getting MOTION to work under Xbian XBMC?
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
Find all posts by this user
Quote this message in a reply
15th Apr, 2013, 06:57 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Getting MOTION to work under Xbian XBMC?
http://xbmc.svn.sourceforge.net/viewvc/xbmc/trunk/tools/EventClients/

works exactly as you need

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
7th May, 2013, 06:48 AM
Post: #3
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Getting MOTION to work under Xbian XBMC?
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
Find all posts by this user
Quote this message in a reply
19th Jun, 2013, 04:23 AM
Post: #4
Isabel Offline
Registered
Posts: 8
Joined: Jun 2013
Reputation: 0
RE: Getting MOTION to work under Xbian XBMC?
I have successfully installed this and it's working very well, what you guys suggest me should i use some custom settings with this?
Find all posts by this user
Quote this message in a reply
21st Jun, 2013, 02:20 AM
Post: #5
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Getting MOTION to work under Xbian XBMC?
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
Find all posts by this user
Quote this message in a reply
23rd Jun, 2013, 06:28 PM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Getting MOTION to work under Xbian XBMC?
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).

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 9th May, 2025, 03:38 AM Powered By MyBB, © 2002-2025 MyBB Group.