News:

Would you like to say "Thanks!" for extra support or new features that we provided? Donations are gratefully accepted.

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - sebaszz

#1
Copied entire resource folder to new location. that solved the problem.What I don't understand that it changed the folder location after setting new voice
#2
When I change the voice from anna to Ivona "brian"I get the following error

error loading xml file: resources/availablecommands.xml

I use the trial version of speech2go. I noticed that the VC directory location changes after changing the voice. I reinstalled VC together in the same folder as the voice package but still get the same issue. I looked on the forum but couldn't find the answer to this question.

I re-started VC, copied xml to the new directory, not in the program files folder of course but all doesn't seem to work.
The result is that I can't use the core actions and option settings isn't saved after full restart
#3
Many thanx again this works perfect.
#4
Hi guys,

I would like to trigger VC by using event. Then VC ask a TTS question, I need to confirm, then Action.
I found example on youtube for confirming commands. that's but only with phrase triggers not events.

I create the example to get the result but of course this should be done differently


<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<commandGroup open="True" name="Fibaro Asking" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="330" name="Shall I spray the garden?" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>TTS.Speak</cmdType>
      <params>
        <param>Shall I spray the garden?</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>Garden</event>
  </command>
  <command id="372" name="Irrigation system activated" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>TTS.Speak</cmdType>
      <params>
        <param>Irrigation system activated</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>yes</phrase>
    <phrase optional="true">please</phrase>
  </command>
</commandGroup>

#5
yes i changed the ip in my test as well

together with other suggestion it works now!

thank you for the great help!
#6
Hmmm it's working now from the browser, probably didn't executed the command tree.  :o

I now posted topic in the fibaro forum. I used same type of code before in IP relay board but it is not working for voxcommando.


http://forum.fibaro.com/index.php?/topic/20334-http-get-command/

In meantime I will create a new log file.


#7
First of all, thank you for the response!

I agree trigger VC is much better to prevent polling. I just discovered the event option.
LUA scripting is possible, did some scripts before.

What I did now as test is using the VC webserver option, used the post field and used the following code:

VC.TriggerEvent:Listening&&ON

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.2-->
<commandGroup open="True" name="Fibaro Listening" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="287" name="Vox Listening Fibaro ON" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>ON&amp;&amp;{1}</ifParams>
      <then>
        <action>
          <cmdType>VC.On</cmdType>
          <params />
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <event>Listening</event>
  </command>
  <command id="295" name="Vox Listening Fibaro OFF" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>OFF&amp;&amp;{1}</ifParams>
      <then>
        <action>
          <cmdType>VC.Off</cmdType>
          <params />
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <event>Listening</event>
  </command>
</commandGroup>


I see the event in the history but it doesn't trigger the command.
#8
My goal is to trigger the vc on/ off command by using scrape to get a variable from my fibaro controller.
I can get the variable and trigger by using the save and execute button. However it doesn't seem continously looking for the variable. How can can I do this?

Tried the search button but din't find the answer....