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 - Tougharms

Pages: [1]
1
VoxCommando Basics and Core Features / Re: "Muting" the MIC
« on: July 18, 2014, 07:37:30 PM »
Genius  ::bow

Works on a Samson GoMic.

Now I can get rid of 'disable everything' (never liked it anyway ;D)

2
Would you believe that I actually read the first one, but couldn't figure out how to get 'result' back to Vox.  :bonk

This is what I meant when I referred to an action being so obvious to anyone familiar with it that it is not documented. {LastResult} was not mentioned.

I guess I missed the second, but that was the one that Nime5ter pointed me at.

I am not complaining because I love using the program and learning to do new things. So far I have Vox controlling a Tivo by Python socket commands, a TV and a Blu-Ray player using Itach Flex, a Vera Lite, not to mention XBMC and also VLC via EventGhost. I can normally find what I need on Google and the forum but this one beat me.

p.s. can I get the supporter logo added to my account? I paid for V1, V2 and VW Pro

3
VoxCommando Basics and Core Features / Re: "Muting" the MIC
« on: July 18, 2014, 06:37:40 PM »
My approach with the 'disable everything' was to only leave one group active.

This group only has two commands in it, so not much chance of false positives :) and Vox doesn't give 'not recognized' or 'too low' responses if the other groups are disabled.

4
I started my search on Google. Then I went to the forum home page. I went through 9 pages of different subjects in the 'Help with Voxcommando' branch of the forum and I got nothing for the search examples I gave.

Also we have a problem with different languages, Canadian (American) English is different to UK English. For example, with all respect to Kalle, in the UK we don't do math, we do maths (short for mathematics, you see). It would never have occurred to me to search for 'math', it is just not a word we use in the UK.

Anyway, nime5ter solved the problem for me and pointed me in the correct direction, now I have the starting point and I know where to look in the future and I am grateful for the assistance. I was already using Python to control a Tivo box, and I guessed the the calculations would have to be done in Python, I just could not figure out how to pass the information each way. I can see now that the actions are so obvious to people familiar with it that it is hardly ever documented.

Thanks to all for your time reading my posts and for all your help.

Now I'm going to have a beer and calculate something.

Cheers to you all!

5
Thanks.

Very simple indeed, when you know  ;D

I thought it would involve python. I searched the forum and the wiki for mathematics, arithmetic, calculation and other terms I could think of and found nothing. It didn't occur to me to search for 'result'

So to make sure I understand correctly, if I call python to do any calculation with PY.ExecStrin  and use "result=" then Vox's {LastResult} will always pick it up. Is that correct?

p.s. it's half past midnight and 78 F/ 25.5 C here

6
VoxCommando Basics and Core Features / Simple arithmetic calculations
« on: July 17, 2014, 06:24:31 PM »
I am using a Vera Lite Home automation that has a 3-way motion, light and temperature sensor connected.

I know how to get the temperature from the sensor and how to make Vox read it out to me, but unfortunately for me, the sensor only reports Fahrenheit, while being in the UK, everything else I have uses Celsius. There is no option on the sensor to change the output to C.

I know the calculation to convert F to C, but how on earth do I get Vox to do the calculation?

7
VoxCommando Basics and Core Features / Re: "Muting" the MIC
« on: July 17, 2014, 05:48:37 PM »
Hi there,

I'm a relatively new member to the forum, and have been using VC since 1.185.

I have had problems with using an open mic and had the same problem with being unable to mute the mic.

After a bit of lateral thinking, i came up with a command to "disable everything" using multiple
VC.DisableGroup* (note the asterisk) instructions.

I found that the VC.DisableGroup* does not rely on the letter being at the start of the group name, so to disable all groups quickly I hit on the idea of using the vowels as most words have at least one vowel. I had to include X as well for XBMC!

After disabling everything i use VC.EnableGroup* to re-enable a single group called "_Do not disable" (the underscore is just my way to keep it at the top of the list. Keeping this group enabled allows me to say "enable everything" to bring it all back.

Here is my code for disable everything:

Code: [Select]
<command id="1000" name="Disable everything" enabled="true" alwaysOn="False" confirm="True" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
            <action>
                <cmdType>VC.TriggerEvent</cmdType>
                <params>
                    <param>VC.Standby</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.DisableGroup*</cmdType>
                <params>
                    <param>A</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.DisableGroup*</cmdType>
                <params>
                    <param>E</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.DisableGroup*</cmdType>
                <params>
                    <param>I</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.DisableGroup*</cmdType>
                <params>
                    <param>O</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.DisableGroup*</cmdType>
                <params>
                    <param>U</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.DisableGroup*</cmdType>
                <params>
                    <param>X</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <action>
                <cmdType>VC.EnableGroup*</cmdType>
                <params>
                    <param>_Do</param>
                </params>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <event>Disable everything</event>
        </command>

You may have noted that it also puts Vox into standby. My 'enable everything' command has always on checked and includes VC.On

It's big, messy and far from elegant, but hey, that's me! Also, it works for me and that's what counts.

As you can see, the command is actually triggered by an event, so I guess it can be triggered by TTS.Start?

I won't list my command for "enable everything" because it is much longer than the 'disable everything', as it actually only enables specific groups (I have multiple instances of play, pause, stop etc for XBMC, VLC, MP3 player and DVD), but it's also triggered by an event, so I guess in your case event TTS.End could be used.

I'm sure the experts will correct if I am wrong.

Hope this helps and sorry for the long post.


8
Other Plugins / Re: Problem with Weather Underground
« on: June 26, 2014, 09:09:47 PM »
Thanks for the reply. As you said, this has solved the problem.

I was sure I had tried that already, guess I must have forgotten to save or restart.

Thanks again, amazing program and unbeatable support. ::bow

Can't wait to see what you think of next.

p.s. what exactly is a group monster?


9
Other Plugins / Re: Problem with Weather Underground
« on: June 26, 2014, 06:40:58 PM »
Thanks for your patience and apologies for posting in wrong section.

I knew I'd do it wrong, its my superpower!

Re: your questions:
"save options" has been repeatedly clicked.
My system time was 2 minutes out. This has been corrected but the same problem occurs - set location, click save options, click test - perfect dialog box result. Speak the instruction and VC says "Weather for error, error, error, error"

Requested info will follow shortly.

Thanks again

10
Other Plugins / Problem with Weather Underground
« on: June 26, 2014, 05:32:12 PM »
Hi there,

I have been using VC for a few months now and lurking on the forum. This is my first post so please be gentle with me ;D

I am currently using 1.956 and I have have come up against a problem with the Weather Underground plugin.

I have VC speak the weather using TTS. However, when I request a report now, VC just comes back with "Weather for error, error, error, error"

If I open the wunder plugin and click the test button, I get a dialog box showing the same in text form i.e. Weather for error, error, error, error . If I change the location in the plugin, the test button works, providing the full report in text, but using VC immediately after gives "Weather for error, error, error, error" again. Going back the the plugin gives the errors again unless I change the location.

If I go back to an earlier version (1.919) all is as it should be, with VC reporting "Weather for Friday etc, etc"

Any ideas anyone?

ps James, you're my hero!  :clap

Pages: [1]