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.


Messages - nime5ter

Pages: 1 2 [3] 4 5 ... 136
31
Bug Reports / Re: Weatherunderground.com plugin not working
« on: March 08, 2019, 08:24:30 AM »
Hi Pegleg,

Unfortunately, it seems that Weather Underground has ended support for its free API, which is what VC relied on.

https://apicommunity.wunderground.com/weatherapi/topics/end-of-service-for-the-weather-underground-api

https://www.wunderground.com/weather/api/

I suspect that their warning a few months ago must not have reached James. He is away at the moment so it may take some time for him to respond.

Perhaps he could add an "API key" field to the plugin so that anyone who wants to pay for their own key can still use it, but even that may not be worth his labour because their commercial API is probably aimed at big data users and not really priced for the individual consumer. They may also have divided their variables into separate "packages" and who knows what else.



32
VoxCommando Basics and Core Features / Re: Checking pressing
« on: February 02, 2019, 12:12:09 PM »
PS - In order to properly test the new commands, you will need to:

1. Create a backup copy of your old "Flysim" commands on your computer.

2. In VoxCommando, delete the old commands.

3. Copy and paste the new XML into your command tree. Save and close the command tree.

4. Restart VoxCommando.

5. Now you can try the new commands.


33
VoxCommando Basics and Core Features / Re: Checking pressing
« on: February 02, 2019, 12:00:27 PM »
You do not need a separate folder for each command, unless it helps you to find commands in your command tree.

Each unique command must use its own variable. Otherwise, the two commands interfere with one another.

In the XML that you posted, you were using the same variable ({var.mode}) to control two separate functions ("flaps" and "radiators").

I have now deleted all {var.mode} references and replaced it with two unique variables: {var.flaps} and {var.radiators}.

The following commands function. I do not know if they accomplish what you need, but they work. :)


Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.5-->
<commandGroup open="True" name="FlightSim control" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="133" name="инициализировать переменные" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>Results.SetVar</cmdType>
      <params>
        <param>flaps</param>
        <param>0</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.SetVar</cmdType>
      <params>
        <param>radiators</param>
        <param>0</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>vc.loaded</event>
  </command>
  <command id="188" name="Закрылки" 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>{var.eventSet}&amp;&amp;True</ifParams>
      <then>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Выполняется предыдущая команда.</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.StopMacro</cmdType>
          <params />
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>{var.flaps}&amp;&amp;{1}</ifParams>
      <then>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Закрылки в выбраной позиции.</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.StopMacro</cmdType>
          <params />
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)&lt;(B)</ifType>
      <ifParams>{var.flaps}&amp;&amp;{1}</ifParams>
      <then>
        <action>
          <cmdType>PY.ExecString</cmdType>
          <params>
            <param>result = abs({1} - {var.flaps})</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Выпуск закрылок через {LastResult} секунд</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>DxInput.KeyDown</cmdType>
          <params>
            <param>F</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.SetEventTimer</cmdType>
          <params>
            <param>{LastResult}s</param>
            <param>releaseKey</param>
            <param>F</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>eventSet</param>
            <param>True</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>flaps</param>
            <param>{1}</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else>
        <action>
          <cmdType>PY.ExecString</cmdType>
          <params>
            <param>result = abs({var.flaps} - {1})</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Уборка закрылок через {LastResult} секунд</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>DxInput.KeyDown</cmdType>
          <params>
            <param>K</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.SetEventTimer</cmdType>
          <params>
            <param>{LastResult}s</param>
            <param>releaseKey</param>
            <param>K</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>eventSet</param>
            <param>True</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>flaps</param>
            <param>{1}</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </else>
    </if>
    <phrase>Закрылки</phrase>
    <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\flaps.xml</payloadFromXML>
  </command>
  <command id="190" name="Радиторы" 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>{var.eventSet}&amp;&amp;True</ifParams>
      <then>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Выполняется предыдущая команда.</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.StopMacro</cmdType>
          <params />
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)==(B)</ifType>
      <ifParams>{var.radiators}&amp;&amp;{1}</ifParams>
      <then>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Створки в выбраной позиции.</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.StopMacro</cmdType>
          <params />
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else />
    </if>
    <if ifBlockDisabled="False" ifNot="False">
      <ifType>(A)&lt;(B)</ifType>
      <ifParams>{var.radiators}&amp;&amp;{1}</ifParams>
      <then>
        <action>
          <cmdType>PY.ExecString</cmdType>
          <params>
            <param>result = abs({1} - {var.radiators})</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Открытие створок через {LastResult} секунд</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>DxInput.KeyDown</cmdType>
          <params>
            <param>Z</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.SetEventTimer</cmdType>
          <params>
            <param>{LastResult}s</param>
            <param>releaseKey</param>
            <param>Z</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>eventSet</param>
            <param>True</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>radiators</param>
            <param>{1}</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </then>
      <else>
        <action>
          <cmdType>PY.ExecString</cmdType>
          <params>
            <param>result = abs({var.radiators} - {1})</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>TTS.Speak</cmdType>
          <params>
            <param>Закрытие створок через {LastResult} секунд</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>DxInput.KeyDown</cmdType>
          <params>
            <param>X</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>VC.SetEventTimer</cmdType>
          <params>
            <param>{LastResult}s</param>
            <param>releaseKey</param>
            <param>X</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>eventSet</param>
            <param>True</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
        <action>
          <cmdType>Results.SetVar</cmdType>
          <params>
            <param>radiators</param>
            <param>{1}</param>
          </params>
          <cmdRepeat>1</cmdRepeat>
        </action>
      </else>
    </if>
    <phrase>Радиаторы</phrase>
    <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloads\radiators.xml</payloadFromXML>
  </command>
  <command id="236" name="release key" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>DxInput.KeyUp</cmdType>
      <params>
        <param>{1}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>DxInput.KeyUp</cmdType>
      <params>
        <param>{2}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>Results.SetVar</cmdType>
      <params>
        <param>eventSet</param>
        <param>False</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>TTS.Speak</cmdType>
      <params>
        <param>Есть!</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <event>releaseKey</event>
  </command>
