News:

VoxCommando works with Amazon Echo, Domoticz, EventGhost, Google Assistant, IFTTT, iTunes, J.River Media Center, Kodi, MediaMonkey, Nest, Philips Hue, Vera, Wemo, and the list keeps growing!

Main Menu

Web Cam Motion

Started by bp_pbs, March 08, 2013, 08:49:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bp_pbs

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

What type of web cam?  Is it on your computer, or an IP camera?

bp_pbs


jitterjames

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

Ok. Thanks for your help James.

jitterjames

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

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

<?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

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

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

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.