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.


Topics - SimonB

Pages: [1]
1
General Discussion / UDP Events
« on: February 13, 2014, 09:39:11 AM »
Hi

I'm getting started with VoxCommando & have a question about UDP events.  What I'm trying to achieve is as follows... I have an IR receiver unit in my system that converts received IR into data packets which it then sends over my home network to a similar unit which then converts the data back to IR & emits to control a particular source [for info, the units are KIRA units from Keene Electronics in the UK].  The receiver broadcasts the data packets via UDP port 65432.  What I would like to do is to trigger an event (sending an RS232 serial data command via a GC iTach unit) based upon a particular IR code data packet being broadcast.

I have adjusted the UDP 'Listen port' in VoxCommando to 65432 - & having done this, I am seeing Events in the VC History window whenever I send an IR command to the KIRA receiver unit.  The History window shows 2 Events for each IR command: (1) a green 'wi fi' style icon together with the relevant data packet (2) a green cog icon with the same data packet highlighted orange - & a tooltop which states 'Error: Unknown Action'.

I have separately been able to successfully send a serial RS232 command to my iTach (using a voice command).  I've also got working the executing of Actions by dragging events (e.g focused.OUTLOOK) into the command editor.

What I'm unable to do is to set Actions to trigger based upon a received UDP broadcast - when I try to drag across the green 'wi fi' style icon to the command editor from the History tab, I get an 'Invalid xml' error message box.

I'd be very grateful if someone could advise whether it is possible to do what I looking to achieve here - essentially trigger an Action based on receiving a UDP broadcast, & pass into the Logical Command Builder the content of the UDP broadcast so that it can be tested with some If-Then logic to determine a conditional Action.

Hope that makes sense...!

Simon

Pages: [1]