</commandGroup>

34
MediaMonkey / Re: Can VC voice command this please
« on: January 24, 2019, 07:00:56 PM »
No, it won't help to let it run overnight.

If you're available in the next few days, James can help you directly. You can PM jitterjames to set up a time to share screens in TeamViewer.

Naomi

35
Hi- I use Google Voice on my android phone for emails, texts, everything and it is almost flawless. Is there a way to use Google's stored voice recognition patterns of my voice to improve the accuracy of other speech to text services like Dragon, Windows Speech Recognition, VoxCommando?

James has added the ability to use Google speech recognition via the TCP plugin in the new, beta version of VoxCommando (VC 2.2.4.5)



36
Hi Guys,

So, one of my buggest dream is a voice control system, but in my language --> Hungarian.

Unfortuatelly the MS Speech Platform 11 does not include hungarian languag pack, but I have an other idea:

Is it possibel to use the Voxcommando with the Google speech recognition?

With this Chrome built in, I can select Hunagrian language dictation, so this tool can convert my commands to text-->

https://chrome.google.com/webstore/detail/voice-recognition/ikjmfindklfaonkodbnidahohdfbdhkn?hl=hu

Does anybody has any idea to integrate this input  mode (so the Google speech recognition) into the voxcommando?

Thank you in advance for your kind answers and sorry for my terrible English!

Good news. James has added this feature to the TCP plugin in the new, beta version of VoxCommando (VC 2.2.4.5)




37
Other Plugins / Re: Requesting plugin support for Pinup Popper
« on: September 24, 2018, 03:05:28 PM »
Ah, OK.

Personally I would recommend that you experiment with the built-in Alternates feature rather than creating a reference command. That's what it is designed for.

You can customize the Alternates OSD window a bit in VC Options, including choosing which monitor it's displayed on if you have multiple screens, and where on the screen it appears. There are quite a few VC videos that show it in action, including the JRiver demo video and others.

If you still want to create a custom command after fully exploring alternates, it could be done pretty easily by importing your games payloadXML into VC Maps and then in your command you would just execute a standard SQL query that looks for "batman" (i.e. the payload dictation term) in the appropriate column of your map table, but I question whether payload dictation will be reliable enough to handle weird video game words.

38
Other Plugins / Re: Requesting plugin support for Pinup Popper
« on: September 24, 2018, 12:22:52 PM »
Sorry it's not working for you. Not sure what is meant by "I can't get any results to return in the test".

You generated the payloadXML and issued a voice command successfully but it's not returning any game ID? It's not returning a valid game ID? The Scrape action is not properly launching a selected game? Something else?

Maybe you could run the command with logging enabled and post the log per standard user support requests, and also post the payloadXML you generated that you're using in the command.

39
Other Plugins / Re: Requesting plugin support for Pinup Popper
« on: September 23, 2018, 09:10:03 AM »
Hi rablack,

As far as I know, via the xSQL plugin solution that James previously described and VC's various other capabilities you should have everything you need to work with Pinup Popper's remote control options, such as they are.

For example, yesterday you asked how to create a command that would launch a random game for a particular, requested manufacturer.

We took a look at your db when you posted, and came up with the following option.

Generate a Custom payloadXML file via the xSQL plugin that associates a comma-separated list of game IDs with the appropriate game manufacturer:

Code: [Select]
SELECT GROUP_CONCAT(GameID), Manufact from Games where Manufact is not null GROUP by Manufact
This will result in a payloadXML where, for example, the Phrase "Stern" will be associated with Value "1,3,7,8,9,13,27,28,44,49,52,80,230,238,239,247"

