Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 24, 2013, 09:49:04 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
VoxCommando works with XBMC (Eden and Frodo), MediaMonkey, iTunes, Skype, J.River Media Center, MediaPortal, EventGhost, Growl, X10, Vera and the list keeps growing!
8606
Posts in
756
Topics by
333
Members
Latest Member:
buda81
VoxCommando
Support
EventGhost
triggering a vc event from eventghost
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
1
2
[
All
]
Author
Topic: triggering a vc event from eventghost (Read 1921 times)
alexktz
$upporter
Newbie
Posts: 14
triggering a vc event from eventghost
«
on:
January 18, 2012, 06:21:16 am »
not quite understanding the vc.triggerevent syntax fully.
i want to call the startducking action / command when i switch the mic on (from my iphone if you must know via hipporemote). the idea is that it will switch the mic on and auto softmute xbmc too. this works fine when i speak JARVIS but if the volume is high this isn't an option.
i've got the communication working fine for vc.on / standby etc. just want to be able to call custom events i think. what am i missing?
Capture.PNG
(177.55 KB, 775x809 - viewed 69 times.)
Logged
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #1 on:
January 18, 2012, 06:29:18 am »
I'm not really sure what you are asking. Are you trying to figure out how to get an event to fire in VoxCommando when you press a button on your iPhone?
If that is the case there is nothing that needs to be done in voxcommando. The question is, can hippo remote send a udp message directly or do you need to go through something like EventGhost. I am not familiar with hippo remote. I will take a look at the free version but it probably doesn't have what we need.
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
alexktz
$upporter
Newbie
Posts: 14
Re: triggering a vc event from eventghost
«
Reply #2 on:
January 18, 2012, 06:36:49 am »
i've already got hipporemote talking to event ghost already. see this post from their blog
Code:
ONE MORE THING
There is one other pretty significant new feature in HippoRemote Pro 3.1. You can now assign buttons and macros to access URLs. This is quite useful for a couple things.
First, I think this will be really helpful to EventGhost users. Instead of assigning keyboard shortcuts to your EventGhost actions, you can instead map them to URLs using the web server plugin. No more worrying about keyboard conflicts with other apps.
Second, you can use this feature to control other non-PC devices on your network. For example, if you have a networked AV receiver that powers your speakers, you can create macros to control the master volume. Super super useful.
Creating one of these macros is pretty straightforward, just put the URL you want to access between some brackets like so:
[http://{IP address of device}/some_url]
If you want to target the computer that HippoRemote is connected to:
[http://localhost/some_url]
And if you want to send an HTTP POST command, just add a space after the URL and then your POST body:
[http://{IP address of device}/post_url POST_BODY]
This feature is still experimental and like all things involving networking, there are many potential gotchas. If you run into any issues or have questions, please don’t hesitate to send me an email.
what i'm actually asking is how do i get eventghost to call a custom vc command. i want 'startducking' to run when i tell it too from eventghost using (i think) the vc.triggerevent
Logged
alexktz
$upporter
Newbie
Posts: 14
Re: triggering a vc event from eventghost
«
Reply #3 on:
January 18, 2012, 06:38:51 am »
I've tried the following variants
VC.TriggerEvent(startducking)
VC.TriggerEvent startducking
VC.TriggerEvent [startducking]
Logged
alexktz
$upporter
Newbie
Posts: 14
Re: triggering a vc event from eventghost
«
Reply #4 on:
January 18, 2012, 06:42:30 am »
GOT IT! I had to use the payload bit. Silly me. Anyway, for anyone in future searching this post this is what I did!
Could I suggest that the wiki page showed a screenshot sample too? Might avoid this confusion for idiots like me.
Capture.PNG
(405.98 KB, 1253x836 - viewed 94 times.)
Logged
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #5 on:
January 18, 2012, 06:47:17 am »
sorry I didn't read the title of the question, and you didn't mention anything about eventGhost in the question itself, so I wasn't sure what you were asking.
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
alexktz
$upporter
Newbie
Posts: 14
Re: triggering a vc event from eventghost
«
Reply #6 on:
January 18, 2012, 06:52:59 am »
next question!
is there a way to kill idletimeout once it's timer has been set?
for example quickly toggling on, then off works but then once the timer is up it goes back to standby.
Logged
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #7 on:
January 18, 2012, 07:16:44 am »
no, but why do you want to do that?
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
alexktz
$upporter
Newbie
Posts: 14
Re: triggering a vc event from eventghost
«
Reply #8 on:
January 18, 2012, 08:19:46 am »
just because!
my idletimer is set to unsoftmute. so sometimes it will take the volume from full to 35 meaning i have to then change the volume back up again manually. so to prevent this sometimes i just switch him (jarvis) off altogether.
just wondered if it's possible. but it's not, so will have to cope.
Logged
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #9 on:
January 18, 2012, 08:24:08 am »
I'm just asking because maybe you could do things a different way. But I still don't understand what you are doing. Bear in mind that I don't know what your whole setup is like so I would need a pretty complete description to be able to offer some advice. Your last statement completely confused me.
The idle-timeout should be automatically extended every time a command is recognized. Maybe you just need to extend the length of the timeout.
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #10 on:
January 18, 2012, 08:28:05 am »
your post got me thinking. I did a quick test and noticed that if you have the idle-timeout feature enabled and you switch to green mode (on), then switch to red (off), the timeout will take you from Off to Standby, which I would consider a bug. It should stay in the Off position. Is this what is causing problems for you?
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
Kalle
special'K
$upporter
Hero Member
Posts: 1190
Re: triggering a vc event from eventghost
«
Reply #11 on:
January 18, 2012, 08:39:59 am »
Quote from: jitterjames on January 18, 2012, 08:28:05 am
your post got me thinking. I did a quick test and noticed that if you have the idle-timeout feature enabled and you switch to green mode (on), then switch to red (off), the timeout will take you from Off to Standby, which I would consider a bug. It should stay in the Off position. Is this what is causing problems for you?
Haha, that is not a bug, that is a automatic "don't kill me" feature in VC
Logged
*********** Think inside the VOX - Voice Control Rocks! **********
alexktz
$upporter
Newbie
Posts: 14
Re: triggering a vc event from eventghost
«
Reply #12 on:
January 18, 2012, 10:47:44 am »
Quote from: jitterjames on January 18, 2012, 08:28:05 am
your post got me thinking. I did a quick test and noticed that if you have the idle-timeout feature enabled and you switch to green mode (on), then switch to red (off), the timeout will take you from Off to Standby, which I would consider a bug. It should stay in the Off position. Is this what is causing problems for you?
thats it exactly! i like the idle timer but want a way to disable it via an event lets say.
Logged
alexktz
$upporter
Newbie
Posts: 14
Re: triggering a vc event from eventghost
«
Reply #13 on:
January 22, 2012, 04:32:20 am »
james,
this is beginning to drive me nuts! is there anyway you could implement such a feature in the options in future releases??
thanks
Logged
Kalle
special'K
$upporter
Hero Member
Posts: 1190
Re: triggering a vc event from eventghost
«
Reply #14 on:
January 22, 2012, 04:46:59 am »
Quote from: alexktz on January 22, 2012, 04:32:20 am
james,
this is beginning to drive me nuts! is there anyway you could implement such a feature in the options in future releases??
thanks
The standby "bug" is fixed in version 0.938
http://voxcommando.com/forum/index.php?topic=720.msg5565#msg5565
I'm not sure the version 0.938 is solved your problem. I do not really understand, how the ducking start/end must work for you - but we can make many things with logic. I will help you to figured out, when you give me more information, what you need exactly for ducking start/end
example:
You say: "Jarvis" (I'm not sure, but in your first post "Jarvis" is not your prefix, it is a phrase to trigger the "duckingstart" command , normaly you need no phrase to trigger "duckingstart" when you use the start.prefix event)
VC: softmute (xyz) or partial mute -> trigger VC.On -> start idletimer with 10 sec. countdown and wait for a command.
1. Option - You say nothing: after 10 sec. -> VC softunmute (xyz) or partial unmute and return in standby.
2. Option - VC recognized a command and execute it -> VC softunmute (xyz) or partial unmute and return in standby
@James: It is possible to trigger the amuletUSB.exe with prefix or any hard button (on a other remote) over EG? This where a new cool feature for anyone who does not has a "Amulet-remote".
Kalle
«
Last Edit: January 31, 2012, 02:34:31 pm by Kalle
»
Logged
*********** Think inside the VOX - Voice Control Rocks! **********
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #15 on:
January 22, 2012, 06:10:06 am »
I fixed the problem where VC would automatically go into standby from the off state when the idle timer is enabled. If there is something else you need please try to explain it as clearly as possible because I don't understand either. I get that you want to disable auto standby mode but I don't see the big picture of how you are setting things up. Maybe it's not necessary to do it this way.
I will see about turning the idle timer on and off via code but if you don't want to wait for the next release there may be another solution.
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
Kalle
special'K
$upporter
Hero Member
Posts: 1190
Re: triggering a vc event from eventghost
«
Reply #16 on:
January 22, 2012, 06:16:48 am »
James, please take look of my post before, I modify it
Logged
*********** Think inside the VOX - Voice Control Rocks! **********
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #17 on:
January 22, 2012, 06:27:31 am »
Quote from: Kalle on January 22, 2012, 04:46:59 am
@James: It is possible to trigger the amuletUSB.exe with prefix or any hard button (on a other remote) over EG? This where a new cool feature for anyone who does not has a "Amulet-remote".
This has been possible almost since the first version of VoxCommando by using eventGhost. You can send events and even actions directly from EventGhost to VoxCommando, so any remote that works with eventGhost can be used to turn VC on and off.
You don't need to use amuletUSB though, since that is only for the amulet accelerometer.
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
Kalle
special'K
$upporter
Hero Member
Posts: 1190
Re: triggering a vc event from eventghost
«
Reply #18 on:
January 22, 2012, 06:32:56 am »
Quote from: jitterjames on January 22, 2012, 06:27:31 am
This has been possible almost since the first version of VoxCommando by using eventGhost. You can send events and even actions directly from EventGhost to VoxCommando, so any remote that works with eventGhost can be used to turn VC on and off.
You don't need to use amuletUSB though, since that is only for the amulet accelerometer.
sorry, is logically I had not previously considered. I was just full of enthusiasm
Logged
*********** Think inside the VOX - Voice Control Rocks! **********
jitterjames
The Voxinator
Administrator
Hero Member
Posts: 3454
Re: triggering a vc event from eventghost
«
Reply #19 on:
January 26, 2012, 06:30:21 am »
you can override the idle time-out in 0.939
http://voxcommando.com/forum/index.php?topic=720.msg5651#msg5651
Logged
Your Vox is my Commando
- "Latest" is not a valid version number.
- Please don't PM me unless it is private, often my answer will benefit other forum members.
Pages:
1
2
[
All
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> General
=> New Releases
-----------------------------
New Features and Feature Requests
-----------------------------
=> I will post new features here.
=> Feature Requests
-----------------------------
VoxNastics (User Guides and Mods)
-----------------------------
=> XML Exchange
=> Tips and Tricks
-----------------------------
Microphones and Speech Recognition in General
-----------------------------
=> Tips for better speech accuracy
=> What is a good microphone for speech recognition?
-----------------------------
General Discussion
-----------------------------
=> General Discussion
=> Off Topic (not related to VC)
=> WAY Off Topic
-----------------------------
Support
-----------------------------
=> Python Scripting
=> Amulet Remote
=> Command Builder Reference
=> MediaMonkey
=> MediaPortal
=> EventGhost
=> iTunes
=> Plugins
=> Help with VoxCommando
=> XBMC
=> XBMC / Frodo
=> W.O.L.
=> WMC
=> Tutorials
=> Bug Reports
-----------------------------
Android
-----------------------------
=> Android Apps
-----------------------------
German Support
-----------------------------
=> Tutorials
=> allgemein
===> SendKeys
===> Launch
=> iTunes
=> WMC
=> EventGhost
=> MediaMonkey
=> XBMC
-----------------------------
PT-BR Support
-----------------------------
=> XBMC
-----------------------------
FORUM PROBLEMS
-----------------------------
=> FORUM CAN'T SEND EMAIL
Loading...