Author Topic: Vox Echo integration issue  (Read 1736 times)

0 Members and 1 Guest are viewing this topic.

Bray90820

  • Jr. Member
  • **
  • Posts: 19
  • Karma: 0
    • View Profile
Vox Echo integration issue
« on: June 14, 2017, 10:47:04 PM »
Kida a noob here so I am still learning stuff but I am using Vox To send commands to my echo I have a command that runs a CMD process then reads and speaks a text file the only way I could get it to read the text file was if I disabled TTS.GetLastText and Results.SetVar in the EchotoVC event most of the time it works fine sometimes the command gets stuck and only tells me what was last spoken

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<!--C:\Users\Aaron\Desktop\VcGroup_Plex.xml-->
<!--This commandGroup xml file was exported from VoxCommando-->
<VoiceCommands version="2.2.3.5">
    <commandGroup open="True" name="Plex" enabled="True" prefix="" priority="0" requiredProcess="" description="">
        <command id="750" name="TV Shows" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>Launch.CMD</cmdType>
                <params>
                    <param>Powershell C:\Users\Aaron\Alexa\Plex\TV_Show.ps1 &gt; C:\Users\Aaron\Alexa\Plex\Output.txt</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.Pause</cmdType>
                <params>
                    <param>500</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>File.Read</cmdType>
                <params>
                    <param>C:\Users\Aaron\Alexa\Plex\Output.txt</param>
                    <param>0</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>TTS.Speak</cmdType>
                <params>
                    <param>{LastResult}</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>When did this Episode Air</phrase>
        </command>
    </commandGroup>
</VoiceCommands>

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Vox Echo integration issue
« Reply #1 on: June 19, 2017, 01:15:47 PM »
Kida a noob here so I am still learning stuff but I am using Vox To send commands to my echo

Hi,

It's a bit difficult to make suggestions based on the info provided. Firstly, the Amazon Echo tutorial provided on the forum allows us to send commands from the Echo to Vox, not the other way around, so it's not clear what you mean when you say that you're trying to use Vox to send commands to the Echo.

If you mean that you're using the Echo as a microphone to try to send commands to VC, then the command XML that James posted here should work as long as every step of the tutorial has been followed to the letter, without any changes or revisions.

Maybe it would help for us to see the Vox log file after you've issued the command above so that we can see what is happening.

http://voxcommando.com/mediawiki/index.php?title=Log
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)