Author Topic: Web Cam Motion  (Read 3445 times)

0 Members and 1 Guest are viewing this topic.

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Web Cam Motion
« on: March 08, 2013, 08:49:23 PM »
So I'm trying to find a way to get Vox to work with my web cam. What I have is ISpy software which uses your web cam and detects motion. I'm trying to see if i can get it to talk to Vox.
ex. What i want is when i walk into the room Vox say "Hi" or" Welcome"

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Web Cam Motion
« Reply #1 on: March 08, 2013, 10:33:57 PM »
What type of web cam?  Is it on your computer, or an IP camera?

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: Web Cam Motion
« Reply #2 on: March 08, 2013, 10:38:24 PM »
Its a usb Kodak S101.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Web Cam Motion
« Reply #3 on: March 08, 2013, 10:47:20 PM »
It looks like ispy  can only send SMS or email alerts. Ideally you would need UDP, or http with event ghost. I don't see a way without modifying ispy code.  But I think I spy can also use TTS so maybe do that instead, if it is possible with motion.  I just looked quickly at their manual online.

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: Web Cam Motion
« Reply #4 on: March 08, 2013, 11:20:11 PM »
Ok. Thanks for your help James.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Web Cam Motion
« Reply #5 on: March 09, 2013, 08:38:21 AM »
Aha!

Looks like an alert can also execute a program, with parameters - same idea as launch in VC.

You are saved!  You can send your action or event to VC with command line.  Is the I spy running on the same machine as VC?

http://www.ispyconnect.com/userguide-alerts.aspx

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Web Cam Motion
« Reply #6 on: March 09, 2013, 09:41:12 AM »
Here you go.

If VC is running on a different machine you can use the sendudp executable that is included in the VoxcommandoExtras.zip on the Download page

http://voxcommando.com/downloads.asp

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="261" name="doMotionEvent" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>TTS.Speak</cmdType>
    <cmdString>I can see you moving. | Welcome back.</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <event>Camera.Motion</event>
</command>

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: Web Cam Motion
« Reply #7 on: March 09, 2013, 10:47:24 AM »
SMH. I don't know how you do it. Every question I ask on here you always have a solution. Amazing. Just amazing

Thanks

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: Web Cam Motion
« Reply #8 on: March 09, 2013, 11:28:11 AM »
James I've added the command in ISpy and VC but when an alert happens it only opens up a new VC. So I end up having multiple VC's open.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7713
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Web Cam Motion
« Reply #9 on: March 09, 2013, 12:07:11 PM »
well, it *should* not do that!  Unless you are using a very old version of VC.

but if it is doing it anyway, you can use the udpsender.exe from "Extras" instead.  For sure this will work.