Author Topic: Display Motion Detection in XBMC  (Read 2638 times)

peadard

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Mseries
Display Motion Detection in XBMC
« on: September 03, 2014, 03:25:43 pm »
Hi guys.
I don't know if I shared this before but one of the things I use Elve for is sending an alert to XBMC whenever motion detection is detected by a PIR connected to an Elk M1.
This is ideal in a house like mine when you have kids that get out of bed upstairs in the evenings.
 A little pop up appears on the tv screen letting you know that motion has been detected.
The first thing to do is add a New Device.  Select a HTTP Device and make sure it is enabled.

Then go to Rules and create a new rule.

Give it whatever name you choose in the Rule Tab.

Under Event you want to Select your Elk M1 as the Device and Zone Status Change as the Event.

Make sure Enabled is ticked or the rule will not fire.

On the Whenever Tab select the Zone on your M1 that will trigger the rule. (PIR in my case)

In the Status selection select Violated (again because I was using a PIR).

Under the Action List Tab add an action to - Control Device- HTTP- Retrieve Web page.

In the Url of the web page to retrieve go to the Custom Value and enter http://YourIPHere:8080/jsonrpc?request=%7B%22jsonrpc%22:%222.0%22,%22method%22:%22GUI.ShowNotification%22,%22params%22:%7B%22title%22:%22Motion%20Detected%22,%22message%22:%22Upstairs%22%7D,%22id%22:1%7D.

That's it click save and you are done.

Please note. For this to work you have to make sure you put in the correct entry for the IP address of your box running XBMC.

I don't know if anybody will use this but I thought I would share it anyways.
P








« Last Edit: September 03, 2014, 04:36:12 pm by peadard »

mld2112

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Re: Display Motion Detection in XBMC
« Reply #1 on: September 04, 2014, 08:39:10 am »
This is great! I'm going to upgrade to Gotham any day now, and I'll implement this. This has many uses.

Matt

iostream212

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
Re: Display Motion Detection in XBMC
« Reply #2 on: September 04, 2014, 11:01:58 am »
Awesome! Thanks for sharing.  :)  A lot of great uses for this in automation.
I always wanted to be somebody. In retrospect, I think I should have been more specific.

iolaus

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: Display Motion Detection in XBMC
« Reply #3 on: September 04, 2014, 02:58:57 pm »
You may find this XMBC Add-On I wrote interesting in combination with your current set-up.

http://forum.xbmc.org/showthread.php?tid=182540

peadard

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Mseries
Re: Display Motion Detection in XBMC
« Reply #4 on: September 04, 2014, 03:48:30 pm »
Great, Thanks Iolaus.
I will be adding this tonight.
Thanks for sharing.
Peadard