Then, in your VC command you just need to parse that value to select one of the IDs randomly. VC gives a bunch of ways to do this. Here's one:

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.4.1-->
<command id="50" name="Get random game by {1}" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Results.RegEx</cmdType>
    <params>
      <param>(\d+)</param>
      <param />
      <param>{1}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Results.SetVar</cmdType>
    <params>
      <param>randomID</param>
      <param>{Match.Rnd}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>OSD.ShowText</cmdType>
    <params>
      <param>Launching: {var.randomID}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>Scrape</cmdType>
    <params>
      <param>http://REPLACE WITH YOUR IP ADDRESS/function/launchgame/{var.randomID}</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>load a game by</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">XbmcPayloads\PUPcreators.xml</payloadFromXML>
</command>

Note: When I generated the Custom payloadXML, I named the file "PUPcreators.xml". By default, these payloads are stored in the XbmcPayloads folder, therefore that is what my command XML points to.

--
Basically, all VC command solutions will be about coming up with the right SQLite query to get the info you want from PUP, and then using a simple Scrape command to execute the desired PUP action. You may have to get a bit creative with your SQL queries.

Have fun.



40
The installation help page on the wiki provides links to setting up specific configurations, including MediaMonkey.

http://voxcommando.com/mediawiki/index.php?title=Installation

There is no video tutorial specifically for the MediaMonkey configuration.

The video tutorials index of the wiki may still be helpful:
http://voxcommando.com/mediawiki/index.php?title=Video_Tutorials



41
We should probably update the action description to provide more examples. Sorry about that.

The map is actually an SQLite table, so if you look online for SQLite documentation it should help (in combo with my response here).

Here are 3 different commands to give you an idea of things you can do with the Map.Query action.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.3.8-->
<commandGroup open="True" name="Sample sqLite queries for Map Tables" enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="280" name="Select * from Map Table" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="Each map row is a returned as a match.">
    <action>
      <cmdType>Map.Query</cmdType>
      <params>
        <param>Select * from YourTableName</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>OSD.ShowText</cmdType>
      <params>
        <param>fromKey --&gt; toValue</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>OSD.AddText</cmdType>
      <params>
        <param>{Match.{i}.1} --&gt; {Match.{i}.2}</param>
      </params>
      <cmdRepeat>{#M}</cmdRepeat>
    </action>
  </command>
  <command id="268" name="Get all Keys in Map Table" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="If you want all values, Select toValue from YourTableName.">
    <action>
      <cmdType>Map.Query</cmdType>
      <params>
        <param>Select fromKEY from YourTableName</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>OSD.AddText</cmdType>
      <params>
        <param>{Match.{i}}</param>
      </params>
      <cmdRepeat>{#M}</cmdRepeat>
    </action>
    <phrase>Get all Keys in Map Table</phrase>
  </command>
  <command id="278" name="Limit Map query to first row" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="You can set the limit to whatever. Limit 3 would return top 3 rows. etc. Of course, you can also just use Match.1 without setting a limit in your query, but in that case the query is still returning all matches.">
    <action>
      <cmdType>Map.Query</cmdType>
      <params>
        <param>Select * from YourTableName LIMIT 1</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>OSD.ShowText</cmdType>
      <params>
        <param>{Match.1}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <action>
      <cmdType>OSD.AddText</cmdType>
      <params>
        <param>{Match.1.1} : {Match.1.2}</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Limit Map query to first row</phrase>
  </command>
</commandGroup>

If you have follow-up questions let me know. ... Or James may post more info later when he has time.

[Edit: Updated xml for clarity]

42
WAY Off Topic / Re: DIY magnetic Tablet Wall Mount
« on: April 27, 2018, 02:41:51 PM »
Great video, thanks for posting. Really well explained.

Looks like we can find more info on all the hardware you used in the video description on YouTube -- is that a complete list?

43
That's great news.

Just remember that you should be able to use the voice command "Show Help" or "What can I say?" to display a page with all your voice commands. The page will open up in your web browser.

It can be helpful when you import new commands into your configuration.

http://voxcommando.com/mediawiki/index.php?title=FAQ#General

If you are not using a standard configuration that comes with this command, you can click "Help > Build Voice Menu" instead.

But it is usually recommended that people install a standard configuration and then add commands as needed, because otherwise it is difficult to learn how to use the program.

44
One thing to check is that you can send commands that work from Telldus Command Center

Also: Garry's suggestion is the first step.

If you can successfully send Telldus commands from the Telldus Command Center software, please confirm that this is working in your next post.

45
I'm sorry but that is not enough information for me to help you.

You will need to explain exactly what you tried to do, and what kinds of error messages you are receiving. There is no other way we can help you.

For example:

1. I imported the command xml.
2. I saved and closed the command tree.
3. I executed the "List" command by saying "Refresh Tellus devices"
4. VoxCommando understood me and seemed to execute the command, but I see orange error messages in the History window and when I look at the telldus.xml payload XML file it is empty.
5. I enabled logging in VoxCommando and executed the "List" command again.
6. I have attached my log file to this post.

http://voxcommando.com/mediawiki/index.php?title=Log

NOTE: If it is difficult for you to write in English, please feel free to write in your own language. It is more important that you explain exactly what you are doing and what is happening. We can use Google Translate to read your explanation.

Pages: 1 2 [3] 4 5 ... 136