Go Back   HomeSeer Message Board > Gaming Related Plug-ins > Gaming Related Discussion > Kinect (3P)

Kinect (3P) Discussions related to the Kinect plugin for HS3.

Closed Thread
Thread Tools Display Modes
Old October 16th, 2013, 04:34 PM
spud's Avatar
spud spud is offline
Join Date: Jan 2012
Location: Canada
Posts: 5,074
Voice Recognition Syntax Guide

Here is a guide for the syntax of the voice recognition feature of the kinect plugin

Optional words or phrases:

words or phrases enclosed in brackets, i.e [ and ], are optional. For example the phrase diagram "Turn [the] light on" indicates that both "Turn light on" and "Turn the light on" will be recognized.

Multiple choices:

Multiple choices of required words or phrases are shown enclosed in < and > symbols. For example the phrase diagram "Turn the light <on|off>" indicates that both "Turn the light on" and "Turn the light off" will be recognized.

In case of multiple choices you often need to know which choice has been spoken to trigger an action accordingly. That's why when a phrase diagram that includes one or more multiple choices, is recognized, the plugin set some global variables to what has been actually spoken. The name of these global variables are:
For example if the plugin instance name is "LivingRoom", the global variable for the first choice of your phrase is called KinectLivingRoomVar0
If you want all your plugin instances to use the same global variables (i.e KinectVar0, KinectVar1, ...., KinectVar9) , untick the "Use Global Vars Specifics to Instance" setting in the Voice Recognition tab of the Config page.

To retrieve the value of these variables from a script, use
you can set multiple choices within an optional phrase or word
turn the lights on [in <one|two|three> minutes] //OK

you can have optional words or phrases within a multiple choice
<turn on [the] office [lights] | turn [the] office [lights] on>//OK

but you can't have nested multiple choices or nested optional phrases
<turn <on|off> the lights | <shut|open> the lights> //WRONG


You can specify one or several * anywhere in the phrase to be recognized, and the recognition engine will accept any words or group of words instead of the *. Moreover the plugin will record as wav files the wildcard words you spoke. The files are saved as Wave/Kinect<instance_name>Wildcard<wildcard_index>.wav
for example if the instance name is "LivingRoom" and you only have one wildcard in the phrase, the file is saved as Wave/KinectLivingRoomWildcard0.wav

Screenshot below shows a simple example: if you say "Kinect, my name is spud", HS will answer back "Hello spud. Nice to meet you!", the "spud" part being your own recorded voice

Name:  wildcard.jpg
Views: 661
Size:  59.0 KB

Replacement Variables:

You can use replacement variables in your phrases and the plugin will dynamically replace them by their value.

Name:  replacement_variables.jpg
Views: 659
Size:  23.4 KB

It works with global variables as well as all others type of replacement variables supported by HS: https://homeseer.com/support/homeseer..._variables.htm


- Wildcards and replacement variables only work with Event voice commands (.i.e. "A phrase was recognized" Trigger) and NOT with Device voice commands.
- Numbers and Dates have to be written with words. For example use "Play song number five" instead of "Play song number 5".

Last edited by spud; March 13th, 2015 at 11:11 AM.
Closed Thread


kinect, voice recognition

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Voice Recognition scaleste Voice Recognition (ASR) Hardware 2 March 27th, 2009 09:03 AM
More Voice Recognition Help anogee HS2 / HSPRO 3 March 1st, 2007 05:10 PM
Voice Recognition? Squintz Script & Plug-In Development 1 July 2nd, 2004 11:08 AM
NeoSpeech Voices sound good / Voice useage syntax GenevaDude HomeSeer Voices 10 November 1st, 2003 07:59 AM

All times are GMT -4. The time now is 11:54 PM.

Copyright HomeSeer Technologies, LLC