The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Re: slimserver xpl module help


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xpl voice - different activation words for different profiles


  • Subject: Re: xpl voice - different activation words for different profiles
  • From: "rleong1" <rleong1@xxxxxxxxx>
  • Date: Thu, 12 May 2005 18:06:20 -0000

actually i meant switching the users VR profile.  the default VR
profile is mine which barely works for my wife.  so i set up a profile
for her & let her train it, but now i want to be able to easily switch
between them depending on who's using VR.

--- In ukha_xpl@xxxxxxx, "Tony Tofts" <tony@x> wrote:
> > how can would i script that up?
>
> Same as any other menu
>
> You'd look for the keyword(s) in the incoming xpl voice messages and
command
> xpl voice to use the appropriate script
>
> The problem of course is knowing which persons menu's youre in when
the next
> command comes in so you can action it (probably don't need to know
who in
> the case of an action like turn a light on, as an action is an
action) but
> if you want to go to another menu then you'd need to know who it was
to get
> the correct next menu. In this case you could set a global variable
> containing the current user name (if you have multiple voice programs
> running then youd need to use a global that identified the source
too, like
> voice_current_pc1=andy). A combination of the global value and a
select
> statement should allow you to control the menu's appropriately.
>
> Hope that helps
>
> Regards
> Tony




xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.