For those who don't want to have to start from scratch, but who would like to implement a web server solution (as Dave demonstrated above), I am attaching an example here that you're welcome to adapt. It should be mobile-friendly.
Basically, you need to enable the TCP plugin, and within its settings enable the "simple web server".
- Place the attached vox_remote.html file in your vc folder\plugins\TCP\html folder.
- On your local network, you should then be able to navigate to this page from any web browser (only if VoxCommando is running!).
The URL will be
http://your VC machine's IP address:port number/html/vox_remote.html
... or if your computers have names on the LAN, you can use that instead of the IP address usually. e.g.
http://HTPC/html/vox_remote.html
This interface is not as elaborate as Dave's, but it includes:
1. Buttons for turning VC to on/off/standby mode.
2. Two volume slider bars. Slide the handle to adjust the volume.
The way I've chosen to implement it, if you click on the slider bar's
label, you can also get feedback about what the actual volume level is (e.g., if it is adjusted by some other means and you want to check what it is). The slider handle will also move to the corresponding position. This uses a function I've called 'getVCdata()'. This could actually be used to get any kind of info from VC -- if you want to know whether a light is on somewhere, or any VC action that returns a result, you can use this function if you like.
3. Two toggle switches.
For 2 & 3, I've chosen to trigger events (see screenshot) in VC so that on the VC end I can have more flexibility about what these switches actually do. You could instead have the switches in the UI execute specific actions or whatever you like.
4. A combobox (dropdown menu). This is the easiest thing to adapt if you're more of a novice with web stuff. Each menu option executes a
VC.Tellvox action.
This can be used to execute any command in your configuration. If you already have a command like "Who's at the front door?", you can just enter that phrase in the html file where indicated and Bob's your uncle.
5. A text feedback area on the screen to provide some verification that your commands are being sent; I've also used it to display the data I'm getting back from VC (in my case, volume levels).
[NOTE: An updated version of this solution can be found here:
http://voxcommando.com/forum/index.php?topic=2321.msg20213#msg20213]