News:

HOT TIP! In the command editor, you can ctrl-click and drag an item to create a copy of it.

Main Menu

Sending commands to a webserver

Started by vmail, September 24, 2012, 05:36:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vmail

Hi, this command works but it keeps creating new instances of internet explorer (hidden) and I cant terminate them in task manager, after a while I run out of RAM.

<command id="258" name="Right" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="" >
            <action>
                <cmdType>Launch.Hidden</cmdType>
                <cmdString>C:\Program Files (x86)\Internet Explorer\iexplore.exe&amp;&amp;http://127.0.0.1/Samsung/samsungremote.php?key=RIGHT</cmdString>
                <cmdRepeat>1</cmdRepeat>
            </action>
            <phrase>tv right</phrase>
        </command>


Is there a way I can open port 81, send some data, when data is received back then close port 81? I know what HTTP data I need to send.

jitterjames

If you don't need to see an actual webpage then you can probably use the Scrape command.  Put your url as the parameter.  No IE required.  You could probably also use the robobrowser plugin.

vmail

#2
Thank you, That worked

Can I setup a tree system, eg

if I say "Control TV", and then later I say "Menu" it send the menu command for the TV

then if I say "Control Sky", and then I say "Guide" it sends the guide command to the sky box and not the TV

a bit like an interlock in crestron

Also, where is the iPhone app?

jitterjames

#3
You can turn groups of commands on and off.
see:
VC.EnableGroup
VC.DisableGroup


Which iPhone app are you talking about?

There is no "VoxWav" for iPhone, it is only for Android.


jitterjames

Quote from: vmail on September 24, 2012, 07:25:47 PM
what is this?

http://www.youtube.com/v/eTkO3AzYJKs?autoplay=1&rel=0&enablejsapi=1&playerapiid=ytplayer
recordpad with a local ftp server running on the same system as VC.  it is a bit convoluted to set up though.

there is also an app called headset which turns your ipod into a microphone for your PC although I'm not a huge fan of it either because it is always on and eats your battery pretty quickly.

Kalle

#6
Quote from: vmail on September 24, 2012, 07:25:47 PM
what is this?

http://www.youtube.com/v/eTkO3AzYJKs?autoplay=1&rel=0&enablejsapi=1&playerapiid=ytplayer
You've right, this is a iOS app but this one have a big delay.
If you want use a iOS device with VoxCommando, the best Wifi Mic for iPhone/iTouch or iPad is "mobilio headset" form the app store.

Kalle
***********  get excited and make things  **********

xtermin8r

Neural Net Based Artificial Intelligence.

vmail

yeah found it, the free version just froze, and not sure how to get the paid version to work properly, will play with it later

LOCOSP

I got iPhone 4 iOS 6 and its working very good, worth that money.. even over Internet ( outside local network ).