<?xml version="1.0" encoding="utf-8"?>
<!--L:\Users\BrandtsW7\Downloads\VC110XBMCen2\export\VcGrp_who is home.xml-->
<VoiceCommands version="">
    <!--this is an exported VoxCommando group-->
    <commandGroup open="True" name="who is home" enabled="True" prefix="" priority="0" requiredProcess="" description="">
        <command id="322" name="who is at home" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>PY.ExecString</cmdType>
                <cmdString>result=getPingList()</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>OSD.ShowText</cmdType>
                <cmdString>{LastResult}</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <if ifBlockDisabled="False" ifNot="False">
                <ifType>(A)==(B)</ifType>
                <ifParams>No one is home.&amp;&amp;{LastResult}</ifParams>
                <then>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>there are no devices connected,</cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </then>
                <else>
                    <action>
                        <cmdType>TTS.SpeakSync</cmdType>
                        <cmdString>the following device are connected, {LastResult}, </cmdString>
                        <cmdRepeat>1</cmdRepeat>
                    </action>
                </else>
            </if>
            <phrase>who is at home</phrase>
        </command>
        <command id="270" name="ping load" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>PY.ExecFile</cmdType>
                <cmdString>py\ping.py</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <event>VC.loaded</event>
            <event>System.Resume</event>
        </command>
        <command id="1384" name="internet lost" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>TTS.SpeakSync</cmdType>
                <cmdString>Internet connection is lost, check your router or call your ISP.</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <event>Ping.False.Internet works</event>
        </command>
    </commandGroup>
</VoiceCommands>