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

Pages: [1]
1
General Discussion / Re: Pass payload to serial plugin?
« on: February 26, 2012, 04:55:35 PM »
Thanks jitterjames!

Cannot try if it actually works as i am still waiting for my USB-to-RS232 cable to arrive but thanks for the help so far! Didn't realize you could also write python scripts. Good to know...

2
General Discussion / Pass payload to serial plugin?
« on: February 26, 2012, 11:18:07 AM »
Hi,

I am using VoxCommando to send events to EG and this works really well. This way i control my LG TV with specific serial commands such as:

ka 0 1\r (serial write command to turn on the TV from standby)

The question i have is how to pass variables from  VoxCommando to EG. I would like to use this to set the volume to a specific level. I can generate an event in EG such as:

Broadcast.tv-setvol '10'

I just don't know how to pass the variable "10" to the serial command:

kf 0 {eg.event.payload}\r

What do i need to replace {eg.event.payload} with to have the variable "10" passed on to this serial command so it reads: kf 0 10\r  ??

Thanks for your help!

Pages: [1]