Hi
Been testing my Tellus script with V2 and hit an odd issue. In the toggle script I'm getting a 30 second hang up when setting the map value and then the Map Value doesn't seem to set. Oddly I don't get the hangup on the discrete script and the value.
For example when I say lounge light please, I hear Off Turning - 30 second delay - On and the map value is still Off afterwards.
Whilst the delay is occurring VoxCommando appears to be locked up and the log screen is blank.
<?xml version="1.0" encoding="utf-16"?>
<commandGroup open="True" name=" tellstick" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="1505" name="Discrete" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>{1} {2} {3} &&1000</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Launch.Hidden</cmdType>
<cmdString>C:\Program Files\Telldus\tdtool.exe&&--{3} "{1} {2}"</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Map.Set</cmdType>
<cmdString>switchstate&&{1}{2}&&{3}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>turn</phrase>
<payloadList>lounge,bedroom,spareroom</payloadList>
<payloadList>light,lamp,lamps</payloadList>
<payloadList>on,off</payloadList>
<event>tell.lights</event>
</command>
<command id="1503" name="Toggle" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>Map.Get</cmdType>
<cmdString>switchstate&&{1}{2}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="True">
<ifType>LastActionSuccess</ifType>
<ifParams>&&</ifParams>
<then>
<action>
<cmdType>Map.CreateTable</cmdType>
<cmdString>switchstate</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Map.Set</cmdType>
<cmdString>switchstate&&{1}{2}&&off</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Map.Get</cmdType>
<cmdString>switchstate&&{1}{2}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>Reset</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else />
</if>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>{LastResult} turning</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>(A)Contains(B)</ifType>
<ifParams>{LastResult}&&off</ifParams>
<then>
<action>
<cmdType>Map.Set</cmdType>
<cmdString>switchstate&&{1}{2}&&on</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>on</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Launch.Hidden</cmdType>
<cmdString>C:\Program Files\Telldus\tdtool.exe&&--on "{1} {2}"</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>Map.Set</cmdType>
<cmdString>switchstate&&{1}{2}&&off</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<cmdString>off</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>Launch.Hidden</cmdType>
<cmdString>C:\Program Files\Telldus\tdtool.exe&&--off "{1} {2}"</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<payloadList>lounge,bedroom,spareroom</payloadList>
<payloadList>light,lamp,lamps</payloadList>
<phrase>please</phrase>
</command>
</commandGroup>
Any thoughts?