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>