News:

VoxCommando works with Amazon Echo, Domoticz, EventGhost, Google Assistant, IFTTT, iTunes, J.River Media Center, Kodi, MediaMonkey, Nest, Philips Hue, Vera, Wemo, and the list keeps growing!

Main Menu

Command starting with payloadxml not recognized

Started by GMib, June 14, 2014, 06:00:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GMib

a command that worked on the v1 no longer works on v2, command start with payload xml.
if i add a phrase at begining, its work.

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 1.9.5.6-->
<command id="397" name="Direction {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>InputKeys.Send</cmdType>
    <params>
      <param>{{1}}</param>
    </params>
    <cmdRepeat>{2}</cmdRepeat>
  </action>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\4directions-frmonter.xml</payloadFromXML>
  <payloadRange>1,10</payloadRange>
</command>

nime5ter

#1
En fait, c'est un peu étrange que cette commande ait fonctionné avec version 1.

Voir : http://voxcommando.com/forum/index.php?topic=1414.0

It's actually weird that it was working for you before. James has always said that every command needs a phrase in it somewhere. The phrase serves as the "ID" for the command, if I understand him correctly. It doesn't need to be at the beginning of the command, but it needs a phrase somewhere, not just payloads, as far as I know.
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)

jitterjames

This is not a bug. This is how the program  has always worked.

GMib

effectivement, je n'arrive plus non plus à faire marcher cette commande sur la v1, je suis pourtant sur d'avoir utiliser souvent cette commande avec succès auparavant.
c'est pas trop grave, je vais remplacer le payload par 4 commandes.
désole pour le dérangement ;)

indeed,I can not seem to run this command on the v1, I have yet to use this command often successfully before.
it is not too bad, I'll replace the payload by 4 orders.
sorry for the inconvenience;)